diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..f5132c5 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,9 @@ +Please answer the following questions and leave the below in as part of your PR. + +- [ ] I have read the [developer documentation](https://github.com/babashka/scittle/blob/main/doc/dev.md). + +- [ ] This PR corresponds to an [issue with a clear problem statement](https://github.com/babashka/scittle/blob/main/doc/dev.md#start-with-an-issue-before-writing-code). + + + +- [ ] I have updated the [CHANGELOG.md](https://github.com/babashka/scittle/blob/main/CHANGELOG.md) file with a description of the addressed issue. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e26d706 --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +.cpcache +.nrepl-port +target +repl +scratch.clj +.shadow-cljs +target +yarn.lock +node_modules/ +.DS_Store +resources/public/js +.store +gh-pages/ +gh-pages/ +/.lsp +/dist +/.clj-kondo/.cache +/.clj-kondo/rewrite-clj +/plugins/demo/resources/public/js/ +.portal +resources/public/test/scratch.html diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b2fff67 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,117 @@ +# Changelog + +[Scittle](https://github.com/babashka/scittle): execute Clojure(Script) directly from browser script tags via SCI! + + + + + + + + +- [#114](https://github.com/babashka/scittle/issues/114): Enable source maps ([@jeroenvandijk](https://github.com/jeroenvandijk)) +- [#140](https://github.com/babashka/scittle/issues/140): Enable customizing the nrepl websocket port ([@PEZ](https://github.com/PEZ)) + +## v0.7.28 (2025-09-13) + +- [#137](https://github.com/babashka/scittle/issues/137): fix JS interop with reserved JS keyword (incorrectly munged) by bumping SCI + +## v0.7.27 (2025-08-21) + +- [#95](https://github.com/babashka/scittle/issues/121): support string requires + of `globalThis` js deps ([@chr15m](https://github.com/chr15m)). See + [docs](https://github.com/babashka/scittle/blob/main/doc/js-libraries.md). +- Potentially breaking: `(.-foo-bar {})` now behaves as `{}.foo_bar`, i.e. the property or method name is munged. + +## v0.7.26 (2025-08-20) + +- [#121](https://github.com/babashka/scittle/issues/121): add `cjohansen/dataspex` plugin ([@jeroenvandijk](https://github.com/jeroenvandijk)) +- [#118](https://github.com/babashka/scittle/issues/118): add `goog.string/format` ([@jeroenvandijk](https://github.com/jeroenvandijk)) +- Support alternative `(set! #js {} -a 1)` CLJS syntax (by bumping SCI) +- Add source maps to distribution +- Add dev versions of all modules in the `dev` folder of the distribution + a `dev/scitte.cljs-devtools.js` module + +## v0.7.23 (2025-06-18) + +- [#107](https://github.com/babashka/scittle/issues/107): add `replicant` plugin ([@jeroenvandijk](https://github.com/jeroenvandijk)) +- [#102](https://github.com/babashka/scittle/issues/102): add `applied-science/js-interop` plugin ([@chr15m](https://github.com/chr15m)) +- [#105](https://github.com/babashka/scittle/issues/105): add `goog.string/htmlEscape` ([@ikappaki](https://github.com/ikappaki) ) +- [#113](https://github.com/babashka/scittle/issues/113): add `unchecked-set` and `unchecked-get` + +## v0.6.22 (2024-12-19) + +- [#99](https://github.com/babashka/scittle/issues/99): make `js/import` work + +## v0.6.20 (2024-11-24) + +- [#55](https://github.com/babashka/scittle/issues/55): create gh-pages dir before using. +- [#89](https://github.com/babashka/scittle/issues/89): allow `evaluate_script_tags` to specify individual scripts. +- [#87](https://github.com/babashka/scittle/issues/87): prod build on fresh checkout fails + +## v0.6.19 (2024-10-08) + +- Add `cljs.pprint/code-dispatch` and `cljs.pprint/with-pprint-dispatch` + +## v0.6.18 (2024-04-30) + +- [#77](https://github.com/babashka/scittle/issues/77): make dependency on browser (`js/document`) optional so scittle can run in webworkers, Node.js, etc. + +## v0.6.17 (2024-04-22) + +- [#69](https://github.com/babashka/scittle/issues/69): executing script tag with src + whitespace doesn't work +- [#72](https://github.com/babashka/scittle/issues/72): add clojure 1.11 functions like `update-vals` +- [#75](https://github.com/babashka/scittle/issues/75): Support reader conditionals in source code + +## v0.6.16 (2023-05-04) + +- [#58](https://github.com/babashka/scittle/issues/58): build system for creating scittle distribution with custom libraries. See [plugins/demo](plugins/demo). +- Use `window.location.hostname` for WebSocket connection instead of hardcoding `"localhost"` ([@pyrmont](https://github.com/pyrmont)) +- Upgrade `sci.configs` to `"33bd51e53700b224b4cb5bda59eb21b62f962745"` +- Update nREPL implementation: implement `eldoc` (`info`, `lookup`) ([@benjamin-asdf](https://github.com/benjamin-asdf)) + +## v0.6.15 (2023-01-05) + +- Fix destructuring in `defmethod` (by upgrading SCI) + +## v0.5.13 (2022-12-23) + +- Fix `cljs.pprint` plugin + +## v0.5.12 (2022-12-23) + +- Fix `reagent` `with-let` macro with advanced compiled builds +- Upgrade promesa and shadow-cljs +- Fix `#queue` literal +- SCI: performance improvements + +## v0.4.11 (2022-11-23) + +- Add `scittle.re-frame` plugin. This gives access to the + [re-frame](https://github.com/day8/re-frame) library. +- Fix for [44](https://github.com/babashka/scittle/issues/44): Honoring `SCITTLE_NREPL_WEBSOCKET_PORT` in `scittle.nrepl` +- Add all public vars of `cljs-ajax` `ajax.core` +- Upgrade several built-in libraries + +## v0.3.10 + +- Add `scittle.promesa.js` plugin. This gives access to the [promesa](https://cljdoc.org/d/funcool/promesa/8.0.450/doc/user-guide) library. +- Add `scittle.pprint.js` plugin. This gives access to [cljs.pprint](https://cljs.github.io/api/cljs.pprint/). +- Improve error messages + +## v0.2.8 + +- Upgrade to SCI 0.3.1 +- Upgrade to Reagent 1.1.0 +- Add support for Reagent's `create-class` and `with-let` + +## v0.1.1 + +- Upgrade to SCI 0.3.0 + +## v0.1.0 + +- Fixes for `try/catch` + +## v0.0.1 + +Initial release. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..11ecb79 --- /dev/null +++ b/LICENSE @@ -0,0 +1,198 @@ +Eclipse Public License - v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC +LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM +CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation + distributed under this Agreement, and +b) in the case of each subsequent Contributor: + i) changes to the Program, and + ii) additions to the Program; + + where such changes and/or additions to the Program originate from and are + distributed by that particular Contributor. A Contribution 'originates' from + a Contributor if it was added to the Program by such Contributor itself or + anyone acting on such Contributor's behalf. Contributions do not include + additions to the Program which: (i) are separate modules of software + distributed in conjunction with the Program under their own license + agreement, and (ii) are not derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents" mean patent claims licensable by a Contributor which are +necessarily infringed by the use or sale of its Contribution alone or when +combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, +including all Contributors. + +2. GRANT OF RIGHTS + a) Subject to the terms of this Agreement, each Contributor hereby grants + Recipient a non-exclusive, worldwide, royalty-free copyright license to + reproduce, prepare derivative works of, publicly display, publicly perform, + distribute and sublicense the Contribution of such Contributor, if any, and + such derivative works, in source code and object code form. + b) Subject to the terms of this Agreement, each Contributor hereby grants + Recipient a non-exclusive, worldwide, royalty-free patent license under + Licensed Patents to make, use, sell, offer to sell, import and otherwise + transfer the Contribution of such Contributor, if any, in source code and + object code form. This patent license shall apply to the combination of the + Contribution and the Program if, at the time the Contribution is added by + the Contributor, such addition of the Contribution causes such combination + to be covered by the Licensed Patents. The patent license shall not apply + to any other combinations which include the Contribution. No hardware per + se is licensed hereunder. + c) Recipient understands that although each Contributor grants the licenses to + its Contributions set forth herein, no assurances are provided by any + Contributor that the Program does not infringe the patent or other + intellectual property rights of any other entity. Each Contributor + disclaims any liability to Recipient for claims brought by any other entity + based on infringement of intellectual property rights or otherwise. As a + condition to exercising the rights and licenses granted hereunder, each + Recipient hereby assumes sole responsibility to secure any other + intellectual property rights needed, if any. For example, if a third party + patent license is required to allow Recipient to distribute the Program, it + is Recipient's responsibility to acquire that license before distributing + the Program. + d) Each Contributor represents that to its knowledge it has sufficient + copyright rights in its Contribution, if any, to grant the copyright + license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its +own license agreement, provided that: + + a) it complies with the terms and conditions of this Agreement; and + b) its license agreement: + i) effectively disclaims on behalf of all Contributors all warranties and + conditions, express and implied, including warranties or conditions of + title and non-infringement, and implied warranties or conditions of + merchantability and fitness for a particular purpose; + ii) effectively excludes on behalf of all Contributors all liability for + damages, including direct, indirect, special, incidental and + consequential damages, such as lost profits; + iii) states that any provisions which differ from this Agreement are offered + by that Contributor alone and not by any other party; and + iv) states that source code for the Program is available from such + Contributor, and informs licensees how to obtain it in a reasonable + manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + + a) it must be made available under this Agreement; and + b) a copy of this Agreement must be included with each copy of the Program. + Contributors may not remove or alter any copyright notices contained within + the Program. + +Each Contributor must identify itself as the originator of its Contribution, if +any, in a manner that reasonably allows subsequent Recipients to identify the +originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with +respect to end users, business partners and the like. While this license is +intended to facilitate the commercial use of the Program, the Contributor who +includes the Program in a commercial product offering should do so in a manner +which does not create potential liability for other Contributors. Therefore, if +a Contributor includes the Program in a commercial product offering, such +Contributor ("Commercial Contributor") hereby agrees to defend and indemnify +every other Contributor ("Indemnified Contributor") against any losses, damages +and costs (collectively "Losses") arising from claims, lawsuits and other legal +actions brought by a third party against the Indemnified Contributor to the +extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor to +control, and cooperate with the Commercial Contributor in, the defense and any +related settlement negotiations. The Indemnified Contributor may participate in +any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product +offering, Product X. That Contributor is then a Commercial Contributor. If that +Commercial Contributor then makes performance claims, or offers warranties +related to Product X, those performance claims and warranties are such +Commercial Contributor's responsibility alone. Under this section, the +Commercial Contributor would have to defend claims against the other +Contributors related to those performance claims and warranties, and if a court +requires any other Contributor to pay any damages as a result, the Commercial +Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR +IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each +Recipient is solely responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its exercise of +rights under this Agreement , including but not limited to the risks and costs +of program errors, compliance with applicable laws, damage to or loss of data, +programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY +CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST +PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS +GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable +law, it shall not affect the validity or enforceability of the remainder of the +terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such +provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Program itself +(excluding combinations of the Program with other software or hardware) +infringes such Recipient's patent(s), then such Recipient's rights granted under +Section 2(b) shall terminate as of the date such litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to +comply with any of the material terms or conditions of this Agreement and does +not cure such failure in a reasonable period of time after becoming aware of +such noncompliance. If all Recipient's rights under this Agreement terminate, +Recipient agrees to cease use and distribution of the Program as soon as +reasonably practicable. However, Recipient's obligations under this Agreement +and any licenses granted by Recipient relating to the Program shall continue and +survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in +order to avoid inconsistency the Agreement is copyrighted and may only be +modified in the following manner. The Agreement Steward reserves the right to +publish new versions (including revisions) of this Agreement from time to time. +No one other than the Agreement Steward has the right to modify this Agreement. +The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation +may assign the responsibility to serve as the Agreement Steward to a suitable +separate entity. Each new version of the Agreement will be given a +distinguishing version number. The Program (including Contributions) may always +be distributed subject to the version of the Agreement under which it was +received. In addition, after a new version of the Agreement is published, +Contributor may elect to distribute the Program (including its Contributions) +under the new version. Except as expressly stated in Sections 2(a) and 2(b) +above, Recipient receives no rights or licenses to the intellectual property of +any Contributor under this Agreement, whether expressly, by implication, +estoppel or otherwise. All rights in the Program not expressly granted under +this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the +intellectual property laws of the United States of America. No party to this +Agreement will bring a legal action under this Agreement more than one year +after the cause of action arose. Each party waives its rights to a jury trial in +any resulting litigation. diff --git a/README.md b/README.md new file mode 100644 index 0000000..01e1607 --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +# Scittle + +The [Small Clojure Interpreter](https://github.com/babashka/sci) exposed for usage in script tags. + +Try it out on [CodePen](https://codepen.io/Prestance/pen/PoOdZQw)! + +See [Github pages](https://babashka.org/scittle/) for usage. + +See +[babashka-scittle-guestbook](https://github.com/kloimhardt/babashka-scittle-guestbook) +for a minimal full stack web application. + +See [releases](https://github.com/babashka/scittle/releases) for links to +[JSDelivr](https://www.jsdelivr.com) to get versioned artifacts. + +## Serving assets + +To serve assets you can use the +[babashka.http-server](https://github.com/babashka/http-server) dependency (with +babashka or Clojure JVM): + +``` clojure +(require '[babashka.http-server :as http]) +(http/serve {:port 1341 :dir "resources/public"}) +@(promise) ;; wait until process is killed +``` + +### nREPL + +See [doc/nrepl](doc/nrepl). + +### Service worker + +See [doc/serviceworker.md](doc/serviceworker.md). + +## Tasks + +Run `bb tasks` to see all available tasks: + +``` +$ bb tasks +The following tasks are available: + +clean Start from clean slate. +dev Development build. Starts webserver and watches for changes. +prod Builds production artifacts. +release Updates Github pages with new release build. +``` + +## Credits + +Idea by Arne Brasseur a.k.a [plexus](https://github.com/plexus). +Name by Alessandra Sierra (the name occurs first in [this](https://stuartsierra.com/2019/12/21/clojure-start-time-in-2019/) blog post). + +## License + +Copyright © 2021 - 2022 Michiel Borkent + +Distributed under the EPL License. See LICENSE. diff --git a/bb.edn b/bb.edn new file mode 100644 index 0000000..f76e437 --- /dev/null +++ b/bb.edn @@ -0,0 +1,76 @@ +{:deps {io.github.babashka/sci.nrepl + #_{:local/root "../sci.nrepl"} + {:git/sha "2f8a9ed2d39a1b09d2b4d34d95494b56468f4a23"} + io.github.babashka/http-server + {:git/sha "b38c1f16ad2c618adae2c3b102a5520c261a7dd3"} + io.github.scittle/build + {:local/root "build"}} + + :tasks + {:requires ([scittle.build :as build] + [babashka.fs :as fs] + [cheshire.core :as json] + [babashka.process :as p :refer [process]]) + + clean {:doc "Start from clean slate." + :task (do (fs/delete-tree (fs/file "resources" "public" "js")) + (fs/delete-tree ".cpcache") + (fs/delete-tree ".shadow-cljs"))} + + shadow:watch {:doc "Development build. Starts webserver and watches for changes." + :task (build/build {:action "watch" + :args *command-line-args*})} + + http-server {:doc "Starts http server for serving static files" + :requires ([babashka.http-server :as http]) + :task (do (http/serve {:port 1341 :dir "resources/public"}) + (println "Serving static assets at http://localhost:1341"))} + + browser-nrepl {:doc "Start browser nREPL" + :requires ([sci.nrepl.browser-server :as bp]) + :task (bp/start! {})} + + -dev {:depends [shadow:watch browser-nrepl http-server]} + + dev {:doc "Development build. Starts webserver and watches for changes." + :task (do (run '-dev {:parallel true}) + (deref (promise)))} + + prod {:doc "Builds production artifacts." + :task (build/build {}) + :depends [clean]} + + dist {:doc "Prepare dist folder for npm package" + :depends [prod] + :task (do + (fs/delete-tree "dist") + (fs/create-dirs "dist/dev") + (run! (fn [f] (fs/copy f "dist" {:replace-existing true})) + (fs/glob "resources/public/js" "*.{js,js.map}")) + (run! (fn [f] (fs/copy f "dist/dev" {:replace-existing true})) + (fs/glob "resources/public/js/dev" "*.{js,js.map}")))} + + bump-version {:doc "Bumps package.json and pushes new git tag" + :task (do (shell "npm version patch") + (shell "git push --atomic origin main" + (str "v" (:version (json/parse-string (slurp "package.json") true)))))} + + npm-publish {:doc "Updates NPM ibrary" + :task (do (run 'dist) + (run 'bump-version) + (shell "npm publish"))} + + replace-version {:doc "Ported from bash one-liners. Expects two versions. + TODO: port to Clojure. + TODO: skip changelog.md + " + :task + (let [[prev next] *command-line-args*] + (-> (process ["bash" "-c" + (format "rg %s --files-with-matches -g '!/CHANGELOG.md' | xargs sed -i '' 's/%s/%s/g'" + prev prev next)] + {:inherit true}) + p/check))} + + gh-pages {:doc "Updates Github pages with new release build." + :task (shell "script/release.clj")}}} diff --git a/build/deps.edn b/build/deps.edn new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/build/deps.edn @@ -0,0 +1 @@ +{} diff --git a/build/src/scittle/build.clj b/build/src/scittle/build.clj new file mode 100644 index 0000000..02382e5 --- /dev/null +++ b/build/src/scittle/build.clj @@ -0,0 +1,83 @@ +(ns scittle.build + "Provides bb tasks for building and releasing scittle" + (:require + [babashka.classpath :as classpath] + [babashka.fs :as fs] + [babashka.tasks :refer [clojure]] + [clojure.edn :as edn] + [clojure.string :as str])) + +(defn- feature-files + [] + (filter fs/exists? + (map (fn [d] + (fs/file d "scittle_plugin.edn")) + (classpath/split-classpath (classpath/get-classpath))))) + +(defn- read-configs + [files] + (->> files + (mapcat (comp edn/read-string slurp str)))) + +(defn- build-cmd [cmd scittle-dir] + (let [files (feature-files) + feature-configs (read-configs files) + ;; Each ./src/scittle_plugin.edn has a ./deps.edn + feature-dirs (map (comp fs/parent fs/parent) files) + cmd' (if (seq files) + (format "-Sdeps '%s' %s" + {:deps + (merge (into {} + (map (fn [dir] + [(symbol (str (fs/file-name dir) "/deps")) + {:local/root (str dir)}]) + feature-dirs)) + {'scittle/deps {:local/root scittle-dir}})} + cmd) + cmd)] + (when (seq feature-configs) + (println "Building features:" (str/join ", " (map :name feature-configs)) "...")) + (if (seq feature-configs) + (apply str cmd' + (map (fn [m] (format " --config-merge '%s'" (pr-str (:shadow-config m)))) + feature-configs)) + cmd'))) + +(defn- build* + [cmd] + (let [building-outside-scittle? (not (fs/exists? "shadow-cljs.edn")) + scittle-dir (when building-outside-scittle? + (->> (classpath/get-classpath) + classpath/split-classpath + ;; Pull out scittle from local/root or git/url + (some #(when (re-find #"(scittle/[0-9a-f]+|scittle)/src" %) %)) + fs/parent))] + (when building-outside-scittle? + (fs/copy (fs/file scittle-dir "shadow-cljs.edn") "shadow-cljs.edn")) + (let [cmd (build-cmd cmd (str scittle-dir))] + (println "> clojure" cmd) + (clojure {:extra-env {"SCI_ELIDE_VARS" "true"}} cmd)) + (when building-outside-scittle? + (fs/delete "shadow-cljs.edn")))) + +(defn build + "Build scittle shadow builds using clojure cmd and commandline args. Features on + classpath are automatically added. + + Options: + + * :action - compile action, defaults to release, but may also be compile or watch" + [{:keys [action + args] :or {action "release"}}] + (build* (format "-M -m shadow.cljs.devtools.cli --force-spawn %s main %s" action (str/join " " args))) + (when (= "release" action) + (println "Also building dev release build") + (build* (format "-M -m shadow.cljs.devtools.cli --force-spawn %s main %s %s" + action + "--config-merge '{:compiler-options {:optimizations :simple + :pretty-print true + :pseudo-names true} + :output-dir \"resources/public/js/dev\" + :modules {:scittle.cljs-devtools {:entries [scittle.cljs-devtools] + :depends-on #{:scittle}}}}'" + (str/join " " args))))) diff --git a/deps.edn b/deps.edn new file mode 100644 index 0000000..f7a5121 --- /dev/null +++ b/deps.edn @@ -0,0 +1,30 @@ +{:paths ["src" "resources"] + :deps + {org.clojure/clojure {:mvn/version "1.12.2"} + thheller/shadow-cljs {:mvn/version "3.1.8"} + org.babashka/sci {:git/url "https://github.com/babashka/sci" + :git/sha "6758ba028da559c536a06becbbedade7b0ba6448"} + #_{:local/root "../babashka/sci"} + reagent/reagent {:mvn/version "1.1.1"} + no.cjohansen/replicant {:mvn/version "2025.03.27"} + re-frame/re-frame {:mvn/version "1.3.0"} + cljsjs/react {:mvn/version "18.2.0-1"} + cljsjs/react-dom {:mvn/version "18.2.0-1"} + cljsjs/react-dom-server {:mvn/version "18.2.0-1"} + cljs-ajax/cljs-ajax {:mvn/version "0.8.4"} + applied-science/js-interop {:mvn/version "0.4.2"} + funcool/promesa {:mvn/version "11.0.678"} + io.github.babashka/sci.nrepl + #_{:local/root "../sci.nrepl"} + {:git/url "https://github.com/babashka/sci.nrepl" + :git/sha "75f379c685bbd58c3e23f531339eb144e104937d"} + io.github.babashka/sci.configs + #_{:local/root "/Users/borkdude/dev/sci.configs"} + {:git/url "https://github.com/babashka/sci.configs" + :git/sha "aa84a1b4f1fe45735e5b748769309fc842f737c1" + :exclusions [org.babashka/sci]} + binaryage/devtools {:mvn/version "1.0.7"}} + :aliases + {:dev + {:extra-paths ["dev"] + :extra-deps {}}}} diff --git a/doc/dev.md b/doc/dev.md new file mode 100644 index 0000000..b6bd354 --- /dev/null +++ b/doc/dev.md @@ -0,0 +1,109 @@ +# Dev + +## Workflow + +### Start with an issue before writing code + +Before writing any code, please create an issue first that describes the problem +you are trying to solve with alternatives that you have considered. A little bit +of prior communication can save a lot of time on coding. Keep the problem as +small as possible. If there are two problems, make two issues. We discuss the +issue and if we reach an agreement on the approach, it's time to move on to a +PR. + +### Follow up with a pull request + +Post a corresponding PR with the smallest change possible to address the +issue. Then we discuss the PR, make changes as needed and if we reach an +agreement, the PR will be merged. + + + + + + +### Force-push + +Please do not use `git push --force` on your PR branch for the following +reasons: + +- It makes it more difficult for others to contribute to your branch if needed. +- It makes it harder to review incremental commits. +- Links (in e.g. e-mails and notifications) go stale and you're confronted with: + this code isn't here anymore, when clicking on them. +- CircleCI doesn't play well with it: it might try to fetch a commit which + doesn't exist anymore. +- Your PR will be squashed anyway. + +## Developing + +Run `bb dev` to start shadow-cljs compilation in watch mode. + + + + + +## Release + +Static files including compiled JS are hosted on Github. This is set up like +described +[here](https://medium.com/linagora-engineering/deploying-your-js-app-to-github-pages-the-easy-way-or-not-1ef8c48424b7): + +All the commands below assume that you already have a git project initialized and that you are in its root folder. + +``` +# Create an orphan branch named gh-pages +git checkout --orphan gh-pages +# Remove all files from staging +git rm -rf . +# Create an empty commit so that you will be able to push on the branch next +git commit --allow-empty -m "Init empty branch" +# Push the branch +git push origin gh-pages +``` + +Now that the branch is created and pushed to origin, let’s configure the worktree correctly: + +``` +# Come back to master +git checkout main +# Add gh-pages to .gitignore +echo "gh-pages/" >> .gitignore +git worktree add gh-pages gh-pages +``` + +After cloning this repo to a new dir: + +``` +git fetch origin gh-pages +git worktree prune +git worktree add gh-pages gh-pages +``` + +To deploy to Github Pages: + +``` +script/release.clj +``` + +To create a new NPM release: + +- Prepare version `package.json`, except patch (if anything should change here) +- Run `bb npm-publish`: this will compile, bump patch version, create tag and and push to npm and Github +- `bb replace-version 0.6.16 0.7.28` +- Create Github release with updated links from `doc/links.md` +- `bb gh-pages` + + + + + + + + + + + + + + diff --git a/doc/js-libraries.md b/doc/js-libraries.md new file mode 100644 index 0000000..72cafb8 --- /dev/null +++ b/doc/js-libraries.md @@ -0,0 +1,49 @@ +# Loading JS libraries + +Since `v0.7.28` scittle allows to load libraries from the global enviroment. +This means you can load a library in a ` + + + + + + +``` + +## ES modules + +The async nature of ES modules makes them a litte bit more difficult to work +with in scittle. You need to disable automatic evaluation of script tags first +using `scittle.core.disable_auto_eval()`. In a `module` type ` + + + + + + + +``` diff --git a/doc/links.md b/doc/links.md new file mode 100644 index 0000000..0b4181a --- /dev/null +++ b/doc/links.md @@ -0,0 +1,20 @@ +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/scittle.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/scittle.js-interop.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/scittle.cljs-ajax.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/scittle.reagent.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/scittle.re-frame.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/scittle.replicant.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/scittle.promesa.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/scittle.pprint.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/scittle.nrepl.js + +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.js-interop.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.cljs-ajax.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.reagent.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.re-frame.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.replicant.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.promesa.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.pprint.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.nrepl.js +https://cdn.jsdelivr.net/npm/scittle@0.7.28/dist/dev/scittle.cljs-devtools.js diff --git a/doc/nrepl/README.md b/doc/nrepl/README.md new file mode 100644 index 0000000..5541357 --- /dev/null +++ b/doc/nrepl/README.md @@ -0,0 +1,59 @@ +# nREPL + +To connect to a Scittle nREPL server from your editor, follow these steps. The +setup described here, can be found in this directory. + +In babashka or Clojure JVM, use the +[sci.nrepl](https://github.com/babashka/sci.nrepl) dependency and run: + +``` clojure +(require '[sci.nrepl.browser-server :as nrepl]) +(nrepl/start! {:nrepl-port 1339 :websocket-port 1340}) +``` + +This will run an nREPL server on port 1339 and a websocket server on port 1340. +Your editor's nREPL client will connect to port 1339 and your browser, running +scittle, will connect to port 1340. The nREPL server forwards messages to the +browser via the websocket connection. + +In your scittle website, you will need to include the following, in addition to +the normal routine: + +``` html + + +``` + +Also include the CLJS file that you want to evaluate with nREPL: + +``` html + +``` + +Then visit `playground.cljs` in your editor and connect to the nREPL server, +and start evaluating! + +See the `index.html` file for an example. + +When you run `bb dev` in this directory, and then open `http://localhost:1341` +you should be able evaluate expressions in `playground.cljs`. See a demo +[here](https://twitter.com/borkdude/status/1526285565343281159). + +Note that the nREPL server connection stays alive even after the browser window +refreshes. + +### Custom host address + +By default, the browser will connect to a websocket on the same host as it is loaded +from, using `window.location.hostname`. If you need something else you can specify +that setting the window variable `SCITTLE_NREPL_WEBSOCKET_HOST` like so: + +``` html + +``` + +### CIDER + +Choose `cider-connect-cljs`, select port `1339`, followed by the `nbb` REPL +type. If you use multiple REPLs in your project, choose +`sesman-link-with-buffer` to choose the right REPL for the right buffer. diff --git a/doc/nrepl/bb.edn b/doc/nrepl/bb.edn new file mode 100644 index 0000000..fdd4518 --- /dev/null +++ b/doc/nrepl/bb.edn @@ -0,0 +1,18 @@ +{:deps {io.github.babashka/sci.nrepl + #_{:local/root "/Users/borkdude/dev/sci.nrepl"} + {:git/sha "4f7f6d652a71b5bdc0c110313a4908d956e7a97d"} + io.github.babashka/http-server + {:git/sha "b38c1f16ad2c618adae2c3b102a5520c261a7dd3"}} + :tasks {http-server {:doc "Starts http server for serving static files" + :requires ([babashka.http-server :as http]) + :task (do (http/serve {:port 1341 :dir "."}) + (println "Serving static assets at http://localhost:1341"))} + + browser-nrepl {:doc "Start browser nREPL" + :requires ([sci.nrepl.browser-server :as bp]) + :task (bp/start! {})} + + -dev {:depends [http-server browser-nrepl]} + + dev {:task (do (run '-dev {:parallel true}) + (deref (promise)))}}} diff --git a/doc/nrepl/index.html b/doc/nrepl/index.html new file mode 100644 index 0000000..5890a47 --- /dev/null +++ b/doc/nrepl/index.html @@ -0,0 +1,13 @@ + + + + + + + + + +

Scittle

+

What is this?

+ + diff --git a/doc/nrepl/playground.cljs b/doc/nrepl/playground.cljs new file mode 100644 index 0000000..cd18550 --- /dev/null +++ b/doc/nrepl/playground.cljs @@ -0,0 +1,15 @@ +(ns playground) + +(+ 1 2 3) + +(-> + (js/document.getElementsByTagName "body") + first + (.append + (doto (js/document.createElement "p") + (.append + (js/document.createTextNode "there"))))) + +(defn foo []) + +(js/alert "Isn't this cool? :)") diff --git a/doc/serviceworker.md b/doc/serviceworker.md new file mode 100644 index 0000000..1048f77 --- /dev/null +++ b/doc/serviceworker.md @@ -0,0 +1,26 @@ +# Scittle in a service worker + +You can use Scittle to bootstrap a ClojureScript based service worker. + +Put the following code into e.g. `scittle-sw.js` to create a JavaScript based service worker, load Scittle, then fetch your script and eval it. + +```javascript +importScripts("scittle.min.js"); + +const request = await fetch("sw.cljs"); +const text = await request.text(); +const result = scittle.core.eval_string(text); +``` + +Then load `scittle-sw.js` in your HTML: + +```html + +``` + +This will load `sw.cljs` and eval it in the context of the service worker. + +A ready-made example can be found at [chr15m/scittle-template-serviceworker](https://github.com/chr15m/scittle-template-serviceworker). diff --git a/index.html b/index.html deleted file mode 100644 index ddaf0d6..0000000 --- a/index.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
- -

Scittle

-

What is this?

-

This project exposes the Small Clojure Interpreter in the - browser in such a way that you can use it with the script tag.

-

Project status

-

- This project is still experimental and breaking changes may - happen. Feedback is welcome - on Github.

-

- To use scittle on your own site, it is recommended to use the links - published to - the releases - page. -

- - -

Usage

- - Include scittle.js and write a script tag - where type is set - to application/x-scittle. - -
- - - -

Source from file

- - When you have a file on your server, say cljs/script.cljs, you can load it using the src attribute: - -

-<script src="cljs/script.cljs" type="application/x-scittle"></script>
-    
- - - - -

Reagent plugin

- - To enable reagent, - in addition to scittle.js, you need to include React - and scittle.reagent.js: - -
- -
- - -

Cljs-ajax plugin

- - To enable cljs-ajax, - in addition to scittle.js, you need to include scittle.cljs-ajax.js: - -
- - - - -

Examples

- - - - diff --git a/js/sci-script-tag-plugin-reagent.js b/js/sci-script-tag-plugin-reagent.js deleted file mode 100644 index 9d489b8..0000000 --- a/js/sci-script-tag-plugin-reagent.js +++ /dev/null @@ -1,63 +0,0 @@ -(function(){ -shadow$provide[0]=function(b,c,a,d){a.exports=React}; -shadow$provide[1]=function(b,c,a,d){a.exports=ReactDOM}; -'use strict';var v8=function(a,b){let c,d;for(let e=1;e$APP.Je(a)?$APP.fT(a):[$APP.fT($APP.Ch.i(a,0,1)),$APP.Ch.h(a,1)].join("")},C8=function(a){if("string"===typeof a)return a;a=$APP.Wh(a);var b=$APP.jT.h(a,/-/),c=$APP.z(b);b=$APP.r(c);c=$APP.t(c);return $APP.n(B8.g?B8.g(b):B8.call(null,b))?a:$APP.Yb.i($APP.q,b,$APP.Yi.h(A8,c))},D8=function(a){var b=function(){var c=function(){var d=$APP.jf(a);if(d){d=a.displayName; -if($APP.n(d))return d;d=a.name;return"string"===typeof d&&$APP.z(d)?d:null}return d}();if($APP.n(c))return c;c=function(){var d=null!=a?a.J&4096||$APP.Ua===a.Nd?!0:!1:!1;return d?$APP.Wh(a):d}();if($APP.n(c))return c;c=$APP.F(a);return $APP.vf(c)?$APP.T.g(c):null}();return $APP.n(b)?$APP.cT($APP.q.g(b),"$","."):null},E8=function(a){return a instanceof $APP.ee||a instanceof $APP.x},G8=function(a){if($APP.vf(a))try{var b=$APP.ce.h(a,F8)}catch(c){b=null}else b=null;return b},H8=function(a){var b=F8.g($APP.F(a)); -if($APP.n(b))return b;b=G8($APP.B.i(a,1,null));if($APP.n(b))return b;b=$APP.B.i(a,0,null);switch(b instanceof $APP.ee?b.fb:null){case "\x3e":case "f\x3e":return G8($APP.B.i(a,2,null));case "r\x3e":return a=$APP.B.i(a,2,null),null==a?null:a.key;default:return null}},I8=function(a){return setTimeout(a,16)},J8=function(a,b){return a.pf-b.pf},K8=function(){return null},L8=function(a){for(var b=a.length,c=0;;)if(c=e&&f.push(R8(a,g));return f},[c, -d],b))}},a$=function(a,b,c,d){this.tag=a;this.id=b;this.className=c;this.Df=d},c$=function(a,b,c){var d=$APP.Aa(a,Q8(c));null==d?n9(a)?a=I9(c,a,a):(d=$APP.F(a),d=$APP.E.i(d,b$,a),d=H9(d,c),a=I9(c,a,d)):a=d;c={};c.argv=b;b=H8(b);null!=b&&(c.key=b);return e8.createElement(a,c)},d$=function(a,b,c,d){var e={};e.cf=a;e.argv=$APP.Hk.h(b,c);b=H8(b);null!=b&&(e.key=b);return e8.createElement(M9(d,a),e)},e$=function(a,b,c){var d;if(d=$APP.jf(a))d=null==a?null:a.prototype,d=null!=(null==d?null:d.render);return d? -c$(a,b,c):d$(a,b,1,c)},i$=function(a,b,c,d){var e=a.tag,f=$APP.B.i(b,c,null),l=null==f||$APP.vf(f),g=function(){var w=l?f:null;var A=$APP.NQ.g(w);A=$APP.n(A)?$APP.E.i(w,$APP.NQ,f$.g(A)):w;var D=a.id;w=a.className;D=null!=D&&null==$APP.BS.g(A)?$APP.E.i(A,$APP.BS,D):A;if($APP.n(w)){var G=$APP.E.i,J=f$.h,R=$APP.NQ.g(A);A=$APP.n(R)?R:g$.g(A);w=G.call($APP.E,D,$APP.NQ,J.call(f$,w,A))}else w=D;w=$APP.n(a.Df)?Z9(w):V9(w);return $APP.n(w)?w:{}}();c+=l?1:0;a:switch(e){case "input":case "textarea":var p=!0; -break a;default:p=!1}if(p)return p=function(){var w=d.Jf;if($APP.n(w))return w;w=H9(h$,d);return d.Jf=w}(),R8(d,$APP.lf(new $APP.O(null,6,5,$APP.P,[p,b,e,g,c,d],null),$APP.F(b)));p=G8($APP.F(b));null!=p&&(g.key=p);return S8(d,b,e,g,c)},j$=function(a,b){return $APP.cc.g($APP.Yi.h(function(c){return R8(b,c)},a))},m$=function(a,b,c){null==b&&console.error("vec-to-elem",$APP.on.j($APP.Pe([a])));var d=$APP.B.i(a,0,null);switch(d instanceof $APP.ee?d.fb:null){case "\x3e":return c=$APP.B.i(a,1,null),c=new a$(c, -null,null,null),i$(c,a,2,b);case "r\x3e":c=$APP.B.i(a,1,null);d=$APP.B.i(a,2,null);d=$APP.n(d)?d:{};var e=G8($APP.F(a));null!=e&&(d.key=e);return S8(b,a,c,d,3);case "f\x3e":return d$($APP.B.i(a,1,null),a,2,b);case "\x3c\x3e":return d=$APP.B.i(a,1,null),c=null==d||$APP.vf(d),d=V9(c?d:null),d=$APP.n(d)?d:{},c=1+(c?1:0),e=H8(a),null!=e&&(d.key=e),S8(b,a,e8.Fragment,d,c);default:if(E8(d)||"string"===typeof d)a:for(;;)switch(c=$APP.B.i(a,0,null),c=$APP.Wh(c),d=c.indexOf("\x3e"),d){case -1:d=T9(k$,c);if(null== -d){var f=$APP.t($APP.Um(l$,$APP.Wh(c)));d=$APP.B.i(f,0,null);e=$APP.B.i(f,1,null);f=$APP.B.i(f,2,null);f=null==f?null:$APP.cT(f,/\./," ");var l=$APP.Di.h(-1,d.indexOf("-"));d=new a$(d,e,f,l);c=k$[c]=d}else c=d;b=i$(c,a,1,b);break a;case 0:b=null;break a;default:a=$APP.lf(new $APP.O(null,2,5,$APP.P,[$APP.Ch.i(c,0,d),$APP.E.i($APP.lf(a,null),0,$APP.Ch.h(c,d+1))],null),$APP.F(a))}else b=c.i?c.i(d,a,b):c.call(null,d,a,b);return b}},p$=function(a,b,c){var d=q9;q9=!0;try{return f8.render(a.s?a.s():a.call(null), -b,function(){var e=q9;q9=!1;try{return $APP.qj.B(o$,$APP.E,b,a),O8.flush_after_render(),null!=c?c.s?c.s():c.call(null):null}finally{q9=e}})}finally{q9=d}},u8="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),F9=new $APP.ee(null,"getInitialState","getInitialState",1541760916),q$=new $APP.ee(null,"component-will-unmount","component-will-unmount",-2058314698),u9=new $APP.ee(null,"reagentRender","reagentRender",-358306383),r$=new $APP.x(null,"container", -"container",-96406180,null),s$=new $APP.ee(null,"contextType","contextType",1033066077),t$=new $APP.ee(null,"getDerivedStateFromProps","getDerivedStateFromProps",-991834739),u$=new $APP.ee(null,"display-name","display-name",694513143),g$=new $APP.ee(null,"className","className",-1983287057),v$=new $APP.x("reagent.dom","render","reagent.dom/render",-1216356973,null),w$=new $APP.x(null,"callback-or-compiler","callback-or-compiler",90200066,null),x$=new $APP.x(null,"reagent.core","reagent.core",1841519592, -null),h9=new $APP.ee(null,"on-dispose","on-dispose",2105306360),y$=new $APP.ee(null,"no-cache","no-cache",1588056370),z$=new $APP.ee(null,"function-components","function-components",1492814963),A$=new $APP.x(null,"reagent.dom","reagent.dom",-2138920962,null),B$=new $APP.ee(null,"callback","callback",-705136228),x9=new $APP.ee(null,"cljsLegacyRender","cljsLegacyRender",-1527295613),N9=new $APP.ee(null,"on-write","on-write",31519475),C$=new $APP.ee(null,"contextTypes","contextTypes",-2023853910),D$= -new $APP.x(null,"render","render",232498073,null),v9=new $APP.ee(null,"render","render",-1408033454),f9=new $APP.ee(null,"auto-run","auto-run",1958400437),E$=new $APP.ee(null,"childContextTypes","childContextTypes",578717991),b$=new $APP.ee(null,"reagent-render","reagent-render",-985383853),F$=new $APP.x("reagent.core","atom","reagent.core/atom",1748890217,null),G$=new $APP.ee(null,"componentWillUnmount","componentWillUnmount",1573788814),w9=new $APP.ee(null,"displayName","displayName",-809144601), -H$=new $APP.ee(null,"getDerivedStateFromError","getDerivedStateFromError",166658477),g9=new $APP.ee(null,"on-set","on-set",-140953470),I$=new $APP.ee(null,"component-did-update","component-did-update",-1468549173),F8=new $APP.ee(null,"key","key",-1516042587),J$=new $APP.ee(null,"shouldComponentUpdate","shouldComponentUpdate",1795750960);var y8={},w8={},x8=[];z8.cache={};z8.resolve=function(a){return a};var e8=z8(0,{});var K$={};$APP.nj.g(null);var L$={},M$="undefined"!==typeof window&&null!=window.document,B8=new $APP.lm(null,new $APP.m(null,2,["aria",null,"data",null],null),null),f$=function f$(a){switch(arguments.length){case 0:return f$.s();case 1:return f$.g(arguments[0]);case 2:return f$.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(eb?1:a>>-15,461845907)};Ud=function(a,b){a=(a|0)^(b|0);return Sd(a<<13|a>>>-13,5)+-430675100|0};Vd=function(a,b){a=(a|0)^b;a=Sd(a^a>>>16,-2048144789);a=Sd(a^a>>>13,-1028477387);return a^a>>>16}; -Yd=function(a){255>2)};be=function(a,b){if(a.Kb===b.Kb)return 0;var c=Jb(a.ib);if($APP.n(c?b.ib:c))return-1;if($APP.n(a.ib)){if(Jb(b.ib))return 1;c=ua(a.ib,b.ib);return 0===c?ua(a.name,b.name):c}return ua(a.name,b.name)}; -$APP.x=function(a,b,c,d,e){this.ib=a;this.name=b;this.Kb=c;this.oc=d;this.qb=e;this.C=2154168321;this.J=4096};$APP.de=function(a,b,c){this.A=a;this.Bb=b;this.qb=c;this.C=6717441;this.J=0};ge=function(a){return null!=a?a.J&131072||$APP.Ua===a.Oe?!0:a.J?!1:$APP.Pb(Od,a):$APP.Pb(Od,a)}; -$APP.z=function(a){if(null==a)return null;if(null!=a&&(a.C&8388608||$APP.Ua===a.Od))return a.V(null);if(Gb(a)||"string"===typeof a)return 0===a.length?null:new $APP.Xb(a,0,null);if(null!=a&&null!=a[Ub])return a=$APP.Aa(a,Ub).call(a),he.g?he.g(a):he.call(null,a);if($APP.Pb(ad,a))return bd(a);throw Error([$APP.q.g(a)," is not ISeqable"].join(""));};$APP.r=function(a){if(null==a)return null;if(null!=a&&(a.C&64||$APP.Ua===a.rc))return a.wa(null);a=$APP.z(a);return null==a?null:pc(a)}; -ie=function(a){return null!=a?null!=a&&(a.C&64||$APP.Ua===a.rc)?a.Aa(null):(a=$APP.z(a))?a.Aa(null):je:je};$APP.t=function(a){return null==a?null:null!=a&&(a.C&128||$APP.Ua===a.Hc)?a.xa(null):$APP.z(ie(a))};ke=function(a){this.R=a};le=function(a){return new ke($APP.z(a))};me=function(a,b){this.value=a;this.zc=b;this.ed=null;this.C=8388672;this.J=0};he=function(a){var b=a.next();return $APP.n(b.done)?null:new me(b.value,a)}; -ne=function(a){var b=0,c=1;for(a=$APP.z(a);;)if(null!=a)b+=1,c=Sd(31,c)+Zd($APP.r(a))|0,a=$APP.t(a);else return Vd(Ud(0,Td(c)),b)};pe=function(a){var b=0,c=0;for(a=$APP.z(a);;)if(null!=a)b+=1,c=c+Zd($APP.r(a))|0,a=$APP.t(a);else return Vd(Ud(0,Td(c)),b)};re=function(){};se=function(a){return null!=a?$APP.Ua===a.te?!0:a.Jc?!1:$APP.Pb(re,a):$APP.Pb(re,a)};$APP.te=function(a){return a+1};ve=function(a){this.A=a;this.C=32768;this.J=0};we=function(a){return new ve(a)}; -xe=function(a){return a instanceof ve};ye=function(a){return xe(a)?a:we(a)};ze=function(a){return xe(a)?Ae.g?Ae.g(a):Ae.call(null,a):a};Ae=function(a){return $APP.Oc(a)};Be=function(a,b){var c=a.aa(null);if(0===c)return b.s?b.s():b.call(null);for(var d=a.S(null,0),e=1;;)if(e=d)return-1;!(0c&&(c+=d,c=0>c?0:c);for(;;)if(cc?d+c:c;for(;;)if(0<=c){if($APP.fe.h($APP.B.h?$APP.B.h(a,c):$APP.B.call(null,a,c),b))return c;--c}else return-1};Le=function(a,b){this.v=a;this.G=b}; -$APP.Xb=function(a,b,c){this.v=a;this.G=b;this.D=c;this.C=166592766;this.J=139264};$APP.Pe=function(a){return 0a:!1};Nf=function(a){return Jf(a)?!(0>a):!1};Of=function(a){return"number"===typeof a};Pf=function(a){return"number"===typeof a};$APP.H=function(a,b){return null!=a&&(a.C&512||$APP.Ua===a.ee)?a.Gb(null,b):$APP.Pb(yc,a)?aa(a,b):$APP.ce.i(a,b,Bf)===Bf?!1:!0};Qf=function(a,b){return(null!=a?$APP.Ua===a.bc||(a.Jc?0:$APP.Pb(zc,a)):$APP.Pb(zc,a))?Ac(a,b):null!=a&&sf(a)&&$APP.H(a,b)?new Rf(b,$APP.ce.h(a,b)):null}; -Uf=function(a,b){if(a===b)return 0;if(null==a)return-1;if(null==b)return 1;if("number"===typeof a){if("number"===typeof b)return ua(a,b);throw Error(["Cannot compare ",$APP.q.g(a)," to ",$APP.q.g(b)].join(""));}if(null!=a?a.J&2048||$APP.Ua===a.ac||(a.J?0:$APP.Pb(Ad,a)):$APP.Pb(Ad,a))return Bd(a,b);if("string"!==typeof a&&!Gb(a)&&!0!==a&&!1!==a||Qb(a)!==Qb(b))throw Error(["Cannot compare ",$APP.q.g(a)," to ",$APP.q.g(b)].join(""));return ua(a,b)}; -Vf=function(a,b){var c=$APP.Je(a),d=$APP.Je(b);if(cd)a=1;else if(0===c)a=0;else a:for(d=0;;){var e=Uf($APP.B.h(a,d),$APP.B.h(b,d));if(0===e&&d+1>b};vh=function(a,b){return a>>>b};wh=function(a){a-=a>>1&1431655765;a=(a&858993459)+(a>>2&858993459);return 16843009*(a+(a>>4)&252645135)>>24}; -yh=function(a){return 0a};Bh=function(a,b){for(a=$APP.z(a);;)if(a&&0a?0:a-1>>>5<<5}; -gk=function(a,b,c){for(;;){if(0===b)return c;var d=dk(a);d.v[0]=c;c=d;b-=5}};kk=function(a,b){throw Error(["No item ",$APP.q.g(a)," in vector of length ",$APP.q.g(b)].join(""));};lk=function(a,b){if(b>=fk(a))return a.gb;var c=a.root;for(a=a.shift;;)if(0>>a&31];a=d}else return c.v};mk=function(a,b){return 0<=b&&bc)return new $APP.O(null,c,5,$APP.P,a,null);b=32;for(var d=(new $APP.O(null,32,5,$APP.P,a.slice(0,32),null)).pc(null);;)if(bc||d$APP.Je(b))throw Error("Index out of bounds");return new Fk(a,b,c,d,e)}};Ik=function(a,b){return a===b.ja?b:new ck(a,Zb(b.v))}; -uk=function(a){return new ck({},Zb(a.v))};vk=function(a){var b=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];Af(a,0,b,0,a.length);return b};tk=function(a,b,c,d){this.F=a;this.shift=b;this.root=c;this.gb=d;this.J=88;this.C=275}; -Kk=function(a,b,c){if(a.root.ja){if(0<=b&&b>>f&31;f=g(f-5,l.v[p]);l.v[p]=f}return l}(a.shift,a.root);a.root=d}return a}if(b===a.F)return a.tc(null,c);throw Error(["Index ",$APP.q.g(b)," out of bounds for TransientVector of length",$APP.q.g(a.F)].join(""));}throw Error("assoc! after persistent!");};Lk=function(a,b){this.wc=a;this.Uc=b}; -Mk=function(a,b,c,d){this.D=a;this.lb=b;this.nb=c;this.H=d;this.C=31850700;this.J=0};Nk=function(a,b,c,d,e){this.D=a;this.count=b;this.lb=c;this.nb=d;this.H=e;this.J=139264;this.C=31858766};Pk=function(){this.C=2097152;this.J=0}; -Rk=function(a,b){return Hf($APP.vf(b)&&!wf(b)?$APP.Je(a)===$APP.Je(b)?(null!=a?a.C&1048576||$APP.Ua===a.Pe||(a.C?0:$APP.Pb(Xc,a)):$APP.Pb(Xc,a))?$APP.fg(function(c,d,e){return $APP.fe.h($APP.ce.i(b,d,Qk),e)?!0:we(!1)},!0,a):Zi(function(c){return $APP.fe.h($APP.ce.i(b,$APP.r(c),Qk),Te(c))},a):null:null)};Sk=function(a,b,c,d){this.G=0;this.Ae=a;this.Fd=b;this.we=c;this.Wd=d};Tk=function(a){this.R=a};Uk=function(a){this.R=a}; -Vk=function(a,b){if(b instanceof $APP.ee)a:{var c=a.length;b=b.fb;for(var d=0;;){if(c<=d){a=-1;break a}if(a[d]instanceof $APP.ee&&b===a[d].fb){a=d;break a}d+=2}}else if("string"===typeof b||"number"===typeof b)a:for(c=a.length,d=0;;){if(c<=d){a=-1;break a}if(b===a[d]){a=d;break a}d+=2}else if(b instanceof $APP.x)a:for(c=a.length,b=b.Kb,d=0;;){if(c<=d){a=-1;break a}if(a[d]instanceof $APP.x&&b===a[d].Kb){a=d;break a}d+=2}else if(null==b)a:for(b=a.length,c=0;;){if(b<=c){a=-1;break a}if(null==a[c]){a= -c;break a}c+=2}else a:for(c=a.length,d=0;;){if(c<=d){a=-1;break a}if($APP.fe.h(b,a[d])){a=d;break a}d+=2}return a};Rf=function(a,b){this.key=a;this.A=b;this.H=null;this.C=166619935;this.J=0};zk=function(a){return null!=a?a.C&2048||$APP.Ua===a.Se?!0:!1:!1};Wk=function(a,b,c){this.v=a;this.G=b;this.qb=c;this.C=32374990;this.J=0};Xk=function(a,b){this.v=a;this.G=0;this.F=b};$APP.m=function(a,b,c,d){this.D=a;this.F=b;this.v=c;this.H=d;this.C=16647951;this.J=139268}; -gf=function(a){for(var b=[],c=0;;)if(cd?c.left:c.right}else return null};cm=function(a,b){this.ca=a;this.qb=b;this.C=32374988;this.J=0};Yk=function(a){return(a=$APP.z(a))?new cm(a,null):null};Ak=function(a){return Dc(a)}; -dm=function(a,b){this.ca=a;this.qb=b;this.C=32374988;this.J=0};Zk=function(a){return(a=$APP.z(a))?new dm(a,null):null};Bk=function(a){return Ec(a)};$APP.im=function(a,b){var c=$APP.Hi;for(b=$APP.z(b);;)if(b){var d=$APP.r(b),e=$APP.ce.i(a,d,jm);c=$APP.Di.h(e,jm)?$APP.E.i(c,d,e):c;b=$APP.t(b)}else return Sc(c,$APP.F(a))};km=function(a){this.zc=a};$APP.lm=function(a,b,c){this.D=a;this.Vb=b;this.H=c;this.C=15077647;this.J=139268}; -Tf=function(a){for(var b=a.length,c=vd(nm),d=0;;)if(dmb)return $APP.od(a,"#");$APP.od(a,c);if(0===yb.g(f))$APP.z(l)&&$APP.od(a,function(){var J=$m.g(f);return $APP.n(J)?J:"..."}());else{if($APP.z(l)){var p=$APP.r(l);b.i?b.i(p,a,f):b.call(null,p,a,f)}for(var w=$APP.t(l),A=yb.g(f)-1;;)if(!w||null!=A&&0===A){$APP.z(w)&&0===A&&($APP.od(a,d),$APP.od(a,function(){var J=$m.g(f);return $APP.n(J)?J:"..."}()));break}else{$APP.od(a,d);var D=$APP.r(w);c=a;l=f;b.i?b.i(D,c,l):b.call(null, -D,c,l);var G=$APP.t(w);c=A-1;w=G;A=c}}return $APP.od(a,e)}finally{mb=g}};an=function(a,b){b=$APP.z(b);for(var c=null,d=0,e=0;;)if(e=b||b>=2+$APP.Je(a))return Ze.h(ag(Oe("",$APP.Yi.h($APP.q,$APP.z(a)))),"");if($APP.n(xh.h?xh.h(1,b):xh.call(null,1,b)))return new $APP.O(null,1,5,$APP.P,[a],null);if($APP.n(xh.h?xh.h(2,b):xh.call(null,2,b)))return new $APP.O(null,2,5,$APP.P,["",a],null);b-=2;return Ze.h(ag(Oe("",$APP.Hk.i(ag($APP.Yi.h($APP.q,$APP.z(a))),0,b))),$APP.Ch.h(a,b))};kT=function(a){return $APP.jT.h(a,/\n|\r\n/)};lT=function(a){return Fa(a)};mT=function(a){return a.replace(/^[\s\xa0]+/,"")}; -nT=function(a){return a.replace(/[\s\xa0]+$/,"")};oT=function(a){for(var b=a.length;;){if(0===b)return"";var c=$APP.ce.h(a,b-1);if("\n"===c||"\r"===c)--b;else return a.substring(0,b)}};pT=function(a){return/^[\s\xa0]*$/.test(null==a?"":String(a))};qT=function(a,b){for(var c=new La,d=a.length,e=0;;){if(d===e)return c.toString();var f=a.charAt(e),l=$APP.ce.h(b,f);null!=l?c.append($APP.q.g(l)):c.append(f);e+=1}};tT=function(a,b){return 0==a.lastIndexOf(b,0)};uT=function(a,b){return Ca(a,b)}; -vT=function(a,b){return-1!=a.indexOf(b)};wT=function(a,b,c,d,e){this.Jb=a;this.form=b;this.$=c;this.N=d;this.H=e;this.C=2230716170;this.J=139264};xT=function(a,b){return new wT(b,a,null,null,null)};zT=function(a){return null==a?null:","===a?!0:yT.test(a)};AT=function(a){return null==a?null:!/[^0-9]/.test(a)};BT=function(a){return"\n"===a||"\n"===a||null==a}; -CT=function(a,b){return function e(d){return new Xh(null,function(){for(;;){var f=$APP.z(d);if(f){if($APP.yf(f)){var l=$APP.Dd(f),g=$APP.Je(l),p=ai(g);return function(){for(var A=0;;)if(AD:D:Z}())&&uW("Can't have fixed arity function with more params than variadic function",b);return bk.B(bk.B($APP.E.j(p,JF,w,$APP.Pe([tA,function(){var Z=oO.g(J);return Z>A?Z:A}()])),jL,Ze,J),$APP.V,Ze,G)},new $APP.m(null,4,[jL,$e,$APP.V,$e,Ar,null,tA,-1],null),d);a=jL.g(d);d=$APP.V.g(d);e=$APP.F(b);var g=GW(l,e);e=e===g?null:$APP.hf.j(g,$APP.Xp,$APP.Pe([$APP.dH,$APP.oF,$APP.Tq]));return $APP.lf(new $APP.m(null,5,[QS,a,Yy,f,cP,d,$x,!0,NE,e],null), -new $APP.m(null,1,[Rz,HR],null))}; -IW=function(a,b,c){a=$APP.dc.i(function(f,l){var g=$APP.B.i(f,0,null);f=$APP.B.i(f,1,null);var p=$APP.B.i(l,0,null);l=$APP.B.i(l,1,null);l=wW?wW(g,l):xW.call(null,g,l);return new $APP.O(null,2,5,$APP.P,[bk.I(g,$APP.lH,$APP.E,p,l),Ze.j(f,p,$APP.Pe([l]))],null)},new $APP.O(null,2,5,$APP.P,[a,$e],null),Xj.h(2,b));b=$APP.B.i(a,0,null);var d=$APP.B.i(a,1,null),e=EW(b,c);return qV(function(f){a:{b:for(var l=d;;){var g=$APP.r(l);l=ie(l);var p=$APP.r(l);l=$APP.t(l);p=X.h?X.h(f,p):X.call(null,f,p);var w=f.get($APP.lH); -g=v(w,g,p);f=v(f,$APP.lH,g);if(Jb(l))break b;l=g=l}if($APP.n(e))for(g=e;;){if(l=$APP.r(g),l=X.h?X.h(f,l):X.call(null,f,l),g=$APP.t(g),!g){f=l;break a}}else f=null}return f},null)};JW=function(a,b){b=$APP.z(b);$APP.r(b);var c=$APP.t(b);b=$APP.r(c);c=$APP.t(c);b=TT(b);return IW(a,b,c)}; -KW=function(a,b){$APP.B.i(b,0,null);var c=$APP.B.i(b,1,null),d=$APP.B.i(b,2,null),e=$APP.B.i(b,3,null),f=new $APP.O(null,2,5,$APP.P,[null,c],null);LW.h?LW.h(a,f):LW.call(null,a,f);Qh(c)||uW("Var name should be simple symbol.",b);var l=$APP.Je(b);f=$APP.fe.h(4,l)&&"string"===typeof d?d:null;if(!(l<=($APP.n(f)?4:3)))throw Error("Too many arguments to def");d=$APP.n(f)?e:d;var g=$APP.fe.h(2,l)?tF:wW?wW(a,d):xW.call(null,a,d),p=$APP.F(c);d=function(){var A=$APP.E.i(a,$APP.ub,!0);return wW?wW(A,p):xW.call(null, -A,p)}();d=$APP.E.i(d,$APP.U,$APP.Oc(IU));f=$APP.n(f)?$APP.E.i(d,$APP.S,f):d;var w=$APP.lf(c,f);return qV(function(A){return ZV(A,w,g)},b)}; -MW=function(a,b){var c=$APP.z(b),d=$APP.r(c),e=$APP.t(c);c=$APP.r(e);e=$APP.t(e);Qh(c)||uW("Var name should be simple symbol.",b);var f=new $APP.O(null,2,5,$APP.P,[null,c],null);LW.h?LW.h(a,f):LW.call(null,a,f);var l=$APP.fe.h("defmacro",$APP.Wh(d));d=Mm(gj.h(Jb,tf),e);var g=$APP.B.i(d,0,null);e=$APP.B.i(d,1,null);$APP.pf(e)&&uW("Parameter declaration missing.",b);var p=function(){var J=$APP.r(g);return $APP.n(J)?"string"===typeof J?J:null:null}();d=function(){var J=Ye(g);return $APP.n(J)?$APP.vf(J)? -J:null:null}();var w=$APP.em.j($APP.Pe([$APP.F(c),$APP.F(b),d]));d=function(){var J=$APP.E.i(a,$APP.ub,!0);return wW?wW(J,w):xW.call(null,J,w)}();e=$APP.lf(Oe(gC,e),$APP.F(b));e=HW(a,e,l);f=$APP.z(cP.g(e));var A=$APP.E.j(d,$APP.U,$APP.Oc(IU),$APP.Pe([$APP.V,f])),D=$APP.lf(c,function(){var J=$APP.n(p)?$APP.E.i(A,$APP.S,p):A;return l?$APP.E.i(J,$APP.hq,!0):J}()),G=$APP.E.j(e,DN,l,$APP.Pe([Yy,D,DQ,!0]));return qV(function(J){return ZV(J,D,G)},b)}; -NW=function(a,b){var c=Te(b),d=Lm.h(2,c),e=Lm.h(2,ie(c)),f=Zi($d,d)?new $APP.O(null,2,5,$APP.P,[c,d],null):function(){var l=Ij.h($APP.Je(d),function(){return $APP.Cn.s()}),g=$APP.Yi.i($APP.Ck,l,e),p=$APP.Yi.i($APP.Ck,d,l);return new $APP.O(null,2,5,$APP.P,[Uj.i($e,Pj,Mj.h(g,p)),l],null)}();c=$APP.B.i(f,0,null);f=$APP.B.i(f,1,null);b=Xe(b);b=new C(null,GB,new C(null,c,new C(null,oi.h(Xi.g($APP.z(K.j(new C(null,mH,null,1,null),new C(null,ag(d),null,1,null),$APP.Pe([b])))),f),null,1,null),2,null),3, -null);return wW?wW(a,b):xW.call(null,a,b)};OW=function(a,b){b=ie(b);b=new C(null,gC,new C(null,$e,new C(null,Oe(cp,b),null,1,null),2,null),3,null);a=wW?wW(a,b):xW.call(null,a,b);return NU(new C(null,ku,new C(null,a,null,1,null),2,null))}; -PW=function(a,b){var c=ie(b);a=EW(a,c);switch($APP.Je(a)){case 0:case 1:return uW("Too few arguments to if",b);case 2:var d=$APP.B.h(a,0),e=$APP.B.h(a,1);return Jb(d)?null:MU(d)?e:qV(function(l){return $APP.n(X(l,d))?X(l,e):null},$APP.lf(b,new $APP.m(null,1,[Rz,YD],null)));case 3:d=$APP.B.h(a,0);e=$APP.B.h(a,1);var f=$APP.B.h(a,2);return Jb(d)?f:MU(d)?e:qV(function(l){return $APP.n(X(l,d))?X(l,e):X(l,f)},$APP.lf(b,new $APP.m(null,1,[Rz,YD],null)));default:return uW("Too many arguments to if",b)}}; -QW=function(a,b){function c(A,D,G){return $APP.H(A,D)?uW(["Duplicate case test constant ",$APP.q.g(D)].join(""),b):$APP.E.i(A,D,G)}var d=function(){var A=Te(b);return wW?wW(a,A):xW.call(null,a,A)}(),e=Xe(b),f=Lm.h(2,e),l=EW(a,Lm.h(2,ie(e))),g=cj($APP.Je(e))?null:new $APP.O(null,2,5,$APP.P,[$APP.wn,function(){var A=Ye(e);return wW?wW(a,A):xW.call(null,a,A)}()],null),p=Mj.h(f,l),w=function(){for(var A=$APP.z(p),D=$APP.Hi;;)if(A){var G=A,J=$APP.z(G),R=$APP.r(J),W=$APP.t(J),Z=R,va=$APP.r(W),Da=$APP.t(W), -Qa=va,vb=Da;if(Dh(Z)){var M=vb;D=$APP.dc.i(function(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc){return function(jd,Uh){return Hc(jd,Uh,pb)}}(A,D,G,J,R,W,Z,va,Da,Qa,vb,d,e,f,l,g,p,c),D,Z);A=M}else A=vb,D=c(D,Z,Qa)}else return D}();w=NU(new C(null,pK,new C(null,new $APP.m(null,3,[HJ,w,TR,d,ry,g],null),new C(null,g,null,1,null),2,null),3,null));return NU(w)}; -RW=function(a,b){b=$APP.z(b);$APP.r(b);var c=$APP.t(b);b=function(){for(var g=$APP.z(c),p=$e,w=$e,A=null;;)if(g){var D=$APP.r(g);g=$APP.t(g);if($APP.Ff(D)&&$APP.fe.h(qp,$APP.r(D)))w=Ze.h(w,D);else{if(Jb(g)&&$APP.Ff(D)&&$APP.fe.h(ap,$APP.r(D)))return new $APP.O(null,3,5,$APP.P,[p,w,D],null);p=Ze.h(p,D)}}else return new $APP.O(null,3,5,$APP.P,[p,w,A],null)}();var d=$APP.B.i(b,0,null),e=$APP.B.i(b,1,null),f=$APP.B.i(b,2,null);b=function(){var g=Oe(cp,d);return wW?wW(a,g):xW.call(null,a,g)}();e=Vj.h(function(g){g= -$APP.z(g);$APP.r(g);g=$APP.t(g);var p=$APP.r(g),w=$APP.t(g);g=$APP.r(w);var A=$APP.t(w);w=$APP.NQ.g(FV(a,p));$APP.n(w)?(p=Zj(a,new $APP.O(null,2,5,$APP.P,[$APP.lH,g],null),null),A=Oe(cp,A),p=wW?wW(p,A):xW.call(null,p,A),g=new $APP.m(null,3,[$APP.NQ,w,MB,g,FD,p],null)):g=uW(["Unable to resolve classname: ",$APP.q.g(p)].join(""),p);return g},e);var l=$APP.n(f)?function(){var g=Oe(cp,ie(f));return wW?wW(a,g):xW.call(null,a,g)}():null;return $APP.lf(new $APP.m(null,1,[kz,new $APP.m(null,3,[FD,b,Fq,e, -JA,l],null)],null),new $APP.m(null,1,[Rz,vu],null))}; -LW=function(a,b){var c=$APP.z(b);$APP.r(c);c=$APP.t(c);var d=JU();a=$APP.WC.g(a);var e=Yj.h($APP.Oc(a),new $APP.O(null,2,5,$APP.P,[$APP.Cr,d],null)),f=GJ.g(e),l=$APP.dc.i(function(g,p){var w=$APP.n(f)?f.get(p):f;if($APP.n(w))g=uW([$APP.q.g(p)," already refers to ",$APP.q.g(w)," in namespace ",$APP.q.g(d)].join(""),b);else if(Jb($APP.ce.h(e,p))){w=$APP.E.i;var A=CU(null,$APP.y.h($APP.q.g(d),$APP.q.g(p)),new $APP.m(null,3,[$APP.T,p,$APP.U,$APP.Oc(IU),$APP.xM,$APP.Oc(GU)],null));A.Vc(null);g=w.call($APP.E, -g,p,A)}else g=e;return g},e,c);$APP.qj.h(a,function(g){return bk.I(g,$APP.Cr,$APP.E,d,l)});return null}; -SW=function(a,b){b=$APP.z(b);$APP.r(b);var c=$APP.t(b);b=$APP.r(c);var d=$APP.t(c);c=$APP.r(d);d=$APP.t(d);c=$APP.Ff(c)?c:Oe(c,d);d=$APP.z(c);c=$APP.r(d);d=$APP.t(d);b=wW?wW(a,b):xW.call(null,a,b);b=WU(b,function(e){var f=RN.g(e);if($APP.n(f)){var l=$APP.NQ.g(FV(a,f));$APP.n(l)?f=l:(l=WV(a,f),f=$APP.n(l)?l:uW(["Unable to resolve classname: ",$APP.q.g(f)].join(""),f));return $APP.E.i(e,fA,f)}return e});c=$APP.Wh(c);d=d?EW(a,d):null;return NU(Xi.g($APP.z(K.j(new C(null,np,null,1,null),new C(null,b, -null,1,null),$APP.Pe([new C(null,c,null,1,null),new C(null,d,null,1,null)])))))};TW=function(a,b){if(3>$APP.Je(b))throw Error("Malformed member expression, expecting (.member target ...)");return SW(a,b)};UW=function(a,b){var c=$APP.z(b),d=$APP.r(c),e=$APP.t(c);c=$APP.r(e);e=$APP.t(e);if(2>$APP.Je(b))throw Error("Malformed member expression, expecting (.member target ...)");return SW(a,new C(null,np,new C(null,c,new C(null,Oe($APP.y.g($APP.Ch.h($APP.Wh(d),1)),e),null,1,null),2,null),3,null))}; -VW=function(a,b){b=$APP.z(b);$APP.r(b);b=$APP.t(b);var c=$APP.r(b);b=$APP.t(b);var d=FV(a,c);if($APP.n(d))return c=$APP.Ai(d),c=$APP.ce.h(c,$APP.sA),a=EW(a,b),NU(new C(null,fp,new C(null,c,new C(null,a,null,1,null),2,null),3,null));d=WV(a,c);return $APP.n(d)?(a=EW(a,b),NU(oi.h(VQ.g($APP.F(d)),a))):uW(["Unable to resolve classname: ",$APP.q.g(c)].join(""),c)}; -WW=function(a,b){var c=$APP.z(b);b=$APP.r(c);c=$APP.t(c);var d=$APP.Wh(b);d=$APP.lf($APP.y.g($APP.Ch.i(d,0,d.length-1)),$APP.F(b));return VW(a,$APP.lf(oi.i(fp,d,c),$APP.F(b)))}; -XW=function(a,b){var c=$APP.z(b),d=$APP.r(c),e=$APP.t(c),f=$APP.r(e),l=$APP.t(e);if(!(f instanceof $APP.x))throw Error(["Namespace name must be symbol, got: ",$APP.on.j($APP.Pe([f]))].join(""));var g=function(){var Qa=$APP.r(l);return"string"===typeof Qa?new $APP.O(null,2,5,$APP.P,[Qa,$APP.t(l)],null):new $APP.O(null,2,5,$APP.P,[null,l],null)}(),p=$APP.B.i(g,0,null),w=$APP.B.i(g,1,null),A=function(){var Qa=$APP.r(w);return $APP.vf(Qa)?new $APP.O(null,2,5,$APP.P,[Qa,$APP.t(w)],null):new $APP.O(null, -2,5,$APP.P,[null,w],null)}(),D=$APP.B.i(A,0,null),G=$APP.B.i(A,1,null),J=$APP.n(p)?$APP.E.i(D,$APP.S,p):D;bV(a,f,J);a=G;for(var R=$e;;)if($APP.n(a)){var W=$APP.r(a),Z=$APP.z(W),va=$APP.r(Z),Da=$APP.t(Z);Z=va;va=Da;Da=Z;Da=Da instanceof $APP.ee?Da.fb:null;switch(Da){case "require":case "use":a=$APP.t(a);R=Ze.h(R,NU($APP.lf(oi.h($APP.y.g($APP.Wh(Z)),va),$APP.F(W))));continue;case "import":a=$APP.t(a);R=Ze.h(R,NU($APP.lf(oi.h(LL,va),$APP.F(W))));continue;case "refer-clojure":a=$APP.t(a);R=Ze.h(R,NU($APP.lf(oi.i(pF, -CH,va),$APP.F(W))));continue;case "gen-class":a=$APP.t(a);continue;default:throw Error(["No matching clause: ",$APP.q.g(Da)].join(""));}}else return zW(b,Ze.h(R,qV(function(Qa,vb,M,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb){return function(Sb){IV($APP.WC.g(Sb),Mb);return null}}(a,R,g,p,w,A,D,G,J,b,c,d,e,d,f,l,f,l,b),null)))};YW=function(a,b){$APP.B.i(b,0,null);b=$APP.B.i(b,1,null);a=$APP.E.i(a,yB,!0);return sW(a,b,!1)}; -ZW=function(a,b){$APP.B.i(b,0,null);var c=$APP.B.i(b,1,null),d=$APP.B.i(b,2,null);c=wW?wW(a,c):xW.call(null,a,c);var e=wW?wW(a,d):xW.call(null,a,d);if(c instanceof WT){var f=c.Yb(null);return qV(function(g){g=X(g,e);return UT(f,g)},b)}if($APP.Ff(c)){var l=$APP.Ch.h($APP.B.h(c,2),1);f=$APP.B.h(c,1);return qV(function(g){var p=X(g,f);g=X(g,e);p[l]=g},b)}return null}; -$W=function(a,b,c){return qV(function(){switch($APP.Je(c)){case 0:return function(h){h=h.get($APP.lH).get(b);return h.s?h.s():h.call(null)};case 1:var d=$APP.B.h(c,0);return function(h){var ya=X(h,d);h=h.get($APP.lH).get(b);return h.g?h.g(ya):h.call(null,ya)};case 2:d=$APP.B.h(c,0);var e=$APP.B.h(c,1);return function(h){var ya=X(h,d),Ea=X(h,e);h=h.get($APP.lH).get(b);return h.h?h.h(ya,Ea):h.call(null,ya,Ea)};case 3:d=$APP.B.h(c,0);e=$APP.B.h(c,1);var f=$APP.B.h(c,2);return function(h){var ya=X(h, -d),Ea=X(h,e),Ga=X(h,f);h=h.get($APP.lH).get(b);return h.i?h.i(ya,Ea,Ga):h.call(null,ya,Ea,Ga)};case 4:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);var l=$APP.B.h(c,3);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l);h=h.get($APP.lH).get(b);return h.B?h.B(ya,Ea,Ga,Ja):h.call(null,ya,Ea,Ga,Ja)};case 5:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);var g=$APP.B.h(c,4);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g);h=h.get($APP.lH).get(b);return h.I? -h.I(ya,Ea,Ga,Ja,Pa):h.call(null,ya,Ea,Ga,Ja,Pa)};case 6:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);var p=$APP.B.h(c,5);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p);h=h.get($APP.lH).get(b);return h.Y?h.Y(ya,Ea,Ga,Ja,Pa,Za):h.call(null,ya,Ea,Ga,Ja,Pa,Za)};case 7:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);var w=$APP.B.h(c,6);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h, -f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w);h=h.get($APP.lH).get(b);return h.ua?h.ua(ya,Ea,Ga,Ja,Pa,Za,Ia):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia)};case 8:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);var A=$APP.B.h(c,7);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A);h=h.get($APP.lH).get(b);return h.ia?h.ia(ya,Ea,Ga,Ja,Pa,Za,Ia,ib):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib)};case 9:d=$APP.B.h(c, -0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);var D=$APP.B.h(c,8);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D);h=h.get($APP.lH).get(b);return h.va?h.va(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb)};case 10:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c, -8);var G=$APP.B.h(c,9);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G);h=h.get($APP.lH).get(b);return h.ka?h.ka(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb)};case 11:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);var J=$APP.B.h(c,10);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h, -f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J);h=h.get($APP.lH).get(b);return h.la?h.la(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb)};case 12:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);var R=$APP.B.h(c,11);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h, -w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R);h=h.get($APP.lH).get(b);return h.ma?h.ma(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib)};case 13:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);var W=$APP.B.h(c,12);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h, -A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W);h=h.get($APP.lH).get(b);return h.na?h.na(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb)};case 14:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);var Z=$APP.B.h(c,13);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za= -X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z);h=h.get($APP.lH).get(b);return h.oa?h.oa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb)};case 15:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);var va=$APP.B.h(c,14);return function(h){var ya= -X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va);h=h.get($APP.lH).get(b);return h.pa?h.pa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab)};case 16:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c, -12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);var Da=$APP.B.h(c,15);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da);h=h.get($APP.lH).get(b);return h.qa?h.qa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc)};case 17:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5); -w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);Da=$APP.B.h(c,15);var Qa=$APP.B.h(c,16);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa);h=h.get($APP.lH).get(b);return h.ra?h.ra(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc):h.call(null,ya,Ea,Ga,Ja, -Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc)};case 18:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);Da=$APP.B.h(c,15);Qa=$APP.B.h(c,16);var vb=$APP.B.h(c,17);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h, -W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb);h=h.get($APP.lH).get(b);return h.sa?h.sa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd)};case 19:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);Da=$APP.B.h(c,15);Qa=$APP.B.h(c, -16);vb=$APP.B.h(c,17);var M=$APP.B.h(c,18);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb),Uh=X(h,M);h=h.get($APP.lH).get(b);return h.ta?h.ta(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,Uh):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,Uh)};default:return function(h){return gW(h,h.get($APP.lH).get(b),c)}}}(),a)}; -aX=function(a,b,c){return qV(function(){switch($APP.Je(c)){case 0:return function(h){return b.g?b.g(h):b.call(null,h)};case 1:var d=$APP.B.h(c,0);return function(h){var ya=X(h,d);return b.h?b.h(h,ya):b.call(null,h,ya)};case 2:d=$APP.B.h(c,0);var e=$APP.B.h(c,1);return function(h){var ya=X(h,d),Ea=X(h,e);return b.i?b.i(h,ya,Ea):b.call(null,h,ya,Ea)};case 3:d=$APP.B.h(c,0);e=$APP.B.h(c,1);var f=$APP.B.h(c,2);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f);return b.B?b.B(h,ya,Ea,Ga):b.call(null, -h,ya,Ea,Ga)};case 4:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);var l=$APP.B.h(c,3);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l);return b.I?b.I(h,ya,Ea,Ga,Ja):b.call(null,h,ya,Ea,Ga,Ja)};case 5:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);var g=$APP.B.h(c,4);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g);return b.Y?b.Y(h,ya,Ea,Ga,Ja,Pa):b.call(null,h,ya,Ea,Ga,Ja,Pa)};case 6:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c, -3);g=$APP.B.h(c,4);var p=$APP.B.h(c,5);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p);return b.ua?b.ua(h,ya,Ea,Ga,Ja,Pa,Za):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za)};case 7:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);var w=$APP.B.h(c,6);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w);return b.ia?b.ia(h,ya,Ea,Ga,Ja,Pa,Za,Ia):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia)};case 8:d=$APP.B.h(c, -0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);var A=$APP.B.h(c,7);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A);return b.va?b.va(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib)};case 9:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);var D=$APP.B.h(c,8);return function(h){var ya=X(h,d),Ea=X(h, -e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D);return b.ka?b.ka(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb)};case 10:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);var G=$APP.B.h(c,9);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G);return b.la?b.la(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib, -pb,zb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb)};case 11:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);var J=$APP.B.h(c,10);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J);return b.ma?b.ma(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb)};case 12:d=$APP.B.h(c,0); -e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);var R=$APP.B.h(c,11);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R);return b.na?b.na(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib)};case 13:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c, -3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);var W=$APP.B.h(c,12);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W);return b.oa?b.oa(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb)};case 14:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c, -4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);var Z=$APP.B.h(c,13);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z);return b.pa?b.pa(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb)};case 15:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c, -3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);var va=$APP.B.h(c,14);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va);return b.qa?b.qa(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab)};case 16:d=$APP.B.h(c, -0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);var Da=$APP.B.h(c,15);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da);return b.ra?b.ra(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb, -Ab,qc):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc)};case 17:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);Da=$APP.B.h(c,15);var Qa=$APP.B.h(c,16);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib= -X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa);return b.sa?b.sa(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc)};case 18:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);Da=$APP.B.h(c,15);Qa=$APP.B.h(c,16);var vb=$APP.B.h(c, -17);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb);return b.ta?b.ta(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd)};case 19:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c, -8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);Da=$APP.B.h(c,15);Qa=$APP.B.h(c,16);vb=$APP.B.h(c,17);var M=$APP.B.h(c,18);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb),Uh=X(h,M);return b.Ta?b.Ta(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,Uh):b.call(null,h,ya,Ea,Ga,Ja,Pa, -Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,Uh)};default:return function(h){return gW(h,b,Oe(h,c))}}}(),a)}; -bX=function(a,b,c){return qV(function(){switch($APP.Je(c)){case 0:return function(){return b.s?b.s():b.call(null)};case 1:var d=$APP.B.h(c,0);return function(h){h=X(h,d);return b.g?b.g(h):b.call(null,h)};case 2:d=$APP.B.h(c,0);var e=$APP.B.h(c,1);return function(h){var ya=X(h,d);h=X(h,e);return b.h?b.h(ya,h):b.call(null,ya,h)};case 3:d=$APP.B.h(c,0);e=$APP.B.h(c,1);var f=$APP.B.h(c,2);return function(h){var ya=X(h,d),Ea=X(h,e);h=X(h,f);return b.i?b.i(ya,Ea,h):b.call(null,ya,Ea,h)};case 4:d=$APP.B.h(c, -0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);var l=$APP.B.h(c,3);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f);h=X(h,l);return b.B?b.B(ya,Ea,Ga,h):b.call(null,ya,Ea,Ga,h)};case 5:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);var g=$APP.B.h(c,4);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l);h=X(h,g);return b.I?b.I(ya,Ea,Ga,Ja,h):b.call(null,ya,Ea,Ga,Ja,h)};case 6:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);var p=$APP.B.h(c,5);return function(h){var ya= -X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g);h=X(h,p);return b.Y?b.Y(ya,Ea,Ga,Ja,Pa,h):b.call(null,ya,Ea,Ga,Ja,Pa,h)};case 7:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);var w=$APP.B.h(c,6);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p);h=X(h,w);return b.ua?b.ua(ya,Ea,Ga,Ja,Pa,Za,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,h)};case 8:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c, -5);w=$APP.B.h(c,6);var A=$APP.B.h(c,7);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w);h=X(h,A);return b.ia?b.ia(ya,Ea,Ga,Ja,Pa,Za,Ia,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,h)};case 9:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);var D=$APP.B.h(c,8);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A);h=X(h,D);return b.va?b.va(ya, -Ea,Ga,Ja,Pa,Za,Ia,ib,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,h)};case 10:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);var G=$APP.B.h(c,9);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D);h=X(h,G);return b.ka?b.ka(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,h)};case 11:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c, -2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);var J=$APP.B.h(c,10);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G);h=X(h,J);return b.la?b.la(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,h)};case 12:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D= -$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);var R=$APP.B.h(c,11);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J);h=X(h,R);return b.ma?b.ma(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,h)};case 13:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c, -11);var W=$APP.B.h(c,12);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R);h=X(h,W);return b.na?b.na(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,h)};case 14:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12); -var Z=$APP.B.h(c,13);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W);h=X(h,Z);return b.oa?b.oa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,h)};case 15:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W= -$APP.B.h(c,12);Z=$APP.B.h(c,13);var va=$APP.B.h(c,14);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z);h=X(h,va);return b.pa?b.pa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,h)};case 16:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G= -$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);var Da=$APP.B.h(c,15);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va);h=X(h,Da);return b.qa?b.qa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,h)};case 17:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c, -3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);Da=$APP.B.h(c,15);var Qa=$APP.B.h(c,16);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da);h=X(h,Qa);return b.ra?b.ra(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,h):b.call(null,ya, -Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,h)};case 18:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);Da=$APP.B.h(c,15);Qa=$APP.B.h(c,16);var vb=$APP.B.h(c,17);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h, -R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa);h=X(h,vb);return b.sa?b.sa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,h)};case 19:d=$APP.B.h(c,0);e=$APP.B.h(c,1);f=$APP.B.h(c,2);l=$APP.B.h(c,3);g=$APP.B.h(c,4);p=$APP.B.h(c,5);w=$APP.B.h(c,6);A=$APP.B.h(c,7);D=$APP.B.h(c,8);G=$APP.B.h(c,9);J=$APP.B.h(c,10);R=$APP.B.h(c,11);W=$APP.B.h(c,12);Z=$APP.B.h(c,13);va=$APP.B.h(c,14);Da=$APP.B.h(c,15);Qa=$APP.B.h(c,16);vb=$APP.B.h(c, -17);var M=$APP.B.h(c,18);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb);h=X(h,M);return b.ta?b.ta(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,h)};default:return function(h){return gW(h,b,c)}}}(),a)}; -cX=function(a,b,c){var d=$APP.r(b);if(d instanceof $APP.x){var e=$APP.ce.h(tW,d);$APP.n($APP.n(e)?$APP.RP.g(a):e)&&oW(a,d,new $APP.O(null,2,5,$APP.P,[e,null],null));var f=$APP.n(e)?e:sW(a,d,!0),l=$APP.F(f),g=$APP.n(l)?Rz.g(l):l;if($APP.n($APP.n(l)?rr.g(l):l))return TW(a,oi.B(np,$APP.r(f),Te(f),ie(b)));if($APP.n(function(){var W=Jb(g);return W?$APP.n(e)?e:$APP.H(pV,f):W}()))return $APP.fe.h(np,f)?TW(a,b):$APP.fe.h(mO,f)?BW(b,EW(a,ie(b))):$APP.fe.h(LL,f)?NU(b):$APP.fe.h(pK,f)?QW(a,b):$APP.fe.h(kp,f)? -HW(a,b,!1):$APP.fe.h(ep,f)?PW(a,b):$APP.fe.h(lG,f)||$APP.fe.h(yN,f)?a=MW(a,b):$APP.fe.h(cp,f)?zW(b,EW(a,ie(b))):$APP.fe.h(nE,f)?NW(a,b):$APP.fe.h(XC,f)?(b=sV(b),wW?wW(a,b):xW.call(null,a,b)):$APP.fe.h(MR,f)?WW(a,b):$APP.fe.h(sp,f)?KW(a,b):$APP.fe.h(iQ,f)?LW(a,b):$APP.fe.h(pp,f)?NU(b):$APP.fe.h(YA,f)?UW(a,b):$APP.fe.h(gp,f)?XW(a,b):$APP.fe.h(SM,f)?(b=lW(b),$APP.n(yu.g(a))?b:wW?wW(a,b):xW.call(null,a,b)):$APP.fe.h(GB,f)?JW(a,b):$APP.fe.h(gC,f)?HW(a,b,!1):$APP.fe.h(mp,f)?ZW(a,b):$APP.fe.h(lp,f)?DW(b, -EW(a,ie(b))):$APP.fe.h(fp,f)?VW(a,b):$APP.fe.h(op,f)?YW(a,b):$APP.fe.h(qL,f)?OW(a,b):$APP.fe.h(Zo,f)?RW(a,b):$APP.fe.h(iu,f)?AW(b,EW(a,ie(b))):NU(Oe(f,EW(a,ie(b))));try{if($APP.n(TU(f))){var p=UU===Rz.g($APP.F(f))?$APP.Yb.I(f,b,$APP.lH.g(a),a,ie(b)):$APP.Yb.B(f,b,$APP.lH.g(a),ie(b));return $APP.n(yu.g(a))?p:$APP.n($APP.n(c)?$APP.Ff(p)&&$APP.fe.h(cp,$APP.r(p)):c)?new $T(p):wW?wW(a,p):xW.call(null,a,p)}var w=JB.g(l);if($APP.n(w))return bX(OU(Oe(w,ie(b)),l),w,EW(a,ie(b)));var A=Rz.g($APP.F(f));if($APP.n(A))return UU=== -A?aX(b,f,EW(a,ie(b))):$APP.n(Lh.h?Lh.h(Hs,A):Lh.call(null,Hs,A))?$W(OU(Oe(f,ie(b)),l),f,EW(a,ie(b))):NU(Oe(f,EW(a,ie(b))));var D=EW(a,ie(b));return bX(OU(Oe(f,D),l),f,D)}catch(W){if(W instanceof Error)return VU(a,W,NU($APP.lf(Oe(f,ie(b)),$APP.F(b))));throw W;}}else if(d instanceof $APP.ee)switch(D=EW(a,ie(b)),$APP.Je(D)){case 1:var G=$APP.B.h(D,0);return qV(function(W){return d.g(X(W,G))},b);case 2:var J=$APP.B.h(D,0),R=$APP.B.h(D,1);return qV(function(W){return d.h(X(W,J),X(W,R))},b);default:return NU(Oe(d, -D))}else return a=NU(EW(a,b))};dX=function(a,b){var c=Uj.i($e,Pj,b);a=EW(a,c);return 16>=$APP.Je(a)?bX(b,$l,a):bX(b,Bi,a)};eX=function(a,b,c){var d=Yk(b),e=Zk(b),f=Zi(MU,d)&&Zi(MU,e),l=f?b:Jb($APP.ub.g(a))?dX(a,b):xm(EW(a,d),EW(a,e));d=$APP.n(c)?function(){var p=$APP.E.i(a,$APP.ub,!0);return wW?wW(p,c):xW.call(null,p,c)}():null;var g=f&&c===d?d:$APP.E.i(d,Rz,YR);return $APP.n(g)?l instanceof bU?qV(function(p){var w=jW(p,g);p=X(p,l);return $APP.lf(p,w)},b):$APP.lf(l,g):l}; -fX=function(a,b,c,d){var e=Zi(MU,c),f=$APP.n(d)?wW?wW(a,d):xW.call(null,a,d):null;return e&&d===f?c:$APP.n(d)?function(){var l=bX(c,b,EW(a,c));return qV(function(g){var p=X(g,f);g=X(g,l);return $APP.lf(g,p)},c)}():bX(c,b,EW(a,c))};xW=function(a){switch(arguments.length){case 2:return wW(arguments[0],arguments[1]);case 3:return gX(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};wW=function(a,b){return gX(a,b,!1)}; -gX=function(a,b,c){var d=$APP.F(b);if(MU(b))return b;if(b instanceof $APP.x){a=sW(a,b,!1);if(MU(a))return a;if(vU(a)){if($APP.n(UN.g($APP.F(a))))return $APP.Oc(a);if($APP.n(qU(a)))throw Error(["Can't take value of a macro: ",$APP.q.g(a),""].join(""));return new WT(a)}return XU(a,d)}return wf(b)?b:$APP.vf(b)?eX(a,b,d):$APP.xf(b)?fX(a,$APP.Ck,b,d):rf(b)?fX(a,rm,b,d):$APP.Ff(b)?$APP.z(b)?XU(cX(a,b,c),d):b:b}; -hX=function(a,b,c,d){var e=$APP.Je(b);a=$APP.n(a)?0:10c?(b=c.toString(16),a=pX(a,$APP.Pe(["Invalid character literal \\u",b,"."]))):a=b,a;if($APP.n(0==b.lastIndexOf("o",0))){--c; -if(3Z.getLength())Z=Z.append("0");else{Z=Z.toString();break a}Z=oY(Z);return $APP.n(Z)?Z:0}();w=($APP.fe.h(w,"-")?-1:1)*(60*function(){var Z=oY(A);return $APP.n(Z)?Z:0}()+function(){var Z=oY(D);return $APP.n(Z)?Z:0}());return new $APP.O(null,8,5,$APP.P,[a,pY(1,b,12,"timestamp month field must be in range 1..12"), -pY(1,c,mY(b,0===Qg(a,4)&&(0!==Qg(a,100)||0===Qg(a,400))),"timestamp day field must be in range 1..last day in month"),pY(0,G,23,"timestamp hour field must be in range 0..23"),pY(0,J,59,"timestamp minute field must be in range 0..59"),pY(0,R,$APP.fe.h(J,59)?60:59,"timestamp second field must be in range 0..60"),pY(0,W,999,"timestamp millisecond field must be in range 0..999"),w],null)};vY=function(a,b){var c=$APP.Yb.i(ym,a,b);return Oe(c,Rj.h(function(d){return c===d},b))}; -zY=function(a,b){return $APP.dc.i(function(c,d){return $APP.n(a.g?a.g(d):a.call(null,d))?c:of.h(c,d)},b,b)};AY=function(a,b){return $APP.qm($APP.Yi.h(function(c){return $APP.im(c,b)},a))};BY=function(a,b){return $APP.dc.i(function(c,d){var e=$APP.B.i(d,0,null);d=$APP.B.i(d,1,null);return $APP.H(a,e)?$APP.E.i(c,d,$APP.ce.h(a,e)):c},$APP.Yb.i($APP.hf,a,Yk(b)),b)};CY=function(a,b){return $APP.qm($APP.Yi.h(function(c){return BY(c,b)},a))}; -DY=function(a,b){return $APP.dc.i(function(c,d){var e=$APP.im(d,b);return $APP.E.i(c,e,Ze.h($APP.ce.i(c,e,nm),d))},$APP.Hi,a)};EY=function(a){return $APP.dc.i(function(b,c){var d=$APP.B.i(c,0,null);c=$APP.B.i(c,1,null);return $APP.E.i(b,c,d)},$APP.Hi,a)};GY=function(a,b){return $APP.Je(a)<=$APP.Je(b)&&Zi(function(c){return $APP.H(b,c)},a)};HY=function(a,b){return $APP.Je(a)>=$APP.Je(b)&&Zi(function(c){return $APP.H(a,c)},b)}; -IY=function(a,b,c){if(Dh(c)){var d=$APP.Yb.h($APP.I,$APP.Yi.h(a,c));return b.g?b.g(d):b.call(null,d)}return zk(c)?(d=new Rf(function(){var e=Dc(c);return a.g?a.g(e):a.call(null,e)}(),function(){var e=Ec(c);return a.g?a.g(e):a.call(null,e)}()),b.g?b.g(d):b.call(null,d)):$APP.Ff(c)?(d=Tm.g($APP.Yi.h(a,c)),b.g?b.g(d):b.call(null,d)):wf(c)?(d=$APP.dc.i(function(e,f){return Ze.h(e,a.g?a.g(f):a.call(null,f))},c,c),b.g?b.g(d):b.call(null,d)):$APP.qf(c)?(d=Uj.h(af(c),$APP.Yi.h(a,c)),b.g?b.g(d):b.call(null, -d)):b.g?b.g(c):b.call(null,c)};LY=function(a){function b(c){var d=$APP.B.i(c,0,null);c=$APP.B.i(c,1,null);return"string"===typeof d?new $APP.O(null,2,5,$APP.P,[$APP.Vh.g(d),c],null):new $APP.O(null,2,5,$APP.P,[d,c],null)}return JY(function(c){return $APP.vf(c)?Uj.h($APP.Hi,$APP.Yi.h(b,c)):c},a)}; -MY=function(a){function b(c){var d=$APP.B.i(c,0,null);c=$APP.B.i(c,1,null);return d instanceof $APP.ee?new $APP.O(null,2,5,$APP.P,[$APP.Wh(d),c],null):new $APP.O(null,2,5,$APP.P,[d,c],null)}return JY(function(c){return $APP.vf(c)?Uj.h($APP.Hi,$APP.Yi.h(b,c)):c},a)};NY=function(a,b){return KY(function(c){return $APP.H(a,c)?a.g?a.g(c):a.call(null,c):c},b)};OY=function(a,b){return JY(function(c){return $APP.H(a,c)?a.g?a.g(c):a.call(null,c):c},b)}; -nZ=function(a){return Yj.h($APP.Oc($APP.WC.g(a)),new $APP.O(null,3,5,$APP.P,[$APP.Cr,CH,KE],null))};PZ=function(a){var b=$APP.Pe([Nu,YB]);if($APP.z($APP.Yb.i(of,$APP.Yb.h(rm,Yk(a)),b)))throw a=$APP.Yb.B($APP.q,"Only these options are valid: ",$APP.r(b),$APP.Yi.h(function(c){return[", ",$APP.q.g(c)].join("")},ie(b))),Error(a);}; -SZ=function(a,b,c){if(Dh(c))return $APP.lf(function(){var e=$APP.Yb.h($APP.I,$APP.Yi.h(a,c));return b.g?b.g(e):b.call(null,e)}(),$APP.F(c));if(zk(c)){var d=new Rf(function(){var e=Dc(c);return a.g?a.g(e):a.call(null,e)}(),function(){var e=Ec(c);return a.g?a.g(e):a.call(null,e)}());return b.g?b.g(d):b.call(null,d)}return $APP.Ff(c)?$APP.lf(function(){var e=Tm.g($APP.Yi.h(a,c));return b.g?b.g(e):b.call(null,e)}(),$APP.F(c)):wf(c)?(d=$APP.dc.i(function(e,f){return Ze.h(e,a.g?a.g(f):a.call(null,f))}, -c,c),b.g?b.g(d):b.call(null,d)):$APP.qf(c)?(d=Uj.h(af(c),$APP.Yi.h(a,c)),b.g?b.g(d):b.call(null,d)):b.g?b.g(c):b.call(null,c)}; -UZ=function(a){var b=kj(new $APP.m(null,2,[tA,0,UD,!1],null));a=TZ(function(e){if(e instanceof $APP.x){var f=$APP.Um(/^%(.*)/,$APP.Wh(e));if($APP.n(f)){$APP.B.i(f,0,null);f=$APP.B.i(f,1,null);if($APP.pf(f))return b.Fb(null,bk.B(b.jb(null),tA,sg,1)),Gu;$APP.fe.h("\x26",f)?b.Fb(null,$APP.E.i(b.jb(null),UD,!0)):(f=parseInt(f),b.Fb(null,bk.B(b.jb(null),tA,sg,f)))}}return e},a);var c=$APP.Oc(b),d=$APP.Ai(c);c=$APP.ce.h(d,tA);d=$APP.ce.h(d,UD);c=$APP.Yi.h(function(e){return $APP.y.g(["%",$APP.q.g(e)].join(""))}, -Km.h(1,c+1));c=ag(K.h(c,$APP.n(d)?new $APP.O(null,2,5,$APP.P,[$APP.Wo,kP],null):null));return new C(null,kp,new C(null,c,new C(null,a,null,1,null),2,null),3,null)}; -VZ=function(a,b,c,d){a:{d=$APP.z(d);for(var e=vd($e);;)if(d){var f=$APP.r(d);e=ri.h(e,$APP.Ff(f)&&$APP.fe.h($APP.r(f),MC)?new C(null,JP,new C(null,Te(f),null,1,null),2,null):$APP.Ff(f)&&$APP.fe.h($APP.r(f),zM)?Te(f):new C(null,JP,new C(null,WZ.i?WZ.i(a,b,f):WZ.call(null,a,b,f),null,1,null),2,null));d=$APP.t(d)}else{a=$APP.z(xd(e));break a}}a=new C(null,PB,new C(null,new C(null,st,new C(null,Oe(oG,a),null,1,null),2,null),null,1,null),2,null);return $APP.n(c)?new C(null,IJ,new C(null,c,new C(null,a, -null,1,null),2,null),3,null):a};XZ=function(a){a=$APP.z(a);for(var b=vd($e);;)if(a){var c=$APP.r(a);a=$APP.t(a);b=ri.h(ri.h(b,Dc(c)),Ec(c))}else return $APP.z(xd(b))}; -YZ=function(a,b,c){var d=$APP.Ai(a),e=$APP.ce.h(d,HS);if(Vo(c))return new C(null,pp,new C(null,c,null,1,null),2,null);if(c instanceof $APP.x)return new C(null,pp,new C(null,function(){var f=$APP.Wh(c);if(Vo(c))return c;if(Ca(f,"#")){var l=$APP.ce.h($APP.Oc(e),c);if($APP.n(l))return l;f=$APP.Ch.i(f,0,f.length-1);f=$APP.Cn.g([f,"__"].join(""));f=$APP.y.g([$APP.Wh(f),"__auto__"].join(""));$APP.qj.B(e,$APP.E,c,f);return f}f=vK.g(YM.g(d));f=$APP.n(f)?f:gg;return f.g?f.g(c):f.call(null,c)}(),null,1,null), -2,null);if($APP.Ff(c)&&$APP.fe.h($APP.r(c),MC))return Te(c);if($APP.Ff(c)&&$APP.fe.h($APP.r(c),zM))throw Error("unquote-splice not in list");if($APP.qf(c)){if(c instanceof fd)return c;if($APP.vf(c))return VZ(d,b,16<=$APP.Je(c)?rA:Cu,XZ(c));if($APP.xf(c))return new C(null,KF,new C(null,VZ(d,b,null,c),null,1,null),2,null);if(rf(c))return VZ(d,b,cM,c);if($APP.Ff(c)||Dh(c))return(a=$APP.z(c))?VZ(d,b,null,a):$APP.I(JP);throw Error("Unknown Collection type");}return c instanceof $APP.ee||"number"===typeof c|| -Nb(c)||"string"===typeof c||null==c||Ef(c)||c instanceof RegExp?c:new C(null,pp,new C(null,c,null,1,null),2,null)};WZ=function(a,b,c){var d=YZ(a,b,c),e=null!=c?c.C&262144||$APP.Ua===c.ud?!0:!1:!1;return(e?$APP.z($APP.hf.j($APP.F(c),gO.g(a),$APP.Pe([VL.g(a),$M.g(a),ZQ.g(a)]))):e)?new C(null,vF,new C(null,d,new C(null,YZ(a,b,$APP.F(c)),null,1,null),2,null),3,null):d};ZZ=function(a,b){a=OS.g(a);return kY(a,b)}; -b_=function(a,b,c,d,e){this.Ib=a;this.fd=b;this.$=c;this.N=d;this.H=e;this.C=2230716170;this.J=139264};c_=function(a){return new b_(a.vc(null),a.uc(null),null,null,null)};d_=function(a){a:for(var b=a.U(null),c=new La;;){if(BT(b)){$APP.q.g(c);break a}var d=a.U(null);c=c.append(b);b=d}return a};e_=function(a){return $APP.n(a)?-1<["\r","\n","\t"," ",","].indexOf(a):a};f_=function(a){for(;;){var b=a.U(null);if($APP.n(b)){if(!$APP.n(e_(b)))return a.cc(null,b),a}else return null}}; -g_=function(a,b,c,d){return h_(a,b,c,d,null)};h_=function(a,b,c,d,e){var f=ju.h(e,IT(b));b=RK.h(e,HT(b));throw Qo.h(c,$APP.em.j($APP.Pe([gf([Ws,NS,gO.g(a),b,VL.g(a),f]),d])));}; -j_=function(a,b,c){var d=$e,e=b.vc(null),f=b.uc(null),l=b.U(null);a=$APP.E.i($APP.E.i(a,UQ,c),xG,new $APP.m(null,3,[gP,l,RK,e,ju,f],null));for(d=vd(d);;){var g=k_?k_(a,b):l_.call(null,a,b);var p=g;p=null==p?null:$APP.F(p);p=null==p?null:uK.g(p);if(Lh(KI,g))return g_(a,b,["EOF while reading, expected ",$APP.q.g(c)," to match ",$APP.q.g(l)," at [",$APP.q.g(e),",",$APP.q.g(f),"]"].join(""),new $APP.m(null,3,[FF,$APP.q.g(c),qK,$APP.q.g(l),HO,new $APP.m(null,2,[RK,e,ju,f],null)],null));if(Lh(UQ,g))return xd(d); -if($APP.n(p)){g=$APP.z(g);p=null;for(var w=0,A=0;;)if(A=e?$APP.Yb.h($l,d):$APP.Yb.h(Bi,d)}; -u_=function(a,b){b.U(null);var c=b.U(null);$APP.n(e_(c))&&g_(a,b,"Invalid token: :",null);c=$Z.i?$Z.i(b,TS,c):$Z.call(null,b,TS,c);var d=":"===c.charAt(0);if(d){var e=d?$APP.Ch.h(c,1):c;d=a_.g?a_.g(e):a_.call(null,e);c=$APP.B.i(d,0,null);d=$APP.B.i(d,1,null);if($APP.n(c)){var f=q_(a,b,e,null);e=$APP.y.g(c);a=r_(a,f,e,b,c,null)}else f=q_(a,b,e,"Use `:auto-resolve` + `:current` to resolve current namespace."),a=r_(a,f,mu,b,e,"Use `:auto-resolve` + `:current` to resolve current namespace.");return $APP.Vh.h($APP.q.g(a), -d)}return $APP.Vh.g(c)};v_=function(a){return a instanceof $APP.ee?gf([a,!0]):a instanceof $APP.x?new $APP.m(null,1,[RN,a],null):"string"===typeof a?new $APP.m(null,1,[RN,a],null):a};H3=function(a,b){return a instanceof $APP.ee?gf([b.g?b.g(a):b.call(null,a),b.g?b.g(!0):b.call(null,!0)]):a instanceof $APP.x?gf([b.g?b.g(RN):b.call(null,RN),b.g?b.g(a):b.call(null,a)]):"string"===typeof a?gf([b.g?b.g(RN):b.call(null,RN),b.g?b.g(a):b.call(null,a)]):a}; -I3=function(a,b,c){if($APP.fe.h("#",c))return b.U(null),s_(a,b);if($APP.fe.h(null,c))return KI;if($APP.fe.h("@",c)){c=SF.g(a);if($APP.n(c)){var d=c;b.U(null);c=k_?k_(a,b):l_.call(null,a,b);return $APP.If(d)?d.g?d.g(c):d.call(null,c):new C(null,Pu,new C(null,c,null,1,null),2,null)}return g_(a,b,"Deref not allowed. Use the `:deref` option",null)}if($APP.fe.h("`",c)){c=YM.g(a);if($APP.n(c)){d=c;b.U(null);c=k_?k_(a,b):l_.call(null,a,b);if($APP.jf(d))return d.g?d.g(c):d.call(null,c);d=$APP.nj.g($APP.Hi); -d=$APP.E.i(a,HS,d);return WZ(d,b,c)}return g_(a,b,"Syntax quote not allowed. Use the `:syntax-quote` option",null)}if($APP.fe.h("'",c))return c=ZB.g(a),$APP.n(c)?(d=c,b.U(null),c=k_?k_(a,b):l_.call(null,a,b),Lh(KI,c)&&g_(a,b,"EOF while reading",null),$APP.If(d)?d.g?d.g(c):d.call(null,c):new C(null,pp,new C(null,c,null,1,null),2,null)):ZZ(a,b);if($APP.fe.h("(",c))return $APP.Yb.h($APP.I,j_(a,b,")"));if($APP.fe.h(")",c)){var e=UQ.g(a);if($APP.Di.h(e,c))return d=c_(b),b.U(null),h_(a,b,["Unmatched delimiter: ", -$APP.q.g(c),$APP.n(e)?[", expected: ",$APP.q.g(e),function(){var f=xG.g(a);if($APP.n(f)){var l=$APP.Ai(f);f=$APP.ce.h(l,RK);var g=$APP.ce.h(l,ju);l=$APP.ce.h(l,gP);return[" to match ",$APP.q.g(l)," at ",$APP.q.g(new $APP.O(null,2,5,$APP.P,[f,g],null))].join("")}return null}()].join(""):null].join(""),function(){var f=xG.g(a),l=$APP.Ai(f);f=$APP.ce.h(l,gP);var g=$APP.ce.h(l,RK);l=$APP.ce.h(l,ju);return new $APP.m(null,3,[qK,$APP.q.g(f),HO,new $APP.m(null,2,[RK,g,ju,l],null),FF,$APP.q.g(e)],null)}(), -d);b.U(null);return UQ}if($APP.fe.h(":",c))return u_(a,b);if($APP.fe.h(";",c))return d_(b);if($APP.fe.h("[",c))return j_(a,b,"]");if($APP.fe.h("{",c))return t_(a,b);if($APP.fe.h("]",c)){e=UQ.g(a);if($APP.Di.h(e,c))return d=c_(b),b.U(null),h_(a,b,["Unmatched delimiter: ",$APP.q.g(c),$APP.n(e)?[", expected: ",$APP.q.g(e),function(){var f=xG.g(a);if($APP.n(f)){var l=$APP.Ai(f);f=$APP.ce.h(l,RK);var g=$APP.ce.h(l,ju);l=$APP.ce.h(l,gP);return[" to match ",$APP.q.g(l)," at ",$APP.q.g(new $APP.O(null,2, -5,$APP.P,[f,g],null))].join("")}return null}()].join(""):null].join(""),function(){var f=xG.g(a),l=$APP.Ai(f);f=$APP.ce.h(l,gP);var g=$APP.ce.h(l,RK);l=$APP.ce.h(l,ju);return new $APP.m(null,3,[qK,$APP.q.g(f),HO,new $APP.m(null,2,[RK,g,ju,l],null),FF,$APP.q.g(e)],null)}(),d);b.U(null);return UQ}if($APP.fe.h("}",c)){e=UQ.g(a);if($APP.Di.h(e,c))return d=c_(b),b.U(null),h_(a,b,["Unmatched delimiter: ",$APP.q.g(c),$APP.n(e)?[", expected: ",$APP.q.g(e),function(){var f=xG.g(a);if($APP.n(f)){var l=$APP.Ai(f); -f=$APP.ce.h(l,RK);var g=$APP.ce.h(l,ju);l=$APP.ce.h(l,gP);return[" to match ",$APP.q.g(l)," at ",$APP.q.g(new $APP.O(null,2,5,$APP.P,[f,g],null))].join("")}return null}()].join(""):null].join(""),function(){var f=xG.g(a),l=$APP.Ai(f);f=$APP.ce.h(l,gP);var g=$APP.ce.h(l,RK);l=$APP.ce.h(l,ju);return new $APP.m(null,3,[qK,$APP.q.g(f),HO,new $APP.m(null,2,[RK,g,ju,l],null),FF,$APP.q.g(e)],null)}(),d);b.U(null);return UQ}if($APP.fe.h("^",c))return b.U(null),c=J3?J3(a,b,!0):l_.call(null,a,b,!0),Ci.i(k_? -k_(a,b):l_.call(null,a,b),$APP.em,c);if($APP.fe.h("~",c)){c=function(){var f=YM.g(a);return $APP.n(f)?(f=Bq.g(a),$APP.n(f)?f:!0):f}();if($APP.n(c)){d=c;b.U(null);if("@"===b.mb(null))return d=function(){var f=YM.g(a);return $APP.n(f)?(f=lK.g(a),$APP.n(f)?f:!0):f}(),$APP.n(d)?(b.U(null),c=k_?k_(a,b):l_.call(null,a,b),$APP.If(d)?d.g?d.g(c):d.call(null,c):new C(null,zM,new C(null,c,null,1,null),2,null)):g_(a,b,"Syntax unquote splice not allowed. Use the `:syntax-quote` option",null);c=k_?k_(a,b):l_.call(null, -a,b);return $APP.If(d)?d.g?d.g(c):d.call(null,c):new C(null,MC,new C(null,c,null,1,null),2,null)}return g_(a,b,"Syntax unquote not allowed. Use the `:syntax-unquote` option",null)}return ZZ(a,b)};l_=function(a){switch(arguments.length){case 2:return k_(arguments[0],arguments[1]);case 3:return J3(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};k_=function(a,b){return J3(a,b,null)}; -J3=function(a,b,c){for(;;){var d=function(){var ya=f_(b);return $APP.n(ya)?FT(b):ya}();if($APP.n(d)){var e=d,f=c_(b),l=jH.g(a),g=function(ya,Ea){return function(){return $APP.q.g(WE.g($APP.Oc(Ea.frames)))}}(a,b,c,f,l,e,d),p=$APP.n(l)?g().length:null,w=$APP.n(l)?ST(b,function(ya,Ea,Ga,Ja,Pa,Za,Ia,ib){return function(){return I3(ya,Ea,ib)}}(a,b,c,f,l,g,p,e,d)):I3(a,b,e);if(b!==w){if(Lh(UQ,w))return w;var A=xP.g(a),D=BE.g(a),G=Yp.g(a),J=null!=w?w.C&262144||$APP.Ua===w.ud?!0:w.C?!1:$APP.Pb(Rc,w):$APP.Pb(Rc, -w),R=$APP.n(l)?$APP.Ch.h(g(),p).trim():null,W=function(){var ya;if(ya=J)ya=(ya=Jb(D))?ya:D.g?D.g(w):D.call(null,w);return $APP.n(ya)?ya:A}(),Z=$APP.n(function(){var ya=W;return $APP.n(ya)?G:ya}())?c_(b):null,va=$APP.n(W)?f.Ib:null,Da=$APP.n(G)?RK.g(Z):null,Qa=$APP.n(W)?f.fd:null,vb=$APP.n(G)?ju.g(Z):null,M=$APP.n(A)?function(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb){return function(Ab){var qc=function(){var Hc=new $APP.m(null,1,[xJ,Ab],null);Hc=$APP.n(pb)?$APP.E.i(Hc,aq,function(){var jd=gf([gO.g(ya), -Eb,VL.g(ya),Mb]);return $APP.n(Za)?$APP.E.j(jd,$M.g(ya),Ib,$APP.Pe([ZQ.g(ya),Sb])):jd}()):Hc;return $APP.n(ib)?$APP.E.i(Hc,function(){var jd=WB.g(ya);return $APP.n(jd)?jd:jH}(),ib):Hc}();return Ja.g?Ja.g(qc):Ja.call(null,qc)}}(a,b,c,A,D,G,J,R,W,Z,va,Da,Qa,vb,f,l,g,p,w,e,d):null,h=$APP.n(c)?$APP.n(M)?H3(w,M):v_(w):w;return $APP.n(A)?M.g?M.g(h):M.call(null,h):$APP.n(W)?Ci.h(h,function(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb){return function(Ab){Ab=$APP.E.i($APP.E.i(Ab,gO.g(ya),Eb),VL.g(ya),Mb);Ab= -$APP.n(Za)?$APP.E.i($APP.E.i(Ab,$M.g(ya),Ib),ZQ.g(ya),Sb):Ab;return $APP.n(ib)?$APP.E.i(Ab,WB.g(ya),ib):Ab}}(a,b,c,A,D,G,J,R,W,Z,va,Da,Qa,vb,M,h,f,l,g,p,w,e,d)):h}}else return KI}}; -K3=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb,M,h){this.Da=a;this.deref=b;this.Oa=c;this.Pa=d;this.Qa=e;this.quote=f;this.ha=l;this.Ua=g;this.Ja=p;this.Ka=w;this.La=A;this.Ca=D;this.Ga=G;this.Ea=J;this.source=R;this.Na=W;this.Ia=Z;this.Ha=va;this.Fa=Da;this.Ma=Qa;this.$=vb;this.N=M;this.H=h;this.C=2230716170;this.J=139264}; -L3=function(a){var b=$APP.hf.j(a,bE,$APP.Pe([SF,YM,Bq,lK,ZB,HR,Oz,AG,MF,gO,VL,$M,ZQ,jH,WB,xP,BE,Yp,nI]));b=wf(a)?Uj.h($APP.Hi,b):b;return new K3(bE.g(a),SF.g(a),YM.g(a),Bq.g(a),lK.g(a),ZB.g(a),HR.g(a),Oz.g(a),AG.g(a),MF.g(a),gO.g(a),VL.g(a),$M.g(a),ZQ.g(a),jH.g(a),WB.g(a),xP.g(a),BE.g(a),Yp.g(a),nI.g(a),null,Ei(b),null)};N3=function(a){var b=$APP.F(a);return $APP.n(b)&&(a=$APP.T.g(b),$APP.n(a))?(b=$APP.U.g(b),$APP.n(b)?$APP.y.h($APP.q.g(eU(b)),$APP.q.g(a)):null):null}; -O3=function(a,b){var c=$APP.Oc($APP.WC.g(a)),d=function(){var A=Mh(b);return $APP.n(A)?$APP.y.g(A):null}(),e=$APP.Wh(b),f=JU(),l=$APP.q.g(f),g=$APP.ce.h(c,$APP.Cr),p=$APP.ce.h(g,f),w=$APP.Iu.g(p);return Jb(d)?function(){var A=function(){var D=GJ.g(p);return $APP.n(D)?(D=$APP.ce.h(D,b),$APP.n(D)?N3(D):null):null}();if($APP.n(A))return A;A=function(){var D=$APP.ce.h(p,b);return $APP.n(D)?N3(D):null}();if($APP.n(A))return A;A=$APP.H($APP.ce.h(g,CH),b)&&Jb(function(){var D=null==p?null:ty.g(p);D=null== -D?null:$APP.ce.h(D,CH);D=null==D?null:DP.g(D);return null==D?null:$APP.H(D,b)}())||$APP.H(pV,b)?$APP.y.h("clojure.core",e):null;if($APP.n(A))return A;A=EV(a,b);return $APP.n(A)?A:$APP.y.h(l,e)}():$APP.n(Yj.h(c,new $APP.O(null,2,5,$APP.P,[$APP.Cr,d],null)))?b:function(){var A=$APP.ce.h(w,d);return $APP.n(A)?$APP.y.h($APP.q.g(A),e):b}()}; -P3=function(a,b,c){var d=$APP.MA.g(a),e=$APP.GG.g(a),f=vU(e)?$APP.Oc(e):e;e=$APP.WC.g(a);var l=$APP.Oc(e);e=JU();l=Yj.h(l,new $APP.O(null,2,5,$APP.P,[$APP.Cr,e],null));l=$APP.Iu.g(l);var g=$APP.E.i(l,mu,e),p=function(){var w=$APP.E.j(M3,$APP.MA,d,$APP.Pe([ey,g,YM,new $APP.m(null,1,[vK,function(A){return O3(a,A)}],null),$APP.GG,f]));return $APP.n(c)?$APP.em.j($APP.Pe([w,c])):w}();return function(){try{var w=k_(p,b);return $APP.n(Lh.h?Lh.h(w,KI):Lh.call(null,w,KI))?xS:w}catch(A){if(A instanceof Po)throw w= -A,Qo.i(w.message,$APP.E.j(Ro(w),Ws,FO,$APP.Pe([uQ,"parse",$APP.xM,$APP.Oc(GU)])),w);throw A;}}()};U3=function(a,b){return Hf(aj(function(c){var d=Lo(c,ZT(b));return $APP.n(d)?(c=Do(c),c=$APP.ce.h(c,Nu),d!==c):null},SE.g(a)))};W3=function(a,b){var c=$APP.Oc(cV);return c.h?c.h(a,b):c.call(null,a,b)};Z3=function(a){return Ci.h(a,function(b){return $APP.E.i(b,DN,!0)})};F4=function(a){return rU(a)};G4=function(a){return a.l(null)};H4=function(a,b){return aV($APP.WC.g(a),b,!1,null)}; -I4=function(a,b){if(b instanceof fU)return b;a=H4(a,b);if($APP.n(a))return a;throw Error(["No namespace: ",$APP.q.g(b)," found"].join(""));};J4=function(a,b){b=I4(a,b);b=G4(b);a=Yj.h($APP.Oc($APP.WC.g(a)),new $APP.O(null,3,5,$APP.P,[$APP.Cr,b,$APP.Iu],null));return xm(Yk(a),$APP.Yi.h(function(c){return $APP.gU(c,null)},Zk(a)))};K4=function(a){return $APP.hf.j(a,$APP.Iu,$APP.Pe([$APP.GE,xJ,ty,GJ]))}; -L4=function(a,b){b=I4(a,b);b=G4(b);a=Yj.h($APP.Oc($APP.WC.g(a)),new $APP.O(null,2,5,$APP.P,[$APP.Cr,b],null));return K4(a)};M4=function(a,b){b=I4(a,b);b=G4(b);a=Yj.h($APP.Oc($APP.WC.g(a)),new $APP.O(null,2,5,$APP.P,[$APP.Cr,b],null));a=K4(a);return Uj.h($APP.Hi,$APP.lj.h(function(c){var d=$APP.B.i(c,0,null);c=$APP.B.i(c,1,null);return $APP.n(Dq.g($APP.F(c)))?null:new $APP.O(null,2,5,$APP.P,[d,c],null)},a))}; -N4=function(a,b){b=I4(a,b);var c=G4(b),d=$APP.Oc($APP.WC.g(a));b=$APP.GE.g(d);c=Yj.h(d,new $APP.O(null,3,5,$APP.P,[$APP.Cr,c,$APP.GE],null));var e=$APP.QO.g(a);a=K.h(Yk(b),Yk(c));b=K.h(Zk(b),Zk(c));return xm(a,$APP.Yi.h(gj.h($APP.NQ,function(f){return $APP.ce.h(e,f)}),b))};O4=function(a,b){b=I4(a,b);b=G4(b);var c=$APP.Oc($APP.WC.g(a));a=Yj.h(c,new $APP.O(null,3,5,$APP.P,[$APP.Cr,b,GJ],null));b=Yj.h(c,new $APP.O(null,2,5,$APP.P,[$APP.Cr,CH],null));b=K4(b);return $APP.em.j($APP.Pe([b,a]))}; -P4=function(a){var b=$APP.WC.g(a);return $APP.Yi.h(function(c){return aV(b,c,!0,null)},Yk($APP.ce.h($APP.Oc(b),$APP.Cr)))};R4=function(a){var b=rU(a);return $APP.n(b)?b:null!=yU(a)||!1};a5=function(a){var b=xU();return function(){function c(e){var f=null;if(0>>0);sa=0;var Fa=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};$APP.k=La.prototype;$APP.k.Zb="";$APP.k.set=function(a){this.Zb=""+a};$APP.k.append=function(a,b,c){this.Zb+=String(a);if(null!=b)for(let d=1;d>>16&65535)*d+c*(b>>>16&65535)<<16>>>0)|0},Wd={},Xd=0;$APP.k=$APP.x.prototype;$APP.k.toString=function(){return this.Kb};$APP.k.W=function(a,b){return b instanceof $APP.x?this.Kb===b.Kb:!1}; -$APP.k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length-1)].join(""));}};$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};$APP.k.g=function(a){return $APP.ce.h?$APP.ce.h(a,this):$APP.ce.call(null,a,this)};$APP.k.h=function(a,b){return $APP.ce.i?$APP.ce.i(a,this,b):$APP.ce.call(null,a,this,b)};$APP.k.T=function(){return this.qb}; -$APP.k.Z=function(a,b){return new $APP.x(this.ib,this.name,this.Kb,this.oc,b)};$APP.k.X=function(){var a=this.oc;return null!=a?a:this.oc=a=ae(this)};$APP.k.Fc=function(){return this.name};$APP.k.Gc=function(){return this.ib};$APP.k.O=function(a,b){return $APP.od(b,this.Kb)};$APP.y=function y(a){switch(arguments.length){case 1:return y.g(arguments[0]);case 2:return y.h(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}}; -$APP.y.g=function(a){for(;;){if(a instanceof $APP.x)return a;if("string"===typeof a){var b=a.indexOf("/");return 1>b?$APP.y.h(null,a):$APP.y.h(a.substring(0,b),a.substring(b+1,a.length))}if(a instanceof $APP.de)return a.Bb;if(a instanceof $APP.ee)a=a.fb;else throw Error("no conversion to symbol");}};$APP.y.h=function(a,b){var c=null!=a?[$APP.q.g(a),"/",$APP.q.g(b)].join(""):b;return new $APP.x(a,b,c,null,null)};$APP.y.o=2;$APP.k=$APP.de.prototype;$APP.k.toString=function(){return["#'",$APP.q.g(this.Bb)].join("")}; -$APP.k.jb=function(){return this.A.s?this.A.s():this.A.call(null)};$APP.k.T=function(){return this.qb};$APP.k.Z=function(a,b){return new $APP.de(this.A,this.Bb,b)};$APP.k.W=function(a,b){return b instanceof $APP.de?(a=this.Bb,b=b.Bb,$APP.fe.h?$APP.fe.h(a,b):$APP.fe.call(null,a,b)):!1};$APP.k.X=function(){return ae(this.Bb)};$APP.k.Gd=$APP.Ua; -$APP.k.call=function(a){switch(arguments.length-1){case 0:return this.s();case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);case 3:return this.i(arguments[1],arguments[2],arguments[3]);case 4:return this.B(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.I(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.Y(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.ua(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.va(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]); -case 11:return this.la(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.na(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10], -arguments[11],arguments[12],arguments[13]);case 14:return this.oa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.pa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.qa(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.ra(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.sa(arguments[1],arguments[2], -arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.ta(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Ta(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.Ob(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17], -arguments[18],arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length-1)].join(""));}};$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};$APP.k.s=function(){var a=this.A.s?this.A.s():this.A.call(null);return a.s?a.s():a.call(null)};$APP.k.g=function(a){var b=this.A.s?this.A.s():this.A.call(null);return b.g?b.g(a):b.call(null,a)}; -$APP.k.h=function(a,b){var c=this.A.s?this.A.s():this.A.call(null);return c.h?c.h(a,b):c.call(null,a,b)};$APP.k.i=function(a,b,c){var d=this.A.s?this.A.s():this.A.call(null);return d.i?d.i(a,b,c):d.call(null,a,b,c)};$APP.k.B=function(a,b,c,d){var e=this.A.s?this.A.s():this.A.call(null);return e.B?e.B(a,b,c,d):e.call(null,a,b,c,d)};$APP.k.I=function(a,b,c,d,e){var f=this.A.s?this.A.s():this.A.call(null);return f.I?f.I(a,b,c,d,e):f.call(null,a,b,c,d,e)}; -$APP.k.Y=function(a,b,c,d,e,f){var l=this.A.s?this.A.s():this.A.call(null);return l.Y?l.Y(a,b,c,d,e,f):l.call(null,a,b,c,d,e,f)};$APP.k.ua=function(a,b,c,d,e,f,l){var g=this.A.s?this.A.s():this.A.call(null);return g.ua?g.ua(a,b,c,d,e,f,l):g.call(null,a,b,c,d,e,f,l)};$APP.k.ia=function(a,b,c,d,e,f,l,g){var p=this.A.s?this.A.s():this.A.call(null);return p.ia?p.ia(a,b,c,d,e,f,l,g):p.call(null,a,b,c,d,e,f,l,g)}; -$APP.k.va=function(a,b,c,d,e,f,l,g,p){var w=this.A.s?this.A.s():this.A.call(null);return w.va?w.va(a,b,c,d,e,f,l,g,p):w.call(null,a,b,c,d,e,f,l,g,p)};$APP.k.ka=function(a,b,c,d,e,f,l,g,p,w){var A=this.A.s?this.A.s():this.A.call(null);return A.ka?A.ka(a,b,c,d,e,f,l,g,p,w):A.call(null,a,b,c,d,e,f,l,g,p,w)};$APP.k.la=function(a,b,c,d,e,f,l,g,p,w,A){var D=this.A.s?this.A.s():this.A.call(null);return D.la?D.la(a,b,c,d,e,f,l,g,p,w,A):D.call(null,a,b,c,d,e,f,l,g,p,w,A)}; -$APP.k.ma=function(a,b,c,d,e,f,l,g,p,w,A,D){var G=this.A.s?this.A.s():this.A.call(null);return G.ma?G.ma(a,b,c,d,e,f,l,g,p,w,A,D):G.call(null,a,b,c,d,e,f,l,g,p,w,A,D)};$APP.k.na=function(a,b,c,d,e,f,l,g,p,w,A,D,G){var J=this.A.s?this.A.s():this.A.call(null);return J.na?J.na(a,b,c,d,e,f,l,g,p,w,A,D,G):J.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G)}; -$APP.k.oa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J){var R=this.A.s?this.A.s():this.A.call(null);return R.oa?R.oa(a,b,c,d,e,f,l,g,p,w,A,D,G,J):R.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J)};$APP.k.pa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R){var W=this.A.s?this.A.s():this.A.call(null);return W.pa?W.pa(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R):W.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R)}; -$APP.k.qa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W){var Z=this.A.s?this.A.s():this.A.call(null);return Z.qa?Z.qa(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W):Z.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W)};$APP.k.ra=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z){var va=this.A.s?this.A.s():this.A.call(null);return va.ra?va.ra(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z):va.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z)}; -$APP.k.sa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va){var Da=this.A.s?this.A.s():this.A.call(null);return Da.sa?Da.sa(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va):Da.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va)};$APP.k.ta=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da){var Qa=this.A.s?this.A.s():this.A.call(null);return Qa.ta?Qa.ta(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da):Qa.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da)}; -$APP.k.Ta=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa){var vb=this.A.s?this.A.s():this.A.call(null);return vb.Ta?vb.Ta(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa):vb.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa)};$APP.k.Ob=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb){var M=this.A.s?this.A.s():this.A.call(null);return $APP.Yb.kd?$APP.Yb.kd(M,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb):$APP.Yb.call(null,M,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb)}; -$APP.fe=function fe(a){switch(arguments.length){case 1:return fe.g(arguments[0]);case 2:return fe.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(ea?0:a};$APP.k.Qb=function(){var a=this.aa(null);return 0b)throw Error("Index out of bounds");a:for(;;){if(null==a)throw Error("Index out of bounds"); -if(0===b){if($APP.z(a)){a=$APP.r(a);break a}throw Error("Index out of bounds");}if(He(a)){a=u(a,b);break a}if($APP.z(a))a=$APP.t(a),--b;else throw Error("Index out of bounds");}return a}if($APP.Pb(mc,a))return u(a,b);throw Error(["nth not supported on this type ",$APP.q.g(Tb(Qb(a)))].join(""));}; -$APP.B.i=function(a,b,c){if("number"!==typeof b)throw Error("Index argument to nth must be a number.");if(null==a)return c;if(null!=a&&(a.C&16||$APP.Ua===a.Hd))return a.Ra(null,b,c);if(Gb(a))return-1b?c:bf(a,b,c);if($APP.Pb(mc,a))return u(a,b,c);throw Error(["nth not supported on this type ",$APP.q.g(Tb(Qb(a)))].join(""));}; -$APP.B.o=3;$APP.ce=function ce(a){switch(arguments.length){case 2:return ce.h(arguments[0],arguments[1]);case 3:return ce.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};$APP.ce.h=function(a,b){return null==a?null:null!=a&&(a.C&256||$APP.Ua===a.le)?a.Ba(null,b):Gb(a)?null!=b&&bb};pg.j=function(a,b,c){for(;;)if(a>b)if($APP.t(c))a=b,b=$APP.r(c),c=$APP.t(c);else return b>$APP.r(c);else return!1}; -pg.u=function(a){var b=$APP.r(a),c=$APP.t(a);a=$APP.r(c);c=$APP.t(c);return this.j(b,a,c)};pg.o=2;var qg=function qg(a){switch(arguments.length){case 1:return qg.g(arguments[0]);case 2:return qg.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e=b}; -qg.j=function(a,b,c){for(;;)if(a>=b)if($APP.t(c))a=b,b=$APP.r(c),c=$APP.t(c);else return b>=$APP.r(c);else return!1};qg.u=function(a){var b=$APP.r(a),c=$APP.t(a);a=$APP.r(c);c=$APP.t(c);return this.j(b,a,c)};qg.o=2;var sg=function sg(a){switch(arguments.length){case 1:return sg.g(arguments[0]);case 2:return sg.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(eb?a:b};sg.j=function(a,b,c){return $APP.dc.i(sg,a>b?a:b,c)};sg.u=function(a){var b=$APP.r(a),c=$APP.t(a);a=$APP.r(c);c=$APP.t(c);return this.j(b,a,c)};sg.o=2;var tg=function tg(a){switch(arguments.length){case 1:return tg.g(arguments[0]);case 2:return tg.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(ed:e))c[d]=a.next(),d+=1;else return ci(new $h(c,0,d),Ui.g?Ui.g(a):Ui.call(null,a))}else return null},null,null)}; -Vi.prototype.step=function(){if(this.eb!==Pi)return!0;for(;;)if(this.eb===Pi)if(this.buffer.yc()){if(this.vd)return!1;if(this.Ad.fa()){if(this.ye)var a=$APP.Yb.h(this.Db,Oe(null,this.Ad.next()));else a=this.Ad.next(),a=this.Db.h?this.Db.h(null,a):this.Db.call(null,null,a);xe(a)&&(this.Db.g?this.Db.g(null):this.Db.call(null,null),this.vd=!0)}else this.Db.g?this.Db.g(null):this.Db.call(null,null),this.vd=!0}else this.eb=this.buffer.remove();else return!0};Vi.prototype.fa=function(){return this.step()}; -Vi.prototype.next=function(){if(this.fa()){var a=this.eb;this.eb=Pi;return a}throw Error("No such element");};Vi.prototype.remove=function(){return Error("Unsupported operation")};Vi.prototype[Ub]=function(){return le(this)}; -var Xi=function Xi(a){switch(arguments.length){case 1:return Xi.g(arguments[0]);case 2:return Xi.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e>>b&31;5===b?f.v[l]=d:(c=c.v[l],null!=c?(b-=5,a=hk.B?hk.B(a,b,c,d):hk.call(null,a,b,c,d)):a=gk(null,b-5,d),f.v[l]=a);return f},nk=function nk(a,b,c,d,e){var l=ek(c);if(0===b)l.v[d&31]=e;else{var g=d>>>b&31;b-=5;c=c.v[g];a=nk.I?nk.I(a,b,c,d,e):nk.call(null,a,b,c,d,e);l.v[g]=a}return l},ok=function ok(a,b,c){var e=a.F-2>>>b&31;if(5=this.F)return new $APP.Xb(this.gb,0,null);a:{var a=this.root;for(var b=this.shift;;)if(0this.F-fk(this)){a=this.gb.length;for(var c=Array(a+1),d=0;;)if(d>>5>1<b)return null;a=this.start+b;return ab||this.end<=this.start+b?kk(b,this.end-this.start):u(this.Sa,this.start+b)};$APP.k.Ra=function(a,b,c){return 0>b||this.end<=this.start+b?c:u(this.Sa,this.start+b,c)}; -$APP.k.tb=function(a,b,c){a=this.start+b;if(0>b||this.end+1<=a)throw Error(["Index ",$APP.q.g(b)," out of bounds [0,",$APP.q.g(this.aa(null)),"]"].join(""));b=this.D;c=$APP.E.i(this.Sa,a,c);var d=this.start,e=this.end;a+=1;a=e>a?e:a;return Gk.I?Gk.I(b,c,d,a,null):Gk.call(null,b,c,d,a,null)};$APP.k.cb=function(){return null!=this.Sa&&$APP.Ua===this.Sa.hd?qk(this.Sa,this.start,this.end):new Mi(this)};$APP.k.T=function(){return this.D};$APP.k.aa=function(){return this.end-this.start}; -$APP.k.Rb=function(){return this.start===this.end?null:u(this.Sa,this.end-1)};$APP.k.Sb=function(){if(this.start===this.end)throw Error("Can't pop empty vector");var a=this.D,b=this.Sa,c=this.start,d=this.end-1;return Gk.I?Gk.I(a,b,c,d,null):Gk.call(null,a,b,c,d,null)};$APP.k.Qb=function(){return this.start!==this.end?new Me(this,this.end-this.start-1,null):null};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)}; -$APP.k.ea=function(){return Sc($e,this.D)};$APP.k.ya=function(a,b){return null!=this.Sa&&$APP.Ua===this.Sa.hd?rk(this.Sa,b,this.start,this.end):Be(this,b)};$APP.k.za=function(a,b,c){return null!=this.Sa&&$APP.Ua===this.Sa.hd?sk(this.Sa,b,c,this.start,this.end):Ce(this,b,c)};$APP.k.bb=function(a,b,c){if("number"===typeof b)return this.tb(null,b,c);throw Error("Subvec's key for assoc must be a number.");};$APP.k.Gb=function(a,b){return Jf(b)?0<=b&&b>>b&31;if(5===b)a=d;else{var l=c.v[f];null!=l?(b-=5,a=Jk.B?Jk.B(a,b,l,d):Jk.call(null,a,b,l,d)):a=gk(a.root.ja,b-5,d)}c.v[f]=a;return c};$APP.k=tk.prototype; -$APP.k.tc=function(a,b){if(this.root.ja){if(32>this.F-fk(this))this.gb[this.F&31]=b;else{a=new ck(this.root.ja,this.gb);var c=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];c[0]=b;this.gb=c;this.F>>>5>1<=a)return new $APP.m(this.D,this.F-1,c,null);$APP.fe.h(b,this.v[d])?d+=2:(c[e]=this.v[d],c[e+1]=this.v[d+1],e+=2,d+=2)}}else return this}; -$APP.k.bb=function(a,b,c){a=Vk(this.v,b);if(-1===a){if(this.Fb?4:2*(b+1));Af(this.v,0,c,0,2*b);return new ll(a,this.ga,c)}; -$APP.k.Pc=function(a,b,c,d,e){var f=1<<(c>>>b&31);if(0===(this.ga&f))return this;var l=wh(this.ga&f-1),g=this.v[2*l],p=this.v[2*l+1];return null==g?(b=p.Pc(a,b+5,c,d,e),b===p?this:null!=b?il(this,a,2*l+1,b):this.ga===f?null:ml(this,a,f,l)):fl(d,g)?(e.A=!0,ml(this,a,f,l)):this};$APP.k.Nc=function(){return nl?nl(this.v):ol.call(null,this.v)};$APP.k.kc=function(a,b){return jl(this.v,a,b)}; -$APP.k.jc=function(a,b,c,d){var e=1<<(b>>>a&31);if(0===(this.ga&e))return d;var f=wh(this.ga&e-1);e=this.v[2*f];f=this.v[2*f+1];return null==e?f.jc(a+5,b,c,d):fl(c,e)?f:d}; -$APP.k.vb=function(a,b,c,d,e,f){var l=1<<(c>>>b&31),g=wh(this.ga&l-1);if(0===(this.ga&l)){var p=wh(this.ga);if(2*p>>b&31]=pl.vb(a,b+5,c,d,e,f);for(e=d=0;;)if(32>d)0===(this.ga>>> -d&1)?d+=1:(g[d]=null!=this.v[e]?pl.vb(a,b+5,Zd(this.v[e]),this.v[e],this.v[e+1],f):this.v[e+1],e+=2,d+=1);else break;return new ql(a,p+1,g)}b=Array(2*(p+4));Af(this.v,0,b,0,2*g);b[2*g]=d;b[2*g+1]=e;Af(this.v,2*g,b,2*(g+1),2*(p-g));f.A=!0;a=this.Ub(a);a.v=b;a.ga|=l;return a}p=this.v[2*g];l=this.v[2*g+1];if(null==p)return p=l.vb(a,b+5,c,d,e,f),p===l?this:il(this,a,2*g+1,p);if(fl(d,p))return e===l?this:il(this,a,2*g+1,e);f.A=!0;f=b+5;d=rl?rl(a,f,p,l,c,d,e):sl.call(null,a,f,p,l,c,d,e);e=2*g;g=2*g+1;a= -this.Ub(a);a.v[e]=null;a.v[g]=d;return a}; -$APP.k.ub=function(a,b,c,d,e){var f=1<<(b>>>a&31),l=wh(this.ga&f-1);if(0===(this.ga&f)){var g=wh(this.ga);if(16<=g){l=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];l[b>>>a&31]=pl.ub(a+5,b,c,d,e);for(d=c=0;;)if(32>c)0===(this.ga>>>c&1)?c+=1:(l[c]=null!=this.v[d]?pl.ub(a+5,Zd(this.v[d]),this.v[d],this.v[d+1],e):this.v[d+1],d+=2,c+=1);else break;return new ql(null,g+1,l)}a=Array(2*(g+1)); -Af(this.v,0,a,0,2*l);a[2*l]=c;a[2*l+1]=d;Af(this.v,2*l,a,2*(l+1),2*(g-l));e.A=!0;return new ll(null,this.ga|f,a)}var p=this.v[2*l];f=this.v[2*l+1];if(null==p)return g=f.ub(a+5,b,c,d,e),g===f?this:new ll(null,this.ga,gl(this.v,2*l+1,g));if(fl(c,p))return d===f?this:new ll(null,this.ga,gl(this.v,2*l+1,d));e.A=!0;e=this.ga;g=this.v;a+=5;a=tl?tl(a,p,f,b,c,d):sl.call(null,a,p,f,b,c,d);c=2*l;l=2*l+1;d=Zb(g);d[c]=null;d[l]=a;return new ll(null,e,d)}; -$APP.k.Mc=function(a,b,c,d){var e=1<<(b>>>a&31);if(0===(this.ga&e))return d;var f=wh(this.ga&e-1);e=this.v[2*f];f=this.v[2*f+1];return null==e?f.Mc(a+5,b,c,d):fl(c,e)?new Rf(e,f):d};$APP.k.Oc=function(a,b,c){var d=1<<(b>>>a&31);if(0===(this.ga&d))return this;var e=wh(this.ga&d-1),f=this.v[2*e],l=this.v[2*e+1];return null==f?(a=l.Oc(a+5,b,c),a===l?this:null!=a?new ll(null,this.ga,gl(this.v,2*e+1,a)):this.ga===d?null:new ll(null,this.ga^d,hl(this.v,e))):fl(c,f)?new ll(null,this.ga^d,hl(this.v,e)):this}; -$APP.k.cb=function(){return new kl(this.v)};var pl=new ll(null,0,[]);vl.prototype.fa=function(){for(var a=this.v.length;;){if(null!=this.zb&&this.zb.fa())return!0;if(this.G>>b&31,l=this.v[f];if(null==l)return this;b=l.Pc(a,b+5,c,d,e);if(b===l)return this;if(null==b){if(8>=this.F)return ul(this,a,f);a=il(this,a,f,b);--a.F;return a}return il(this,a,f,b)};$APP.k.Nc=function(){return wl?wl(this.v):xl.call(null,this.v)};$APP.k.kc=function(a,b){for(var c=this.v.length,d=0;;)if(d>>a&31];return null!=e?e.jc(a+5,b,c,d):d};$APP.k.vb=function(a,b,c,d,e,f){var l=c>>>b&31,g=this.v[l];if(null==g)return a=il(this,a,l,pl.vb(a,b+5,c,d,e,f)),a.F+=1,a;b=g.vb(a,b+5,c,d,e,f);return b===g?this:il(this,a,l,b)};$APP.k.ub=function(a,b,c,d,e){var f=b>>>a&31,l=this.v[f];if(null==l)return new ql(null,this.F+1,gl(this.v,f,pl.ub(a+5,b,c,d,e)));a=l.ub(a+5,b,c,d,e);return a===l?this:new ql(null,this.F,gl(this.v,f,a))}; -$APP.k.Mc=function(a,b,c,d){var e=this.v[b>>>a&31];return null!=e?e.Mc(a+5,b,c,d):d};$APP.k.Oc=function(a,b,c){var d=b>>>a&31,e=this.v[d];return null!=e?(a=e.Oc(a+5,b,c),a===e?this:null==a?8>=this.F?ul(this,null,d):new ql(null,this.F-1,gl(this.v,d,a)):new ql(null,this.F,gl(this.v,d,a))):this};$APP.k.cb=function(){return new vl(this.v)};$APP.k=zl.prototype;$APP.k.Ub=function(a){if(a===this.ja)return this;var b=Array(2*(this.F+1));Af(this.v,0,b,0,2*this.F);return new zl(a,this.Tb,this.F,b)}; -$APP.k.Pc=function(a,b,c,d,e){b=yl(this.v,this.F,d);if(-1===b)return this;e.A=!0;if(1===this.F)return null;a=this.Ub(a);e=a.v;e[b]=e[2*this.F-2];e[b+1]=e[2*this.F-1];e[2*this.F-1]=null;e[2*this.F-2]=null;--a.F;return a};$APP.k.Nc=function(){return nl?nl(this.v):ol.call(null,this.v)};$APP.k.kc=function(a,b){return jl(this.v,a,b)};$APP.k.jc=function(a,b,c,d){a=yl(this.v,this.F,c);return 0>a?d:fl(c,this.v[a])?this.v[a+1]:d}; -$APP.k.vb=function(a,b,c,d,e,f){if(c===this.Tb){b=yl(this.v,this.F,d);if(-1===b){if(this.v.length>2*this.F)return b=2*this.F,c=2*this.F+1,a=this.Ub(a),a.v[b]=d,a.v[c]=e,f.A=!0,a.F+=1,a;c=this.v.length;b=Array(c+2);Af(this.v,0,b,0,c);b[c]=d;b[c+1]=e;f.A=!0;d=this.F+1;a===this.ja?(this.v=b,this.F=d,a=this):a=new zl(this.ja,this.Tb,d,b);return a}return this.v[b+1]===e?this:il(this,a,b+1,e)}return(new ll(a,1<<(this.Tb>>>b&31),[null,this,null,null])).vb(a,b,c,d,e,f)}; -$APP.k.ub=function(a,b,c,d,e){return b===this.Tb?(a=yl(this.v,this.F,c),-1===a?(a=2*this.F,b=Array(a+2),Af(this.v,0,b,0,a),b[a]=c,b[a+1]=d,e.A=!0,new zl(null,this.Tb,this.F+1,b)):$APP.fe.h(this.v[a+1],d)?this:new zl(null,this.Tb,this.F,gl(this.v,a+1,d))):(new ll(null,1<<(this.Tb>>>a&31),[null,this])).ub(a,b,c,d,e)};$APP.k.Mc=function(a,b,c,d){a=yl(this.v,this.F,c);return 0>a?d:fl(c,this.v[a])?new Rf(this.v[a],this.v[a+1]):d}; -$APP.k.Oc=function(a,b,c){a=yl(this.v,this.F,c);return-1===a?this:1===this.F?null:new zl(null,this.Tb,this.F-1,hl(this.v,fh(a,2)))};$APP.k.cb=function(){return new kl(this.v)};$APP.k=Al.prototype;$APP.k.toString=function(){return Rd(this)};$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}();$APP.k.T=function(){return this.D}; -$APP.k.xa=function(){if(null==this.R){var a=this.Ab,b=this.G+2;return Bl?Bl(a,b,null):ol.call(null,a,b,null)}a=this.Ab;b=this.G;var c=$APP.t(this.R);return Bl?Bl(a,b,c):ol.call(null,a,b,c)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return je};$APP.k.ya=function(a,b){return Qe(b,this)};$APP.k.za=function(a,b,c){return Se(b,c,this)}; -$APP.k.wa=function(){return null==this.R?new Rf(this.Ab[this.G],this.Ab[this.G+1]):$APP.r(this.R)};$APP.k.Aa=function(){var a=this,b=null==a.R?function(){var c=a.Ab,d=a.G+2;return Bl?Bl(c,d,null):ol.call(null,c,d,null)}():function(){var c=a.Ab,d=a.G,e=$APP.t(a.R);return Bl?Bl(c,d,e):ol.call(null,c,d,e)}();return null!=b?b:je};$APP.k.V=function(){return this};$APP.k.Z=function(a,b){return b===this.D?this:new Al(b,this.Ab,this.G,this.R,this.H)};$APP.k.da=function(a,b){return Oe(b,this)}; -Al.prototype[Ub]=function(){return le(this)};$APP.k=Cl.prototype;$APP.k.toString=function(){return Rd(this)};$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}();$APP.k.T=function(){return this.D};$APP.k.xa=function(){var a=this.Ab,b=this.G,c=$APP.t(this.R);return Dl?Dl(a,b,c):xl.call(null,a,b,c)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)}; -$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return je};$APP.k.ya=function(a,b){return Qe(b,this)};$APP.k.za=function(a,b,c){return Se(b,c,this)};$APP.k.wa=function(){return $APP.r(this.R)};$APP.k.Aa=function(){var a=this.Ab;var b=this.G,c=$APP.t(this.R);a=Dl?Dl(a,b,c):xl.call(null,a,b,c);return null!=a?a:je};$APP.k.V=function(){return this};$APP.k.Z=function(a,b){return b===this.D?this:new Cl(b,this.Ab,this.G,this.R,this.H)};$APP.k.da=function(a,b){return Oe(b,this)}; -Cl.prototype[Ub]=function(){return le(this)};El.prototype.fa=function(){return!this.zd||this.Yd.fa()};El.prototype.next=function(){if(this.zd)return this.Yd.next();this.zd=!0;return new Rf(null,this.$a)};El.prototype.remove=function(){return Error("Unsupported operation")};$APP.k=Fl.prototype;$APP.k.bc=$APP.Ua;$APP.k.Nb=function(a,b){return null==b?this.Za?new Rf(null,this.$a):null:null==this.root?null:this.root.Mc(0,Zd(b),b,null)};$APP.k.toString=function(){return Rd(this)}; -$APP.k.keys=function(){return le(Yk.g?Yk.g(this):Yk.call(null,this))};$APP.k.entries=function(){return new Tk($APP.z($APP.z(this)))};$APP.k.values=function(){return le(Zk.g?Zk.g(this):Zk.call(null,this))};$APP.k.has=function(a){return $APP.H(this,a)};$APP.k.get=function(a,b){return this.P(null,a,b)}; -$APP.k.forEach=function(a){for(var b=$APP.z(this),c=null,d=0,e=0;;)if(ethis.F?$APP.Je($APP.t(this))+1:this.F};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return je};$APP.k.ya=function(a,b){return Qe(b,this)};$APP.k.za=function(a,b,c){return Se(b,c,this)};$APP.k.wa=function(){return mf(this.stack)};$APP.k.Aa=function(){var a=$APP.r(this.stack);a=Jl(this.dc?a.right:a.left,$APP.t(this.stack),this.dc);return null!=a?new Kl(null,a,this.dc,this.F-1,null):je}; -$APP.k.V=function(){return this};$APP.k.Z=function(a,b){return b===this.D?this:new Kl(b,this.stack,this.dc,this.F,this.H)};$APP.k.da=function(a,b){return Oe(b,this)};Kl.prototype[Ub]=function(){return le(this)}; -var Sl=function Sl(a,b,c){var e=null!=a.left?function(){var g=a.left;return Sl.i?Sl.i(g,b,c):Sl.call(null,g,b,c)}():c;if(xe(e))return e;var f=function(){var g=a.key,p=a.A;return b.i?b.i(e,g,p):b.call(null,e,g,p)}();if(xe(f))return f;if(null!=a.right){var l=a.right;return Sl.i?Sl.i(l,b,f):Sl.call(null,l,b,f)}return f};$APP.k=Ol.prototype;$APP.k.bc=$APP.Ua;$APP.k.Nb=function(a,b){switch(b){case 0:return new Rf(0,this.key);case 1:return new Rf(1,this.A);default:return null}}; -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}();$APP.k.Cd=function(a){return a.Ed(this)};$APP.k.Tc=function(){return new Nl(this.key,this.A,this.left,this.right)};$APP.k.Lb=function(){return this};$APP.k.Bd=function(a){return a.Dd(this)}; -$APP.k.replace=function(a,b,c,d){return new Ol(a,b,c,d)};$APP.k.Dd=function(a){return new Ol(a.key,a.A,this,a.right)};$APP.k.Ed=function(a){return new Ol(a.key,a.A,a.left,this)};$APP.k.kc=function(a,b){return Sl(this,a,b)};$APP.k.Ba=function(a,b){return this.Ra(null,b,null)};$APP.k.P=function(a,b,c){return this.Ra(null,b,c)};$APP.k.S=function(a,b){if(0===b)return this.key;if(1===b)return this.A;throw Error("Index out of bounds");};$APP.k.Ra=function(a,b,c){return 0===b?this.key:1===b?this.A:c}; -$APP.k.tb=function(a,b,c){return(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null)).tb(null,b,c)};$APP.k.T=function(){return null};$APP.k.aa=function(){return 2};$APP.k.ld=function(){return this.key};$APP.k.md=function(){return this.A};$APP.k.Rb=function(){return this.A};$APP.k.Sb=function(){return new $APP.O(null,1,5,$APP.P,[this.key],null)};$APP.k.Qb=function(){return new $APP.Xb([this.A,this.key],0,null)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)}; -$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return null};$APP.k.ya=function(a,b){return Be(this,b)};$APP.k.za=function(a,b,c){return Ce(this,b,c)};$APP.k.bb=function(a,b,c){return $APP.E.i(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null),b,c)};$APP.k.Gb=function(a,b){return 0===b||1===b};$APP.k.V=function(){return new $APP.Xb([this.key,this.A],0,null)};$APP.k.Z=function(a,b){return Sc(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null),b)}; -$APP.k.da=function(a,b){return new $APP.O(null,3,5,$APP.P,[this.key,this.A,b],null)};$APP.k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length-1)].join(""));}};$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};$APP.k.g=function(a){return this.S(null,a)};$APP.k.h=function(a,b){return this.Ra(null,a,b)};Ol.prototype[Ub]=function(){return le(this)}; -$APP.k=Nl.prototype;$APP.k.bc=$APP.Ua;$APP.k.Nb=function(a,b){switch(b){case 0:return new Rf(0,this.key);case 1:return new Rf(1,this.A);default:return null}};$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}();$APP.k.Cd=function(a){return new Nl(this.key,this.A,this.left,a)};$APP.k.Tc=function(){throw Error("red-black tree invariant violation");};$APP.k.Lb=function(){return new Ol(this.key,this.A,this.left,this.right)}; -$APP.k.Bd=function(a){return new Nl(this.key,this.A,a,this.right)};$APP.k.replace=function(a,b,c,d){return new Nl(a,b,c,d)};$APP.k.Dd=function(a){return this.left instanceof Nl?new Nl(this.key,this.A,this.left.Lb(),new Ol(a.key,a.A,this.right,a.right)):this.right instanceof Nl?new Nl(this.right.key,this.right.A,new Ol(this.key,this.A,this.left,this.right.left),new Ol(a.key,a.A,this.right.right,a.right)):new Ol(a.key,a.A,this,a.right)}; -$APP.k.Ed=function(a){return this.right instanceof Nl?new Nl(this.key,this.A,new Ol(a.key,a.A,a.left,this.left),this.right.Lb()):this.left instanceof Nl?new Nl(this.left.key,this.left.A,new Ol(a.key,a.A,a.left,this.left.left),new Ol(this.key,this.A,this.left.right,this.right)):new Ol(a.key,a.A,a.left,this)};$APP.k.kc=function(a,b){return Sl(this,a,b)};$APP.k.Ba=function(a,b){return this.Ra(null,b,null)};$APP.k.P=function(a,b,c){return this.Ra(null,b,c)}; -$APP.k.S=function(a,b){if(0===b)return this.key;if(1===b)return this.A;throw Error("Index out of bounds");};$APP.k.Ra=function(a,b,c){return 0===b?this.key:1===b?this.A:c};$APP.k.tb=function(a,b,c){return(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null)).tb(null,b,c)};$APP.k.T=function(){return null};$APP.k.aa=function(){return 2};$APP.k.ld=function(){return this.key};$APP.k.md=function(){return this.A};$APP.k.Rb=function(){return this.A}; -$APP.k.Sb=function(){return new $APP.O(null,1,5,$APP.P,[this.key],null)};$APP.k.Qb=function(){return new $APP.Xb([this.A,this.key],0,null)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return null};$APP.k.ya=function(a,b){return Be(this,b)};$APP.k.za=function(a,b,c){return Ce(this,b,c)};$APP.k.bb=function(a,b,c){return $APP.E.i(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null),b,c)}; -$APP.k.Gb=function(a,b){return 0===b||1===b};$APP.k.V=function(){return new $APP.Xb([this.key,this.A],0,null)};$APP.k.Z=function(a,b){return Sc(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null),b)};$APP.k.da=function(a,b){return new $APP.O(null,3,5,$APP.P,[this.key,this.A,b],null)};$APP.k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length-1)].join(""));}}; -$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};$APP.k.g=function(a){return this.S(null,a)};$APP.k.h=function(a,b){return this.Ra(null,a,b)};Nl.prototype[Ub]=function(){return le(this)}; -var Tl=function Tl(a,b,c,d,e){if(null==b)return new Nl(c,d,null,null);var l=function(){var g=b.key;return a.h?a.h(c,g):a.call(null,c,g)}();if(0===l)return e[0]=b,null;if(0>l)return l=function(){var g=b.left;return Tl.I?Tl.I(a,g,c,d,e):Tl.call(null,a,g,c,d,e)}(),null!=l?b.Bd(l):null;l=function(){var g=b.right;return Tl.I?Tl.I(a,g,c,d,e):Tl.call(null,a,g,c,d,e)}();return null!=l?b.Cd(l):null},Ul=function Ul(a,b){if(null==a)return b;if(null==b)return a;if(a instanceof Nl){if(b instanceof Nl){var d=function(){var e= -a.right,f=b.left;return Ul.h?Ul.h(e,f):Ul.call(null,e,f)}();return d instanceof Nl?new Nl(d.key,d.A,new Nl(a.key,a.A,a.left,d.left),new Nl(b.key,b.A,d.right,b.right)):new Nl(a.key,a.A,a.left,new Nl(b.key,b.A,d,b.right))}return new Nl(a.key,a.A,a.left,function(){var e=a.right;return Ul.h?Ul.h(e,b):Ul.call(null,e,b)}())}if(b instanceof Nl)return new Nl(b.key,b.A,function(){var e=b.left;return Ul.h?Ul.h(a,e):Ul.call(null,a,e)}(),b.right);d=function(){var e=a.right,f=b.left;return Ul.h?Ul.h(e,f):Ul.call(null, -e,f)}();return d instanceof Nl?new Nl(d.key,d.A,new Ol(a.key,a.A,a.left,d.left),new Ol(b.key,b.A,d.right,b.right)):Ql(a.key,a.A,a.left,new Ol(b.key,b.A,d,b.right))},Vl=function Vl(a,b,c,d){if(null!=b){var f=function(){var l=b.key;return a.h?a.h(c,l):a.call(null,c,l)}();if(0===f)return d[0]=b,Ul(b.left,b.right);if(0>f)return f=function(){var l=b.left;return Vl.B?Vl.B(a,l,c,d):Vl.call(null,a,l,c,d)}(),null!=f||null!=d[0]?b.left instanceof Ol?Ql(b.key,b.A,f,b.right):new Nl(b.key,b.A,f,b.right):null; -f=function(){var l=b.right;return Vl.B?Vl.B(a,l,c,d):Vl.call(null,a,l,c,d)}();return null!=f||null!=d[0]?b.right instanceof Ol?Rl(b.key,b.A,b.left,f):new Nl(b.key,b.A,b.left,f):null}return null},Wl=function Wl(a,b,c,d){var f=b.key,l=a.h?a.h(c,f):a.call(null,c,f);return 0===l?b.replace(f,d,b.left,b.right):0>l?b.replace(f,b.A,function(){var g=b.left;return Wl.B?Wl.B(a,g,c,d):Wl.call(null,a,g,c,d)}(),b.right):b.replace(f,b.A,b.left,function(){var g=b.right;return Wl.B?Wl.B(a,g,c,d):Wl.call(null,a,g, -c,d)}())};$APP.k=Xl.prototype;$APP.k.bc=$APP.Ua;$APP.k.Nb=function(a,b){return Yl(this,b)};$APP.k.forEach=function(a){for(var b=$APP.z(this),c=null,d=0,e=0;;)if(ee?(a=Ze.h(a,d),d=d.left):d=d.right:0(a.g?a.g(c):a.call(null,c))?b:c}; -ym.j=function(a,b,c,d){return $APP.dc.i(function(e,f){return ym.i(a,e,f)},ym.i(a,b,c),d)};ym.u=function(a){var b=$APP.r(a),c=$APP.t(a);a=$APP.r(c);var d=$APP.t(c);c=$APP.r(d);d=$APP.t(d);return this.j(b,a,c,d)};ym.o=3; -var zm=function zm(a){switch(arguments.length){case 2:return zm.h(arguments[0],arguments[1]);case 3:return zm.i(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,e=0;;)if(e=this.count)throw Error("-drop-first of empty chunk");return new Gm(this.start+this.step,this.step,this.count-1)};Hm.prototype.fa=function(){return 0this.end};Hm.prototype.next=function(){var a=this.G;this.G+=this.step;return a};$APP.k=Im.prototype;$APP.k.toString=function(){return Rd(this)}; -$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -$APP.k.Lc=function(){if(null==this.Xa){var a=this.aa(null);32this.end&&0===this.step)return this.start;throw Error("Index out of bounds");}; -$APP.k.Ra=function(a,b,c){return 0<=b&&bthis.end&&0===this.step?this.start:c};$APP.k.cb=function(){return new Hm(this.start,this.end,this.step)};$APP.k.T=function(){return this.D};$APP.k.xa=function(){return 0this.end?new Im(null,this.start+this.step,this.end,this.step,null,null,null):null}; -$APP.k.aa=function(){return Math.ceil((this.end-this.start)/this.step)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return je};$APP.k.ya=function(a,b){return Be(this,b)};$APP.k.za=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.h?b.h(c,a):b.call(null,c,a);if(xe(c))return $APP.Oc(c);a+=this.step}else return c};$APP.k.wa=function(){return this.start}; -$APP.k.Aa=function(){var a=this.xa(null);return null==a?je:a};$APP.k.V=function(){return this};$APP.k.Ec=function(){this.Lc();return this.Xa};$APP.k.$b=function(){this.Lc();return null==this.Mb?je:this.Mb};$APP.k.Z=function(a,b){return b===this.D?this:new Im(b,this.start,this.end,this.step,this.Xa,this.Mb,this.H)};$APP.k.da=function(a,b){return Oe(b,this)};$APP.k.Dc=function(){return $APP.z(this.$b(null))};Im.prototype[Ub]=function(){return le(this)};$APP.k=Jm.prototype;$APP.k.toString=function(){return Rd(this)}; -$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -$APP.k.Lc=function(){if(null==this.Xa){var a=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];a:{var b=0;for(var c=this.start;;)if(32>b){if(a[b]=c,b+=1,c+=this.step,!(0this.end)){b=this.Xa=new $h(a,0,b);break a}}else{b=c;break a}}null==this.Xa&&(this.Xa=new $h(a,0,32),(0this.end)&&(this.Mb=new Jm(null,b,this.end,this.step,null,null,null)))}}; -$APP.k.cb=function(){return new Hm(this.start,this.end,this.step)};$APP.k.T=function(){return this.D};$APP.k.xa=function(){return 0this.end?new Jm(null,this.start+this.step,this.end,this.step,null,null,null):null};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return je}; -$APP.k.ya=function(a,b){return Qe(b,this)};$APP.k.za=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.h?b.h(c,a):b.call(null,c,a);if(xe(c))return $APP.Oc(c);a+=this.step}else return c};$APP.k.wa=function(){return this.start};$APP.k.Aa=function(){var a=this.xa(null);return null==a?je:a};$APP.k.V=function(){return this};$APP.k.Ec=function(){this.Lc();return this.Xa};$APP.k.$b=function(){this.Lc();return null==this.Mb?je:this.Mb}; -$APP.k.Z=function(a,b){return b===this.D?this:new Jm(b,this.start,this.end,this.step,this.Xa,this.Mb,this.H)};$APP.k.da=function(a,b){return Oe(b,this)};$APP.k.Dc=function(){return $APP.z(this.$b(null))};Jm.prototype[Ub]=function(){return le(this)}; -var Km=function Km(a){switch(arguments.length){case 0:return Km.s();case 1:return Km.g(arguments[0]);case 2:return Km.h(arguments[0],arguments[1]);case 3:return Km.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};Km.s=function(){return Km.i(0,Number.MAX_VALUE,1)};Km.g=function(a){return Km.i(0,a,1)};Km.h=function(a,b){return Km.i(a,b,1)}; -Km.i=function(a,b,c){return 0c?b>=a?je:Jf(a)&&Jf(b)&&Jf(c)?new Im(null,a,b,c,null,null,null):new Jm(null,a,b,c,null,null,null):b===a?je:Hj.g(a)};Km.o=3;var Lm=function Lm(a){switch(arguments.length){case 1:return Lm.g(arguments[0]);case 2:return Lm.h(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}}; -Lm.g=function(a){return function(b){var c=kj(-1);return function(){function d(g,p){var w=c.Fb(null,c.jb(null)+1);return 0===gh(w,a)?b.h?b.h(g,p):b.call(null,g,p):g}function e(g){return b.g?b.g(g):b.call(null,g)}function f(){return b.s?b.s():b.call(null)}var l=null;l=function(g,p){switch(arguments.length){case 0:return f.call(this);case 1:return e.call(this,g);case 2:return d.call(this,g,p)}throw Error("Invalid arity: "+arguments.length);};l.s=f;l.g=e;l.h=d;return l}()}}; -Lm.h=function(a,b){return new Xh(null,function(){var c=$APP.z(b);return c?Oe($APP.r(c),Lm.h(a,yj.h(a,c))):null},null,null)};Lm.o=2;var Nm=function Nm(a){switch(arguments.length){case 1:return Nm.g(arguments[0]);case 2:return Nm.h(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}}; -Nm.g=function(a){return function(b){var c=new Am,d=kj(Om);return function(){function e(p,w){var A=$APP.Oc(d),D=a.g?a.g(w):a.call(null,w);Nd(d,D);if(Lh(A,Om)||$APP.fe.h(D,A))return c.add(w),p;A=ag(c.toArray());c.clear();p=b.h?b.h(p,A):b.call(null,p,A);xe(p)||c.add(w);return p}function f(p){if(!$APP.n(c.yc())){var w=ag(c.toArray());c.clear();p=ze(b.h?b.h(p,w):b.call(null,p,w))}return b.g?b.g(p):b.call(null,p)}function l(){return b.s?b.s():b.call(null)}var g=null;g=function(p,w){switch(arguments.length){case 0:return l.call(this); -case 1:return f.call(this,p);case 2:return e.call(this,p,w)}throw Error("Invalid arity: "+arguments.length);};g.s=l;g.g=f;g.h=e;return g}()}};Nm.h=function(a,b){return new Xh(null,function(){var c=$APP.z(b);if(c){var d=$APP.r(c),e=a.g?a.g(d):a.call(null,d),f=Oe(d,Cm.h(function(l){return $APP.fe.h(e,a.g?a.g(l):a.call(null,l))},$APP.t(c)));return Oe(f,Nm.h(a,new Xh(null,function(){return yj.h($APP.Je(f),c)},null,null)))}return null},null,null)};Nm.o=2; -var Qm=function Qm(a){switch(arguments.length){case 2:return Qm.h(arguments[0],arguments[1]);case 3:return Qm.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};Qm.h=function(a,b){return new Xh(null,function(){var c=$APP.z(b);return c?Qm.i(a,$APP.r(c),ie(c)):new C(null,a.s?a.s():a.call(null),null,1,null)},null,null)}; -Qm.i=function(a,b,c){return xe(b)?new C(null,$APP.Oc(b),null,1,null):Oe(b,new Xh(null,function(){var d=$APP.z(c);if(d){var e=Qm.i;var f=$APP.r(d);f=a.h?a.h(b,f):a.call(null,b,f);d=e.call(Qm,a,f,ie(d))}else d=null;return d},null,null))};Qm.o=3; -var Rm=function Rm(a){switch(arguments.length){case 1:return Rm.g(arguments[0]);case 2:return Rm.h(arguments[0],arguments[1]);case 3:return Rm.i(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,e=0;;)if(el?1:l);return l<=b.length?(l=$APP.Ch.h(b,l),Wm.h?Wm.h(a,l):Wm.call(null,a,l)):null},null,null))};cn={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};$APP.on=function on(a){for(var c=[],d=arguments.length,e=0;;)if(ec)b=ag($APP.q.g(a).split(b));else a:for(var d=c,e=$e;;){if(1===d){b=Ze.h(e,a);break a}var f=Vm(b,a);if(null!=f){var l=a.indexOf(f);f=a.substring(l+$APP.Je(f));--d;e=Ze.h(e,a.substring(0,l));a=f}else{b=Ze.h(e,a);break a}}if(0===c&&1<$APP.Je(b))a:for(c=b;;)if(""===mf(c))c=nf(c);else break a;else c=b;return c};$APP.jT.o=3; -var rT=function rT(a){switch(arguments.length){case 2:return rT.h(arguments[0],arguments[1]);case 3:return rT.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};rT.h=function(a,b){a=a.indexOf(b);return 0>a?null:a};rT.i=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};rT.o=3; -var sT=function sT(a){switch(arguments.length){case 2:return sT.h(arguments[0],arguments[1]);case 3:return sT.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};sT.h=function(a,b){a=a.lastIndexOf(b);return 0>a?null:a};sT.i=function(a,b,c){a=a.lastIndexOf(b,c);return 0>a?null:a};sT.o=3;$APP.k=wT.prototype;$APP.k.Ba=function(a,b){return this.P(null,b,null)};$APP.k.P=function(a,b,c){switch(b instanceof $APP.ee?b.fb:null){case "splicing?":return this.Jb;case "form":return this.form;default:return $APP.ce.i(this.N,b,c)}};$APP.k.Pb=function(a,b,c){return $APP.dc.i(function(d,e){var f=$APP.B.i(e,0,null);e=$APP.B.i(e,1,null);return b.i?b.i(d,f,e):b.call(null,d,f,e)},c,this)}; -$APP.k.O=function(a,b,c){return Zm(b,function(d){return Zm(b,$APP.gn,""," ","",c,d)},"#cljs.tools.reader.impl.utils.ReaderConditional{",", ","}",c,K.h(new $APP.O(null,2,5,$APP.P,[new $APP.O(null,2,5,$APP.P,[kS,this.Jb],null),new $APP.O(null,2,5,$APP.P,[Hy,this.form],null)],null),this.N))};$APP.k.cb=function(){return new Sk(this,2,new $APP.O(null,2,5,$APP.P,[kS,Hy],null),$APP.n(this.N)?Pd(this.N):Fi())};$APP.k.T=function(){return this.$};$APP.k.aa=function(){return 2+$APP.Je(this.N)}; -$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=-209062840^pe(this)};$APP.k.W=function(a,b){return null!=b&&this.constructor===b.constructor&&$APP.fe.h(this.Jb,b.Jb)&&$APP.fe.h(this.form,b.form)&&$APP.fe.h(this.N,b.N)};$APP.k.hc=function(a,b){return $APP.H(new $APP.lm(null,new $APP.m(null,2,[kS,null,Hy,null],null),null),b)?$APP.hf.h(Sc(Uj.h($APP.Hi,this),this.$),b):new wT(this.Jb,this.form,this.$,Ei($APP.hf.h(this.N,b)),null)}; -$APP.k.Gb=function(a,b){switch(b instanceof $APP.ee?b.fb:null){case "splicing?":case "form":return!0;default:return $APP.H(this.N,b)}};$APP.k.bb=function(a,b,c){return $APP.n(Lh.h?Lh.h(kS,b):Lh.call(null,kS,b))?new wT(c,this.form,this.$,this.N,null):$APP.n(Lh.h?Lh.h(Hy,b):Lh.call(null,Hy,b))?new wT(this.Jb,c,this.$,this.N,null):new wT(this.Jb,this.form,this.$,$APP.E.i(this.N,b,c),null)}; -$APP.k.V=function(){return $APP.z(K.h(new $APP.O(null,2,5,$APP.P,[new Rf(kS,this.Jb),new Rf(Hy,this.form)],null),this.N))};$APP.k.Z=function(a,b){return new wT(this.Jb,this.form,b,this.N,this.H)};$APP.k.da=function(a,b){return $APP.xf(b)?this.bb(null,u(b,0),u(b,1)):$APP.dc.i(lc,this,b)};$APP.k.ba=$APP.Ua;$APP.k.O=function(a,b,c){$APP.od(b,["#?",$APP.n(this.Jb)?"@":null].join(""));return $APP.gn(this.form,b,c)};var yT=/[\s]/;$APP.nj.g(0);KT.prototype.U=function(){if(this.Zd>this.Ac){var a=this.R.charAt(this.Ac);this.Ac+=1;return a}return null};KT.prototype.mb=function(){return this.Zd>this.Ac?this.R.charAt(this.Ac):null};LT.prototype.U=function(){var a=this.sba?'..."':'"',d=b.length;return['"',$APP.q.g(b.substring(0,ad?"...}":"}")});iX.Ya(null,OI,function(a,b){return hX(a,b,"#{","}")});iX.Ya(null,HC,function(a,b){return hX(a,b,"[","]")});iX.Ya(null,Nu,function(a,b){return $APP.on.j($APP.Pe([Qb(b)]))});var BX=/^([-+]?)(?:(0)|([1-9][0-9]*)|0[xX]([0-9A-Fa-f]+)|0([0-7]+)|([1-9][0-9]?)[rR]([0-9A-Za-z]+)|0[0-9]+)(N)?$/,CX=/([-+]?[0-9]+)\/([0-9]+)/,DX=/([-+]?[0-9]+(\.[0-9]*)?([eE][-+]?[0-9]+)?)(M)?/,HX=function HX(a){for(var c=[],d=arguments.length,e=0;;)if(e>>0),sa=0;function ta(a,b){a.sort(b||ua)}function wa(a,b){for(var c=Array(a.length),d=0;db?1:a>>16&65535)*d+c*(b>>>16&65535)<<16>>>0)|0};function Td(a){a=Sd(a|0,-862048943);return Sd(a<<15|a>>>-15,461845907)}function Ud(a,b){a=(a|0)^(b|0);return Sd(a<<13|a>>>-13,5)+-430675100|0}function Vd(a,b){a=(a|0)^b;a=Sd(a^a>>>16,-2048144789);a=Sd(a^a>>>13,-1028477387);return a^a>>>16}var Wd={},Xd=0; -function Yd(a){255>2)}function be(a,b){if(a.Kb===b.Kb)return 0;if(n(Jb(a.ib)?b.ib:!1))return-1;if(n(a.ib)){if(Jb(b.ib))return 1;var c=ua(a.ib,b.ib);return 0===c?ua(a.name,b.name):c}return ua(a.name,b.name)} -function x(a,b,c,d,e){this.ib=a;this.name=b;this.Kb=c;this.oc=d;this.qb=e;this.C=2154168321;this.J=4096}k=x.prototype;k.toString=function(){return this.Kb};k.W=function(a,b){return b instanceof x?this.Kb===b.Kb:!1};k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length-1)].join(""));}};k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))}; -k.g=function(a){return ce.h?ce.h(a,this):ce.call(null,a,this)};k.h=function(a,b){return ce.i?ce.i(a,this,b):ce.call(null,a,this,b)};k.T=function(){return this.qb};k.Z=function(a,b){return new x(this.ib,this.name,this.Kb,this.oc,b)};k.X=function(){var a=this.oc;return null!=a?a:this.oc=a=ae(this)};k.Fc=function(){return this.name};k.Gc=function(){return this.ib};k.O=function(a,b){return od(b,this.Kb)}; -var y=function y(a){switch(arguments.length){case 1:return y.g(arguments[0]);case 2:return y.h(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}};y.g=function(a){for(;;){if(a instanceof x)return a;if("string"===typeof a){var b=a.indexOf("/");return 1>b?y.h(null,a):y.h(a.substring(0,b),a.substring(b+1,a.length))}if(a instanceof de)return a.Bb;if(a instanceof ee)a=a.fb;else throw Error("no conversion to symbol");}}; -y.h=function(a,b){var c=null!=a?[q.g(a),"/",q.g(b)].join(""):b;return new x(a,b,c,null,null)};y.o=2;function de(a,b,c){this.A=a;this.Bb=b;this.qb=c;this.C=6717441;this.J=0}k=de.prototype;k.toString=function(){return["#'",q.g(this.Bb)].join("")};k.jb=function(){return this.A.s?this.A.s():this.A.call(null)};k.T=function(){return this.qb};k.Z=function(a,b){return new de(this.A,this.Bb,b)};k.W=function(a,b){return b instanceof de?(a=this.Bb,b=b.Bb,fe.h?fe.h(a,b):fe.call(null,a,b)):!1};k.X=function(){return ae(this.Bb)}; -k.Gd=Ua; -k.call=function(a){switch(arguments.length-1){case 0:return this.s();case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);case 3:return this.i(arguments[1],arguments[2],arguments[3]);case 4:return this.B(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.I(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.Y(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.ua(arguments[1],arguments[2], -arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.va(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]);case 11:return this.la(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.na(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13]); -case 14:return this.oa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.pa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.qa(arguments[1],arguments[2],arguments[3],arguments[4], -arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.ra(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.sa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5], -arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.ta(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Ta(arguments[1],arguments[2], -arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.Ob(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18], -arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",q.g(arguments.length-1)].join(""));}};k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};k.s=function(){var a=this.A.s?this.A.s():this.A.call(null);return a.s?a.s():a.call(null)};k.g=function(a){var b=this.A.s?this.A.s():this.A.call(null);return b.g?b.g(a):b.call(null,a)};k.h=function(a,b){var c=this.A.s?this.A.s():this.A.call(null);return c.h?c.h(a,b):c.call(null,a,b)}; -k.i=function(a,b,c){var d=this.A.s?this.A.s():this.A.call(null);return d.i?d.i(a,b,c):d.call(null,a,b,c)};k.B=function(a,b,c,d){var e=this.A.s?this.A.s():this.A.call(null);return e.B?e.B(a,b,c,d):e.call(null,a,b,c,d)};k.I=function(a,b,c,d,e){var f=this.A.s?this.A.s():this.A.call(null);return f.I?f.I(a,b,c,d,e):f.call(null,a,b,c,d,e)};k.Y=function(a,b,c,d,e,f){var l=this.A.s?this.A.s():this.A.call(null);return l.Y?l.Y(a,b,c,d,e,f):l.call(null,a,b,c,d,e,f)}; -k.ua=function(a,b,c,d,e,f,l){var g=this.A.s?this.A.s():this.A.call(null);return g.ua?g.ua(a,b,c,d,e,f,l):g.call(null,a,b,c,d,e,f,l)};k.ia=function(a,b,c,d,e,f,l,g){var p=this.A.s?this.A.s():this.A.call(null);return p.ia?p.ia(a,b,c,d,e,f,l,g):p.call(null,a,b,c,d,e,f,l,g)};k.va=function(a,b,c,d,e,f,l,g,p){var w=this.A.s?this.A.s():this.A.call(null);return w.va?w.va(a,b,c,d,e,f,l,g,p):w.call(null,a,b,c,d,e,f,l,g,p)}; -k.ka=function(a,b,c,d,e,f,l,g,p,w){var A=this.A.s?this.A.s():this.A.call(null);return A.ka?A.ka(a,b,c,d,e,f,l,g,p,w):A.call(null,a,b,c,d,e,f,l,g,p,w)};k.la=function(a,b,c,d,e,f,l,g,p,w,A){var D=this.A.s?this.A.s():this.A.call(null);return D.la?D.la(a,b,c,d,e,f,l,g,p,w,A):D.call(null,a,b,c,d,e,f,l,g,p,w,A)};k.ma=function(a,b,c,d,e,f,l,g,p,w,A,D){var G=this.A.s?this.A.s():this.A.call(null);return G.ma?G.ma(a,b,c,d,e,f,l,g,p,w,A,D):G.call(null,a,b,c,d,e,f,l,g,p,w,A,D)}; -k.na=function(a,b,c,d,e,f,l,g,p,w,A,D,G){var J=this.A.s?this.A.s():this.A.call(null);return J.na?J.na(a,b,c,d,e,f,l,g,p,w,A,D,G):J.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G)};k.oa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J){var R=this.A.s?this.A.s():this.A.call(null);return R.oa?R.oa(a,b,c,d,e,f,l,g,p,w,A,D,G,J):R.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J)}; -k.pa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R){var W=this.A.s?this.A.s():this.A.call(null);return W.pa?W.pa(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R):W.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R)};k.qa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W){var Z=this.A.s?this.A.s():this.A.call(null);return Z.qa?Z.qa(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W):Z.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W)}; -k.ra=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z){var va=this.A.s?this.A.s():this.A.call(null);return va.ra?va.ra(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z):va.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z)};k.sa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va){var Da=this.A.s?this.A.s():this.A.call(null);return Da.sa?Da.sa(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va):Da.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va)}; -k.ta=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da){var Qa=this.A.s?this.A.s():this.A.call(null);return Qa.ta?Qa.ta(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da):Qa.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da)};k.Ta=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa){var vb=this.A.s?this.A.s():this.A.call(null);return vb.Ta?vb.Ta(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa):vb.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa)}; -k.Ob=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb){var M=this.A.s?this.A.s():this.A.call(null);return Yb.kd?Yb.kd(M,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb):Yb.call(null,M,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb)};function ge(a){return null!=a?a.J&131072||Ua===a.Oe?!0:a.J?!1:Pb(Od,a):Pb(Od,a)} -function z(a){if(null==a)return null;if(null!=a&&(a.C&8388608||Ua===a.Od))return a.V(null);if(Gb(a)||"string"===typeof a)return 0===a.length?null:new Xb(a,0,null);if(null!=a&&null!=a[Ub])return a=Aa(a,Ub).call(a),he.g?he.g(a):he.call(null,a);if(Pb(ad,a))return bd(a);throw Error([q.g(a)," is not ISeqable"].join(""));}function r(a){if(null==a)return null;if(null!=a&&(a.C&64||Ua===a.rc))return a.wa(null);a=z(a);return null==a?null:pc(a)} -function ie(a){return null!=a?null!=a&&(a.C&64||Ua===a.rc)?a.Aa(null):(a=z(a))?a.Aa(null):je:je}function t(a){return null==a?null:null!=a&&(a.C&128||Ua===a.Hc)?a.xa(null):z(ie(a))}var fe=function fe(a){switch(arguments.length){case 1:return fe.g(arguments[0]);case 2:return fe.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e=d)return-1;!(0c&&(c+=d,c=0>c?0:c);for(;;)if(cc?d+c:c;for(;;)if(0<=c){if(fe.h(B.h?B.h(a,c):B.call(null,a,c),b))return c;--c}else return-1}function Le(a,b){this.v=a;this.G=b}Le.prototype.fa=function(){return this.Ga?0:a};k.Qb=function(){var a=this.aa(null);return 0b)throw Error("Index out of bounds");a:for(;;){if(null==a)throw Error("Index out of bounds"); -if(0===b){if(z(a)){a=r(a);break a}throw Error("Index out of bounds");}if(He(a)){a=u(a,b);break a}if(z(a))a=t(a),--b;else throw Error("Index out of bounds");}return a}if(Pb(mc,a))return u(a,b);throw Error(["nth not supported on this type ",q.g(Tb(Qb(a)))].join(""));}; -B.i=function(a,b,c){if("number"!==typeof b)throw Error("Index argument to nth must be a number.");if(null==a)return c;if(null!=a&&(a.C&16||Ua===a.Hd))return a.Ra(null,b,c);if(Gb(a))return-1b?c:bf(a,b,c);if(Pb(mc,a))return u(a,b,c);throw Error(["nth not supported on this type ",q.g(Tb(Qb(a)))].join(""));};B.o=3; -function cf(a,b){for(var c=a;;)if(a=0a:!1}function Nf(a){return Jf(a)?!(0>a):!1}function Of(a){return"number"===typeof a}function Pf(a){return"number"===typeof a}function H(a,b){return ce.i(a,b,Bf)===Bf?!1:!0}function Qf(a,b){return(null!=a?Ua===a.bc||(a.Jc?0:Pb(zc,a)):Pb(zc,a))?Ac(a,b):null!=a&&sf(a)&&H(a,b)?new Rf(b,ce.h(a,b)):null} -var Sf=function Sf(a){switch(arguments.length){case 1:return Sf.g(arguments[0]);case 2:return Sf.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(ed)a=1;else if(0===c)a=0;else a:for(d=0;;){var e=Uf(B.h(a,d),B.h(b,d));if(0===e&&d+1b};pg.j=function(a,b,c){for(;;)if(a>b)if(t(c))a=b,b=r(c),c=t(c);else return b>r(c);else return!1};pg.u=function(a){var b=r(a),c=t(a);a=r(c);c=t(c);return this.j(b,a,c)};pg.o=2;var qg=function qg(a){switch(arguments.length){case 1:return qg.g(arguments[0]);case 2:return qg.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e=b};qg.j=function(a,b,c){for(;;)if(a>=b)if(t(c))a=b,b=r(c),c=t(c);else return b>=r(c);else return!1};qg.u=function(a){var b=r(a),c=t(a);a=r(c);c=t(c);return this.j(b,a,c)};qg.o=2;function rg(a){return a-1} -var sg=function sg(a){switch(arguments.length){case 1:return sg.g(arguments[0]);case 2:return sg.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(eb?a:b};sg.j=function(a,b,c){return dc.i(sg,a>b?a:b,c)};sg.u=function(a){var b=r(a),c=t(a);a=r(c);c=t(c);return this.j(b,a,c)};sg.o=2; -var tg=function tg(a){switch(arguments.length){case 1:return tg.g(arguments[0]);case 2:return tg.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e>b}function vh(a,b){return a>>>b}function wh(a){a-=a>>1&1431655765;a=(a&858993459)+(a>>2&858993459);return 16843009*(a+(a>>4)&252645135)>>24} -var xh=function xh(a){switch(arguments.length){case 1:return xh.g(arguments[0]);case 2:return xh.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(ea}function Bh(a,b){for(a=z(a);;)if(a&&0d:e))c[d]=a.next(),d+=1;else return ci(new $h(c,0,d),Ui.g?Ui.g(a):Ui.call(null,a))}else return null},null,null)};function Vi(a,b){this.buffer=Si;this.eb=Pi;this.vd=!1;this.Db=null;this.Ad=a;this.ye=b} -Vi.prototype.step=function(){if(this.eb!==Pi)return!0;for(;;)if(this.eb===Pi)if(this.buffer.yc()){if(this.vd)return!1;if(this.Ad.fa()){if(this.ye)var a=Yb.h(this.Db,Oe(null,this.Ad.next()));else a=this.Ad.next(),a=this.Db.h?this.Db.h(null,a):this.Db.call(null,null,a);xe(a)&&(this.Db.g?this.Db.g(null):this.Db.call(null,null),this.vd=!0)}else this.Db.g?this.Db.g(null):this.Db.call(null,null),this.vd=!0}else this.eb=this.buffer.remove();else return!0};Vi.prototype.fa=function(){return this.step()}; -Vi.prototype.next=function(){if(this.fa()){var a=this.eb;this.eb=Pi;return a}throw Error("No such element");};Vi.prototype.remove=function(){return Error("Unsupported operation")};Vi.prototype[Ub]=function(){return le(this)}; -function Wi(a,b,c){var d=new Vi(b,c);d.Db=function(){var e=function(){function f(g,p){d.buffer=d.buffer.add(p);return g}var l=null;l=function(g,p){switch(arguments.length){case 0:return null;case 1:return g;case 2:return f.call(this,g,p)}throw Error("Invalid arity: "+arguments.length);};l.s=function(){return null};l.g=function(g){return g};l.h=f;return l}();return a.g?a.g(e):a.call(null,e)}();return d} -var Xi=function Xi(a){switch(arguments.length){case 1:return Xi.g(arguments[0]);case 2:return Xi.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(ea?0:a-1>>>5<<5}function gk(a,b,c){for(;;){if(0===b)return c;var d=dk(a);d.v[0]=c;c=d;b-=5}}var hk=function hk(a,b,c,d){var f=ek(c),l=a.F-1>>>b&31;5===b?f.v[l]=d:(c=c.v[l],null!=c?(b-=5,a=hk.B?hk.B(a,b,c,d):hk.call(null,a,b,c,d)):a=gk(null,b-5,d),f.v[l]=a);return f};function kk(a,b){throw Error(["No item ",q.g(a)," in vector of length ",q.g(b)].join(""));} -function lk(a,b){if(b>=fk(a))return a.gb;var c=a.root;for(a=a.shift;;)if(0>>a&31];a=d}else return c.v}function mk(a,b){return 0<=b&&b>>b&31;b-=5;c=c.v[g];a=nk.I?nk.I(a,b,c,d,e):nk.call(null,a,b,c,d,e);l.v[g]=a}return l},ok=function ok(a,b,c){var e=a.F-2>>>b&31;if(5=this.F)return new Xb(this.gb,0,null);a:{var a=this.root;for(var b=this.shift;;)if(0this.F-fk(this)){a=this.gb.length;for(var c=Array(a+1),d=0;;)if(d>>5>1<c)return new O(null,c,5,P,a,null);b=32;for(var d=(new O(null,32,5,P,a.slice(0,32),null)).pc(null);;)if(bb)return null;a=this.start+b;return ab||this.end<=this.start+b?kk(b,this.end-this.start):u(this.Sa,this.start+b)};k.Ra=function(a,b,c){return 0>b||this.end<=this.start+b?c:u(this.Sa,this.start+b,c)}; -k.tb=function(a,b,c){a=this.start+b;if(0>b||this.end+1<=a)throw Error(["Index ",q.g(b)," out of bounds [0,",q.g(this.aa(null)),"]"].join(""));b=this.D;c=E.i(this.Sa,a,c);var d=this.start,e=this.end;a+=1;a=e>a?e:a;return Gk.I?Gk.I(b,c,d,a,null):Gk.call(null,b,c,d,a,null)};k.cb=function(){return null!=this.Sa&&Ua===this.Sa.hd?qk(this.Sa,this.start,this.end):new Mi(this)};k.T=function(){return this.D};k.aa=function(){return this.end-this.start}; -k.Rb=function(){return this.start===this.end?null:u(this.Sa,this.end-1)};k.Sb=function(){if(this.start===this.end)throw Error("Can't pop empty vector");var a=this.D,b=this.Sa,c=this.start,d=this.end-1;return Gk.I?Gk.I(a,b,c,d,null):Gk.call(null,a,b,c,d,null)};k.Qb=function(){return this.start!==this.end?new Me(this,this.end-this.start-1,null):null};k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};k.W=function(a,b){return Ne(this,b)};k.ea=function(){return Sc($e,this.D)}; -k.ya=function(a,b){return null!=this.Sa&&Ua===this.Sa.hd?rk(this.Sa,b,this.start,this.end):Be(this,b)};k.za=function(a,b,c){return null!=this.Sa&&Ua===this.Sa.hd?sk(this.Sa,b,c,this.start,this.end):Ce(this,b,c)};k.bb=function(a,b,c){if("number"===typeof b)return this.tb(null,b,c);throw Error("Subvec's key for assoc must be a number.");};k.V=function(){var a=this;return function d(c){return c===a.end?null:Oe(u(a.Sa,c),new Xh(null,function(){return d(c+1)},null,null))}(a.start)}; -k.Z=function(a,b){return b===this.D?this:Gk.I?Gk.I(b,this.Sa,this.start,this.end,this.H):Gk.call(null,b,this.Sa,this.start,this.end,this.H)};k.da=function(a,b){a=this.D;b=Mc(this.Sa,this.end,b);var c=this.start,d=this.end+1;return Gk.I?Gk.I(a,b,c,d,null):Gk.call(null,a,b,c,d,null)};k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length-1)].join(""));}}; -k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};k.g=function(a){return this.S(null,a)};k.h=function(a,b){return this.Ra(null,a,b)};Fk.prototype[Ub]=function(){return le(this)};function Gk(a,b,c,d,e){for(;;)if(b instanceof Fk)c=b.start+c,d=b.start+d,b=b.Sa;else{if(!xf(b))throw Error("v must satisfy IVector");if(0>c||dJe(b))throw Error("Index out of bounds");return new Fk(a,b,c,d,e)}} -var Hk=function Hk(a){switch(arguments.length){case 2:return Hk.h(arguments[0],arguments[1]);case 3:return Hk.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}};Hk.h=function(a,b){return Hk.i(a,b,Je(a))};Hk.i=function(a,b,c){return Gk(null,a,b|0,c|0,null)};Hk.o=3;function Ik(a,b){return a===b.ja?b:new ck(a,Zb(b.v))}function uk(a){return new ck({},Zb(a.v))} -function vk(a){var b=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];Af(a,0,b,0,a.length);return b}var Jk=function Jk(a,b,c,d){c=Ik(a.root.ja,c);var f=a.F-1>>>b&31;if(5===b)a=d;else{var l=c.v[f];null!=l?(b-=5,a=Jk.B?Jk.B(a,b,l,d):Jk.call(null,a,b,l,d)):a=gk(a.root.ja,b-5,d)}c.v[f]=a;return c};function tk(a,b,c,d){this.F=a;this.shift=b;this.root=c;this.gb=d;this.J=88;this.C=275}k=tk.prototype; -k.tc=function(a,b){if(this.root.ja){if(32>this.F-fk(this))this.gb[this.F&31]=b;else{a=new ck(this.root.ja,this.gb);var c=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];c[0]=b;this.gb=c;this.F>>>5>1<>>f&31;f=g(f-5,l.v[p]);l.v[p]=f}return l}(a.shift,a.root);a.root=d}return a}if(b===a.F)return a.tc(null,c);throw Error(["Index ",q.g(b)," out of bounds for TransientVector of length",q.g(a.F)].join(""));}throw Error("assoc! after persistent!");}k.aa=function(){if(this.root.ja)return this.F;throw Error("count after persistent!");}; -k.S=function(a,b){if(this.root.ja)return mk(this,b)[b&31];throw Error("nth after persistent!");};k.Ra=function(a,b,c){return 0<=b&&b=a)return new m(this.D,this.F-1,c,null);fe.h(b,this.v[d])?d+=2:(c[e]=this.v[d],c[e+1]=this.v[d+1],e+=2,d+=2)}}else return this}; -k.bb=function(a,b,c){a=Vk(this.v,b);if(-1===a){if(this.Fb?4:2*(b+1));Af(this.v,0,c,0,2*b);return new ll(a,this.ga,c)};k.Pc=function(a,b,c,d,e){var f=1<<(c>>>b&31);if(0===(this.ga&f))return this;var l=wh(this.ga&f-1),g=this.v[2*l],p=this.v[2*l+1];return null==g?(b=p.Pc(a,b+5,c,d,e),b===p?this:null!=b?il(this,a,2*l+1,b):this.ga===f?null:ml(this,a,f,l)):fl(d,g)?(e.A=!0,ml(this,a,f,l)):this}; -function ml(a,b,c,d){if(a.ga===c)return null;a=a.Ub(b);b=a.v;var e=b.length;a.ga^=c;Af(b,2*(d+1),b,2*d,e-2*(d+1));b[e-2]=null;b[e-1]=null;return a}k.Nc=function(){return nl?nl(this.v):ol.call(null,this.v)};k.kc=function(a,b){return jl(this.v,a,b)};k.jc=function(a,b,c,d){var e=1<<(b>>>a&31);if(0===(this.ga&e))return d;var f=wh(this.ga&e-1);e=this.v[2*f];f=this.v[2*f+1];return null==e?f.jc(a+5,b,c,d):fl(c,e)?f:d}; -k.vb=function(a,b,c,d,e,f){var l=1<<(c>>>b&31),g=wh(this.ga&l-1);if(0===(this.ga&l)){var p=wh(this.ga);if(2*p>>b&31]=pl.vb(a,b+5,c,d,e,f);for(e=d=0;;)if(32>d)0===(this.ga>>> -d&1)?d+=1:(g[d]=null!=this.v[e]?pl.vb(a,b+5,Zd(this.v[e]),this.v[e],this.v[e+1],f):this.v[e+1],e+=2,d+=1);else break;return new ql(a,p+1,g)}b=Array(2*(p+4));Af(this.v,0,b,0,2*g);b[2*g]=d;b[2*g+1]=e;Af(this.v,2*g,b,2*(g+1),2*(p-g));f.A=!0;a=this.Ub(a);a.v=b;a.ga|=l;return a}p=this.v[2*g];l=this.v[2*g+1];if(null==p)return p=l.vb(a,b+5,c,d,e,f),p===l?this:il(this,a,2*g+1,p);if(fl(d,p))return e===l?this:il(this,a,2*g+1,e);f.A=!0;f=b+5;d=rl?rl(a,f,p,l,c,d,e):sl.call(null,a,f,p,l,c,d,e);e=2*g;g=2*g+1;a= -this.Ub(a);a.v[e]=null;a.v[g]=d;return a}; -k.ub=function(a,b,c,d,e){var f=1<<(b>>>a&31),l=wh(this.ga&f-1);if(0===(this.ga&f)){var g=wh(this.ga);if(16<=g){l=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];l[b>>>a&31]=pl.ub(a+5,b,c,d,e);for(d=c=0;;)if(32>c)0===(this.ga>>>c&1)?c+=1:(l[c]=null!=this.v[d]?pl.ub(a+5,Zd(this.v[d]),this.v[d],this.v[d+1],e):this.v[d+1],d+=2,c+=1);else break;return new ql(null,g+1,l)}a=Array(2*(g+1));Af(this.v, -0,a,0,2*l);a[2*l]=c;a[2*l+1]=d;Af(this.v,2*l,a,2*(l+1),2*(g-l));e.A=!0;return new ll(null,this.ga|f,a)}var p=this.v[2*l];f=this.v[2*l+1];if(null==p)return g=f.ub(a+5,b,c,d,e),g===f?this:new ll(null,this.ga,gl(this.v,2*l+1,g));if(fl(c,p))return d===f?this:new ll(null,this.ga,gl(this.v,2*l+1,d));e.A=!0;e=this.ga;g=this.v;a+=5;a=tl?tl(a,p,f,b,c,d):sl.call(null,a,p,f,b,c,d);c=2*l;l=2*l+1;d=Zb(g);d[c]=null;d[l]=a;return new ll(null,e,d)}; -k.Mc=function(a,b,c,d){var e=1<<(b>>>a&31);if(0===(this.ga&e))return d;var f=wh(this.ga&e-1);e=this.v[2*f];f=this.v[2*f+1];return null==e?f.Mc(a+5,b,c,d):fl(c,e)?new Rf(e,f):d};k.Oc=function(a,b,c){var d=1<<(b>>>a&31);if(0===(this.ga&d))return this;var e=wh(this.ga&d-1),f=this.v[2*e],l=this.v[2*e+1];return null==f?(a=l.Oc(a+5,b,c),a===l?this:null!=a?new ll(null,this.ga,gl(this.v,2*e+1,a)):this.ga===d?null:new ll(null,this.ga^d,hl(this.v,e))):fl(c,f)?new ll(null,this.ga^d,hl(this.v,e)):this}; -k.cb=function(){return new kl(this.v)};var pl=new ll(null,0,[]);function ul(a,b,c){var d=a.v,e=d.length;a=Array(2*(a.F-1));for(var f=0,l=1,g=0;;)if(f>>b&31,l=this.v[f];if(null==l)return this;b=l.Pc(a,b+5,c,d,e);if(b===l)return this;if(null==b){if(8>=this.F)return ul(this,a,f);a=il(this,a,f,b);--a.F;return a}return il(this,a,f,b)};k.Nc=function(){return wl?wl(this.v):xl.call(null,this.v)};k.kc=function(a,b){for(var c=this.v.length,d=0;;)if(d>>a&31];return null!=e?e.jc(a+5,b,c,d):d}; -k.vb=function(a,b,c,d,e,f){var l=c>>>b&31,g=this.v[l];if(null==g)return a=il(this,a,l,pl.vb(a,b+5,c,d,e,f)),a.F+=1,a;b=g.vb(a,b+5,c,d,e,f);return b===g?this:il(this,a,l,b)};k.ub=function(a,b,c,d,e){var f=b>>>a&31,l=this.v[f];if(null==l)return new ql(null,this.F+1,gl(this.v,f,pl.ub(a+5,b,c,d,e)));a=l.ub(a+5,b,c,d,e);return a===l?this:new ql(null,this.F,gl(this.v,f,a))};k.Mc=function(a,b,c,d){var e=this.v[b>>>a&31];return null!=e?e.Mc(a+5,b,c,d):d}; -k.Oc=function(a,b,c){var d=b>>>a&31,e=this.v[d];return null!=e?(a=e.Oc(a+5,b,c),a===e?this:null==a?8>=this.F?ul(this,null,d):new ql(null,this.F-1,gl(this.v,d,a)):new ql(null,this.F,gl(this.v,d,a))):this};k.cb=function(){return new vl(this.v)};function yl(a,b,c){b*=2;for(var d=0;;)if(da?d:fl(c,this.v[a])?this.v[a+1]:d}; -k.vb=function(a,b,c,d,e,f){if(c===this.Tb){b=yl(this.v,this.F,d);if(-1===b){if(this.v.length>2*this.F)return b=2*this.F,c=2*this.F+1,a=this.Ub(a),a.v[b]=d,a.v[c]=e,f.A=!0,a.F+=1,a;c=this.v.length;b=Array(c+2);Af(this.v,0,b,0,c);b[c]=d;b[c+1]=e;f.A=!0;d=this.F+1;a===this.ja?(this.v=b,this.F=d,a=this):a=new zl(this.ja,this.Tb,d,b);return a}return this.v[b+1]===e?this:il(this,a,b+1,e)}return(new ll(a,1<<(this.Tb>>>b&31),[null,this,null,null])).vb(a,b,c,d,e,f)}; -k.ub=function(a,b,c,d,e){return b===this.Tb?(a=yl(this.v,this.F,c),-1===a?(a=2*this.F,b=Array(a+2),Af(this.v,0,b,0,a),b[a]=c,b[a+1]=d,e.A=!0,new zl(null,this.Tb,this.F+1,b)):fe.h(this.v[a+1],d)?this:new zl(null,this.Tb,this.F,gl(this.v,a+1,d))):(new ll(null,1<<(this.Tb>>>a&31),[null,this])).ub(a,b,c,d,e)};k.Mc=function(a,b,c,d){a=yl(this.v,this.F,c);return 0>a?d:fl(c,this.v[a])?new Rf(this.v[a],this.v[a+1]):d}; -k.Oc=function(a,b,c){a=yl(this.v,this.F,c);return-1===a?this:1===this.F?null:new zl(null,this.Tb,this.F-1,hl(this.v,fh(a,2)))};k.cb=function(){return new kl(this.v)};function sl(a){switch(arguments.length){case 6:return tl(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 7:return rl(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}} -function tl(a,b,c,d,e,f){var l=Zd(b);if(l===d)return new zl(null,l,2,[b,c,e,f]);var g=new el;return pl.ub(a,l,b,c,g).ub(a,d,e,f,g)}function rl(a,b,c,d,e,f,l){var g=Zd(c);if(g===e)return new zl(null,g,2,[c,d,f,l]);var p=new el;return pl.vb(a,b,g,c,d,p).vb(a,b,e,f,l,p)}function Al(a,b,c,d,e){this.D=a;this.Ab=b;this.G=c;this.R=d;this.H=e;this.C=32374988;this.J=0}k=Al.prototype;k.toString=function(){return Rd(this)}; -k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -k.lastIndexOf=function(){function a(c){return Ke(this,c,Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}();k.T=function(){return this.D};k.xa=function(){if(null==this.R){var a=this.Ab,b=this.G+2;return Bl?Bl(a,b,null):ol.call(null,a,b,null)}a=this.Ab;b=this.G;var c=t(this.R);return Bl?Bl(a,b,c):ol.call(null,a,b,c)}; -k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};k.W=function(a,b){return Ne(this,b)};k.ea=function(){return je};k.ya=function(a,b){return Qe(b,this)};k.za=function(a,b,c){return Se(b,c,this)};k.wa=function(){return null==this.R?new Rf(this.Ab[this.G],this.Ab[this.G+1]):r(this.R)}; -k.Aa=function(){var a=this,b=null==a.R?function(){var c=a.Ab,d=a.G+2;return Bl?Bl(c,d,null):ol.call(null,c,d,null)}():function(){var c=a.Ab,d=a.G,e=t(a.R);return Bl?Bl(c,d,e):ol.call(null,c,d,e)}();return null!=b?b:je};k.V=function(){return this};k.Z=function(a,b){return b===this.D?this:new Al(b,this.Ab,this.G,this.R,this.H)};k.da=function(a,b){return Oe(b,this)};Al.prototype[Ub]=function(){return le(this)}; -function ol(a){switch(arguments.length){case 1:return nl(arguments[0]);case 3:return Bl(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}}function nl(a){return Bl(a,0,null)}function Bl(a,b,c){if(null==c)for(c=a.length;;)if(bthis.F?Je(t(this))+1:this.F};k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};k.W=function(a,b){return Ne(this,b)};k.ea=function(){return je};k.ya=function(a,b){return Qe(b,this)};k.za=function(a,b,c){return Se(b,c,this)};k.wa=function(){return mf(this.stack)};k.Aa=function(){var a=r(this.stack);a=Jl(this.dc?a.right:a.left,t(this.stack),this.dc);return null!=a?new Kl(null,a,this.dc,this.F-1,null):je};k.V=function(){return this}; -k.Z=function(a,b){return b===this.D?this:new Kl(b,this.stack,this.dc,this.F,this.H)};k.da=function(a,b){return Oe(b,this)};Kl.prototype[Ub]=function(){return le(this)};function Ll(a,b,c){return new Kl(null,Jl(a,null,b),b,c,null)}function Ml(a,b,c,d){return c instanceof Nl?c.left instanceof Nl?new Nl(c.key,c.A,c.left.Lb(),new Ol(a,b,c.right,d)):c.right instanceof Nl?new Nl(c.right.key,c.right.A,new Ol(c.key,c.A,c.left,c.right.left),new Ol(a,b,c.right.right,d)):new Ol(a,b,c,d):new Ol(a,b,c,d)} -function Pl(a,b,c,d){return d instanceof Nl?d.right instanceof Nl?new Nl(d.key,d.A,new Ol(a,b,c,d.left),d.right.Lb()):d.left instanceof Nl?new Nl(d.left.key,d.left.A,new Ol(a,b,c,d.left.left),new Ol(d.key,d.A,d.left.right,d.right)):new Ol(a,b,c,d):new Ol(a,b,c,d)} -function Ql(a,b,c,d){if(c instanceof Nl)return new Nl(a,b,c.Lb(),d);if(d instanceof Ol)return Pl(a,b,c,d.Tc());if(d instanceof Nl&&d.left instanceof Ol)return new Nl(d.left.key,d.left.A,new Ol(a,b,c,d.left.left),Pl(d.key,d.A,d.left.right,d.right.Tc()));throw Error("red-black tree invariant violation");} -function Rl(a,b,c,d){if(d instanceof Nl)return new Nl(a,b,c,d.Lb());if(c instanceof Ol)return Ml(a,b,c.Tc(),d);if(c instanceof Nl&&c.right instanceof Ol)return new Nl(c.right.key,c.right.A,Ml(c.key,c.A,c.left.Tc(),c.right.left),new Ol(a,b,c.right.right,d));throw Error("red-black tree invariant violation");} -var Sl=function Sl(a,b,c){var e=null!=a.left?function(){var g=a.left;return Sl.i?Sl.i(g,b,c):Sl.call(null,g,b,c)}():c;if(xe(e))return e;var f=function(){var g=a.key,p=a.A;return b.i?b.i(e,g,p):b.call(null,e,g,p)}();if(xe(f))return f;if(null!=a.right){var l=a.right;return Sl.i?Sl.i(l,b,f):Sl.call(null,l,b,f)}return f};function Ol(a,b,c,d){this.key=a;this.A=b;this.left=c;this.right=d;this.H=null;this.C=166619935;this.J=0}k=Ol.prototype;k.bc=Ua; -k.Nb=function(a,b){switch(b){case 0:return new Rf(0,this.key);case 1:return new Rf(1,this.A);default:return null}};k.lastIndexOf=function(){function a(c){return Ke(this,c,Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}();k.Cd=function(a){return a.Ed(this)};k.Tc=function(){return new Nl(this.key,this.A,this.left,this.right)};k.Lb=function(){return this};k.Bd=function(a){return a.Dd(this)};k.replace=function(a,b,c,d){return new Ol(a,b,c,d)}; -k.Dd=function(a){return new Ol(a.key,a.A,this,a.right)};k.Ed=function(a){return new Ol(a.key,a.A,a.left,this)};k.kc=function(a,b){return Sl(this,a,b)};k.Ba=function(a,b){return this.Ra(null,b,null)};k.P=function(a,b,c){return this.Ra(null,b,c)};k.S=function(a,b){if(0===b)return this.key;if(1===b)return this.A;throw Error("Index out of bounds");};k.Ra=function(a,b,c){return 0===b?this.key:1===b?this.A:c};k.tb=function(a,b,c){return(new O(null,2,5,P,[this.key,this.A],null)).tb(null,b,c)};k.T=function(){return null}; -k.aa=function(){return 2};k.ld=function(){return this.key};k.md=function(){return this.A};k.Rb=function(){return this.A};k.Sb=function(){return new O(null,1,5,P,[this.key],null)};k.Qb=function(){return new Xb([this.A,this.key],0,null)};k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};k.W=function(a,b){return Ne(this,b)};k.ea=function(){return null};k.ya=function(a,b){return Be(this,b)};k.za=function(a,b,c){return Ce(this,b,c)}; -k.bb=function(a,b,c){return E.i(new O(null,2,5,P,[this.key,this.A],null),b,c)};k.V=function(){return new Xb([this.key,this.A],0,null)};k.Z=function(a,b){return Sc(new O(null,2,5,P,[this.key,this.A],null),b)};k.da=function(a,b){return new O(null,3,5,P,[this.key,this.A,b],null)};k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length-1)].join(""));}}; -k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};k.g=function(a){return this.S(null,a)};k.h=function(a,b){return this.Ra(null,a,b)};Ol.prototype[Ub]=function(){return le(this)};function Nl(a,b,c,d){this.key=a;this.A=b;this.left=c;this.right=d;this.H=null;this.C=166619935;this.J=0}k=Nl.prototype;k.bc=Ua;k.Nb=function(a,b){switch(b){case 0:return new Rf(0,this.key);case 1:return new Rf(1,this.A);default:return null}}; -k.lastIndexOf=function(){function a(c){return Ke(this,c,Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}();k.Cd=function(a){return new Nl(this.key,this.A,this.left,a)};k.Tc=function(){throw Error("red-black tree invariant violation");};k.Lb=function(){return new Ol(this.key,this.A,this.left,this.right)}; -k.Bd=function(a){return new Nl(this.key,this.A,a,this.right)};k.replace=function(a,b,c,d){return new Nl(a,b,c,d)};k.Dd=function(a){return this.left instanceof Nl?new Nl(this.key,this.A,this.left.Lb(),new Ol(a.key,a.A,this.right,a.right)):this.right instanceof Nl?new Nl(this.right.key,this.right.A,new Ol(this.key,this.A,this.left,this.right.left),new Ol(a.key,a.A,this.right.right,a.right)):new Ol(a.key,a.A,this,a.right)}; -k.Ed=function(a){return this.right instanceof Nl?new Nl(this.key,this.A,new Ol(a.key,a.A,a.left,this.left),this.right.Lb()):this.left instanceof Nl?new Nl(this.left.key,this.left.A,new Ol(a.key,a.A,a.left,this.left.left),new Ol(this.key,this.A,this.left.right,this.right)):new Ol(a.key,a.A,a.left,this)};k.kc=function(a,b){return Sl(this,a,b)};k.Ba=function(a,b){return this.Ra(null,b,null)};k.P=function(a,b,c){return this.Ra(null,b,c)}; -k.S=function(a,b){if(0===b)return this.key;if(1===b)return this.A;throw Error("Index out of bounds");};k.Ra=function(a,b,c){return 0===b?this.key:1===b?this.A:c};k.tb=function(a,b,c){return(new O(null,2,5,P,[this.key,this.A],null)).tb(null,b,c)};k.T=function(){return null};k.aa=function(){return 2};k.ld=function(){return this.key};k.md=function(){return this.A};k.Rb=function(){return this.A};k.Sb=function(){return new O(null,1,5,P,[this.key],null)}; -k.Qb=function(){return new Xb([this.A,this.key],0,null)};k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};k.W=function(a,b){return Ne(this,b)};k.ea=function(){return null};k.ya=function(a,b){return Be(this,b)};k.za=function(a,b,c){return Ce(this,b,c)};k.bb=function(a,b,c){return E.i(new O(null,2,5,P,[this.key,this.A],null),b,c)};k.V=function(){return new Xb([this.key,this.A],0,null)};k.Z=function(a,b){return Sc(new O(null,2,5,P,[this.key,this.A],null),b)}; -k.da=function(a,b){return new O(null,3,5,P,[this.key,this.A,b],null)};k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length-1)].join(""));}};k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};k.g=function(a){return this.S(null,a)};k.h=function(a,b){return this.Ra(null,a,b)};Nl.prototype[Ub]=function(){return le(this)}; -var Tl=function Tl(a,b,c,d,e){if(null==b)return new Nl(c,d,null,null);var l=function(){var g=b.key;return a.h?a.h(c,g):a.call(null,c,g)}();if(0===l)return e[0]=b,null;if(0>l)return l=function(){var g=b.left;return Tl.I?Tl.I(a,g,c,d,e):Tl.call(null,a,g,c,d,e)}(),null!=l?b.Bd(l):null;l=function(){var g=b.right;return Tl.I?Tl.I(a,g,c,d,e):Tl.call(null,a,g,c,d,e)}();return null!=l?b.Cd(l):null},Ul=function Ul(a,b){if(null==a)return b;if(null==b)return a;if(a instanceof Nl){if(b instanceof Nl){var d=function(){var e= -a.right,f=b.left;return Ul.h?Ul.h(e,f):Ul.call(null,e,f)}();return d instanceof Nl?new Nl(d.key,d.A,new Nl(a.key,a.A,a.left,d.left),new Nl(b.key,b.A,d.right,b.right)):new Nl(a.key,a.A,a.left,new Nl(b.key,b.A,d,b.right))}return new Nl(a.key,a.A,a.left,function(){var e=a.right;return Ul.h?Ul.h(e,b):Ul.call(null,e,b)}())}if(b instanceof Nl)return new Nl(b.key,b.A,function(){var e=b.left;return Ul.h?Ul.h(a,e):Ul.call(null,a,e)}(),b.right);d=function(){var e=a.right,f=b.left;return Ul.h?Ul.h(e,f):Ul.call(null, -e,f)}();return d instanceof Nl?new Nl(d.key,d.A,new Ol(a.key,a.A,a.left,d.left),new Ol(b.key,b.A,d.right,b.right)):Ql(a.key,a.A,a.left,new Ol(b.key,b.A,d,b.right))},Vl=function Vl(a,b,c,d){if(null!=b){var f=function(){var l=b.key;return a.h?a.h(c,l):a.call(null,c,l)}();if(0===f)return d[0]=b,Ul(b.left,b.right);if(0>f)return f=function(){var l=b.left;return Vl.B?Vl.B(a,l,c,d):Vl.call(null,a,l,c,d)}(),null!=f||null!=d[0]?b.left instanceof Ol?Ql(b.key,b.A,f,b.right):new Nl(b.key,b.A,f,b.right):null; -f=function(){var l=b.right;return Vl.B?Vl.B(a,l,c,d):Vl.call(null,a,l,c,d)}();return null!=f||null!=d[0]?b.right instanceof Ol?Rl(b.key,b.A,b.left,f):new Nl(b.key,b.A,b.left,f):null}return null},Wl=function Wl(a,b,c,d){var f=b.key,l=a.h?a.h(c,f):a.call(null,c,f);return 0===l?b.replace(f,d,b.left,b.right):0>l?b.replace(f,b.A,function(){var g=b.left;return Wl.B?Wl.B(a,g,c,d):Wl.call(null,a,g,c,d)}(),b.right):b.replace(f,b.A,b.left,function(){var g=b.right;return Wl.B?Wl.B(a,g,c,d):Wl.call(null,a,g, -c,d)}())};function Xl(a,b,c,d,e){this.kb=a;this.Cb=b;this.F=c;this.D=d;this.H=e;this.C=418776847;this.J=8192}k=Xl.prototype;k.bc=Ua;k.Nb=function(a,b){return Yl(this,b)};k.forEach=function(a){for(var b=z(this),c=null,d=0,e=0;;)if(ed?c.left:c.right}else return null}k.has=function(a){return H(this,a)};k.Ba=function(a,b){return this.P(null,b,null)}; -k.P=function(a,b,c){a=Yl(this,b);return null!=a?a.A:c};k.Pb=function(a,b,c){return null!=this.Cb?ze(Sl(this.Cb,b,c)):c};k.T=function(){return this.D};k.aa=function(){return this.F};k.Qb=function(){return 0e?(a=Ze.h(a,d),d=d.left):d=d.right:0(a.g?a.g(c):a.call(null,c))?b:c};ym.j=function(a,b,c,d){return dc.i(function(e,f){return ym.i(a,e,f)},ym.i(a,b,c),d)};ym.u=function(a){var b=r(a),c=t(a);a=r(c);var d=t(c);c=r(d);d=t(d);return this.j(b,a,c,d)};ym.o=3; -var zm=function zm(a){switch(arguments.length){case 2:return zm.h(arguments[0],arguments[1]);case 3:return zm.i(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,e=0;;)if(e=this.count)throw Error("-drop-first of empty chunk");return new Gm(this.start+this.step,this.step,this.count-1)};function Hm(a,b,c){this.G=a;this.end=b;this.step=c}Hm.prototype.fa=function(){return 0this.end};Hm.prototype.next=function(){var a=this.G;this.G+=this.step;return a}; -function Im(a,b,c,d,e,f,l){this.D=a;this.start=b;this.end=c;this.step=d;this.Xa=e;this.Mb=f;this.H=l;this.C=32375006;this.J=140800}k=Im.prototype;k.toString=function(){return Rd(this)};k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -k.lastIndexOf=function(){function a(c){return Ke(this,c,Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}();k.Lc=function(){if(null==this.Xa){var a=this.aa(null);32this.end&&0===this.step)return this.start;throw Error("Index out of bounds");};k.Ra=function(a,b,c){return 0<=b&&bthis.end&&0===this.step?this.start:c};k.cb=function(){return new Hm(this.start,this.end,this.step)};k.T=function(){return this.D}; -k.xa=function(){return 0this.end?new Im(null,this.start+this.step,this.end,this.step,null,null,null):null};k.aa=function(){return Math.ceil((this.end-this.start)/this.step)};k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};k.W=function(a,b){return Ne(this,b)};k.ea=function(){return je};k.ya=function(a,b){return Be(this,b)}; -k.za=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.h?b.h(c,a):b.call(null,c,a);if(xe(c))return Oc(c);a+=this.step}else return c};k.wa=function(){return this.start};k.Aa=function(){var a=this.xa(null);return null==a?je:a};k.V=function(){return this};k.Ec=function(){this.Lc();return this.Xa};k.$b=function(){this.Lc();return null==this.Mb?je:this.Mb};k.Z=function(a,b){return b===this.D?this:new Im(b,this.start,this.end,this.step,this.Xa,this.Mb,this.H)}; -k.da=function(a,b){return Oe(b,this)};k.Dc=function(){return z(this.$b(null))};Im.prototype[Ub]=function(){return le(this)};function Jm(a,b,c,d,e,f,l){this.D=a;this.start=b;this.end=c;this.step=d;this.Xa=e;this.Mb=f;this.H=l;this.J=140800;this.C=32374988}k=Jm.prototype;k.toString=function(){return Rd(this)}; -k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -k.lastIndexOf=function(){function a(c){return Ke(this,c,Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -k.Lc=function(){if(null==this.Xa){var a=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];a:{var b=0;for(var c=this.start;;)if(32>b){if(a[b]=c,b+=1,c+=this.step,!(0this.end)){b=this.Xa=new $h(a,0,b);break a}}else{b=c;break a}}null==this.Xa&&(this.Xa=new $h(a,0,32),(0this.end)&&(this.Mb=new Jm(null,b,this.end,this.step,null,null,null)))}}; -k.cb=function(){return new Hm(this.start,this.end,this.step)};k.T=function(){return this.D};k.xa=function(){return 0this.end?new Jm(null,this.start+this.step,this.end,this.step,null,null,null):null};k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};k.W=function(a,b){return Ne(this,b)};k.ea=function(){return je};k.ya=function(a,b){return Qe(b,this)}; -k.za=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.h?b.h(c,a):b.call(null,c,a);if(xe(c))return Oc(c);a+=this.step}else return c};k.wa=function(){return this.start};k.Aa=function(){var a=this.xa(null);return null==a?je:a};k.V=function(){return this};k.Ec=function(){this.Lc();return this.Xa};k.$b=function(){this.Lc();return null==this.Mb?je:this.Mb};k.Z=function(a,b){return b===this.D?this:new Jm(b,this.start,this.end,this.step,this.Xa,this.Mb,this.H)}; -k.da=function(a,b){return Oe(b,this)};k.Dc=function(){return z(this.$b(null))};Jm.prototype[Ub]=function(){return le(this)};var Km=function Km(a){switch(arguments.length){case 0:return Km.s();case 1:return Km.g(arguments[0]);case 2:return Km.h(arguments[0],arguments[1]);case 3:return Km.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}};Km.s=function(){return Km.i(0,Number.MAX_VALUE,1)};Km.g=function(a){return Km.i(0,a,1)}; -Km.h=function(a,b){return Km.i(a,b,1)};Km.i=function(a,b,c){return 0c?b>=a?je:Jf(a)&&Jf(b)&&Jf(c)?new Im(null,a,b,c,null,null,null):new Jm(null,a,b,c,null,null,null):b===a?je:Hj.g(a)};Km.o=3;var Lm=function Lm(a){switch(arguments.length){case 1:return Lm.g(arguments[0]);case 2:return Lm.h(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}}; -Lm.g=function(a){return function(b){var c=kj(-1);return function(){function d(g,p){var w=c.Fb(null,c.jb(null)+1);return 0===gh(w,a)?b.h?b.h(g,p):b.call(null,g,p):g}function e(g){return b.g?b.g(g):b.call(null,g)}function f(){return b.s?b.s():b.call(null)}var l=null;l=function(g,p){switch(arguments.length){case 0:return f.call(this);case 1:return e.call(this,g);case 2:return d.call(this,g,p)}throw Error("Invalid arity: "+arguments.length);};l.s=f;l.g=e;l.h=d;return l}()}}; -Lm.h=function(a,b){return new Xh(null,function(){var c=z(b);return c?Oe(r(c),Lm.h(a,yj.h(a,c))):null},null,null)};Lm.o=2;function Mm(a,b){return new O(null,2,5,P,[Cm.h(a,b),Bj.h(a,b)],null)}var Nm=function Nm(a){switch(arguments.length){case 1:return Nm.g(arguments[0]);case 2:return Nm.h(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}}; -Nm.g=function(a){return function(b){var c=new Am,d=kj(Om);return function(){function e(p,w){var A=Oc(d),D=a.g?a.g(w):a.call(null,w);Nd(d,D);if(Lh(A,Om)||fe.h(D,A))return c.add(w),p;A=ag(c.v);c.clear();p=b.h?b.h(p,A):b.call(null,p,A);xe(p)||c.add(w);return p}function f(p){if(!n(c.yc())){var w=ag(c.v);c.clear();p=ze(b.h?b.h(p,w):b.call(null,p,w))}return b.g?b.g(p):b.call(null,p)}function l(){return b.s?b.s():b.call(null)}var g=null;g=function(p,w){switch(arguments.length){case 0:return l.call(this); -case 1:return f.call(this,p);case 2:return e.call(this,p,w)}throw Error("Invalid arity: "+arguments.length);};g.s=l;g.g=f;g.h=e;return g}()}};Nm.h=function(a,b){return new Xh(null,function(){var c=z(b);if(c){var d=r(c),e=a.g?a.g(d):a.call(null,d),f=Oe(d,Cm.h(function(l){return fe.h(e,a.g?a.g(l):a.call(null,l))},t(c)));return Oe(f,Nm.h(a,new Xh(null,function(){return yj.h(Je(f),c)},null,null)))}return null},null,null)};Nm.o=2; -function Pm(a){return xd(dc.i(function(b,c){return si.i(b,c,ce.i(b,c,0)+1)},vd(Hi),a))}var Qm=function Qm(a){switch(arguments.length){case 2:return Qm.h(arguments[0],arguments[1]);case 3:return Qm.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}};Qm.h=function(a,b){return new Xh(null,function(){var c=z(b);return c?Qm.i(a,r(c),ie(c)):new C(null,a.s?a.s():a.call(null),null,1,null)},null,null)}; -Qm.i=function(a,b,c){return xe(b)?new C(null,Oc(b),null,1,null):Oe(b,new Xh(null,function(){var d=z(c);if(d){var e=Qm.i;var f=r(d);f=a.h?a.h(b,f):a.call(null,b,f);d=e.call(Qm,a,f,ie(d))}else d=null;return d},null,null))};Qm.o=3; -var Rm=function Rm(a){switch(arguments.length){case 1:return Rm.g(arguments[0]);case 2:return Rm.h(arguments[0],arguments[1]);case 3:return Rm.i(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,e=0;;)if(el?1:l);return l<=b.length?(l=Ch.h(b,l),Wm.h?Wm.h(a,l):Wm.call(null,a,l)):null},null,null))}; -function Xm(a,b){if("string"===typeof b)return Wm(a,b);throw new TypeError("re-seq must match against a string.");}function Ym(a){if(a instanceof RegExp)return a;var b=Vm(/^\(\?([idmsux]*)\)/,a),c=B.i(b,0,null);b=B.i(b,1,null);a=Ch.h(a,null==c?0:c.length);return new RegExp(a,n(b)?b:"")} -function Zm(a,b,c,d,e,f,l){var g=mb;mb=null==mb?null:mb-1;try{if(null!=mb&&0>mb)return od(a,"#");od(a,c);if(0===yb.g(f))z(l)&&od(a,function(){var J=$m.g(f);return n(J)?J:"..."}());else{if(z(l)){var p=r(l);b.i?b.i(p,a,f):b.call(null,p,a,f)}for(var w=t(l),A=yb.g(f)-1;;)if(!w||null!=A&&0===A){z(w)&&0===A&&(od(a,d),od(a,function(){var J=$m.g(f);return n(J)?J:"..."}()));break}else{od(a,d);var D=r(w);c=a;l=f;b.i?b.i(D,c,l):b.call(null,D,c,l);var G=t(w);c=A-1;w=G;A=c}}return od(a,e)}finally{mb=g}} -function an(a,b){b=z(b);for(var c=null,d=0,e=0;;)if(e=b||b>=2+Je(a))return Ze.h(ag(Oe("",Yi.h(q,z(a)))),"");if(n(xh.h?xh.h(1,b):xh.call(null,1,b)))return new O(null,1,5,P,[a],null);if(n(xh.h?xh.h(2,b):xh.call(null,2,b)))return new O(null,2,5,P,["",a],null);b-=2;return Ze.h(ag(Oe("",Hk.i(ag(Yi.h(q,z(a))),0,b))),Ch.h(a,b))} -var jT=function jT(a){switch(arguments.length){case 2:return jT.h(arguments[0],arguments[1]);case 3:return jT.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}};jT.h=function(a,b){return jT.i(a,b,0)}; -jT.i=function(a,b,c){if("/(?:)/"===q.g(b))b=iT(a,c);else if(1>c)b=ag(q.g(a).split(b));else a:for(var d=c,e=$e;;){if(1===d){b=Ze.h(e,a);break a}var f=Vm(b,a);if(null!=f){var l=a.indexOf(f);f=a.substring(l+Je(f));--d;e=Ze.h(e,a.substring(0,l));a=f}else{b=Ze.h(e,a);break a}}if(0===c&&1a?null:a};rT.i=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};rT.o=3; -var sT=function sT(a){switch(arguments.length){case 2:return sT.h(arguments[0],arguments[1]);case 3:return sT.i(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}};sT.h=function(a,b){a=a.lastIndexOf(b);return 0>a?null:a};sT.i=function(a,b,c){a=a.lastIndexOf(b,c);return 0>a?null:a};sT.o=3;function tT(a,b){return 0==a.lastIndexOf(b,0)}function uT(a,b){return Ca(a,b)}function vT(a,b){return-1!=a.indexOf(b)};function wT(a,b,c,d,e){this.Jb=a;this.form=b;this.$=c;this.N=d;this.H=e;this.C=2230716170;this.J=139264}k=wT.prototype;k.Ba=function(a,b){return this.P(null,b,null)};k.P=function(a,b,c){switch(b instanceof ee?b.fb:null){case "splicing?":return this.Jb;case "form":return this.form;default:return ce.i(this.N,b,c)}};k.Pb=function(a,b,c){return dc.i(function(d,e){var f=B.i(e,0,null);e=B.i(e,1,null);return b.i?b.i(d,f,e):b.call(null,d,f,e)},c,this)}; -k.O=function(a,b,c){return Zm(b,function(d){return Zm(b,gn,""," ","",c,d)},"#cljs.tools.reader.impl.utils.ReaderConditional{",", ","}",c,K.h(new O(null,2,5,P,[new O(null,2,5,P,[kS,this.Jb],null),new O(null,2,5,P,[Hy,this.form],null)],null),this.N))};k.cb=function(){return new Sk(this,2,new O(null,2,5,P,[kS,Hy],null),n(this.N)?Pd(this.N):Fi())};k.T=function(){return this.$};k.aa=function(){return 2+Je(this.N)};k.X=function(){var a=this.H;return null!=a?a:this.H=a=-209062840^pe(this)}; -k.W=function(a,b){return null!=b&&this.constructor===b.constructor&&fe.h(this.Jb,b.Jb)&&fe.h(this.form,b.form)&&fe.h(this.N,b.N)};k.hc=function(a,b){return H(new lm(null,new m(null,2,[kS,null,Hy,null],null),null),b)?hf.h(Sc(Uj.h(Hi,this),this.$),b):new wT(this.Jb,this.form,this.$,Ei(hf.h(this.N,b)),null)}; -k.bb=function(a,b,c){return n(Lh.h?Lh.h(kS,b):Lh.call(null,kS,b))?new wT(c,this.form,this.$,this.N,null):n(Lh.h?Lh.h(Hy,b):Lh.call(null,Hy,b))?new wT(this.Jb,c,this.$,this.N,null):new wT(this.Jb,this.form,this.$,E.i(this.N,b,c),null)};k.V=function(){return z(K.h(new O(null,2,5,P,[new Rf(kS,this.Jb),new Rf(Hy,this.form)],null),this.N))};k.Z=function(a,b){return new wT(this.Jb,this.form,b,this.N,this.H)};k.da=function(a,b){return xf(b)?this.bb(null,u(b,0),u(b,1)):dc.i(lc,this,b)}; -function xT(a,b){return new wT(b,a,null,null,null)}k.ba=Ua;k.O=function(a,b,c){od(b,["#?",n(this.Jb)?"@":null].join(""));return gn(this.form,b,c)};var yT=/[\s]/;function zT(a){return null==a?null:","===a?!0:yT.test(a)}function AT(a){return null==a?null:!/[^0-9]/.test(a)}function BT(a){return"\n"===a||"\n"===a||null==a}nj.g(0); -function CT(a,b){return function e(d){return new Xh(null,function(){for(;;){var f=z(d);if(f){if(yf(f)){var l=Dd(f),g=Je(l),p=ai(g);return function(){for(var A=0;;)if(Athis.Ac){var a=this.R.charAt(this.Ac);this.Ac+=1;return a}return null};KT.prototype.mb=function(){return this.Zd>this.Ac?this.R.charAt(this.Ac):null};function LT(a){var b=li.g(1);this.rb=a;this.ec=b;this.sb=this.gd=1}LT.prototype.U=function(){var a=this.sbD:D:!1)&&uW("Can't have fixed arity function with more params than variadic function", -b);J=D=bk.B;R=E.j;var Z=oO.g(w);return D.call(bk,J.call(bk,R.call(E,p,JF,W,Pe([tA,Z>A?Z:A])),jL,Ze,w),V,Ze,G)},new m(null,4,[jL,$e,V,$e,Ar,null,tA,-1],null),d);a=jL.g(d);d=V.g(d);e=F(b);var g=GW(l,e);e=e===g?null:hf.j(g,Xp,Pe([dH,oF,Tq]));return lf(new m(null,5,[QS,a,Yy,f,cP,d,$x,!0,NE,e],null),new m(null,1,[Rz,HR],null))} -function IW(a,b,c){a=dc.i(function(f,l){var g=B.i(f,0,null);f=B.i(f,1,null);var p=B.i(l,0,null);l=B.i(l,1,null);l=wW?wW(g,l):xW.call(null,g,l);return new O(null,2,5,P,[bk.I(g,lH,E,p,l),Ze.j(f,p,Pe([l]))],null)},new O(null,2,5,P,[a,$e],null),Xj.h(2,b));b=B.i(a,0,null);var d=B.i(a,1,null),e=EW(b,c);return qV(function(f){a:{b:for(var l=d;;){var g=r(l);l=ie(l);var p=r(l);l=t(l);p=X.h?X.h(f,p):X.call(null,f,p);var w=f.get(lH);g=v(w,g,p);f=v(f,lH,g);if(Jb(l))break b;l=g=l}if(n(e))for(g=e;;){if(l=r(g),l= -X.h?X.h(f,l):X.call(null,f,l),g=t(g),!g){f=l;break a}}else f=null}return f},null)}function JW(a,b){b=z(b);r(b);var c=t(b);b=r(c);c=t(c);b=TT(b);return IW(a,b,c)} -function KW(a,b){B.i(b,0,null);var c=B.i(b,1,null),d=B.i(b,2,null),e=B.i(b,3,null),f=new O(null,2,5,P,[null,c],null);LW.h?LW.h(a,f):LW.call(null,a,f);Qh(c)||uW("Var name should be simple symbol.",b);var l=Je(b);f=fe.h(4,l)&&"string"===typeof d?d:null;if(!(l<=(n(f)?4:3)))throw Error("Too many arguments to def");d=n(f)?e:d;var g=fe.h(2,l)?tF:wW?wW(a,d):xW.call(null,a,d),p=F(c);d=function(){var A=E.i(a,ub,!0);return wW?wW(A,p):xW.call(null,A,p)}();d=E.i(d,U,Oc(IU));f=n(f)?E.i(d,S,f):d;var w=lf(c,f); -return qV(function(A){return ZV(A,w,g)},b)} -function MW(a,b){var c=z(b),d=r(c),e=t(c);c=r(e);e=t(e);Qh(c)||uW("Var name should be simple symbol.",b);var f=new O(null,2,5,P,[null,c],null);LW.h?LW.h(a,f):LW.call(null,a,f);var l=fe.h("defmacro",Wh(d));d=Mm(gj.h(Jb,tf),e);var g=B.i(d,0,null);e=B.i(d,1,null);pf(e)&&uW("Parameter declaration missing.",b);var p=function(){var J=r(g);return n(J)?"string"===typeof J?J:null:null}();d=function(){var J=Ye(g);return n(J)?vf(J)?J:null:null}();var w=em.j(Pe([F(c),F(b),d]));d=function(){var J=E.i(a,ub,!0); -return wW?wW(J,w):xW.call(null,J,w)}();e=lf(Oe(gC,e),F(b));e=HW(a,e,l);f=z(cP.g(e));var A=E.j(d,U,Oc(IU),Pe([V,f])),D=lf(c,function(){var J=n(p)?E.i(A,S,p):A;return l?E.i(J,hq,!0):J}()),G=E.j(e,DN,l,Pe([Yy,D,DQ,!0]));return qV(function(J){return ZV(J,D,G)},b)} -function NW(a,b){var c=Te(b),d=Lm.h(2,c),e=Lm.h(2,ie(c)),f=Zi($d,d)?new O(null,2,5,P,[c,d],null):function(){var l=Ij.h(Je(d),function(){return Cn.s()}),g=Yi.i(Ck,l,e),p=Yi.i(Ck,d,l);return new O(null,2,5,P,[Uj.i($e,Pj,Mj.h(g,p)),l],null)}();c=B.i(f,0,null);f=B.i(f,1,null);b=Xe(b);b=new C(null,GB,new C(null,c,new C(null,oi.h(Xi.g(z(K.j(new C(null,mH,null,1,null),new C(null,ag(d),null,1,null),Pe([b])))),f),null,1,null),2,null),3,null);return wW?wW(a,b):xW.call(null,a,b)} -function OW(a,b){b=ie(b);b=new C(null,gC,new C(null,$e,new C(null,Oe(cp,b),null,1,null),2,null),3,null);a=wW?wW(a,b):xW.call(null,a,b);return NU(new C(null,ku,new C(null,a,null,1,null),2,null))} -function PW(a,b){var c=ie(b);a=EW(a,c);switch(Je(a)){case 0:case 1:return uW("Too few arguments to if",b);case 2:var d=B.h(a,0),e=B.h(a,1);return Jb(d)?null:MU(d)?e:qV(function(l){return n(X(l,d))?X(l,e):null},lf(b,new m(null,1,[Rz,YD],null)));case 3:d=B.h(a,0);e=B.h(a,1);var f=B.h(a,2);return Jb(d)?f:MU(d)?e:qV(function(l){return n(X(l,d))?X(l,e):X(l,f)},lf(b,new m(null,1,[Rz,YD],null)));default:return uW("Too many arguments to if",b)}} -function QW(a,b){function c(A,D,G){return H(A,D)?uW(["Duplicate case test constant ",q.g(D)].join(""),b):E.i(A,D,G)}var d=function(){var A=Te(b);return wW?wW(a,A):xW.call(null,a,A)}(),e=Xe(b),f=Lm.h(2,e),l=EW(a,Lm.h(2,ie(e))),g=cj(Je(e))?null:new O(null,2,5,P,[wn,function(){var A=Ye(e);return wW?wW(a,A):xW.call(null,a,A)}()],null),p=Mj.h(f,l),w=function(){for(var A=z(p),D=Hi;;)if(A){var G=A,J=z(G),R=r(J),W=t(J),Z=R,va=r(W),Da=t(W),Qa=va,vb=Da;if(Dh(Z)){var M=vb;D=dc.i(function(h,ya,Ea,Ga,Ja,Pa,Za, -Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc){return function(jd,Uh){return Hc(jd,Uh,pb)}}(A,D,G,J,R,W,Z,va,Da,Qa,vb,d,e,f,l,g,p,c),D,Z);A=M}else A=vb,D=c(D,Z,Qa)}else return D}();w=NU(new C(null,pK,new C(null,new m(null,3,[HJ,w,TR,d,ry,g],null),new C(null,g,null,1,null),2,null),3,null));return NU(w)} -function RW(a,b){b=z(b);r(b);var c=t(b);b=function(){for(var g=z(c),p=$e,w=$e,A=null;;)if(g){var D=r(g);g=t(g);if(Ff(D)&&fe.h(qp,r(D)))w=Ze.h(w,D);else{if(Jb(g)&&Ff(D)&&fe.h(ap,r(D)))return new O(null,3,5,P,[p,w,D],null);p=Ze.h(p,D)}}else return new O(null,3,5,P,[p,w,A],null)}();var d=B.i(b,0,null),e=B.i(b,1,null),f=B.i(b,2,null);b=function(){var g=Oe(cp,d);return wW?wW(a,g):xW.call(null,a,g)}();e=Vj.h(function(g){g=z(g);r(g);g=t(g);var p=r(g),w=t(g);g=r(w);var A=t(w);w=NQ.g(FV(a,p));n(w)?(p=Zj(a, -new O(null,2,5,P,[lH,g],null),null),A=Oe(cp,A),p=wW?wW(p,A):xW.call(null,p,A),g=new m(null,3,[NQ,w,MB,g,FD,p],null)):g=uW(["Unable to resolve classname: ",q.g(p)].join(""),p);return g},e);var l=n(f)?function(){var g=Oe(cp,ie(f));return wW?wW(a,g):xW.call(null,a,g)}():null;return lf(new m(null,1,[kz,new m(null,3,[FD,b,Fq,e,JA,l],null)],null),new m(null,1,[Rz,vu],null))} -function LW(a,b){var c=z(b);r(c);c=t(c);var d=JU();a=WC.g(a);var e=Yj.h(Oc(a),new O(null,2,5,P,[Cr,d],null)),f=GJ.g(e),l=dc.i(function(g,p){var w=n(f)?f.get(p):f;if(n(w))g=uW([q.g(p)," already refers to ",q.g(w)," in namespace ",q.g(d)].join(""),b);else if(Jb(ce.h(e,p))){w=E.i;var A=CU(null,y.h(q.g(d),q.g(p)),new m(null,3,[T,p,U,Oc(IU),xM,Oc(GU)],null));A.Vc(null);g=w.call(E,g,p,A)}else g=e;return g},e,c);qj.h(a,function(g){return bk.I(g,Cr,E,d,l)});return null} -function SW(a,b){b=z(b);r(b);var c=t(b);b=r(c);var d=t(c);c=r(d);d=t(d);c=Ff(c)?c:Oe(c,d);d=z(c);c=r(d);d=t(d);b=wW?wW(a,b):xW.call(null,a,b);b=WU(b,function(e){var f=RN.g(e);if(n(f)){var l=NQ.g(FV(a,f));n(l)?f=l:(l=WV(a,f),f=n(l)?l:uW(["Unable to resolve classname: ",q.g(f)].join(""),f));return E.i(e,fA,f)}return e});c=Wh(c);d=d?EW(a,d):null;return NU(Xi.g(z(K.j(new C(null,np,null,1,null),new C(null,b,null,1,null),Pe([new C(null,c,null,1,null),new C(null,d,null,1,null)])))))} -function TW(a,b){if(3>Je(b))throw Error("Malformed member expression, expecting (.member target ...)");return SW(a,b)}function UW(a,b){var c=z(b),d=r(c),e=t(c);c=r(e);e=t(e);if(2>Je(b))throw Error("Malformed member expression, expecting (.member target ...)");return SW(a,new C(null,np,new C(null,c,new C(null,Oe(y.g(Ch.h(Wh(d),1)),e),null,1,null),2,null),3,null))} -function VW(a,b){b=z(b);r(b);b=t(b);var c=r(b);b=t(b);var d=FV(a,c);if(n(d))return c=Ai(d),c=ce.h(c,sA),a=EW(a,b),NU(new C(null,fp,new C(null,c,new C(null,a,null,1,null),2,null),3,null));d=WV(a,c);return n(d)?(a=EW(a,b),NU(oi.h(VQ.g(F(d)),a))):uW(["Unable to resolve classname: ",q.g(c)].join(""),c)}function WW(a,b){var c=z(b);b=r(c);c=t(c);var d=Wh(b);d=lf(y.g(Ch.i(d,0,d.length-1)),F(b));return VW(a,lf(oi.i(fp,d,c),F(b)))} -function XW(a,b){var c=z(b),d=r(c),e=t(c),f=r(e),l=t(e);if(!(f instanceof x))throw Error(["Namespace name must be symbol, got: ",on.j(Pe([f]))].join(""));var g=function(){var Qa=r(l);return"string"===typeof Qa?new O(null,2,5,P,[Qa,t(l)],null):new O(null,2,5,P,[null,l],null)}(),p=B.i(g,0,null),w=B.i(g,1,null),A=function(){var Qa=r(w);return vf(Qa)?new O(null,2,5,P,[Qa,t(w)],null):new O(null,2,5,P,[null,w],null)}(),D=B.i(A,0,null),G=B.i(A,1,null),J=n(p)?E.i(D,S,p):D;bV(a,f,J);a=G;for(var R=$e;;)if(n(a)){var W= -r(a),Z=z(W),va=r(Z),Da=t(Z);Z=va;va=Da;Da=Z;Da=Da instanceof ee?Da.fb:null;switch(Da){case "require":case "use":a=t(a);R=Ze.h(R,NU(lf(oi.h(y.g(Wh(Z)),va),F(W))));continue;case "import":a=t(a);R=Ze.h(R,NU(lf(oi.h(LL,va),F(W))));continue;case "refer-clojure":a=t(a);R=Ze.h(R,NU(lf(oi.i(pF,CH,va),F(W))));continue;case "gen-class":a=t(a);continue;default:throw Error(["No matching clause: ",q.g(Da)].join(""));}}else return zW(b,Ze.h(R,qV(function(Qa,vb,M,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb){return function(Sb){IV(WC.g(Sb), -Mb);return null}}(a,R,g,p,w,A,D,G,J,b,c,d,e,d,f,l,f,l,b),null)))}function YW(a,b){B.i(b,0,null);b=B.i(b,1,null);a=E.i(a,yB,!0);return sW(a,b,!1)}function ZW(a,b){B.i(b,0,null);var c=B.i(b,1,null);b=B.i(b,2,null);c=wW?wW(a,c):xW.call(null,a,c);a=wW?wW(a,b):xW.call(null,a,b);c=VT(c);return NU(new C(null,mp,new C(null,c,new C(null,a,null,1,null),2,null),3,null))} -function $W(a,b,c){return qV(function(){switch(Je(c)){case 0:return function(h){h=h.get(lH).get(b);return h.s?h.s():h.call(null)};case 1:var d=B.h(c,0);return function(h){var ya=X(h,d);h=h.get(lH).get(b);return h.g?h.g(ya):h.call(null,ya)};case 2:d=B.h(c,0);var e=B.h(c,1);return function(h){var ya=X(h,d),Ea=X(h,e);h=h.get(lH).get(b);return h.h?h.h(ya,Ea):h.call(null,ya,Ea)};case 3:d=B.h(c,0);e=B.h(c,1);var f=B.h(c,2);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f);h=h.get(lH).get(b);return h.i? -h.i(ya,Ea,Ga):h.call(null,ya,Ea,Ga)};case 4:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);var l=B.h(c,3);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l);h=h.get(lH).get(b);return h.B?h.B(ya,Ea,Ga,Ja):h.call(null,ya,Ea,Ga,Ja)};case 5:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);var g=B.h(c,4);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g);h=h.get(lH).get(b);return h.I?h.I(ya,Ea,Ga,Ja,Pa):h.call(null,ya,Ea,Ga,Ja,Pa)};case 6:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c, -4);var p=B.h(c,5);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p);h=h.get(lH).get(b);return h.Y?h.Y(ya,Ea,Ga,Ja,Pa,Za):h.call(null,ya,Ea,Ga,Ja,Pa,Za)};case 7:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);var w=B.h(c,6);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w);h=h.get(lH).get(b);return h.ua?h.ua(ya,Ea,Ga,Ja,Pa,Za,Ia):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia)};case 8:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l= -B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);var A=B.h(c,7);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A);h=h.get(lH).get(b);return h.ia?h.ia(ya,Ea,Ga,Ja,Pa,Za,Ia,ib):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib)};case 9:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);var D=B.h(c,8);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D);h=h.get(lH).get(b); -return h.va?h.va(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb)};case 10:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);var G=B.h(c,9);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G);h=h.get(lH).get(b);return h.ka?h.ka(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb)};case 11:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c, -4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);var J=B.h(c,10);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J);h=h.get(lH).get(b);return h.la?h.la(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb)};case 12:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);var R=B.h(c,11);return function(h){var ya=X(h,d), -Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R);h=h.get(lH).get(b);return h.ma?h.ma(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib)};case 13:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);var W=B.h(c,12);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h, -D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W);h=h.get(lH).get(b);return h.na?h.na(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb)};case 14:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);var Z=B.h(c,13);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h, -Z);h=h.get(lH).get(b);return h.oa?h.oa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb)};case 15:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);var va=B.h(c,14);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va);h=h.get(lH).get(b); -return h.pa?h.pa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab)};case 16:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);var Da=B.h(c,15);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da); -h=h.get(lH).get(b);return h.qa?h.qa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc)};case 17:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);Da=B.h(c,15);var Qa=B.h(c,16);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb= -X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa);h=h.get(lH).get(b);return h.ra?h.ra(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc)};case 18:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);Da=B.h(c,15);Qa=B.h(c,16);var vb=B.h(c,17);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za= -X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb);h=h.get(lH).get(b);return h.sa?h.sa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd)};case 19:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);Da=B.h(c,15);Qa=B.h(c,16);vb=B.h(c, -17);var M=B.h(c,18);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb),Uh=X(h,M);h=h.get(lH).get(b);return h.ta?h.ta(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,Uh):h.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,Uh)};default:return function(h){return gW(h,h.get(lH).get(b),c)}}}(),a)} -function aX(a,b,c){return qV(function(){switch(Je(c)){case 0:return function(h){return b.g?b.g(h):b.call(null,h)};case 1:var d=B.h(c,0);return function(h){var ya=X(h,d);return b.h?b.h(h,ya):b.call(null,h,ya)};case 2:d=B.h(c,0);var e=B.h(c,1);return function(h){var ya=X(h,d),Ea=X(h,e);return b.i?b.i(h,ya,Ea):b.call(null,h,ya,Ea)};case 3:d=B.h(c,0);e=B.h(c,1);var f=B.h(c,2);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f);return b.B?b.B(h,ya,Ea,Ga):b.call(null,h,ya,Ea,Ga)};case 4:d=B.h(c,0);e=B.h(c, -1);f=B.h(c,2);var l=B.h(c,3);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l);return b.I?b.I(h,ya,Ea,Ga,Ja):b.call(null,h,ya,Ea,Ga,Ja)};case 5:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);var g=B.h(c,4);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g);return b.Y?b.Y(h,ya,Ea,Ga,Ja,Pa):b.call(null,h,ya,Ea,Ga,Ja,Pa)};case 6:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);var p=B.h(c,5);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g), -Za=X(h,p);return b.ua?b.ua(h,ya,Ea,Ga,Ja,Pa,Za):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za)};case 7:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);var w=B.h(c,6);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w);return b.ia?b.ia(h,ya,Ea,Ga,Ja,Pa,Za,Ia):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia)};case 8:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);var A=B.h(c,7);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l), -Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A);return b.va?b.va(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib)};case 9:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);var D=B.h(c,8);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D);return b.ka?b.ka(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb)};case 10:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p= -B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);var G=B.h(c,9);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G);return b.la?b.la(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb)};case 11:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);var J=B.h(c,10);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w), -ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J);return b.ma?b.ma(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb)};case 12:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);var R=B.h(c,11);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R);return b.na?b.na(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib):b.call(null,h, -ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib)};case 13:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);var W=B.h(c,12);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W);return b.oa?b.oa(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb)};case 14:d=B.h(c,0);e=B.h(c,1);f=B.h(c, -2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);var Z=B.h(c,13);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z);return b.pa?b.pa(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb)};case 15:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A= -B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);var va=B.h(c,14);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va);return b.qa?b.qa(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab)};case 16:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8); -G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);var Da=B.h(c,15);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da);return b.ra?b.ra(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc)};case 17:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7); -D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);Da=B.h(c,15);var Qa=B.h(c,16);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa);return b.sa?b.sa(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc)};case 18:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g= -B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);Da=B.h(c,15);Qa=B.h(c,16);var vb=B.h(c,17);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb);return b.ta?b.ta(h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb, -Sb,Ab,qc,Hc,jd)};case 19:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);Da=B.h(c,15);Qa=B.h(c,16);vb=B.h(c,17);var M=B.h(c,18);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb),Uh=X(h,M);return b.Ta?b.Ta(h,ya,Ea,Ga,Ja,Pa, -Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,Uh):b.call(null,h,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,Uh)};default:return function(h){return gW(h,b,Oe(h,c))}}}(),a)} -function bX(a,b,c){return qV(function(){switch(Je(c)){case 0:return function(){return b.s?b.s():b.call(null)};case 1:var d=B.h(c,0);return function(h){h=X(h,d);return b.g?b.g(h):b.call(null,h)};case 2:d=B.h(c,0);var e=B.h(c,1);return function(h){var ya=X(h,d);h=X(h,e);return b.h?b.h(ya,h):b.call(null,ya,h)};case 3:d=B.h(c,0);e=B.h(c,1);var f=B.h(c,2);return function(h){var ya=X(h,d),Ea=X(h,e);h=X(h,f);return b.i?b.i(ya,Ea,h):b.call(null,ya,Ea,h)};case 4:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);var l=B.h(c, -3);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f);h=X(h,l);return b.B?b.B(ya,Ea,Ga,h):b.call(null,ya,Ea,Ga,h)};case 5:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);var g=B.h(c,4);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l);h=X(h,g);return b.I?b.I(ya,Ea,Ga,Ja,h):b.call(null,ya,Ea,Ga,Ja,h)};case 6:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);var p=B.h(c,5);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g);h=X(h,p);return b.Y?b.Y(ya,Ea,Ga,Ja,Pa, -h):b.call(null,ya,Ea,Ga,Ja,Pa,h)};case 7:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);var w=B.h(c,6);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p);h=X(h,w);return b.ua?b.ua(ya,Ea,Ga,Ja,Pa,Za,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,h)};case 8:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);var A=B.h(c,7);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w);h=X(h,A);return b.ia?b.ia(ya, -Ea,Ga,Ja,Pa,Za,Ia,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,h)};case 9:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);var D=B.h(c,8);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A);h=X(h,D);return b.va?b.va(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,h)};case 10:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);var G=B.h(c,9);return function(h){var ya= -X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D);h=X(h,G);return b.ka?b.ka(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,h)};case 11:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);var J=B.h(c,10);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G);h=X(h,J);return b.la?b.la(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,h): -b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,h)};case 12:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);var R=B.h(c,11);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J);h=X(h,R);return b.ma?b.ma(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,h)};case 13:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p= -B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);var W=B.h(c,12);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R);h=X(h,W);return b.na?b.na(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,h)};case 14:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c, -12);var Z=B.h(c,13);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W);h=X(h,Z);return b.oa?b.oa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,h)};case 15:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);var va=B.h(c,14);return function(h){var ya= -X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z);h=X(h,va);return b.pa?b.pa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,h)};case 16:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);var Da=B.h(c,15);return function(h){var ya=X(h,d),Ea=X(h, -e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va);h=X(h,Da);return b.qa?b.qa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,h)};case 17:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);Da=B.h(c,15);var Qa=B.h(c,16);return function(h){var ya= -X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da);h=X(h,Qa);return b.ra?b.ra(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,h)};case 18:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c,11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);Da=B.h(c,15);Qa=B.h(c, -16);var vb=B.h(c,17);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa);h=X(h,vb);return b.sa?b.sa(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,h)};case 19:d=B.h(c,0);e=B.h(c,1);f=B.h(c,2);l=B.h(c,3);g=B.h(c,4);p=B.h(c,5);w=B.h(c,6);A=B.h(c,7);D=B.h(c,8);G=B.h(c,9);J=B.h(c,10);R=B.h(c, -11);W=B.h(c,12);Z=B.h(c,13);va=B.h(c,14);Da=B.h(c,15);Qa=B.h(c,16);vb=B.h(c,17);var M=B.h(c,18);return function(h){var ya=X(h,d),Ea=X(h,e),Ga=X(h,f),Ja=X(h,l),Pa=X(h,g),Za=X(h,p),Ia=X(h,w),ib=X(h,A),pb=X(h,D),zb=X(h,G),Eb=X(h,J),Ib=X(h,R),Mb=X(h,W),Sb=X(h,Z),Ab=X(h,va),qc=X(h,Da),Hc=X(h,Qa),jd=X(h,vb);h=X(h,M);return b.ta?b.ta(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,h):b.call(null,ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,h)};default:return function(h){return gW(h,b,c)}}}(), -a)} -function cX(a,b,c){var d=r(b);if(d instanceof x){var e=ce.h(tW,d);n(n(e)?RP.g(a):e)&&oW(a,d,new O(null,2,5,P,[e,null],null));var f=n(e)?e:sW(a,d,!0),l=F(f),g=n(l)?Rz.g(l):l;if(n(n(l)?rr.g(l):l))return TW(a,oi.B(np,r(f),Te(f),ie(b)));if(n(Jb(g)?n(e)?e:H(pV,f):!1))return fe.h(np,f)?TW(a,b):fe.h(mO,f)?BW(b,EW(a,ie(b))):fe.h(LL,f)?NU(b):fe.h(pK,f)?QW(a,b):fe.h(kp,f)?HW(a,b,!1):fe.h(ep,f)?PW(a,b):fe.h(lG,f)||fe.h(yN,f)?a=MW(a,b):fe.h(cp,f)?zW(b,EW(a,ie(b))):fe.h(nE,f)?NW(a,b):fe.h(XC,f)?(b=sV(b),wW?wW(a, -b):xW.call(null,a,b)):fe.h(MR,f)?WW(a,b):fe.h(sp,f)?KW(a,b):fe.h(iQ,f)?LW(a,b):fe.h(pp,f)?NU(b):fe.h(YA,f)?UW(a,b):fe.h(gp,f)?XW(a,b):fe.h(SM,f)?(b=lW(b),n(yu.g(a))?b:wW?wW(a,b):xW.call(null,a,b)):fe.h(GB,f)?JW(a,b):fe.h(gC,f)?HW(a,b,!1):fe.h(mp,f)?ZW(a,b):fe.h(lp,f)?DW(b,EW(a,ie(b))):fe.h(fp,f)?VW(a,b):fe.h(op,f)?YW(a,b):fe.h(qL,f)?OW(a,b):fe.h(Zo,f)?RW(a,b):fe.h(iu,f)?AW(b,EW(a,ie(b))):NU(Oe(f,EW(a,ie(b))));try{if(n(TU(f))){var p=UU===Rz.g(F(f))?Yb.I(f,b,lH.g(a),a,ie(b)):Yb.B(f,b,lH.g(a),ie(b)); -return n(yu.g(a))?p:n(n(c)?Ff(p)&&fe.h(cp,r(p)):c)?new $T(p):wW?wW(a,p):xW.call(null,a,p)}var w=JB.g(l);if(n(w))return bX(OU(Oe(w,ie(b)),l),w,EW(a,ie(b)));var A=Rz.g(F(f));if(n(A))return UU===A?aX(b,f,EW(a,ie(b))):n(Lh.h?Lh.h(Hs,A):Lh.call(null,Hs,A))?$W(OU(Oe(f,ie(b)),l),f,EW(a,ie(b))):NU(Oe(f,EW(a,ie(b))));var D=EW(a,ie(b));return bX(OU(Oe(f,D),l),f,D)}catch(W){if(W instanceof Error)return VU(a,W,NU(lf(Oe(f,ie(b)),F(b))));throw W;}}else if(d instanceof ee)switch(D=EW(a,ie(b)),Je(D)){case 1:var G= -B.h(D,0);return qV(function(W){return d.g(X(W,G))},b);case 2:var J=B.h(D,0),R=B.h(D,1);return qV(function(W){return d.h(X(W,J),X(W,R))},b);default:return NU(Oe(d,D))}else return a=NU(EW(a,b))}function dX(a,b){var c=Uj.i($e,Pj,b);a=EW(a,c);return 16>=Je(a)?bX(b,$l,a):bX(b,Bi,a)} -function eX(a,b,c){var d=Yk(b),e=Zk(b),f=Zi(MU,d)&&Zi(MU,e),l=f?b:Jb(ub.g(a))?dX(a,b):xm(EW(a,d),EW(a,e));d=n(c)?function(){var p=E.i(a,ub,!0);return wW?wW(p,c):xW.call(null,p,c)}():null;var g=f&&c===d?d:E.i(d,Rz,YR);return n(g)?l instanceof bU?qV(function(p){var w=jW(p,g);p=X(p,l);return lf(p,w)},b):lf(l,g):l} -function fX(a,b,c,d){var e=Zi(MU,c),f=n(d)?wW?wW(a,d):xW.call(null,a,d):null;return e&&d===f?c:n(d)?function(){var l=bX(c,b,EW(a,c));return qV(function(g){var p=X(g,f);g=X(g,l);return lf(g,p)},c)}():bX(c,b,EW(a,c))}function xW(a){switch(arguments.length){case 2:return wW(arguments[0],arguments[1]);case 3:return gX(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}}function wW(a,b){return gX(a,b,!1)} -function gX(a,b,c){var d=F(b);if(MU(b))return b;if(b instanceof x){a=sW(a,b,!1);if(MU(a))return a;if(vU(a)){if(n(UN.g(F(a))))return Oc(a);if(n(qU(a)))throw Error(["Can't take value of a macro: ",q.g(a),""].join(""));return new WT(a)}return XU(a,d)}return wf(b)?b:vf(b)?eX(a,b,d):xf(b)?fX(a,Ck,b,d):rf(b)?fX(a,rm,b,d):Ff(b)?z(b)?XU(cX(a,b,c),d):b:b};function hX(a,b,c,d){var e=Je(b);a=n(a)?0:10a?'..."':'"',d=b.length;return['"',q.g(b.substring(0,ad?"...}":"}")});iX.Ya(null,OI,function(a,b){return hX(a,b,"#{","}")}); -iX.Ya(null,HC,function(a,b){return hX(a,b,"[","]")});iX.Ya(null,Nu,function(a,b){return on.j(Pe([Qb(b)]))});function oX(a,b,c){b=new m(null,2,[Ws,hy,KK,b],null);a=PT(a)?E.j(b,xM,JT(a),Pe([Xp,HT(a),ju,IT(a)])):b;var d=xM.g(a);b=Xp.g(a);var e=ju.g(a);d=n(d)?[q.g(d)," "].join(""):null;b=n(b)?["[line ",q.g(b),", col ",q.g(e),"]"].join(""):null;c=Yb.I(q,d,b,n(n(d)?d:b)?" ":null,c);throw Qo.h(c,a);}function pX(a,b){return oX(a,at,Pe([Yb.h(q,b)]))}function qX(a,b){return oX(a,tI,Pe([Yb.h(q,b)]))}function rX(a,b){return oX(a,TC,Pe([Yb.h(q,b)]))} -function sX(a,b,c,d){pX(a,Pe(["The map literal starting with ",iX.h(!1,r(d)),n(b)?[" on line ",q.g(b)," column ",q.g(c)].join(""):null," contains ",Je(d)," form(s). Map literals must contain an even number of forms."]))}function tX(a,b,c){return pX(a,Pe(["Invalid ",Wh(b),": ",c,"."]))}function uX(a,b,c){return pX(a,Pe(["Invalid character: ",c," found while reading ",Wh(b),"."]))} -function vX(a,b){a:{var c=kq instanceof ee?kq.fb:null;switch(c){case "regex":c='#"';break a;case "string":c='"';break a;default:throw Error(["No matching clause: ",q.g(c)].join(""));}}return rX(a,Pe(["Unexpected EOF reading ",Wh(kq)," starting ",Yb.i(q,c,b),"."]))}function wX(a,b){return qX(a,Pe(["Invalid digit ",b," in unicode character."]))}function xX(a){return pX(a,Pe(["Octal escape sequence must be in range [0, 377]."]))} -function yX(a,b){b=function(c){return function f(e){return new Xh(null,function(){for(var l=e;;)if(l=z(l)){if(yf(l)){var g=Dd(l),p=Je(g),w=ai(p);a:for(var A=0;;)if(Ac?(b=c.toString(16),a=pX(a,Pe(["Invalid character literal \\u",b,"."]))):a=b,a;if(n(0==b.lastIndexOf("o",0))){--c;if(3Z.getLength())Z=Z.append("0");else{Z=Z.toString();break a}Z=oY(Z);return n(Z)?Z:0}();w=(fe.h(w,"-")?-1:1)*(60*function(){var Z=oY(A);return n(Z)?Z:0}()+function(){var Z=oY(D);return n(Z)?Z:0}());return new O(null,8,5,P,[a,pY(1,b,12,"timestamp month field must be in range 1..12"),pY(1,c,mY(b,0===Qg(a,4)&&(0!==Qg(a,100)||0===Qg(a,400))),"timestamp day field must be in range 1..last day in month"), -pY(0,G,23,"timestamp hour field must be in range 0..23"),pY(0,J,59,"timestamp minute field must be in range 0..59"),pY(0,R,fe.h(J,59)?60:59,"timestamp second field must be in range 0..60"),pY(0,W,999,"timestamp millisecond field must be in range 0..999"),w],null)} -var rY=nj.g(null),sY=nj.g(em.j(Pe([new m(null,4,[dE,function(a){if("string"===typeof a){var b=qY(a);if(n(b)){a=B.i(b,0,null);var c=B.i(b,1,null),d=B.i(b,2,null),e=B.i(b,3,null),f=B.i(b,4,null),l=B.i(b,5,null),g=B.i(b,6,null);b=B.i(b,7,null);b=new Date(Date.UTC(a,c-1,d,e,f,l,g)-6E4*b)}else throw Error(["Unrecognized date/time syntax: ",q.g(a)].join(""));return b}throw Error("Instance literal expects a string for its timestamp.");},pz,function(a){if("string"===typeof a)return new No(a.toLowerCase()); -throw Error("UUID literal expects a string as its representation.");},vz,function(a){if(xf(a))return Uj.h(Ok,a);throw Error("Queue literal expects a vector for its elements.");},UC,function(a){if(xf(a)){var b=[];a=z(a);for(var c=null,d=0,e=0;;)if(e=Je(b)&&Zi(function(c){return H(a,c)},b)};function IY(a,b,c){if(Dh(c)){var d=Yb.h(I,Yi.h(a,c));return b.g?b.g(d):b.call(null,d)}return zk(c)?(d=new Rf(function(){var e=Dc(c);return a.g?a.g(e):a.call(null,e)}(),function(){var e=Ec(c);return a.g?a.g(e):a.call(null,e)}()),b.g?b.g(d):b.call(null,d)):Ff(c)?(d=Tm.g(Yi.h(a,c)),b.g?b.g(d):b.call(null,d)):wf(c)?(d=dc.i(function(e,f){return Ze.h(e,a.g?a.g(f):a.call(null,f))},c,c),b.g?b.g(d):b.call(null,d)):qf(c)?(d=Uj.h(af(c),Yi.h(a,c)),b.g?b.g(d):b.call(null,d)):b.g?b.g(c):b.call(null,c)} -var JY=function JY(a,b){return IY(hj.h(JY,a),a,b)},KY=function KY(a,b){return IY(hj.h(KY,a),gg,a.g?a.g(b):a.call(null,b))};function LY(a){function b(c){var d=B.i(c,0,null);c=B.i(c,1,null);return"string"===typeof d?new O(null,2,5,P,[Vh.g(d),c],null):new O(null,2,5,P,[d,c],null)}return JY(function(c){return vf(c)?Uj.h(Hi,Yi.h(b,c)):c},a)} -function MY(a){function b(c){var d=B.i(c,0,null);c=B.i(c,1,null);return d instanceof ee?new O(null,2,5,P,[Wh(d),c],null):new O(null,2,5,P,[d,c],null)}return JY(function(c){return vf(c)?Uj.h(Hi,Yi.h(b,c)):c},a)}function NY(a,b){return KY(function(c){return H(a,c)?a.g?a.g(c):a.call(null,c):c},b)}function OY(a,b){return JY(function(c){return H(a,c)?a.g?a.g(c):a.call(null,c):c},b)};var PY,QY=nj.g(Hi),RY=nj.g(Hi),SY=nj.g(Hi),TY=nj.g(Hi),UY=ce.i(Hi,YB,ko.s?ko.s():ko.call(null));PY=new Go(y.h(ka,"-deref"),ZT,Nu,UY,QY,RY,SY,TY);PY.Ya(null,zB,function(a){var b=XT(a);b=ce.h(b,XJ);return b.g?b.g(a):b.call(null,a)});var VY=PY.Ya(null,Nu,function(a){return Oc(a)}),WY=gU(zG,null),XY=LU(tB,new m(null,3,[PF,Nc,SE,Tf([PY]),U,WY],null),new m(null,1,[U,WY],null)),YY,ZY=nj.g(Hi),$Y=nj.g(Hi),aZ=nj.g(Hi),bZ=nj.g(Hi),cZ=ce.i(Hi,YB,ko.s?ko.s():ko.call(null)); -YY=new Go(y.h(ka,"-swap!"),ZT,Nu,cZ,ZY,$Y,aZ,bZ);var dZ,eZ=nj.g(Hi),fZ=nj.g(Hi),gZ=nj.g(Hi),hZ=nj.g(Hi),iZ=ce.i(Hi,YB,ko.s?ko.s():ko.call(null));dZ=new Go(y.h(ka,"-reset!"),ZT,Nu,iZ,eZ,fZ,gZ,hZ); -YY.Ya(null,zB,function(){function a(f,l,g,p){var w=XT(f);w=ce.h(w,WQ);return w.B?w.B(f,l,g,p):w.call(null,f,l,g,p)}function b(f,l,g){var p=XT(f);p=ce.h(p,WQ);return p.i?p.i(f,l,g):p.call(null,f,l,g)}function c(f,l){var g=XT(f);g=ce.h(g,WQ);return g.h?g.h(f,l):g.call(null,f,l)}var d=null,e=function(){function f(g,p,w,A,D){var G=null;if(4=e?Yb.h($l,d):Yb.h(Bi,d)} -function u_(a,b){b.U(null);var c=b.U(null);n(e_(c))&&g_(a,b,"Invalid token: :",null);c=$Z.i?$Z.i(b,TS,c):$Z.call(null,b,TS,c);var d=":"===c.charAt(0);if(d){var e=d?Ch.h(c,1):c;d=a_.g?a_.g(e):a_.call(null,e);c=B.i(d,0,null);d=B.i(d,1,null);if(n(c)){var f=q_(a,b,e,null);e=y.g(c);a=r_(a,f,e,b,c,null)}else f=q_(a,b,e,"Use `:auto-resolve` + `:current` to resolve current namespace."),a=r_(a,f,mu,b,e,"Use `:auto-resolve` + `:current` to resolve current namespace.");return Vh.h(q.g(a),d)}return Vh.g(c)} -function v_(a){return a instanceof ee?gf([a,!0]):a instanceof x?new m(null,1,[RN,a],null):"string"===typeof a?new m(null,1,[RN,a],null):a}function H3(a,b){return a instanceof ee?gf([b.g?b.g(a):b.call(null,a),b.g?b.g(!0):b.call(null,!0)]):a instanceof x?gf([b.g?b.g(RN):b.call(null,RN),b.g?b.g(a):b.call(null,a)]):"string"===typeof a?gf([b.g?b.g(RN):b.call(null,RN),b.g?b.g(a):b.call(null,a)]):a} -function I3(a,b,c){if(fe.h("#",c))return b.U(null),s_(a,b);if(fe.h(null,c))return KI;if(fe.h("@",c)){c=SF.g(a);if(n(c)){var d=c;b.U(null);c=k_?k_(a,b):l_.call(null,a,b);return If(d)?d.g?d.g(c):d.call(null,c):new C(null,Pu,new C(null,c,null,1,null),2,null)}return g_(a,b,"Deref not allowed. Use the `:deref` option",null)}if(fe.h("`",c)){c=YM.g(a);if(n(c)){d=c;b.U(null);c=k_?k_(a,b):l_.call(null,a,b);if(jf(d))return d.g?d.g(c):d.call(null,c);d=nj.g(Hi);d=E.i(a,HS,d);return WZ(d,b,c)}return g_(a,b,"Syntax quote not allowed. Use the `:syntax-quote` option", -null)}if(fe.h("'",c))return c=ZB.g(a),n(c)?(d=c,b.U(null),c=k_?k_(a,b):l_.call(null,a,b),Lh(KI,c)&&g_(a,b,"EOF while reading",null),If(d)?d.g?d.g(c):d.call(null,c):new C(null,pp,new C(null,c,null,1,null),2,null)):ZZ(a,b);if(fe.h("(",c))return Yb.h(I,j_(a,b,")"));if(fe.h(")",c)){var e=UQ.g(a);if(Di.h(e,c))return d=c_(b),b.U(null),h_(a,b,["Unmatched delimiter: ",q.g(c),n(e)?[", expected: ",q.g(e),function(){var f=xG.g(a);if(n(f)){var l=Ai(f);f=ce.h(l,RK);var g=ce.h(l,ju);l=ce.h(l,gP);return[" to match ", -q.g(l)," at ",q.g(new O(null,2,5,P,[f,g],null))].join("")}return null}()].join(""):null].join(""),function(){var f=xG.g(a),l=Ai(f);f=ce.h(l,gP);var g=ce.h(l,RK);l=ce.h(l,ju);return new m(null,3,[qK,q.g(f),HO,new m(null,2,[RK,g,ju,l],null),FF,q.g(e)],null)}(),d);b.U(null);return UQ}if(fe.h(":",c))return u_(a,b);if(fe.h(";",c))return d_(b);if(fe.h("[",c))return j_(a,b,"]");if(fe.h("{",c))return t_(a,b);if(fe.h("]",c)){e=UQ.g(a);if(Di.h(e,c))return d=c_(b),b.U(null),h_(a,b,["Unmatched delimiter: ",q.g(c), -n(e)?[", expected: ",q.g(e),function(){var f=xG.g(a);if(n(f)){var l=Ai(f);f=ce.h(l,RK);var g=ce.h(l,ju);l=ce.h(l,gP);return[" to match ",q.g(l)," at ",q.g(new O(null,2,5,P,[f,g],null))].join("")}return null}()].join(""):null].join(""),function(){var f=xG.g(a),l=Ai(f);f=ce.h(l,gP);var g=ce.h(l,RK);l=ce.h(l,ju);return new m(null,3,[qK,q.g(f),HO,new m(null,2,[RK,g,ju,l],null),FF,q.g(e)],null)}(),d);b.U(null);return UQ}if(fe.h("}",c)){e=UQ.g(a);if(Di.h(e,c))return d=c_(b),b.U(null),h_(a,b,["Unmatched delimiter: ", -q.g(c),n(e)?[", expected: ",q.g(e),function(){var f=xG.g(a);if(n(f)){var l=Ai(f);f=ce.h(l,RK);var g=ce.h(l,ju);l=ce.h(l,gP);return[" to match ",q.g(l)," at ",q.g(new O(null,2,5,P,[f,g],null))].join("")}return null}()].join(""):null].join(""),function(){var f=xG.g(a),l=Ai(f);f=ce.h(l,gP);var g=ce.h(l,RK);l=ce.h(l,ju);return new m(null,3,[qK,q.g(f),HO,new m(null,2,[RK,g,ju,l],null),FF,q.g(e)],null)}(),d);b.U(null);return UQ}if(fe.h("^",c))return b.U(null),c=J3?J3(a,b,!0):l_.call(null,a,b,!0),Ci.i(k_? -k_(a,b):l_.call(null,a,b),em,c);if(fe.h("~",c)){c=function(){var f=YM.g(a);return n(f)?(f=Bq.g(a),n(f)?f:!0):f}();if(n(c)){d=c;b.U(null);if("@"===b.mb(null))return d=function(){var f=YM.g(a);return n(f)?(f=lK.g(a),n(f)?f:!0):f}(),n(d)?(b.U(null),c=k_?k_(a,b):l_.call(null,a,b),If(d)?d.g?d.g(c):d.call(null,c):new C(null,zM,new C(null,c,null,1,null),2,null)):g_(a,b,"Syntax unquote splice not allowed. Use the `:syntax-quote` option",null);c=k_?k_(a,b):l_.call(null,a,b);return If(d)?d.g?d.g(c):d.call(null, -c):new C(null,MC,new C(null,c,null,1,null),2,null)}return g_(a,b,"Syntax unquote not allowed. Use the `:syntax-unquote` option",null)}return ZZ(a,b)}function l_(a){switch(arguments.length){case 2:return k_(arguments[0],arguments[1]);case 3:return J3(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",q.g(arguments.length)].join(""));}}function k_(a,b){return J3(a,b,null)} -function J3(a,b,c){for(;;){var d=function(){var ya=f_(b);return n(ya)?FT(b):ya}();if(n(d)){var e=d,f=c_(b),l=jH.g(a),g=function(ya,Ea){return function(){return q.g(WE.g(Oc(Ea.frames)))}}(a,b,c,f,l,e,d),p=n(l)?g().length:null,w=n(l)?ST(b,function(ya,Ea,Ga,Ja,Pa,Za,Ia,ib){return function(){return I3(ya,Ea,ib)}}(a,b,c,f,l,g,p,e,d)):I3(a,b,e);if(b!==w){if(Lh(UQ,w))return w;var A=xP.g(a),D=BE.g(a),G=Yp.g(a),J=null!=w?w.C&262144||Ua===w.ud?!0:w.C?!1:Pb(Rc,w):Pb(Rc,w),R=n(l)?Ch.h(g(),p).trim():null,W=function(){var ya= -J?(ya=Jb(D))?ya:D.g?D.g(w):D.call(null,w):!1;return n(ya)?ya:A}(),Z=n(function(){var ya=W;return n(ya)?G:ya}())?c_(b):null,va=n(W)?f.Ib:null,Da=n(G)?RK.g(Z):null,Qa=n(W)?f.Gb:null,vb=n(G)?ju.g(Z):null,M=n(A)?function(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb){return function(Ab){var qc=function(){var Hc=new m(null,1,[xJ,Ab],null);Hc=n(pb)?E.i(Hc,aq,function(){var jd=gf([gO.g(ya),Eb,VL.g(ya),Mb]);return n(Za)?E.j(jd,$M.g(ya),Ib,Pe([ZQ.g(ya),Sb])):jd}()):Hc;return n(ib)?E.i(Hc,function(){var jd=WB.g(ya); -return n(jd)?jd:jH}(),ib):Hc}();return Ja.g?Ja.g(qc):Ja.call(null,qc)}}(a,b,c,A,D,G,J,R,W,Z,va,Da,Qa,vb,f,l,g,p,w,e,d):null,h=n(c)?n(M)?H3(w,M):v_(w):w;return n(A)?M.g?M.g(h):M.call(null,h):n(W)?Ci.h(h,function(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb){return function(Ab){Ab=E.i(E.i(Ab,gO.g(ya),Eb),VL.g(ya),Mb);Ab=n(Za)?E.i(E.i(Ab,$M.g(ya),Ib),ZQ.g(ya),Sb):Ab;return n(ib)?E.i(Ab,WB.g(ya),ib):Ab}}(a,b,c,A,D,G,J,R,W,Z,va,Da,Qa,vb,M,h,f,l,g,p,w,e,d)):h}}else return KI}} -function K3(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb,M,h){this.Da=a;this.deref=b;this.Oa=c;this.Pa=d;this.Qa=e;this.quote=f;this.ha=l;this.Ua=g;this.Ja=p;this.Ka=w;this.La=A;this.Ca=D;this.Ga=G;this.Ea=J;this.source=R;this.Na=W;this.Ia=Z;this.Ha=va;this.Fa=Da;this.Ma=Qa;this.$=vb;this.N=M;this.H=h;this.C=2230716170;this.J=139264}k=K3.prototype;k.Ba=function(a,b){return this.P(null,b,null)}; -k.P=function(a,b,c){switch(b instanceof ee?b.fb:null){case "dispatch":return this.Da;case "deref":return this.deref;case "syntax-quote":return this.Oa;case "unquote":return this.Pa;case "unquote-splicing":return this.Qa;case "quote":return this.quote;case "fn":return this.ha;case "var":return this.Ua;case "read-eval":return this.Ja;case "regex":return this.Ka;case "row-key":return this.La;case "col-key":return this.Ca;case "end-row-key":return this.Ga;case "end-col-key":return this.Ea;case "source":return this.source; -case "source-key":return this.Na;case "postprocess":return this.Ia;case "location?":return this.Ha;case "end-location":return this.Fa;case "sci":return this.Ma;default:return ce.i(this.N,b,c)}};k.Pb=function(a,b,c){return dc.i(function(d,e){var f=B.i(e,0,null);e=B.i(e,1,null);return b.i?b.i(d,f,e):b.call(null,d,f,e)},c,this)}; -k.O=function(a,b,c){return Zm(b,function(d){return Zm(b,gn,""," ","",c,d)},"#edamame.impl.parser.Options{",", ","}",c,K.h(new O(null,20,5,P,[new O(null,2,5,P,[bE,this.Da],null),new O(null,2,5,P,[SF,this.deref],null),new O(null,2,5,P,[YM,this.Oa],null),new O(null,2,5,P,[Bq,this.Pa],null),new O(null,2,5,P,[lK,this.Qa],null),new O(null,2,5,P,[ZB,this.quote],null),new O(null,2,5,P,[HR,this.ha],null),new O(null,2,5,P,[Oz,this.Ua],null),new O(null,2,5,P,[AG,this.Ja],null),new O(null,2,5,P,[MF,this.Ka], -null),new O(null,2,5,P,[gO,this.La],null),new O(null,2,5,P,[VL,this.Ca],null),new O(null,2,5,P,[$M,this.Ga],null),new O(null,2,5,P,[ZQ,this.Ea],null),new O(null,2,5,P,[jH,this.source],null),new O(null,2,5,P,[WB,this.Na],null),new O(null,2,5,P,[xP,this.Ia],null),new O(null,2,5,P,[BE,this.Ha],null),new O(null,2,5,P,[Yp,this.Fa],null),new O(null,2,5,P,[nI,this.Ma],null)],null),this.N))}; -k.cb=function(){return new Sk(this,20,new O(null,20,5,P,[bE,SF,YM,Bq,lK,ZB,HR,Oz,AG,MF,gO,VL,$M,ZQ,jH,WB,xP,BE,Yp,nI],null),n(this.N)?Pd(this.N):Fi())};k.T=function(){return this.$};k.aa=function(){return 20+Je(this.N)};k.X=function(){var a=this.H;return null!=a?a:this.H=a=-1037796634^pe(this)}; -k.W=function(a,b){return null!=b&&this.constructor===b.constructor&&fe.h(this.Da,b.Da)&&fe.h(this.deref,b.deref)&&fe.h(this.Oa,b.Oa)&&fe.h(this.Pa,b.Pa)&&fe.h(this.Qa,b.Qa)&&fe.h(this.quote,b.quote)&&fe.h(this.ha,b.ha)&&fe.h(this.Ge,b.Ge)&&fe.h(this.Ja,b.Ja)&&fe.h(this.Ka,b.Ka)&&fe.h(this.La,b.La)&&fe.h(this.Ca,b.Ca)&&fe.h(this.Ga,b.Ga)&&fe.h(this.Ea,b.Ea)&&fe.h(this.source,b.source)&&fe.h(this.Na,b.Na)&&fe.h(this.Ia,b.Ia)&&fe.h(this.Ha,b.Ha)&&fe.h(this.Fa,b.Fa)&&fe.h(this.Ma,b.Ma)&&fe.h(this.N,b.N)}; -k.hc=function(a,b){return H(new lm(null,new m(null,20,[HR,null,lK,null,Yp,null,BE,null,Bq,null,$M,null,gO,null,VL,null,WB,null,AG,null,jH,null,bE,null,YM,null,Oz,null,ZB,null,SF,null,MF,null,ZQ,null,nI,null,xP,null],null),null),b)?hf.h(Sc(Uj.h(Hi,this),this.$),b):new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,Ei(hf.h(this.N,b)),null)}; -k.bb=function(a,b,c){return n(Lh.h?Lh.h(bE,b):Lh.call(null,bE,b))?new K3(c,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(SF,b):Lh.call(null,SF,b))?new K3(this.Da,c,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(YM,b): -Lh.call(null,YM,b))?new K3(this.Da,this.deref,c,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(Bq,b):Lh.call(null,Bq,b))?new K3(this.Da,this.deref,this.Oa,c,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(lK,b):Lh.call(null,lK,b))?new K3(this.Da,this.deref, -this.Oa,this.Pa,c,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(ZB,b):Lh.call(null,ZB,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,c,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(HR,b):Lh.call(null,HR,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,c,this.Ua,this.Ja, -this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(Oz,b):Lh.call(null,Oz,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,c,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(AG,b):Lh.call(null,AG,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,c,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source, -this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(MF,b):Lh.call(null,MF,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,c,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(gO,b):Lh.call(null,gO,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,c,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$, -this.N,null):n(Lh.h?Lh.h(VL,b):Lh.call(null,VL,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,c,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h($M,b):Lh.call(null,$M,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,c,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(ZQ,b):Lh.call(null, -ZQ,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,c,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(jH,b):Lh.call(null,jH,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,c,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(WB,b):Lh.call(null,WB,b))?new K3(this.Da,this.deref,this.Oa,this.Pa, -this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,c,this.Ia,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(xP,b):Lh.call(null,xP,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,c,this.Ha,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(BE,b):Lh.call(null,BE,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja, -this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,c,this.Fa,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(Yp,b):Lh.call(null,Yp,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,c,this.Ma,this.$,this.N,null):n(Lh.h?Lh.h(nI,b):Lh.call(null,nI,b))?new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source, -this.Na,this.Ia,this.Ha,this.Fa,c,this.$,this.N,null):new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,this.$,E.i(this.N,b,c),null)}; -k.V=function(){return z(K.h(new O(null,20,5,P,[new Rf(bE,this.Da),new Rf(SF,this.deref),new Rf(YM,this.Oa),new Rf(Bq,this.Pa),new Rf(lK,this.Qa),new Rf(ZB,this.quote),new Rf(HR,this.ha),new Rf(Oz,this.Ua),new Rf(AG,this.Ja),new Rf(MF,this.Ka),new Rf(gO,this.La),new Rf(VL,this.Ca),new Rf($M,this.Ga),new Rf(ZQ,this.Ea),new Rf(jH,this.source),new Rf(WB,this.Na),new Rf(xP,this.Ia),new Rf(BE,this.Ha),new Rf(Yp,this.Fa),new Rf(nI,this.Ma)],null),this.N))}; -k.Z=function(a,b){return new K3(this.Da,this.deref,this.Oa,this.Pa,this.Qa,this.quote,this.ha,this.Ua,this.Ja,this.Ka,this.La,this.Ca,this.Ga,this.Ea,this.source,this.Na,this.Ia,this.Ha,this.Fa,this.Ma,b,this.N,this.H)};k.da=function(a,b){return xf(b)?this.bb(null,u(b,0),u(b,1)):dc.i(lc,this,b)}; -function L3(a){var b=hf.j(a,bE,Pe([SF,YM,Bq,lK,ZB,HR,Oz,AG,MF,gO,VL,$M,ZQ,jH,WB,xP,BE,Yp,nI]));b=wf(a)?Uj.h(Hi,b):b;return new K3(bE.g(a),SF.g(a),YM.g(a),Bq.g(a),lK.g(a),ZB.g(a),HR.g(a),Oz.g(a),AG.g(a),MF.g(a),gO.g(a),VL.g(a),$M.g(a),ZQ.g(a),jH.g(a),WB.g(a),xP.g(a),BE.g(a),Yp.g(a),nI.g(a),null,Ei(b),null)};var M3=function(a){var b=function(){var d=bE.g(a);return n(d)?Uj.h(hf.h(a,bE),new O(null,9,5,P,[function(){var e=Yj.h(d,new O(null,1,5,P,["@"],null));return n(e)?new O(null,2,5,P,[SF,e],null):null}(),function(){var e=Yj.h(d,new O(null,1,5,P,["`"],null));return n(e)?new O(null,2,5,P,[YM,e],null):null}(),function(){var e=Yj.h(d,new O(null,1,5,P,["~"],null));if(n(e)){if(jf(e))return new O(null,2,5,P,[Bq,e],null);e=Nu.g(e);return n(e)?new O(null,2,5,P,[Bq,e],null):null}return null}(),function(){var e= -Yj.h(d,new O(null,2,5,P,["~","@"],null));return n(e)?new O(null,2,5,P,[lK,e],null):null}(),function(){var e=Yj.h(d,new O(null,1,5,P,["'"],null));return n(e)?new O(null,2,5,P,[ZB,e],null):null}(),function(){var e=Yj.h(d,new O(null,2,5,P,["#","("],null));return n(e)?new O(null,2,5,P,[HR,e],null):null}(),function(){var e=Yj.h(d,new O(null,2,5,P,["#","'"],null));return n(e)?new O(null,2,5,P,[Oz,e],null):null}(),function(){var e=Yj.h(d,new O(null,2,5,P,["#","\x3d"],null));return n(e)?new O(null,2,5,P, -[AG,e],null):null}(),function(){var e=Yj.h(d,new O(null,2,5,P,["#",'"'],null));return n(e)?new O(null,2,5,P,[MF,e],null):null}()],null)):a}(),c=n(DK.g(b))?em.j(Pe([new m(null,7,[SF,!0,HR,!0,ZB,!0,AG,!0,MF,!0,YM,!0,Oz,!0],null),b])):b;b=function(){var d=Jb(gO.g(c))?E.i(c,gO,RK):c;d=Jb(VL.g(c))?E.i(d,VL,ju):d;d=Jb($M.g(c))?E.i(d,$M,DC):d;d=Jb(ZQ.g(c))?E.i(d,ZQ,TP):d;d=Jb(WB.g(c))?E.i(d,WB,jH):d;return H(c,Yp)?d:E.i(d,Yp,!0)}();return L3(b)}(new m(null,7,[DK,!0,AG,!1,gO,Xp,VL,oF,NF,iH,BE,function(a){return a instanceof -x||Ff(a)},Yp,!1],null));function N3(a){var b=F(a);return n(b)&&(a=T.g(b),n(a))?(b=U.g(b),n(b)?y.h(q.g(eU(b)),q.g(a)):null):null} -function O3(a,b){var c=Oc(WC.g(a)),d=function(){var A=Mh(b);return n(A)?y.g(A):null}(),e=Wh(b),f=JU(),l=q.g(f),g=ce.h(c,Cr),p=ce.h(g,f),w=Iu.g(p);return Jb(d)?function(){var A=function(){var D=GJ.g(p);return n(D)?(D=ce.h(D,b),n(D)?N3(D):null):null}();if(n(A))return A;A=function(){var D=ce.h(p,b);return n(D)?N3(D):null}();if(n(A))return A;A=H(ce.h(g,CH),b)&&Jb(function(){var D=null==p?null:ty.g(p);D=null==D?null:ce.h(D,CH);D=null==D?null:DP.g(D);return null==D?null:H(D,b)}())||H(pV,b)?y.h("clojure.core", -e):null;if(n(A))return A;A=EV(a,b);return n(A)?A:y.h(l,e)}():n(Yj.h(c,new O(null,2,5,P,[Cr,d],null)))?b:function(){var A=ce.h(w,d);return n(A)?y.h(q.g(A),e):b}()} -function P3(a,b,c){var d=MA.g(a),e=GG.g(a),f=vU(e)?Oc(e):e;e=WC.g(a);var l=Oc(e);e=JU();l=Yj.h(l,new O(null,2,5,P,[Cr,e],null));l=Iu.g(l);var g=E.i(l,mu,e),p=function(){var w=E.j(M3,MA,d,Pe([ey,g,YM,new m(null,1,[vK,function(A){return O3(a,A)}],null),GG,f]));return n(c)?em.j(Pe([w,c])):w}();return function(){try{var w=k_(p,b);return n(Lh.h?Lh.h(w,KI):Lh.call(null,w,KI))?xS:w}catch(A){if(A instanceof Po)throw w=A,Qo.i(w.message,E.j(Ro(w),Ws,FO,Pe([uQ,"parse",xM,Oc(GU)])),w);throw A;}}()};var Q3=function Q3(a){for(var c=[],d=arguments.length,e=0;;)if(eb?$APP.yh(a.Uf>>>b|c<<32-b,c>>>b):32==b?$APP.yh(c,0):$APP.yh(c>>>b-32,0)},Xs=function(a,b,c){return a.call.apply(a.bind,arguments)},Ys=function(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b):a[b]},ht=function(a,b){const c={};for(const d in a)c[d]=b.call(void 0,a[d],d,a);return c},jt=function(a,b){return ab?1:0},kt=function(a){return-1!=$APP.Xm.indexOf(a)},lt=function(a,b,c){a=a.split(b);for(var d=[];0=a.length)throw $APP.An;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},ut=function(a,b,c){if($APP.th(a))try{$APP.Wj(a,b,c)}catch(d){if(d!==$APP.An)throw d;}else{a=tt(a);try{for(;;)b.call(c, -a.next(),void 0,a)}catch(d){if(d!==$APP.An)throw d;}}},wt=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},xt=function(a,b){this.eg={};this.Yf=[];this.Ng=this.gg=0;var c=arguments.length;if(1=c)return new $APP.vh(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("number format error: empty string"); -if(0<=a.indexOf("-"))throw Error('number format error: interior "-" character: '+a);b=b||10;if(2>b||36f?(f=$APP.Oh(Math.pow(b,f)),d=d.multiply(f).add($APP.Oh(l))):(d=d.multiply(c),d=d.add($APP.Oh(l)))}return d},Et=function(a,b,c){if(null!=a&&null!=a.Zg)a=a.Zg(a,b,c);else{var d=Et[$APP.pa(null==a?null:a)];if(null!=d)a=d.Lf?d.Lf(a,b, -c):d.call(null,a,b,c);else if(d=Et._,null!=d)a=d.Lf?d.Lf(a,b,c):d.call(null,a,b,c);else throw $APP.Rb("AjaxImpl.-js-ajax-request",a);}return a},Ht=function(a){if(null!=a&&null!=a.dh)a=a.dh(a);else{var b=Ht[$APP.pa(null==a?null:a)];if(null!=b)a=b.g?b.g(a):b.call(null,a);else if(b=Ht._,null!=b)a=b.g?b.g(a):b.call(null,a);else throw $APP.Rb("AjaxResponse.-status",a);}return a},Kt=function(a){if(null!=a&&null!=a.eh)a=a.eh(a);else{var b=Kt[$APP.pa(null==a?null:a)];if(null!=b)a=b.g?b.g(a):b.call(null,a); -else if(b=Kt._,null!=b)a=b.g?b.g(a):b.call(null,a);else throw $APP.Rb("AjaxResponse.-status-text",a);}return a},Nt=function(a){if(null!=a&&null!=a.ah)a=a.ah(a);else{var b=Nt[$APP.pa(null==a?null:a)];if(null!=b)a=b.g?b.g(a):b.call(null,a);else if(b=Nt._,null!=b)a=b.g?b.g(a):b.call(null,a);else throw $APP.Rb("AjaxResponse.-get-all-headers",a);}return a},Ot=function(a){if(null!=a&&null!=a.$g)a=a.$g(a);else{var b=Ot[$APP.pa(null==a?null:a)];if(null!=b)a=b.g?b.g(a):b.call(null,a);else if(b=Ot._,null!= -b)a=b.g?b.g(a):b.call(null,a);else throw $APP.Rb("AjaxResponse.-body",a);}return a},Pt=function(a){if(null!=a&&null!=a.bh)a=a.bh(a,"Content-Type");else{var b=Pt[$APP.pa(null==a?null:a)];if(null!=b)a=b.h?b.h(a,"Content-Type"):b.call(null,a,"Content-Type");else if(b=Pt._,null!=b)a=b.h?b.h(a,"Content-Type"):b.call(null,a,"Content-Type");else throw $APP.Rb("AjaxResponse.-get-response-header",a);}return a},Qt=function(a){if(null!=a&&null!=a.fh)a=a.fh(a);else{var b=Qt[$APP.pa(null==a?null:a)];if(null!= -b)a=b.g?b.g(a):b.call(null,a);else if(b=Qt._,null!=b)a=b.g?b.g(a):b.call(null,a);else throw $APP.Rb("AjaxResponse.-was-aborted",a);}return a},Rt=function(a,b){if(null!=a&&null!=a.xg)a=a.xg(a,b);else{var c=Rt[$APP.pa(null==a?null:a)];if(null!=c)a=c.h?c.h(a,b):c.call(null,a,b);else if(c=Rt._,null!=c)a=c.h?c.h(a,b):c.call(null,a,b);else throw $APP.Rb("Interceptor.-process-request",a);}return a},Ut=function(a,b){if(null!=a&&null!=a.yg)a=a.yg(a,b);else{var c=Ut[$APP.pa(null==a?null:a)];if(null!=c)a=c.h? -c.h(a,b):c.call(null,a,b);else if(c=Ut._,null!=c)a=c.h?c.h(a,b):c.call(null,a,b);else throw $APP.Rb("Interceptor.-process-response",a);}return a},Wt=function(a){throw Error($APP.q.g(a));},Xt=function(a){a=Pt(a);return $APP.n(a)?a:""},Zt=function(a){return a instanceof $APP.ee?$APP.Wh(a):a},bu=function(a){var b=$APP.B.Lf(a,0,null);a=$APP.B.Lf(a,1,null);return[$APP.q.g(Zt(b)),"\x3d",$APP.q.g(au.g?au.g(a):au.call(null,a))].join("")},eu=function(a,b,c){return new $APP.O(null,2,5,$APP.P,[a.g?a.g(b):a.call(null, -b),c],null)},nu=function(a){var b=function(){var c=$APP.n(a)?a:lu;c=c instanceof $APP.ee?c.fb:null;switch(c){case "java":return function(){return null};case "rails":return function(){return""};case "indexed":return $APP.gg;default:throw Error(["No matching clause: ",$APP.q.g(c)].join(""));}}();return $APP.hj.h(eu,b)},tu=function(a,b){return $APP.eT.h("\x26",$APP.Yi.h(bu,pu(nu(a),null,new $APP.O(null,2,5,$APP.P,[null,b],null))))},zu=function(a){a=$APP.Ai(a);a=$APP.ce.h(a,uu);return new $APP.m(null, -2,[vu,$APP.hj.h(tu,a),wu,"application/x-www-form-urlencoded; charset\x3dutf-8"],null)},Eu=function(){return Math.round(15*Math.random()).toString(16)},Ju=function(a,b){if(3>2)},cy=function(a){var b=0;if(null!=a.forEach)a.forEach(function(l, -g){b=(b+(Zx(g)^Zx(l)))%4503599627370496});else for(var c=Tu(a),d=0;da.size)return!1;a.wh++;return 32=a.length){if(b){var d=a;a=[];for(b=0;b=b.length&&a.sg.fromArray){f=[];for(e=0;ethis.Eh)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max"); -for(b=0;ba&&(b=" ");100>a&&(b=" ");10>a&&(b=" ");return b+a},VE=function(a){a=Math.round(a);return String(100+a/1E3%60).substring(1,3)+"."+String(1E3+a%1E3).substring(1,4)},cF=function(a,b,c,d,e){if(d&&d.once)aF(a,b,c,d,e);else if(Array.isArray(b))for(var f=0;fd.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(l){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.qg&&0<=e;e--){b.currentTarget=d[e];var f=XF(d[e],a,!0,b);c=c&&f}for(e=0;!b.qg&&e2*this.gg&&zt(this),!0):!1};$APP.k.get=function(a,b){return wt(this.eg,a)?this.eg[a]:b};$APP.k.set=function(a,b){wt(this.eg,a)||(this.gg++,this.Yf.push(a),this.Ng++);this.eg[a]=b};$APP.k.addAll=function(a){if(a instanceof xt)for(var b=a.ag(),c=0;c=d.Yf.length)throw $APP.An;var f=d.Yf[b++];return a?f:d.eg[f]};return e}; -var WG=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,XI=new $APP.x(null,"ajax.core","ajax.core",-1363316958,null),wu=new $APP.ee(null,"content-type","content-type",-508222634),ZI=new $APP.x(null,"uri","uri",865819680,null),rD=new $APP.ee(null,"headers","headers",-835030129),oB=new $APP.ee(null,"handlers","handlers",79528781),eC=new $APP.ee(null,"description","description",-1428560544),$I=new $APP.x(null,"POST","POST",1750988384, -null),bJ=new $APP.ee(null,"parse-error","parse-error",255902478),dJ=new $APP.ee(null,"exception","exception",-335277064),eJ=new $APP.ee(null,"prefix","prefix",-265908465),xC=new $APP.ee(null,"url-params","url-params",-697567619),fJ=new $APP.ee(null,"keywords?","keywords?",764949733),qD=new $APP.ee(null,"format","format",-1306924766),uu=new $APP.ee(null,"vec-strategy","vec-strategy",1843221372),hJ=new $APP.x(null,"GET","GET",-917844743,null),WH=new $APP.ee(null,"handler","handler",-195596612),kJ=new $APP.ee(null, -"failure","failure",720415879),lJ=new $APP.ee(null,"with-credentials","with-credentials",-1163127235),mJ=new $APP.ee(null,"request-received","request-received",2110590540),BI=new $APP.ee(null,"api","api",-899839580),lB=new $APP.ee(null,"json","json",1279968570),oJ=new $APP.ee(null,"response","response",-1068424192),aI=new $APP.ee(null,"error-handler","error-handler",-484945776),QC=new $APP.ee(null,"json-verbose","json-verbose",-542533531),JC=new $APP.ee(null,"writer","writer",-277568236),FC=new $APP.ee(null, -"response-format","response-format",1664465322),pJ=new $APP.ee(null,"timeout","timeout",-318625318),sJ=new $APP.ee(null,"original-text","original-text",744448452),vC=new $APP.ee(null,"method","method",55703592),vu=new $APP.ee(null,"write","write",-1857649168),uJ=new $APP.ee(null,"status-text","status-text",-1834235478),fI=new $APP.ee(null,"finally","finally",1589088705),yJ=new $APP.x("ajax.core","GET","ajax.core/GET",-580027892,null),zJ=new $APP.ee(null,"raw","raw",1604651272),wH=new $APP.ee(null, -"interceptors","interceptors",-1546782951),bD=new $APP.ee(null,"reader","reader",169660853),AJ=new $APP.ee(null,"failed","failed",-1397425762),BJ=new $APP.x("ajax.core","POST","ajax.core/POST",1572763855,null),CJ=new $APP.ee(null,"not-initialized","not-initialized",-1937378906),$B=new $APP.ee(null,"read","read",1140058661),xI=new $APP.ee(null,"uri","uri",-774711847),lu=new $APP.ee(null,"java","java",1958249105),EJ=new $APP.ee(null,"processing-request","processing-request",-264947221),HJ=new $APP.ee(null, -"aborted","aborted",1775972619),JJ=new $APP.ee(null,"connection-established","connection-established",-1403749733),KJ=new $APP.ee(null,"progress-handler","progress-handler",333585589),NJ=new $APP.ee(null,"response-ready","response-ready",245208276);var QJ=new $APP.lm(null,new $APP.m(null,7,[206,null,204,null,304,null,1223,null,201,null,202,null,200,null],null),null);var au=encodeURIComponent,pu=function pu(a,b,c){var e=$APP.B.Lf(c,0,null);c=$APP.B.Lf(c,1,null);var f=Zt(e);b=$APP.n(b)?$APP.n(e)?[$APP.q.g(b),"[",$APP.q.g(f),"]"].join(""):b:f;e=$APP.hj.Lf(pu,a,b);return"string"===typeof c?new $APP.O(null,1,5,$APP.P,[new $APP.O(null,2,5,$APP.P,[b,c],null)],null):c instanceof $APP.ee?new $APP.O(null,1,5,$APP.P,[new $APP.O(null,2,5,$APP.P,[b,$APP.Wh(c)],null)],null):$APP.vf(c)?$APP.Oj.j(e,$APP.Pe([$APP.z(c)])):$APP.tf(c)||$APP.rf(c)?$APP.Oj.j(e,$APP.Pe([$APP.jj.h(a, -$APP.z(c))])):new $APP.O(null,1,5,$APP.P,[new $APP.O(null,2,5,$APP.P,[b,c],null)],null)};var Tu="undefined"!=typeof Object.keys?function(a){return Object.keys(a)}:function(a){return $APP.xa(a)},Ou="undefined"!=typeof Array.isArray?function(a){return Array.isArray(a)}:function(a){return"array"===$APP.pa(a)};Lu.prototype.write=function(a,b){return Ju(a,b)?(4096===this.Sh?(this.clear(),this.Eg=0,this.cache={}):1936===this.Vf&&this.clear(),b=this.cache[a],null==b?(this.cache[a]=[Ku(this.Vf),this.Eg],this.Vf++,a):b[1]!=this.Eg?(b[1]=this.Eg,b[0]=Ku(this.Vf),this.Vf++,a):b[0]):a};Lu.prototype.clear=function(){this.Vf=0;this.Eg++};Mu.prototype.write=function(a){1936==this.Vf&&(this.Vf=0);this.cache[this.Vf]=a;this.Vf++;return a}; -Mu.prototype.read=function(a){return this.cache[2===a.length?a.charCodeAt(1)-48:44*(a.charCodeAt(1)-48)+(a.charCodeAt(2)-48)]};Mu.prototype.clear=function(){this.Vf=0};var uy=1,my={},ry=0;var RJ="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";vy.prototype.toString=function(){return"[TaggedValue: "+this.tag+", "+this.rep+"]"};vy.prototype.equiv=function(a){return Ru(this,a)};vy.prototype.equiv=vy.prototype.equiv;vy.prototype.$f=function(a){return a instanceof vy?this.tag===a.tag&&Ru(this.rep,a.rep):!1};vy.prototype.cg=function(){-1===this.Tf&&(this.Tf=Vu(Zx(this.tag),Zx(this.rep)));return this.Tf};var WJ=Dt("9007199254740991"),$J=Dt("-9007199254740991"); -$APP.vh.prototype.equiv=function(a){return Ru(this,a)};$APP.vh.prototype.equiv=$APP.vh.prototype.equiv;$APP.vh.prototype.$f=function(a){return a instanceof $APP.vh&&this.hg(a)};$APP.vh.prototype.cg=function(){return this.Uf};yy.prototype.toString=function(){return":"+this.Wf};yy.prototype.namespace=function(){var a=this.Wf.indexOf("/");return-1!=a?this.Wf.substring(0,a):null};yy.prototype.name=function(){var a=this.Wf.indexOf("/");return-1!=a?this.Wf.substring(a+1,this.Wf.length):this.Wf}; -yy.prototype.equiv=function(a){return Ru(this,a)};yy.prototype.equiv=yy.prototype.equiv;yy.prototype.$f=function(a){return a instanceof yy&&this.Wf==a.Wf};yy.prototype.cg=function(){-1===this.Tf&&(this.Tf=Zx(this.Wf));return this.Tf};Ay.prototype.namespace=function(){var a=this.Wf.indexOf("/");return-1!=a?this.Wf.substring(0,a):null};Ay.prototype.name=function(){var a=this.Wf.indexOf("/");return-1!=a?this.Wf.substring(a+1,this.Wf.length):this.Wf};Ay.prototype.toString=function(){return this.Wf}; -Ay.prototype.equiv=function(a){return Ru(this,a)};Ay.prototype.equiv=Ay.prototype.equiv;Ay.prototype.$f=function(a){return a instanceof Ay&&this.Wf==a.Wf};Ay.prototype.cg=function(){-1===this.Tf&&(this.Tf=Zx(this.Wf));return this.Tf};Fy.prototype.toString=function(){var a=this.high,b=this.low;var c=Ey(a,0,4)+"-";c+=Ey(a,4,6)+"-";c+=Ey(a,6,8)+"-";c+=Ey(b,0,2)+"-";return c+=Ey(b,2,8)};Fy.prototype.equiv=function(a){return Ru(this,a)};Fy.prototype.equiv=Fy.prototype.equiv; -Fy.prototype.$f=function(a){return a instanceof Fy&&this.high.hg(a.high)&&this.low.hg(a.low)};Fy.prototype.cg=function(){-1===this.Tf&&(this.Tf=Zx(this.toString()));return this.Tf};Date.prototype.$f=function(a){return a instanceof Date?this.valueOf()===a.valueOf():!1};Date.prototype.cg=function(){return this.valueOf()}; -Gy.prototype.next=function(){if(this.Vf>(-2*b&6)):0)d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".indexOf(d); -c=f}a=c.length;b=new Uint8Array(a);for(d=0;da.compare($J)?a:$APP.Ph(a));return a},n:function(a){return xy("n",a)},d:function(a){return parseFloat(a)},f:function(a){return xy("f",a)},c:function(a){return a},":":function(a){return new yy(a)},$:function(a){return new Ay(a)},r:function(a){return xy("r",a)},z:function(a){a:switch(a){case "-INF":a= --Infinity;break a;case "INF":a=Infinity;break a;case "NaN":a=NaN;break a;default:throw Error("Invalid special double value "+a);}return a},"'":function(a){return a},m:function(a){a="number"===typeof a?a:parseInt(a,10);return new Date(a)},t:function(a){return new Date(a)},u:function(a){a=a.replace(/-/g,"");var b,c;var d=b=0;for(c=24;8>d;d+=2,c-=8)b|=parseInt(a.substring(d,d+2),16)<d;d+=2,c-=8)e|=parseInt(a.substring(d,d+2),16)<d;d+= -2,c-=8)b|=parseInt(a.substring(d,d+2),16)<d;d+=2,c-=8)e|=parseInt(a.substring(d,d+2),16)<a.length&&this.bg.fromArray){d=[];for(c=1;cc.length&&this.bg.fromArray){var f=[];for(d=0;d>8-d%1*8)){c=a.charCodeAt(d+=.75);if(255parseFloat(bM)){KD=String(hM);break a}}KD=bM}var JD={},nM;if($APP.kX.document&&LG){var qM=zD();nM=qM?qM:parseInt(KD,10)||void 0}else nM=void 0;var JK=nM;var TD=0,$D={};aE.prototype.Ag=!1;aE.prototype.zh=function(){if(!this.Ag&&(this.Ag=!0,this.ng(),0!=TD)){var a=$APP.qa(this);if(0!=TD&&this.ug&&0=a.keyCode)a.keyCode=-1}catch(b){}};var eF="closure_listenable_"+(1E6*Math.random()|0),jE=0;vE.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Zf[f];a||(a=this.Zf[f]=[],this.Lg++);var l=xE(a,b,d,e);-1>>0);bt(aG,aE);aG.prototype[eF]=!0;$APP.k=aG.prototype;$APP.k.addEventListener=function(a,b,c,d){cF(this,a,b,c,d)};$APP.k.removeEventListener=function(a,b,c,d){IF(this,a,b,c,d)}; -$APP.k.dispatchEvent=function(a){var b,c=this.qh;if(c)for(b=[];c;c=c.qh)b.push(c);c=this.Rh;var d=a.type||a;if("string"===typeof a)a=new fE(a,c);else if(a instanceof fE)a.target=a.target||c;else{var e=a;a=new fE(d,c);$APP.v8(a,e)}e=!0;if(b)for(var f=b.length-1;!a.qg&&0<=f;f--){var l=a.currentTarget=b[f];e=dG(l,d,!0,a)&&e}a.qg||(l=a.currentTarget=c,e=dG(l,d,!0,a)&&e,a.qg||(e=dG(l,d,!1,a)&&e));if(b)for(f=0;!a.qg&&fa?-9223372036854775808>=a?Ah:$APP.Bh(new $APP.vh(-a,-a/4294967296)):$APP.Gh};$APP.Bh=function(a){var b=~a.Uf+1|0;return $APP.yh(b,~a.Qf+!b|0)};$APP.Ph=function(a){return 4294967296*a.Qf+(a.Uf>>>0)}; -pi=function(a,b){if(Sh(b))throw Error("division by zero");if(0>a.Qf){if(a.hg(Ah)){if(b.hg(Th)||b.hg(hi))return Ah;if(b.hg(Ah))return Th;var c=1;if(0==c)c=a;else{var d=a.Qf;c=32>c?$APP.yh(a.Uf>>>c|d<<32-c,d>>c):$APP.yh(d>>c-32,0<=d?0:-1)}c=pi(c,b).shiftLeft(1);if(c.hg($APP.Gh))return 0>b.Qf?Th:hi;d=b.multiply(c);a=a.add($APP.Bh(d));return c.add(pi(a,b))}return 0>b.Qf?pi($APP.Bh(a),$APP.Bh(b)):$APP.Bh(pi($APP.Bh(a),b))}if(Sh(a))return $APP.Gh;if(0>b.Qf)return b.hg(Ah)?$APP.Gh:$APP.Bh(pi(a,$APP.Bh(b))); -for(d=$APP.Gh;0<=a.compare(b);){c=Math.max(1,Math.floor($APP.Ph(a)/$APP.Ph(b)));var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var f=$APP.Oh(c),l=f.multiply(b);0>l.Qf||0b?1:a>>-15,461845907)};Ud=function(a,b){a=(a|0)^(b|0);return Sd(a<<13|a>>>-13,5)+-430675100|0};Vd=function(a,b){a=(a|0)^b;a=Sd(a^a>>>16,-2048144789);a=Sd(a^a>>>13,-1028477387);return a^a>>>16}; -Yd=function(a){255>2)};be=function(a,b){if(a.Kb===b.Kb)return 0;var c=Jb(a.ib);if($APP.n(c?b.ib:c))return-1;if($APP.n(a.ib)){if(Jb(b.ib))return 1;c=ua(a.ib,b.ib);return 0===c?ua(a.name,b.name):c}return ua(a.name,b.name)}; -$APP.x=function(a,b,c,d,e){this.ib=a;this.name=b;this.Kb=c;this.oc=d;this.qb=e;this.C=2154168321;this.J=4096};$APP.de=function(a,b,c){this.A=a;this.Bb=b;this.qb=c;this.C=6717441;this.J=0};ge=function(a){return null!=a?a.J&131072||$APP.Ua===a.Oe?!0:a.J?!1:$APP.Pb(Od,a):$APP.Pb(Od,a)}; -$APP.z=function(a){if(null==a)return null;if(null!=a&&(a.C&8388608||$APP.Ua===a.Od))return a.V(null);if(Gb(a)||"string"===typeof a)return 0===a.length?null:new $APP.Xb(a,0,null);if(null!=a&&null!=a[Ub])return a=$APP.Aa(a,Ub).call(a),he.g?he.g(a):he.call(null,a);if($APP.Pb(ad,a))return bd(a);throw Error([$APP.q.g(a)," is not ISeqable"].join(""));};$APP.r=function(a){if(null==a)return null;if(null!=a&&(a.C&64||$APP.Ua===a.rc))return a.wa(null);a=$APP.z(a);return null==a?null:pc(a)}; -ie=function(a){return null!=a?null!=a&&(a.C&64||$APP.Ua===a.rc)?a.Aa(null):(a=$APP.z(a))?a.Aa(null):$APP.je:$APP.je};$APP.t=function(a){return null==a?null:null!=a&&(a.C&128||$APP.Ua===a.Hc)?a.xa(null):$APP.z(ie(a))};ke=function(a){this.R=a};le=function(a){return new ke($APP.z(a))};me=function(a,b){this.value=a;this.zc=b;this.ed=null;this.C=8388672;this.J=0};he=function(a){var b=a.next();return $APP.n(b.done)?null:new me(b.value,a)}; -ne=function(a){var b=0,c=1;for(a=$APP.z(a);;)if(null!=a)b+=1,c=Sd(31,c)+$APP.Zd($APP.r(a))|0,a=$APP.t(a);else return Vd(Ud(0,Td(c)),b)};$APP.pe=function(a){var b=0,c=0;for(a=$APP.z(a);;)if(null!=a)b+=1,c=c+$APP.Zd($APP.r(a))|0,a=$APP.t(a);else return Vd(Ud(0,Td(c)),b)};re=function(){};$APP.te=function(a){return a+1};ve=function(a){this.A=a;this.C=32768;this.J=0};$APP.we=function(a){return new ve(a)};xe=function(a){return a instanceof ve};ye=function(a){return xe(a)?a:$APP.we(a)}; -ze=function(a){return xe(a)?Ae.g?Ae.g(a):Ae.call(null,a):a};Ae=function(a){return $APP.Oc(a)};Be=function(a,b){var c=a.aa(null);if(0===c)return b.s?b.s():b.call(null);for(var d=a.S(null,0),e=1;;)if(e=d)return-1;!(0c&&(c+=d,c=0>c?0:c);for(;;)if(cc?d+c:c;for(;;)if(0<=c){if($APP.fe.h($APP.B.h?$APP.B.h(a,c):$APP.B.call(null,a,c),b))return c;--c}else return-1};Le=function(a,b){this.v=a;this.G=b};$APP.Xb=function(a,b,c){this.v=a;this.G=b;this.D=c;this.C=166592766;this.J=139264};$APP.Pe=function(a){return 0a):a instanceof $APP.vh?Jb(0>a.Qf):!1};$APP.H=function(a,b){return null!=a&&(a.C&512||$APP.Ua===a.ee)?a.Gb(null,b):$APP.Pb(yc,a)?aa(a,b):$APP.ce.Lf(a,b,Bf)===Bf?!1:!0};Qf=function(a,b){return(null!=a?$APP.Ua===a.bc||(a.Jc?0:$APP.Pb(zc,a)):$APP.Pb(zc,a))?Ac(a,b):null!=a&&sf(a)&&$APP.H(a,b)?new $APP.Rf(b,$APP.ce.h(a,b),null):null}; -$APP.Uf=function(a,b){if(a===b)return 0;if(null==a)return-1;if(null==b)return 1;if("number"===typeof a){if("number"===typeof b)return ua(a,b);throw Error(["Cannot compare ",$APP.q.g(a)," to ",$APP.q.g(b)].join(""));}if(null!=a?a.J&2048||$APP.Ua===a.ac||(a.J?0:$APP.Pb(Ad,a)):$APP.Pb(Ad,a))return Bd(a,b);if("string"!==typeof a&&!Gb(a)&&!0!==a&&!1!==a||Qb(a)!==Qb(b))throw Error(["Cannot compare ",$APP.q.g(a)," to ",$APP.q.g(b)].join(""));return ua(a,b)}; -Vf=function(a,b){var c=$APP.Je(a),d=$APP.Je(b);if(cd)a=1;else if(0===c)a=0;else a:for(d=0;;){var e=$APP.Uf($APP.B.h(a,d),$APP.B.h(b,d));if(0===e&&d+1>1&1431655765;a=(a&858993459)+(a>>2&858993459);return 16843009*(a+(a>>4)&252645135)>>24}; -Ne=function(a,b){if($APP.tf(b))if(Ge(a)&&Ge(b)&&$APP.Je(a)!==$APP.Je(b))a=!1;else a:for(a=$APP.z(a),b=$APP.z(b);;){if(null==a){a=null==b;break a}if(null!=b&&$APP.fe.h($APP.r(a),$APP.r(b)))a=$APP.t(a),b=$APP.t(b);else{a=!1;break a}}else a=null;return Hf(a)};$APP.C=function(a,b,c,d,e){this.D=a;this.first=b;this.Xb=c;this.count=d;this.H=e;this.C=65937646;this.J=8192};Dh=function(a){return null!=a?a.C&33554432||$APP.Ua===a.Qe?!0:a.C?!1:$APP.Pb(ed,a):$APP.Pb(ed,a)}; -$APP.Eh=function(a){this.D=a;this.C=65937614;this.J=8192};Fh=function(a){return null!=a?a.C&134217728||$APP.Ua===a.Ve?!0:a.C?!1:$APP.Pb(gd,a):$APP.Pb(gd,a)};$APP.Hh=function(a){return Fh(a)?(a=hd(a))?a:$APP.je:$APP.dc.Lf($APP.Ze,$APP.je,a)};$APP.Ih=function(a,b,c,d){this.D=a;this.first=b;this.Xb=c;this.H=d;this.C=65929452;this.J=8192};Oe=function(a,b){return null==b?new $APP.C(null,a,null,1,null):null!=b&&(b.C&64||$APP.Ua===b.rc)?new $APP.Ih(null,a,b,null):new $APP.Ih(null,a,$APP.z(b),null)}; -Jh=function(a,b){if(a.fb===b.fb)return 0;var c=Jb(a.ib);if($APP.n(c?b.ib:c))return-1;if($APP.n(a.ib)){if(Jb(b.ib))return 1;c=ua(a.ib,b.ib);return 0===c?ua(a.name,b.name):c}return ua(a.name,b.name)};$APP.ee=function(a,b,c,d){this.ib=a;this.name=b;this.fb=c;this.oc=d;this.C=2153775105;this.J=4096};Kh=function(a){return a instanceof $APP.ee};$APP.Lh=function(a,b){return a===b?!0:a instanceof $APP.ee&&b instanceof $APP.ee?a.fb===b.fb:!1}; -Mh=function(a){if(null!=a&&(a.J&4096||$APP.Ua===a.Nd))return a.Gc(null);throw Error(["Doesn't support namespace: ",$APP.q.g(a)].join(""));};Nh=function(a){return a instanceof $APP.ee||a instanceof $APP.x};Qh=function(a){return a instanceof $APP.x&&null==Mh(a)};Rh=function(a){var b=a instanceof $APP.x;b?(a=Mh(a),a=$APP.n(a)?!0:a):a=b;return Hf(a)};$APP.Xh=function(a,b,c,d){this.D=a;this.ha=b;this.R=c;this.H=d;this.C=32374988;this.J=1}; -Yh=function(a){null!=a.ha&&(a.R=a.ha.s?a.ha.s():a.ha.call(null),a.ha=null);return a.R};Zh=function(a){this.ec=a;this.end=0;this.C=2;this.J=0};ai=function(a){return new Zh(Array(a))};$h=function(a,b,c){this.v=a;this.ab=b;this.end=c;this.C=524306;this.J=0};$APP.bi=function(a,b,c,d){this.Xa=a;this.yb=b;this.D=c;this.H=d;this.C=31850732;this.J=1536};ci=function(a,b){return 0===hc(a)?b:new $APP.bi(a,b,null,null)};di=function(a,b){return a.add(b)};ei=function(a){return a.Xa()}; -Yf=function(a){var b=[];for(a=$APP.z(a);;)if(null!=a)b.push($APP.r(a)),a=$APP.t(a);else return b};mi=function(a,b){if(Ge(b))return $APP.Je(b);var c=0;for(b=$APP.z(b);;)if(null!=b&&ca?0:a-1>>>5<<5};gk=function(a,b,c){for(;;){if(0===b)return c;var d=dk(a);d.v[0]=c;c=d;b-=5}};kk=function(a,b){throw Error(["No item ",$APP.q.g(a)," in vector of length ",$APP.q.g(b)].join(""));}; -lk=function(a,b){if(b>=fk(a))return a.gb;var c=a.root;for(a=a.shift;;)if(0>>a&31];a=d}else return c.v};mk=function(a,b){return 0<=b&&bc)return new $APP.O(null,c,5,$APP.P,a,null);b=32;for(var d=(new $APP.O(null,32,5,$APP.P,a.slice(0,32),null)).pc(null);;)if(bc||d$APP.Je(b))throw Error("Index out of bounds");return new $APP.Fk(a,b,c,d,e)}}; -Ik=function(a,b){return a===b.ja?b:new ck(a,Zb(b.v))};uk=function(a){return new ck({},Zb(a.v))};vk=function(a){var b=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];Af(a,0,b,0,a.length);return b};tk=function(a,b,c,d){this.F=a;this.shift=b;this.root=c;this.gb=d;this.J=88;this.C=275}; -Kk=function(a,b,c){if(a.root.ja){if(0<=b&&b>>f&31;f=g(f-5,l.v[p]);l.v[p]=f}return l}(a.shift,a.root);a.root=d}return a}if(b===a.F)return a.tc(null,c);throw Error(["Index ",$APP.q.g(b)," out of bounds for TransientVector of length",$APP.q.g(a.F)].join(""));}throw Error("assoc! after persistent!");};Lk=function(a,b){this.wc=a;this.Uc=b}; -$APP.Mk=function(a,b,c,d){this.D=a;this.lb=b;this.nb=c;this.H=d;this.C=31850700;this.J=0};$APP.Nk=function(a,b,c,d,e){this.D=a;this.count=b;this.lb=c;this.nb=d;this.H=e;this.J=139264;this.C=31858766};Pk=function(){this.C=2097152;this.J=0}; -Rk=function(a,b){return Hf($APP.vf(b)&&!$APP.wf(b)?$APP.Je(a)===$APP.Je(b)?(null!=a?a.C&1048576||$APP.Ua===a.Pe||(a.C?0:$APP.Pb(Xc,a)):$APP.Pb(Xc,a))?$APP.fg(function(c,d,e){return $APP.fe.h($APP.ce.Lf(b,d,Qk),e)?!0:$APP.we(!1)},!0,a):Zi(function(c){return $APP.fe.h($APP.ce.Lf(b,$APP.r(c),Qk),$APP.Te(c))},a):null:null)};$APP.Sk=function(a,b,c,d){this.G=0;this.Ae=a;this.Fd=b;this.we=c;this.Wd=d};Tk=function(a){this.R=a};Uk=function(a){this.R=a}; -Vk=function(a,b){if(b instanceof $APP.ee)a:{var c=a.length;b=b.fb;for(var d=0;;){if(c<=d){a=-1;break a}if(a[d]instanceof $APP.ee&&b===a[d].fb){a=d;break a}d+=2}}else if("string"===typeof b||"number"===typeof b)a:for(c=a.length,d=0;;){if(c<=d){a=-1;break a}if(b===a[d]){a=d;break a}d+=2}else if(b instanceof $APP.x)a:for(c=a.length,b=b.Kb,d=0;;){if(c<=d){a=-1;break a}if(a[d]instanceof $APP.x&&b===a[d].Kb){a=d;break a}d+=2}else if(null==b)a:for(b=a.length,c=0;;){if(b<=c){a=-1;break a}if(null==a[c]){a= -c;break a}c+=2}else a:for(c=a.length,d=0;;){if(c<=d){a=-1;break a}if($APP.fe.h(b,a[d])){a=d;break a}d+=2}return a};$APP.Rf=function(a,b,c){this.key=a;this.A=b;this.H=c;this.C=166619935;this.J=0};zk=function(a){return null!=a?a.C&2048||$APP.Ua===a.Se?!0:!1:!1};$APP.Wk=function(a,b,c){this.v=a;this.G=b;this.qb=c;this.C=32374990;this.J=0};Xk=function(a,b){this.v=a;this.G=0;this.F=b};$APP.m=function(a,b,c,d){this.D=a;this.F=b;this.v=c;this.H=d;this.C=16647951;this.J=139268}; -$APP.$i=function(a,b,c){a=b?a:Zb(a);if(!c){c=[];for(b=0;;)if(bd?c.left:c.right}else return null};$APP.cm=function(a,b){this.ca=a;this.qb=b;this.C=32374988;this.J=0};Yk=function(a){return(a=$APP.z(a))?new $APP.cm(a,null):null};Ak=function(a){return Dc(a)}; -$APP.dm=function(a,b){this.ca=a;this.qb=b;this.C=32374988;this.J=0};Zk=function(a){return(a=$APP.z(a))?new $APP.dm(a,null):null};Bk=function(a){return Ec(a)};$APP.im=function(a,b){var c=$APP.Hi;for(b=$APP.z(b);;)if(b){var d=$APP.r(b),e=$APP.ce.Lf(a,d,jm);c=$APP.Di.h(e,jm)?$APP.E.Lf(c,d,e):c;b=$APP.t(b)}else return $APP.Sc(c,$APP.F(a))};km=function(a){this.zc=a};$APP.lm=function(a,b,c){this.D=a;this.Vb=b;this.H=c;this.C=15077647;this.J=139268}; -Tf=function(a){for(var b=a.length,c=$APP.vd($APP.nm),d=0;;)if(dmb)return $APP.od(a,"#");$APP.od(a,c);if(0===yb.g(f))$APP.z(l)&&$APP.od(a,function(){var J=$m.g(f);return $APP.n(J)?J:"..."}());else{if($APP.z(l)){var p=$APP.r(l);b.Lf?b.Lf(p,a,f):b.call(null,p,a,f)}for(var w=$APP.t(l),A=yb.g(f)-1;;)if(!w||null!=A&&0===A){$APP.z(w)&&0===A&&($APP.od(a,d),$APP.od(a,function(){var J=$m.g(f);return $APP.n(J)?J:"..."}()));break}else{$APP.od(a,d);var D=$APP.r(w);c=a;l=f;b.Lf?b.Lf(D,c,l):b.call(null, -D,c,l);var G=$APP.t(w);c=A-1;w=G;A=c}}return $APP.od(a,e)}finally{mb=g}};an=function(a,b){b=$APP.z(b);for(var c=null,d=0,e=0;;)if(e=b||b>=2+$APP.Je(a))return $APP.Ze.h($APP.ag(Oe("",$APP.Yi.h($APP.q,$APP.z(a)))),"");if($APP.n(xh.h?xh.h(1,b):xh.call(null,1,b)))return new $APP.O(null,1,5,$APP.P,[a],null);if($APP.n(xh.h?xh.h(2,b):xh.call(null,2,b)))return new $APP.O(null,2,5,$APP.P,["",a],null);b-=2;return $APP.Ze.h($APP.ag(Oe("",$APP.Hk.Lf($APP.ag($APP.Yi.h($APP.q,$APP.z(a))),0,b))),$APP.Ch.h(a,b))};Kf=function(a){return $APP.jT.h(a,/\n|\r\n/)};Lf=function(a){return $APP.qi(null==a?"":String(a))}; -vT=function(a,b){return-1!=a.indexOf(b)};$APP.wT=function(a,b,c,d,e){this.Jb=a;this.form=b;this.Nf=c;this.N=d;this.H=e;this.C=2230716170;this.J=139264};xT=function(a,b){return new $APP.wT(b,a,null,null,null)};zT=function(a){return null==a?null:","===a?!0:yT.test(a)};AT=function(a){return null==a?null:!/[^0-9]/.test(a)};BT=function(a){return"\n"===a||"\n"===a||null==a}; -CT=function(a,b){return function e(d){return new $APP.Xh(null,function(){for(;;){var f=$APP.z(d);if(f){if($APP.yf(f)){var l=$APP.Dd(f),g=$APP.Je(l),p=ai(g);return function(){for(var A=0;;)if(AD:D:J)&&uW("Can't have fixed arity function with more params than variadic function",b);return $APP.bk.B($APP.bk.B($APP.E.j(p,JF,W,$APP.Pe([tA,R>A?R:A])),jL,$APP.Ze,w),$APP.V,$APP.Ze,G)},new $APP.m(null,4,[jL,$APP.$e,$APP.V,$APP.$e,Ar,null,tA,-1],null),d);d=jL.g(e);e=$APP.V.g(e);f=$APP.F(b);var g=GW(l,f);f=f===g?null:$APP.hf.j(g,$APP.Xp,$APP.Pe([$APP.dH,$APP.oF,$APP.Tq]));return new $APP.m(null,5,[QS,d,Yy,a,cP,e,$x,!0,NE,f],null)}; -Ng=function(a,b){var c=Yy.g(a),d=QS.g(a),e=Kg.g(a),f=DN.g(a),l=$APP.n(c)?Jb(e):c,g=$APP.fe.h(1,$APP.Je(d))?$APP.r(d):null;return $APP.n(b)?function(p,w){var A=jW(p,w,b);p=yV(p,w,c,d,f,g,l);return Ci.Lf(p,$APP.em,A)}:function(p,w){return yV(p,w,c,d,f,g,l)}};HW=function(a,b){a=cf(a,b,!1);var c=NE.g(a);c=Ng(a,c);return cU(c,a,b,null)}; -IW=function(a,b,c,d){a=$APP.dc.Lf(function(l,g){var p=$APP.B.Lf(l,0,null);l=$APP.B.Lf(l,1,null);var w=$APP.B.Lf(g,0,null);g=$APP.B.Lf(g,1,null);var A=$APP.F(g);A=$APP.n(A)?RN.g(A):null;w=$APP.n(A)?Ci.B(w,$APP.E,RN,A):w;g=wW?wW(p,g):xW.call(null,p,g);return new $APP.O(null,2,5,$APP.P,[$APP.bk.I(p,lH,$APP.E,w,g),$APP.Ze.j(l,w,$APP.Pe([g]))],null)},new $APP.O(null,2,5,$APP.P,[a,$APP.$e],null),$APP.Xj.h(2,c));c=$APP.B.Lf(a,0,null);var e=$APP.B.Lf(a,1,null),f=EW(c,d);return ia(function(l,g){a:{b:for(var p= -e;;){var w=$APP.r(p);p=ie(p);var A=$APP.r(p);p=$APP.t(p);A=X.Lf?X.Lf(l,g,A):X.call(null,l,g,A);g=v(g,w,A);if(Jb(p)){g=new $APP.O(null,2,5,$APP.P,[l,g],null);break b}p=w=p}l=$APP.B.Lf(g,0,null);g=$APP.B.Lf(g,1,null);if($APP.n(f))for(w=f;;){if(p=$APP.r(w),p=X.Lf?X.Lf(l,g,p):X.call(null,l,g,p),w=$APP.t(w),!w){l=p;break a}}else l=null}return l},b)};JW=function(a,b){var c=$APP.z(b);$APP.r(c);var d=$APP.t(c);c=$APP.r(d);d=$APP.t(d);c=TT(c);return IW(a,b,c,d)}; -KW=function(a,b){$APP.B.Lf(b,0,null);var c=$APP.B.Lf(b,1,null),d=$APP.B.Lf(b,2,null),e=$APP.B.Lf(b,3,null),f=new $APP.O(null,2,5,$APP.P,[null,c],null);LW.h?LW.h(a,f):LW.call(null,a,f);Qh(c)||uW("Var name should be simple symbol.",b);var l=$APP.Je(b);f=$APP.fe.h(4,l)&&"string"===typeof d?d:null;if(!(l<=($APP.n(f)?4:3)))throw Error("Too many arguments to def");d=$APP.n(f)?e:d;var g=$APP.fe.h(2,l)?tF:wW?wW(a,d):xW.call(null,a,d),p=$APP.F(c);d=function(){var A=$APP.E.Lf(a,$APP.ub,!0);return wW?wW(A,p): -xW.call(null,A,p)}();d=$APP.E.Lf(d,$APP.U,$APP.Oc(IU));var w=$APP.n(f)?$APP.E.Lf(d,$APP.S,f):d;return ia(function(A,D){return ZV(A,D,c,g,w)},b)}; -MW=function(a,b){var c=$APP.z(b),d=$APP.r(c);c=$APP.t(c);var e=$APP.r(c);c=$APP.t(c);Qh(e)||uW("Var name should be simple symbol.",b);var f=new $APP.O(null,2,5,$APP.P,[null,e],null);LW.h?LW.h(a,f):LW.call(null,a,f);var l=$APP.fe.h("defmacro",$APP.Wh(d));d=Mm(gj.h(Jb,$APP.tf),c);var g=$APP.B.Lf(d,0,null),p=$APP.B.Lf(d,1,null);$APP.pf(p)&&uW("Parameter declaration missing.",b);var w=function(){var R=$APP.r(g);return $APP.n(R)?"string"===typeof R?R:null:null}();f=function(){var R=Ye(g);return $APP.n(R)? -$APP.vf(R)?R:null:null}();c=$APP.Ff($APP.r(p))?function(){var R=Ye(p);return $APP.vf(R)?new $APP.O(null,2,5,$APP.P,[R,wm(p)],null):new $APP.O(null,2,5,$APP.P,[null,p],null)}():new $APP.O(null,2,5,$APP.P,[null,p],null);d=$APP.B.Lf(c,0,null);c=$APP.B.Lf(c,1,null);f=$APP.em.j($APP.Pe([$APP.F(e),$APP.F(b),f]));var A=$APP.n(d)?$APP.em.j($APP.Pe([f,d])):f;d=function(){var R=$APP.E.Lf(a,$APP.ub,!0);return wW?wW(R,A):xW.call(null,R,A)}();c=$APP.lf(Oe(gC,c),$APP.F(b));c=cf(a,c,l);f=$APP.z(cP.g(c));var D=$APP.E.j(d, -$APP.U,$APP.Oc(IU),$APP.Pe([$APP.V,f])),G=function(){var R=$APP.n(w)?$APP.E.Lf(D,$APP.S,w):D;return l?$APP.E.Lf(R,$APP.hq,!0):R}();d=$APP.E.j(c,DN,l,$APP.Pe([Yy,e,Kg,!0]));c=NE.g(d);c=Ng(d,c);var J=na(c,d,d);return ia(function(R,W){return ZV(R,W,e,J,G)},b)}; -NW=function(a,b){var c=$APP.Te(b),d=Lm.h(2,c),e=Lm.h(2,ie(c)),f=Zi($d,d)?new $APP.O(null,2,5,$APP.P,[c,d],null):function(){var l=Ij.h($APP.Je(d),function(){return $APP.Cn.s()}),g=$APP.Yi.Lf($APP.Ck,l,e),p=$APP.Yi.Lf($APP.Ck,d,l);return new $APP.O(null,2,5,$APP.P,[$APP.Uj.Lf($APP.$e,Pj,Mj.h(g,p)),l],null)}();c=$APP.B.Lf(f,0,null);f=$APP.B.Lf(f,1,null);b=Xe(b);b=new $APP.C(null,GB,new $APP.C(null,c,new $APP.C(null,oi.h(Xi.g($APP.z($APP.K.j(new $APP.C(null,mH,null,1,null),new $APP.C(null,$APP.ag(d), -null,1,null),$APP.Pe([b])))),f),null,1,null),2,null),3,null);return wW?wW(a,b):xW.call(null,a,b)};Zg=function(a,b){var c=ie(b),d=function(){var e=Oe(cp,c);return wW?wW(a,e):xW.call(null,a,e)}();return ia(function(e,f){return new $APP.Xh(null,function(){return X(e,f,d)},null,null)},b)}; -PW=function(a,b){var c=ie(b);a=EW(a,c);switch($APP.Je(a)){case 0:case 1:return uW("Too few arguments to if",b);case 2:var d=$APP.B.h(a,0),e=$APP.B.h(a,1);return Jb(d)?null:MU(d)?e:oa(function(l,g){return $APP.n(X(l,g,d))?X(l,g,e):null},null,b,null);case 3:d=$APP.B.h(a,0);e=$APP.B.h(a,1);var f=$APP.B.h(a,2);return Jb(d)?f:MU(d)?e:oa(function(l,g){return $APP.n(X(l,g,d))?X(l,g,e):X(l,g,f)},null,b,null);default:return uW("Too many arguments to if",b)}}; -ah=function(a,b){function c(G,J,R){return $APP.H(G,J)?uW(["Duplicate case test constant ",$APP.q.g(J)].join(""),b):$APP.E.Lf(G,J,R)}var d=function(){var G=$APP.Te(b);return wW?wW(a,G):xW.call(null,a,G)}(),e=Xe(b),f=Lm.h(2,e),l=EW(a,Lm.h(2,ie(e))),g=cj($APP.Je(e))?null:new $APP.O(null,2,5,$APP.P,[!0,function(){var G=Ye(e);return wW?wW(a,G):xW.call(null,a,G)}()],null),p=$APP.B.Lf(g,0,null),w=$APP.B.Lf(g,1,null),A=Mj.h(f,l),D=function(){for(var G=$APP.z(A),J=$APP.Hi;;)if(G){var R=G,W=$APP.z(R),Z=$APP.r(W), -va=$APP.t(W),Da=Z,Qa=$APP.r(va),vb=$APP.t(va),M=Qa,h=vb;if(Dh(Da)){var ya=h;J=$APP.dc.Lf(function(Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb,Ab,qc,Hc,jd,Uh,Zu,$u){return function(av,bv){return $u(av,bv,Eb)}}(G,J,R,W,Z,va,Da,Qa,vb,M,h,d,e,f,l,g,p,w,A,c),J,Da);G=ya}else G=h,J=c(J,Da,M)}else return J}();return oa($APP.n(p)?function(G,J){var R=X.Lf?X.Lf(G,J,d):X.call(null,G,J,d);R=Qf(D,R);$APP.n(R)?($APP.B.Lf(R,0,null),R=$APP.B.Lf(R,1,null),G=X.Lf?X.Lf(G,J,R):X.call(null,G,J,R)):G=X.Lf?X.Lf(G,J,w):X.call(null, -G,J,w);return G}:function(G,J){var R=X.Lf?X.Lf(G,J,d):X.call(null,G,J,d),W=Qf(D,R);if($APP.n(W))$APP.B.Lf(W,0,null),R=$APP.B.Lf(W,1,null),G=X.Lf?X.Lf(G,J,R):X.call(null,G,J,R);else throw Error(["No matching clause: ",$APP.q.g(R)].join(""));return G},null,b,null)}; -bh=function(a,b){var c=$APP.t(b),d=function(){for(var A=c,D=$APP.$e,G=$APP.$e,J=null;;)if(A){var R=$APP.r(A);A=$APP.t(A);if($APP.Ff(R)&&$APP.fe.h(qp,$APP.r(R)))G=$APP.Ze.h(G,R);else{if(Jb(A)&&$APP.Ff(R)&&$APP.fe.h(ap,$APP.r(R)))return new $APP.O(null,3,5,$APP.P,[D,G,R],null);D=$APP.Ze.h(D,R)}}else return new $APP.O(null,3,5,$APP.P,[D,G,J],null)}(),e=$APP.B.Lf(d,0,null),f=$APP.B.Lf(d,1,null),l=$APP.B.Lf(d,2,null),g=function(){var A=Oe(cp,e);return wW?wW(a,A):xW.call(null,a,A)}(),p=Vj.h(function(A){A= -$APP.z(A);$APP.r(A);A=$APP.t(A);var D=$APP.r(A),G=$APP.t(A);A=$APP.r(G);var J=$APP.t(G);G=$APP.fe.h(nO,D)?Error:$APP.fe.h(Og,D)?Object:$APP.fe.h($APP.Nu,D)?$APP.Nu:wW?wW(a,D):xW.call(null,a,D);$APP.n(G)?(D=Zj(a,new $APP.O(null,2,5,$APP.P,[lH,A],null),null),J=Oe(cp,J),D=wW?wW(D,J):xW.call(null,D,J),A=new $APP.m(null,3,[$APP.NQ,G,MB,A,$APP.FD,D],null)):A=uW(["Unable to resolve classname: ",$APP.q.g(D)].join(""),D);return A},f),w=$APP.n(l)?function(){var A=Oe(cp,ie(l));return wW?wW(a,A):xW.call(null, -a,A)}():null;return ia(function(A,D){return $V(A,D,g,p,w)},b)};ch=function(a,b){$APP.B.Lf(b,0,null);var c=$APP.B.Lf(b,1,null);$APP.fe.h(2,$APP.Je(b))||uW("Too many arguments to throw",b);var d=wW?wW(a,c):xW.call(null,a,c);return oa(function(e,f){throw X(e,f,d);},b,null,$APP.E.j($APP.F(b),$APP.U,$APP.Oc(IU),$APP.Pe([$APP.xM,$APP.Oc(GU),ha,!0])))}; -LW=function(a,b){var c=$APP.z(b);$APP.r(c);c=$APP.t(c);var d=JU();a=WC.g(a);var e=Yj.h($APP.Oc(a),new $APP.O(null,2,5,$APP.P,[$APP.Cr,d],null)),f=GJ.g(e),l=$APP.dc.Lf(function(g,p){var w=$APP.n(f)?f.get(p):f;if($APP.n(w))g=uW([$APP.q.g(p)," already refers to ",$APP.q.g(w)," in namespace ",$APP.q.g(d)].join(""),b);else if(Jb($APP.ce.h(e,p))){w=$APP.E.Lf;var A=CU(null,$APP.y.h($APP.q.g(d),$APP.q.g(p)),new $APP.m(null,3,[$APP.T,p,$APP.U,$APP.Oc(IU),$APP.xM,$APP.Oc(GU)],null));A.Vc(null);g=w.call($APP.E, -g,p,A)}else g=e;return g},e,c);$APP.qj.h(a,function(g){return $APP.bk.I(g,$APP.Cr,$APP.E,d,l)});return null}; -SW=function(a,b){var c=$APP.z(b);$APP.r(c);var d=$APP.t(c);c=$APP.r(d);var e=$APP.t(d);d=$APP.r(e);e=$APP.t(e);d=$APP.Ff(d)?d:Oe(d,e);e=$APP.z(d);d=$APP.r(e);e=$APP.t(e);c=wW?wW(a,c):xW.call(null,a,c);var f=WU(c,function(p){var w=RN.g(p);if($APP.n(w)){var A=$APP.NQ.g(FV(a,w));$APP.n(A)?w=A:(A=WV(a,w),w=$APP.n(A)?A:uW(["Unable to resolve classname: ",$APP.q.g(w)].join(""),w));return $APP.E.Lf(p,fA,w)}return p}),l=$APP.Wh(d),g=e?EW(a,e):null;return oa(function(p,w){return cW(p,w,f,l,g)},new $APP.m(null, -2,[Pg,f,Ug,l],null),b,$APP.E.j($APP.F(b),$APP.U,$APP.Oc(IU),$APP.Pe([$APP.xM,$APP.Oc(GU)])))};TW=function(a,b){if(3>$APP.Je(b))throw Error("Malformed member expression, expecting (.member target ...)");return SW(a,b)}; -UW=function(a,b){var c=$APP.z(b),d=$APP.r(c),e=$APP.t(c);c=$APP.r(e);e=$APP.t(e);if(2>$APP.Je(b))throw Error("Malformed member expression, expecting (.member target ...)");return SW(a,new $APP.C(null,np,new $APP.C(null,c,new $APP.C(null,Oe($APP.y.g($APP.Ch.h($APP.Wh(d),1)),e),null,1,null),2,null),3,null))}; -dh=function(a,b){var c=$APP.z(b);$APP.r(c);var d=$APP.t(c);c=$APP.r(d);d=$APP.t(d);var e=FV(a,c);if($APP.n(e)){c=$APP.Ai(e);var f=$APP.ce.h(c,$APP.sA),l=EW(a,d);return ia(function(g,p){return Vg(f,Vj.h(function(w){return X(g,p,w)},l))},b)}e=WV(a,c);return $APP.n(e)?(l=EW(a,d),c=VQ.g($APP.F(e)),d=l,e=$APP.E.j($APP.F(b),$APP.U,$APP.Oc(IU),$APP.Pe([$APP.xM,$APP.Oc(GU)])),bX.I?bX.I(a,b,c,d,e):bX.call(null,a,b,c,d,e)):uW(["Unable to resolve classname: ",$APP.q.g(c)].join(""),c)}; -WW=function(a,b){var c=$APP.z(b);b=$APP.r(c);c=$APP.t(c);var d=$APP.Wh(b);d=$APP.lf($APP.y.g($APP.Ch.Lf(d,0,d.length-1)),$APP.F(b));return dh(a,$APP.lf(oi.Lf(fp,d,c),$APP.F(b)))};$g=function(a,b,c){return ia(function(d){return $APP.Yb.Lf(a,d,c)},b)}; -XW=function(a,b){var c=$APP.z(b),d=$APP.r(c),e=$APP.t(c),f=$APP.r(e),l=$APP.t(e);if(!(f instanceof $APP.x))throw Error(["Namespace name must be symbol, got: ",$APP.on.j($APP.Pe([f]))].join(""));var g=function(){var Ja=$APP.r(l);return"string"===typeof Ja?new $APP.O(null,2,5,$APP.P,[Ja,$APP.t(l)],null):new $APP.O(null,2,5,$APP.P,[null,l],null)}(),p=$APP.B.Lf(g,0,null),w=$APP.B.Lf(g,1,null),A=function(){var Ja=$APP.r(w);return $APP.vf(Ja)?new $APP.O(null,2,5,$APP.P,[Ja,$APP.t(w)],null):new $APP.O(null, -2,5,$APP.P,[null,w],null)}(),D=$APP.B.Lf(A,0,null),G=$APP.B.Lf(A,1,null),J=$APP.n(p)?$APP.E.Lf(D,$APP.S,p):D;bV(a,f,J);for(var R=G,W=$APP.$e;;)if($APP.n(R)){var Z=$APP.r(R),va=$APP.z(Z),Da=$APP.r(va),Qa=$APP.t(va),vb=Da,M=Qa,h=Z,ya=vb,Ea=ya instanceof $APP.ee?ya.fb:null;switch(Ea){case "require":case "use":case "import":case "refer-clojure":a=$APP.t(R);var Ga=$APP.Ze.h(W,$g(function(){var Ja=vb,Pa=Ja instanceof $APP.ee?Ja.fb:null;switch(Pa){case "require":return OV;case "use":return PV;case "import":return eW; -case "refer-clojure":return function(){return function(){function Za(ib,pb){var zb=null;if(1=$APP.Je(c)?bX(a,b,$l,c,null):bX(a,b,$APP.Bi,c,null)}; -eX=function(a,b,c){var d=Yk(b),e=Zk(b),f=Zi(MU,d)&&Zi(MU,e),l=f?b:Jb($APP.ub.g(a))?dX(a,b):xm(EW(a,d),EW(a,e));d=$APP.n(c)?function(){var p=$APP.E.Lf(a,$APP.ub,!0);return wW?wW(p,c):xW.call(null,p,c)}():null;var g=f&&c===d?d:$APP.E.Lf(d,Rz,YR);return $APP.n(g)?l instanceof bU?ia(function(p,w){var A=jW(p,w,g);p=X(p,w,l);return $APP.lf(p,A)},b):$APP.lf(l,g):l}; -fX=function(a,b,c,d){var e=Zi(MU,c),f=$APP.n(d)?wW?wW(a,d):xW.call(null,a,d):null;return e&&d===f?c:$APP.n(d)?function(){var l=bX(a,c,b,EW(a,c),null);return ia(function(g,p){var w=X(g,p,f);g=X(g,p,l);return $APP.lf(g,w)},c)}():bX(a,c,b,EW(a,c),null)};xW=function(a){switch(arguments.length){case 2:return wW(arguments[0],arguments[1]);case 3:return gX(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}}; -wW=function(a,b){return gX(a,b,!1)};gX=function(a,b,c){var d=$APP.F(b);if(MU(b))return b;if(b instanceof $APP.x){b=Md(a,b,!1,RN.g(d));c=$APP.F(b);if(MU(b))return b;if(vU(b)){if($APP.n(UN.g(c)))return $APP.Oc(b);if($APP.n(qU(b)))throw Error(["Can't take value of a macro: ",$APP.q.g(b),""].join(""));return new WT(b)}return UU===Rz.g(c)?$APP.hj.h(b,a):b}return $APP.wf(b)?b:$APP.vf(b)?eX(a,b,d):$APP.xf(b)?fX(a,$APP.Ck,b,d):$APP.rf(b)?fX(a,rm,b,d):$APP.Ff(b)?$APP.z(b)?cX(a,b,c):b:b}; -hX=function(a,b,c,d){var e=$APP.Je(b);a=$APP.n(a)?0:10c?(b=c.toString(16),a=pX(a,$APP.Pe(["Invalid character literal \\u",b,"."]))):a=b,a;if($APP.n(0==b.lastIndexOf("o",0))){--c; -if(3Z.getLength())Z=Z.append("0");else{Z=Z.toString();break a}Z=oY(Z);return $APP.n(Z)?Z:0}();w=($APP.fe.h(w,"-")?-1:1)*(60*function(){var Z=oY(A);return $APP.n(Z)?Z:0}()+function(){var Z=oY(D);return $APP.n(Z)?Z:0}());return new $APP.O(null,8,5,$APP.P,[a,pY(1,b,12,"timestamp month field must be in range 1..12"), -pY(1,c,mY(b,0===Qg(a,4)&&(0!==Qg(a,100)||0===Qg(a,400))),"timestamp day field must be in range 1..last day in month"),pY(0,G,23,"timestamp hour field must be in range 0..23"),pY(0,J,59,"timestamp minute field must be in range 0..59"),pY(0,R,$APP.fe.h(J,59)?60:59,"timestamp second field must be in range 0..60"),pY(0,W,999,"timestamp millisecond field must be in range 0..999"),w],null)};vY=function(a,b){var c=$APP.Yb.Lf(ym,a,b);return Oe(c,Rj.h(function(d){return c===d},b))}; -BY=function(a,b){return $APP.dc.Lf(function(c,d){var e=$APP.B.Lf(d,0,null);d=$APP.B.Lf(d,1,null);return $APP.H(a,e)?$APP.E.Lf(c,d,$APP.ce.h(a,e)):c},$APP.Yb.Lf($APP.hf,a,Yk(b)),b)};DY=function(a,b){return $APP.dc.Lf(function(c,d){var e=$APP.im(d,b);return $APP.E.Lf(c,e,$APP.Ze.h($APP.ce.Lf(c,e,$APP.nm),d))},$APP.Hi,a)};EY=function(a){return $APP.dc.Lf(function(b,c){var d=$APP.B.Lf(c,0,null);c=$APP.B.Lf(c,1,null);return $APP.E.Lf(b,c,d)},$APP.Hi,a)}; -IY=function(a,b,c){if(Dh(c)){var d=$APP.Yb.h($APP.I,$APP.Yi.h(a,c));return b.g?b.g(d):b.call(null,d)}return zk(c)?(d=new $APP.Rf(function(){var e=Dc(c);return a.g?a.g(e):a.call(null,e)}(),function(){var e=Ec(c);return a.g?a.g(e):a.call(null,e)}(),null),b.g?b.g(d):b.call(null,d)):$APP.Ff(c)?(d=Tm.g($APP.Yi.h(a,c)),b.g?b.g(d):b.call(null,d)):$APP.wf(c)?(d=$APP.dc.Lf(function(e,f){return $APP.Ze.h(e,a.g?a.g(f):a.call(null,f))},c,c),b.g?b.g(d):b.call(null,d)):$APP.qf(c)?(d=$APP.Uj.h(af(c),$APP.Yi.h(a, -c)),b.g?b.g(d):b.call(null,d)):b.g?b.g(c):b.call(null,c)};OY=function(a,b){return JY(function(c){return $APP.H(a,c)?a.g?a.g(c):a.call(null,c):c},b)};nZ=function(a){return Yj.h($APP.Oc(WC.g(a)),new $APP.O(null,3,5,$APP.P,[$APP.Cr,CH,KE],null))};PZ=function(a){var b=$APP.Pe([$APP.Nu,YB]);if($APP.z($APP.Yb.Lf(of,$APP.Yb.h(rm,Yk(a)),b)))throw a=$APP.Yb.B($APP.q,"Only these options are valid: ",$APP.r(b),$APP.Yi.h(function(c){return[", ",$APP.q.g(c)].join("")},ie(b))),Error(a);}; -SZ=function(a,b,c){if(Dh(c))return $APP.lf(function(){var e=$APP.Yb.h($APP.I,$APP.Yi.h(a,c));return b.g?b.g(e):b.call(null,e)}(),$APP.F(c));if(zk(c)){var d=new $APP.Rf(function(){var e=Dc(c);return a.g?a.g(e):a.call(null,e)}(),function(){var e=Ec(c);return a.g?a.g(e):a.call(null,e)}(),null);return b.g?b.g(d):b.call(null,d)}return $APP.Ff(c)?$APP.lf(function(){var e=Tm.g($APP.Yi.h(a,c));return b.g?b.g(e):b.call(null,e)}(),$APP.F(c)):$APP.wf(c)?(d=$APP.dc.Lf(function(e,f){return $APP.Ze.h(e,a.g?a.g(f): -a.call(null,f))},c,c),b.g?b.g(d):b.call(null,d)):$APP.qf(c)?(d=$APP.Uj.h(af(c),$APP.Yi.h(a,c)),b.g?b.g(d):b.call(null,d)):b.g?b.g(c):b.call(null,c)}; -UZ=function(a){var b=kj(new $APP.m(null,2,[tA,0,UD,!1],null));a=TZ(function(e){if(e instanceof $APP.x){var f=$APP.Um(/^%(.*)/,$APP.Wh(e));if($APP.n(f)){$APP.B.Lf(f,0,null);f=$APP.B.Lf(f,1,null);if($APP.pf(f))return b.Fb(null,$APP.bk.B(b.jb(null),tA,sg,1)),Gu;$APP.fe.h("\x26",f)?b.Fb(null,$APP.E.Lf(b.jb(null),UD,!0)):(f=parseInt(f),b.Fb(null,$APP.bk.B(b.jb(null),tA,sg,f)))}}return e},a);var c=$APP.Oc(b),d=$APP.Ai(c);c=$APP.ce.h(d,tA);d=$APP.ce.h(d,UD);c=$APP.Yi.h(function(e){return $APP.y.g(["%",$APP.q.g(e)].join(""))}, -Km.h(1,c+1));c=$APP.ag($APP.K.h(c,$APP.n(d)?new $APP.O(null,2,5,$APP.P,[$APP.Wo,kP],null):null));return new $APP.C(null,kp,new $APP.C(null,c,new $APP.C(null,a,null,1,null),2,null),3,null)}; -VZ=function(a,b,c,d){a:{d=$APP.z(d);for(var e=$APP.vd($APP.$e);;)if(d){var f=$APP.r(d);e=$APP.ri.h(e,$APP.Ff(f)&&$APP.fe.h($APP.r(f),MC)?new $APP.C(null,JP,new $APP.C(null,$APP.Te(f),null,1,null),2,null):$APP.Ff(f)&&$APP.fe.h($APP.r(f),zM)?$APP.Te(f):new $APP.C(null,JP,new $APP.C(null,WZ.Lf?WZ.Lf(a,b,f):WZ.call(null,a,b,f),null,1,null),2,null));d=$APP.t(d)}else{a=$APP.z($APP.xd(e));break a}}a=new $APP.C(null,PB,new $APP.C(null,new $APP.C(null,st,new $APP.C(null,Oe(oG,a),null,1,null),2,null),null, -1,null),2,null);return $APP.n(c)?new $APP.C(null,IJ,new $APP.C(null,c,new $APP.C(null,a,null,1,null),2,null),3,null):a};XZ=function(a){a=$APP.z(a);for(var b=$APP.vd($APP.$e);;)if(a){var c=$APP.r(a);a=$APP.t(a);b=$APP.ri.h($APP.ri.h(b,Dc(c)),Ec(c))}else return $APP.z($APP.xd(b))}; -YZ=function(a,b,c){var d=$APP.Ai(a),e=$APP.ce.h(d,HS);if(Vo(c))return new $APP.C(null,pp,new $APP.C(null,c,null,1,null),2,null);if(c instanceof $APP.x)return new $APP.C(null,pp,new $APP.C(null,function(){var f=$APP.Wh(c);if(Vo(c))return c;if(Ca(f,"#")){var l=$APP.ce.h($APP.Oc(e),c);if($APP.n(l))return l;f=$APP.Ch.Lf(f,0,f.length-1);f=$APP.Cn.g([f,"__"].join(""));f=$APP.y.g([$APP.Wh(f),"__auto__"].join(""));$APP.qj.B(e,$APP.E,c,f);return f}f=vK.g(YM.g(d));f=$APP.n(f)?f:$APP.gg;return f.g?f.g(c):f.call(null, -c)}(),null,1,null),2,null);if($APP.Ff(c)&&$APP.fe.h($APP.r(c),MC))return $APP.Te(c);if($APP.Ff(c)&&$APP.fe.h($APP.r(c),zM))throw Error("unquote-splice not in list");if($APP.qf(c)){if(c instanceof fd)return c;if($APP.vf(c))return VZ(d,b,16<=$APP.Je(c)?rA:Cu,XZ(c));if($APP.xf(c))return new $APP.C(null,KF,new $APP.C(null,VZ(d,b,null,c),null,1,null),2,null);if($APP.rf(c))return VZ(d,b,cM,c);if($APP.Ff(c)||Dh(c))return(a=$APP.z(c))?VZ(d,b,null,a):$APP.I(JP);throw Error("Unknown Collection type");}return c instanceof -$APP.ee||"number"===typeof c||Nb(c)||"string"===typeof c||null==c||Ef(c)||c instanceof RegExp?c:new $APP.C(null,pp,new $APP.C(null,c,null,1,null),2,null)};WZ=function(a,b,c){var d=YZ(a,b,c),e=null!=c?c.C&262144||$APP.Ua===c.ud?!0:!1:!1;return(e?$APP.z($APP.hf.j($APP.F(c),gO.g(a),$APP.Pe([VL.g(a),$M.g(a),ZQ.g(a)]))):e)?new $APP.C(null,vF,new $APP.C(null,d,new $APP.C(null,YZ(a,b,$APP.F(c)),null,1,null),2,null),3,null):d};ZZ=function(a,b){a=OS.g(a);return kY(a,b)}; -$APP.b_=function(a,b,c,d,e){this.Ib=a;this.fd=b;this.Nf=c;this.N=d;this.H=e;this.C=2230716170;this.J=139264};c_=function(a){return new $APP.b_(a.vc(null),a.uc(null),null,null,null)};d_=function(a){a:for(var b=a.U(null),c=new La;;){if(BT(b)){$APP.q.g(c);break a}var d=a.U(null);c=c.append(b);b=d}return a};e_=function(a){return $APP.n(a)?-1<["\r","\n","\t"," ",","].indexOf(a):a};f_=function(a){for(;;){var b=a.U(null);if($APP.n(b)){if(!$APP.n(e_(b)))return a.cc(null,b),a}else return null}}; -g_=function(a,b,c,d){return h_(a,b,c,d,null)};h_=function(a,b,c,d,e){var f=ju.h(e,IT(b));b=RK.h(e,HT(b));throw Qo.h(c,$APP.em.j($APP.Pe([$APP.gf([$APP.Ws,NS,gO.g(a),b,VL.g(a),f]),d])));}; -j_=function(a,b,c){var d=$APP.$e,e=b.vc(null),f=b.uc(null),l=b.U(null);a=$APP.E.Lf($APP.E.Lf(a,UQ,c),xG,new $APP.m(null,3,[gP,l,RK,e,ju,f],null));for(d=$APP.vd(d);;){var g=k_?k_(a,b):l_.call(null,a,b);var p=g;p=null==p?null:$APP.F(p);p=null==p?null:uK.g(p);if($APP.Lh(KI,g))return g_(a,b,["EOF while reading, expected ",$APP.q.g(c)," to match ",$APP.q.g(l)," at [",$APP.q.g(e),",",$APP.q.g(f),"]"].join(""),new $APP.m(null,3,[FF,$APP.q.g(c),qK,$APP.q.g(l),HO,new $APP.m(null,2,[RK,e,ju,f],null)],null)); -if($APP.Lh(UQ,g))return $APP.xd(d);if($APP.n(p)){g=$APP.z(g);p=null;for(var w=0,A=0;;)if(A=e?$APP.Yb.h($l,d):$APP.Yb.h($APP.Bi,d)}; -u_=function(a,b){b.U(null);var c=b.U(null);$APP.n(e_(c))&&g_(a,b,"Invalid token: :",null);c=$Z.Lf?$Z.Lf(b,TS,c):$Z.call(null,b,TS,c);var d=":"===c.charAt(0);if(d){var e=d?$APP.Ch.h(c,1):c;d=a_.g?a_.g(e):a_.call(null,e);c=$APP.B.Lf(d,0,null);d=$APP.B.Lf(d,1,null);if($APP.n(c)){var f=q_(a,b,e,null);e=$APP.y.g(c);a=r_(a,f,e,b,c,null)}else f=q_(a,b,e,"Use `:auto-resolve` + `:current` to resolve current namespace."),a=r_(a,f,mu,b,e,"Use `:auto-resolve` + `:current` to resolve current namespace.");return $APP.Vh.h($APP.q.g(a), -d)}return $APP.Vh.g(c)};v_=function(a){return a instanceof $APP.ee?$APP.gf([a,!0]):a instanceof $APP.x?new $APP.m(null,1,[RN,a],null):"string"===typeof a?new $APP.m(null,1,[RN,a],null):a};H3=function(a,b){return a instanceof $APP.ee?$APP.gf([b.g?b.g(a):b.call(null,a),b.g?b.g(!0):b.call(null,!0)]):a instanceof $APP.x?$APP.gf([b.g?b.g(RN):b.call(null,RN),b.g?b.g(a):b.call(null,a)]):"string"===typeof a?$APP.gf([b.g?b.g(RN):b.call(null,RN),b.g?b.g(a):b.call(null,a)]):a}; -I3=function(a,b,c){if($APP.fe.h("#",c))return b.U(null),s_(a,b);if($APP.fe.h(null,c))return KI;if($APP.fe.h("@",c)){c=SF.g(a);if($APP.n(c)){var d=c;b.U(null);c=k_?k_(a,b):l_.call(null,a,b);return $APP.If(d)?d.g?d.g(c):d.call(null,c):new $APP.C(null,Pu,new $APP.C(null,c,null,1,null),2,null)}return g_(a,b,"Deref not allowed. Use the `:deref` option",null)}if($APP.fe.h("`",c)){c=YM.g(a);if($APP.n(c)){d=c;b.U(null);c=k_?k_(a,b):l_.call(null,a,b);if($APP.jf(d))return d.g?d.g(c):d.call(null,c);d=$APP.nj.g($APP.Hi); -d=$APP.E.Lf(a,HS,d);return WZ(d,b,c)}return g_(a,b,"Syntax quote not allowed. Use the `:syntax-quote` option",null)}if($APP.fe.h("'",c))return c=ZB.g(a),$APP.n(c)?(d=c,b.U(null),c=k_?k_(a,b):l_.call(null,a,b),$APP.Lh(KI,c)&&g_(a,b,"EOF while reading",null),$APP.If(d)?d.g?d.g(c):d.call(null,c):new $APP.C(null,pp,new $APP.C(null,c,null,1,null),2,null)):ZZ(a,b);if($APP.fe.h("(",c))return $APP.Yb.h($APP.I,j_(a,b,")"));if($APP.fe.h(")",c)){var e=UQ.g(a);if($APP.Di.h(e,c))return d=c_(b),b.U(null),h_(a, -b,["Unmatched delimiter: ",$APP.q.g(c),$APP.n(e)?[", expected: ",$APP.q.g(e),function(){var f=xG.g(a);if($APP.n(f)){var l=$APP.Ai(f);f=$APP.ce.h(l,RK);var g=$APP.ce.h(l,ju);l=$APP.ce.h(l,gP);return[" to match ",$APP.q.g(l)," at ",$APP.q.g(new $APP.O(null,2,5,$APP.P,[f,g],null))].join("")}return null}()].join(""):null].join(""),function(){var f=xG.g(a),l=$APP.Ai(f);f=$APP.ce.h(l,gP);var g=$APP.ce.h(l,RK);l=$APP.ce.h(l,ju);return new $APP.m(null,3,[qK,$APP.q.g(f),HO,new $APP.m(null,2,[RK,g,ju,l],null), -FF,$APP.q.g(e)],null)}(),d);b.U(null);return UQ}if($APP.fe.h(":",c))return u_(a,b);if($APP.fe.h(";",c))return d_(b);if($APP.fe.h("[",c))return j_(a,b,"]");if($APP.fe.h("{",c))return t_(a,b);if($APP.fe.h("]",c)){e=UQ.g(a);if($APP.Di.h(e,c))return d=c_(b),b.U(null),h_(a,b,["Unmatched delimiter: ",$APP.q.g(c),$APP.n(e)?[", expected: ",$APP.q.g(e),function(){var f=xG.g(a);if($APP.n(f)){var l=$APP.Ai(f);f=$APP.ce.h(l,RK);var g=$APP.ce.h(l,ju);l=$APP.ce.h(l,gP);return[" to match ",$APP.q.g(l)," at ",$APP.q.g(new $APP.O(null, -2,5,$APP.P,[f,g],null))].join("")}return null}()].join(""):null].join(""),function(){var f=xG.g(a),l=$APP.Ai(f);f=$APP.ce.h(l,gP);var g=$APP.ce.h(l,RK);l=$APP.ce.h(l,ju);return new $APP.m(null,3,[qK,$APP.q.g(f),HO,new $APP.m(null,2,[RK,g,ju,l],null),FF,$APP.q.g(e)],null)}(),d);b.U(null);return UQ}if($APP.fe.h("}",c)){e=UQ.g(a);if($APP.Di.h(e,c))return d=c_(b),b.U(null),h_(a,b,["Unmatched delimiter: ",$APP.q.g(c),$APP.n(e)?[", expected: ",$APP.q.g(e),function(){var f=xG.g(a);if($APP.n(f)){var l=$APP.Ai(f); -f=$APP.ce.h(l,RK);var g=$APP.ce.h(l,ju);l=$APP.ce.h(l,gP);return[" to match ",$APP.q.g(l)," at ",$APP.q.g(new $APP.O(null,2,5,$APP.P,[f,g],null))].join("")}return null}()].join(""):null].join(""),function(){var f=xG.g(a),l=$APP.Ai(f);f=$APP.ce.h(l,gP);var g=$APP.ce.h(l,RK);l=$APP.ce.h(l,ju);return new $APP.m(null,3,[qK,$APP.q.g(f),HO,new $APP.m(null,2,[RK,g,ju,l],null),FF,$APP.q.g(e)],null)}(),d);b.U(null);return UQ}if($APP.fe.h("^",c))return b.U(null),c=J3?J3(a,b,!0):l_.call(null,a,b,!0),Ci.Lf(k_? -k_(a,b):l_.call(null,a,b),$APP.em,c);if($APP.fe.h("~",c)){c=function(){var f=YM.g(a);return $APP.n(f)?(f=Bq.g(a),$APP.n(f)?f:!0):f}();if($APP.n(c)){d=c;b.U(null);if("@"===b.mb(null))return d=function(){var f=YM.g(a);return $APP.n(f)?(f=lK.g(a),$APP.n(f)?f:!0):f}(),$APP.n(d)?(b.U(null),c=k_?k_(a,b):l_.call(null,a,b),$APP.If(d)?d.g?d.g(c):d.call(null,c):new $APP.C(null,zM,new $APP.C(null,c,null,1,null),2,null)):g_(a,b,"Syntax unquote splice not allowed. Use the `:syntax-quote` option",null);c=k_?k_(a, -b):l_.call(null,a,b);return $APP.If(d)?d.g?d.g(c):d.call(null,c):new $APP.C(null,MC,new $APP.C(null,c,null,1,null),2,null)}return g_(a,b,"Syntax unquote not allowed. Use the `:syntax-unquote` option",null)}return ZZ(a,b)};l_=function(a){switch(arguments.length){case 2:return k_(arguments[0],arguments[1]);case 3:return J3(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};k_=function(a,b){return J3(a,b,null)}; -J3=function(a,b,c){for(;;){var d=function(){var ya=f_(b);return $APP.n(ya)?FT(b):ya}();if($APP.n(d)){var e=d,f=c_(b),l=jH.g(a),g=function(ya,Ea){return function(){return $APP.q.g(WE.g($APP.Oc(Ea.frames)))}}(a,b,c,f,l,e,d),p=$APP.n(l)?g().length:null,w=$APP.n(l)?ST(b,function(ya,Ea,Ga,Ja,Pa,Za,Ia,ib){return function(){return I3(ya,Ea,ib)}}(a,b,c,f,l,g,p,e,d)):I3(a,b,e);if(b!==w){if($APP.Lh(UQ,w))return w;var A=xP.g(a),D=BE.g(a),G=Yp.g(a),J=null!=w?w.C&262144||$APP.Ua===w.ud?!0:w.C?!1:$APP.Pb(Rc,w): -$APP.Pb(Rc,w),R=$APP.n(l)?$APP.Ch.h(g(),p).trim():null,W=function(){var ya;if(ya=J)ya=(ya=Jb(D))?ya:D.g?D.g(w):D.call(null,w);return $APP.n(ya)?ya:A}(),Z=$APP.n(function(){var ya=W;return $APP.n(ya)?G:ya}())?c_(b):null,va=$APP.n(W)?f.Ib:null,Da=$APP.n(G)?RK.g(Z):null,Qa=$APP.n(W)?f.fd:null,vb=$APP.n(G)?ju.g(Z):null,M=$APP.n(A)?function(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb){return function(Ab){var qc=function(){var Hc=new $APP.m(null,1,[xJ,Ab],null);Hc=$APP.n(pb)?$APP.E.Lf(Hc,aq,function(){var jd= -$APP.gf([gO.g(ya),Eb,VL.g(ya),Mb]);return $APP.n(Za)?$APP.E.j(jd,$M.g(ya),Ib,$APP.Pe([ZQ.g(ya),Sb])):jd}()):Hc;return $APP.n(ib)?$APP.E.Lf(Hc,function(){var jd=WB.g(ya);return $APP.n(jd)?jd:jH}(),ib):Hc}();return Ja.g?Ja.g(qc):Ja.call(null,qc)}}(a,b,c,A,D,G,J,R,W,Z,va,Da,Qa,vb,f,l,g,p,w,e,d):null,h=$APP.n(c)?$APP.n(M)?H3(w,M):v_(w):w;return $APP.n(A)?M.g?M.g(h):M.call(null,h):$APP.n(W)?Ci.h(h,function(ya,Ea,Ga,Ja,Pa,Za,Ia,ib,pb,zb,Eb,Ib,Mb,Sb){return function(Ab){Ab=$APP.E.Lf($APP.E.Lf(Ab,gO.g(ya), -Eb),VL.g(ya),Mb);Ab=$APP.n(Za)?$APP.E.Lf($APP.E.Lf(Ab,$M.g(ya),Ib),ZQ.g(ya),Sb):Ab;return $APP.n(ib)?$APP.E.Lf(Ab,WB.g(ya),ib):Ab}}(a,b,c,A,D,G,J,R,W,Z,va,Da,Qa,vb,M,h,f,l,g,p,w,e,d)):h}}else return KI}}; -$APP.K3=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb,M,h){this.Da=a;this.deref=b;this.Oa=c;this.Pa=d;this.Qa=e;this.quote=f;this.ha=l;this.Ua=g;this.Ja=p;this.Ka=w;this.La=A;this.Ca=D;this.Ga=G;this.Ea=J;this.source=R;this.Na=W;this.Ia=Z;this.Ha=va;this.Fa=Da;this.Ma=Qa;this.Nf=vb;this.N=M;this.H=h;this.C=2230716170;this.J=139264}; -L3=function(a){var b=$APP.hf.j(a,bE,$APP.Pe([SF,YM,Bq,lK,ZB,HR,Oz,AG,MF,gO,VL,$M,ZQ,jH,WB,xP,BE,Yp,nI]));b=$APP.wf(a)?$APP.Uj.h($APP.Hi,b):b;return new $APP.K3(bE.g(a),SF.g(a),YM.g(a),Bq.g(a),lK.g(a),ZB.g(a),HR.g(a),Oz.g(a),AG.g(a),MF.g(a),gO.g(a),VL.g(a),$M.g(a),ZQ.g(a),jH.g(a),WB.g(a),xP.g(a),BE.g(a),Yp.g(a),nI.g(a),null,$APP.Ei(b),null)};N3=function(a){var b=$APP.F(a);return $APP.n(b)&&(a=$APP.T.g(b),$APP.n(a))?(b=$APP.U.g(b),$APP.n(b)?$APP.y.h($APP.q.g(eU(b)),$APP.q.g(a)):null):null}; -O3=function(a,b){var c=$APP.Oc(WC.g(a)),d=function(){var A=Mh(b);return $APP.n(A)?$APP.y.g(A):null}(),e=$APP.Wh(b),f=JU(),l=$APP.q.g(f),g=$APP.ce.h(c,$APP.Cr),p=$APP.ce.h(g,f),w=Iu.g(p);return Jb(d)?function(){var A=function(){var D=GJ.g(p);return $APP.n(D)?(D=$APP.ce.h(D,b),$APP.n(D)?N3(D):null):null}();if($APP.n(A))return A;A=function(){var D=$APP.ce.h(p,b);return $APP.n(D)?N3(D):null}();if($APP.n(A))return A;A=$APP.H($APP.ce.h(g,CH),b)&&Jb(function(){var D=null==p?null:ty.g(p);D=null==D?null:$APP.ce.h(D, -CH);D=null==D?null:DP.g(D);return null==D?null:$APP.H(D,b)}())||$APP.H(pV,b)?$APP.y.h("clojure.core",e):null;if($APP.n(A))return A;A=EV(a,b);return $APP.n(A)?A:$APP.y.h(l,e)}():$APP.n(Yj.h(c,new $APP.O(null,2,5,$APP.P,[$APP.Cr,d],null)))?b:function(){var A=$APP.ce.h(w,d);return $APP.n(A)?$APP.y.h($APP.q.g(A),e):b}()}; -P3=function(a,b,c){var d=MA.g(a),e=GG.g(a),f=vU(e)?$APP.Oc(e):e;e=WC.g(a);var l=$APP.Oc(e);e=JU();l=Yj.h(l,new $APP.O(null,2,5,$APP.P,[$APP.Cr,e],null));l=Iu.g(l);var g=$APP.E.Lf(l,mu,e),p=function(){var w=$APP.E.j(M3,MA,d,$APP.Pe([ey,g,YM,new $APP.m(null,1,[vK,function(A){return O3(a,A)}],null),GG,f]));return $APP.n(c)?$APP.em.j($APP.Pe([w,c])):w}();return function(){try{var w=k_(p,b);return $APP.n($APP.Lh.h?$APP.Lh.h(w,KI):$APP.Lh.call(null,w,KI))?xS:w}catch(A){if(A instanceof Po)throw w=A,Qo.Lf(w.message, -$APP.E.j(Ro(w),$APP.Ws,FO,$APP.Pe([uQ,"parse",$APP.xM,$APP.Oc(GU)])),w);throw A;}}()};U3=function(a,b){return Hf($APP.aj(function(c){var d=Lo(c,ZT(b));return $APP.n(d)?(c=Do(c),c=$APP.ce.h(c,$APP.Nu),d!==c):null},SE.g(a)))};W3=function(a,b){var c=$APP.Oc(cV);return c.h?c.h(a,b):c.call(null,a,b)};Z3=function(a){return Ci.h(a,function(b){return $APP.E.Lf(b,DN,!0)})};G4=function(a){return a.l(null)};H4=function(a,b){return aV(WC.g(a),b,!1,null)}; -I4=function(a,b){if(b instanceof fU)return b;a=H4(a,b);if($APP.n(a))return a;throw Error(["No namespace: ",$APP.q.g(b)," found"].join(""));};J4=function(a,b){b=I4(a,b);b=G4(b);a=Yj.h($APP.Oc(WC.g(a)),new $APP.O(null,3,5,$APP.P,[$APP.Cr,b,Iu],null));return xm(Yk(a),$APP.Yi.h(function(c){return $APP.gU(c,null)},Zk(a)))};K4=function(a){return $APP.hf.j(a,Iu,$APP.Pe([GE,xJ,ty,GJ]))};L4=function(a,b){b=I4(a,b);b=G4(b);a=Yj.h($APP.Oc(WC.g(a)),new $APP.O(null,2,5,$APP.P,[$APP.Cr,b],null));return K4(a)}; -M4=function(a,b){b=I4(a,b);b=G4(b);a=Yj.h($APP.Oc(WC.g(a)),new $APP.O(null,2,5,$APP.P,[$APP.Cr,b],null));a=K4(a);return $APP.Uj.h($APP.Hi,$APP.lj.h(function(c){var d=$APP.B.Lf(c,0,null);c=$APP.B.Lf(c,1,null);return $APP.n(Dq.g($APP.F(c)))?null:new $APP.O(null,2,5,$APP.P,[d,c],null)},a))}; -N4=function(a,b){b=I4(a,b);var c=G4(b),d=$APP.Oc(WC.g(a));b=GE.g(d);c=Yj.h(d,new $APP.O(null,3,5,$APP.P,[$APP.Cr,c,GE],null));var e=QO.g(a);a=$APP.K.h(Yk(b),Yk(c));b=$APP.K.h(Zk(b),Zk(c));return xm(a,$APP.Yi.h(gj.h($APP.NQ,function(f){return $APP.ce.h(e,f)}),b))};O4=function(a,b){b=I4(a,b);b=G4(b);var c=$APP.Oc(WC.g(a));a=Yj.h(c,new $APP.O(null,3,5,$APP.P,[$APP.Cr,b,GJ],null));b=Yj.h(c,new $APP.O(null,2,5,$APP.P,[$APP.Cr,CH],null));b=K4(b);return $APP.em.j($APP.Pe([b,a]))}; -P4=function(a){var b=WC.g(a);return $APP.Yi.h(function(c){return aV(b,c,!0,null)},Yk($APP.ce.h($APP.Oc(b),$APP.Cr)))};n7=function(a){var b=$APP.V.g(a),c=$APP.S.g(a),d=$APP.hq.g(a);NZ.j($APP.Pe(["-------------------------"]));var e=NZ.j;var f=$APP.U.g(a);f=$APP.n(f)?[$APP.q.g(G4(f)),"/"].join(""):null;e.call(NZ,$APP.Pe([[f,$APP.q.g($APP.T.g(a))].join("")]));$APP.n(b)&&NZ.j($APP.Pe([b]));$APP.n(d)&&NZ.j($APP.Pe(["Macro"]));return $APP.n(c)?NZ.j($APP.Pe([" ",c])):null}; -p7=function(a,b,c){return OY(xm(a,c),b)};AQ=function(a,b,c,d,e,f){$APP.qj.h(a,function(l){var g=hm.j($APP.em,$APP.Pe([y7,new $APP.m(null,1,[DL,$APP.E.Lf(b,xJ,HU)],null),d,$APP.Cr.g(l)])),p=$APP.em.j($APP.Pe([z7,c,Yj.h(l,new $APP.O(null,3,5,$APP.P,[$APP.Cr,DL,Iu],null))]));g=$APP.bk.I($APP.bk.I(g,DL,$APP.E,Iu,p),CH,$APP.E,KE,CU(fo(),KE,null));p=GE.g(l);p=$APP.n(p)?$APP.em.j($APP.Pe([p,e])):e;return Jb(l)?new $APP.m(null,3,[$APP.Cr,g,GE,p,jC,f],null):$APP.E.j(l,$APP.Cr,g,$APP.Pe([GE,p,jC,f]))})}; -A7=function(a,b){return $APP.Ei($APP.Uj.Lf(a,gj.h(Pj,$APP.Yi.g(YU)),b))};jX=function(a){for(var b=$APP.vd($APP.im(a,new $APP.O(null,1,5,$APP.P,[iH],null))),c=a;;){var d=$APP.r(c);if($APP.n(d)){var e=d;d=$APP.B.Lf(e,0,null);e=$APP.B.Lf(e,1,null);b=$APP.si.Lf(b,d,$APP.vf(e)?e:new $APP.m(null,1,[$APP.NQ,e],null));c=ie(c)}else return new $APP.m(null,2,[zA,zA.g(a),QO,$APP.xd(b)],null)}};C7=function(){return null}; -E7=function(a,b){var c=$APP.E.Lf;var d=$APP.BS.g(a);d=$APP.n(d)?d:$APP.Cn.s();a=c.call($APP.E,a,$APP.BS,d);uU($APP.gf([IU,$APP.Oc(IU)]));try{var e=RT(QT(b));for(b=null;;){var f=P3(a,e,null);if($APP.n($APP.Lh.h?$APP.Lh.h(xS,f):$APP.Lh.call(null,xS,f)))return b;b=D7(a,f)}}finally{wU()}};$APP.bj=function(a,b,c){return new $APP.BU(b,a,$APP.E.Lf(c,$APP.yQ,!0))};$APP.k8=function(a,b,c){return new $APP.BU(Ci.B(b,$APP.E,DN,!0),a,$APP.E.Lf(c,$APP.hq,!0))}; -$APP.dj=function(a,b){var c=$APP.Ai(b);b=$APP.ce.h(c,MA);var d=$APP.ce.h(c,$APP.Cr),e=$APP.ce.h(c,lH),f=$APP.ce.h(c,GG),l=$APP.ce.h(c,LJ),g=$APP.ce.h(c,PJ),p=$APP.ce.h(c,GE),w=$APP.ce.h(c,iH),A=$APP.ce.h(c,jC),D=$APP.ce.h(c,ls),G=$APP.ce.h(c,Iu),J=$APP.ce.h(c,Lt),R=$APP.ce.h(c,AP);c=WC.g(a);AQ(c,e,G,d,p,A);d=$APP.em.j($APP.Pe([CK.g(a),R]));e=jX(d);p=$APP.E.j;A=RP.g(a);return p.call($APP.E,new $APP.m(null,5,[lH,$APP.Hi,WC,c,MA,b,GG,f,RP,$APP.n(A)?A:$APP.n(w)?w:J],null),iH,$APP.n(w)?A7(iH.g(a),$APP.Pe([w])): -null,$APP.Pe([Lt,$APP.n(J)?A7(Lt.g(a),$APP.Pe([J])):null,ls,D,LJ,l,PJ,g,zA,zA.g(e),CK,d,QO,QO.g(e)]))};Pf=function(a){return $APP.im(a,new $APP.O(null,9,5,$APP.P,[$APP.U,$APP.T,Mf,$APP.xM,$APP.Xp,$APP.oF,pC,Of,$APP.hq],null))}; -$f=function(a){var b=function(){var f=$APP.F(a);return $APP.n(f)?f:a}(),c=Gf(a)?$APP.r(a):null,d=function(){var f=FE.g(b);return $APP.n(f)?f:null==c?null:$APP.F(c)}(),e=c instanceof $APP.x?$APP.E.j(d,Mf,c,$APP.Pe([Of,!0,$APP.U,$APP.U.g(b),$APP.hq,function(){var f=DN.g(d);return $APP.n(f)?f:$APP.hq.g(d)}()])):d;return $APP.Qj.h($APP.Ei,new $APP.O(null,2,5,$APP.P,[Pf(b),Pf(e)],null))}; -rg=function(a){a=$APP.Oc(a);a=Ln.g(a);var b=$APP.Oj.j($f,$APP.Pe([a]));a=$APP.dc.Lf(function(c,d){var e=$APP.B.Lf(c,0,null),f=$APP.B.Lf(c,1,null),l=$APP.B.Lf(c,2,null),g=$APP.B.Lf(c,3,null);c=function(){var w=$APP.T.g(d);return $APP.n(w)?w:g}();var p=function(){var w=$APP.xM.g(d);return $APP.n(w)?w:f}();l=l===$APP.U.g(d)?$APP.E.j(d,$APP.T,c,$APP.Pe([$APP.xM,p])):d;return new $APP.O(null,4,5,$APP.P,[$APP.Ze.h(e,l),p,$APP.U.g(d),c],null)},function(){var c=$APP.r(b);return new $APP.O(null,4,5,$APP.P, -[$APP.je,$APP.xM.g(c),$APP.U.g(c),$APP.T.g(c)],null)}(),b);return $APP.r(a)};ug=function(a,b){a=uQ.g(Ro(a));return $APP.n(a)?a:$APP.n($APP.aj($APP.hq,b))?"macroexpand":null}; -wg=function(a){a=$APP.lj.h(function(c){var d=$APP.Ai(c);c=$APP.ce.h(d,$APP.T);var e=$APP.ce.h(d,$APP.xM),f=$APP.ce.h(d,$APP.U),l=$APP.ce.h(d,$APP.Xp),g=$APP.ce.h(d,$APP.oF),p=$APP.ce.h(d,pC),w=$APP.ce.h(d,Of);d=$APP.ce.h(d,Mf);return $APP.n($APP.n(l)?l:p)?new $APP.m(null,2,[$APP.T,[$APP.q.g($APP.n(c)?[$APP.q.g(f),"/",$APP.q.g(c)].join(""):f),$APP.n(w)?["#",$APP.q.g(d)].join(""):null].join(""),aq,[$APP.q.g($APP.n(e)?e:$APP.n(p)?"\x3cbuilt-in\x3e":"\x3cexpr\x3e"),$APP.n(l)?[":",$APP.q.g(l),":",$APP.q.g(g)].join(""): -null].join("")],null):null},a);var b=$APP.dc.Lf(sg,0,$APP.Yi.h(gj.h($APP.Je,$APP.T),a));return $APP.Yi.h(function(c){var d=$APP.Ai(c);c=$APP.ce.h(d,$APP.T);d=$APP.ce.h(d,aq);var e=b-$APP.Je(c);return[[$APP.q.g(c),$APP.eT.g(Hj.h(e," "))].join("")," - ",$APP.q.g(d)].join("")},a)};xg=function(a){console.error($APP.eT.h(" ",a))};yg=function(a){xg($APP.Pe([$APP.Yb.I($APP.q,"----- ",a," ",Hj.h(43-$APP.Je(a),"-"))]))}; -zg=function(a,b){if($APP.n(b))return new $APP.O(null,1,5,$APP.P,[a],null);b=$APP.Je(a);return 10>=b?new $APP.O(null,1,5,$APP.P,[a],null):new $APP.O(null,2,5,$APP.P,[xj.h(5,a),yj.h(b-5,a)],null)};Cg=function(a,b){b=$APP.Ai(b);b=$APP.ce.h(b,Ag);a=wg(a);b=zg(a,b);a=$APP.B.Lf(b,0,null);b=$APP.B.Lf(b,1,null);Df(function(c){return Bg.j($APP.Pe([c,"\n"]))},a);$APP.n(b)&&(Bg.j($APP.Pe(["...\n"])),Df(function(c){return Bg.j($APP.Pe([c,"\n"]))},b))}; -Dg=function(a,b){var c=$APP.Ai(Ro(a)),d=$APP.ce.h(c,$APP.xM),e=$APP.ce.h(c,$APP.Xp);c=$APP.ce.h(c,$APP.oF);if($APP.n($APP.n(d)?e:d)&&(b=$APP.ce.h(b,d),$APP.n(b))){var f=e-1;e=function(){var g=f-4;return 0>>0);sa=0;$APP.uh[" "]=$APP.sh;var Th,hi,zh,Ah; -$APP.vh=class{constructor(a,b){this.Uf=a|0;this.Qf=b|0}isSafeInteger(){var a=this.Qf>>21;return 0==a||-1==a&&!(0==this.Uf&&-2097152==this.Qf)}toString(a){a=a||10;if(2>a||36>2);var c=Math.pow(a,b),d=$APP.yh(c,c/4294967296);c=pi(this,d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add($APP.Bh(d));e=f.call(e,$APP.Ph(d));f=10==a?""+e:e.toString(a);f.length>>0>a.Uf>>>0?1:-1:this.Qf>a.Qf?1:-1}add(a){var b=this.Qf>>>16,c=this.Qf&65535,d=this.Uf>>>16,e=a.Qf>>>16,f=a.Qf&65535,l=a.Uf>>>16;a=(this.Uf&65535)+(a.Uf&65535);l=(a>>>16)+(d+l);d=l>>>16;d+=c+f;b=(d>>>16)+(b+e)&65535;return $APP.yh((l&65535)<<16|a&65535,b<<16|d&65535)}multiply(a){if(Sh(this))return this;if(Sh(a))return a;var b=this.Qf>>>16,c=this.Qf&65535, -d=this.Uf>>>16,e=this.Uf&65535,f=a.Qf>>>16,l=a.Qf&65535,g=a.Uf>>>16;a=a.Uf&65535;var p=e*a;var w=(p>>>16)+d*a;var A=w>>>16;w=(w&65535)+e*g;A+=w>>>16;A+=c*a;var D=A>>>16;A=(A&65535)+d*g;D+=A>>>16;A=(A&65535)+e*l;D=D+(A>>>16)+(b*a+c*g+d*l+e*f)&65535;return $APP.yh((w&65535)<<16|p&65535,D<<16|A&65535)}and(a){return $APP.yh(this.Uf&a.Uf,this.Qf&a.Qf)}or(a){return $APP.yh(this.Uf|a.Uf,this.Qf|a.Qf)}xor(a){return $APP.yh(this.Uf^a.Uf,this.Qf^a.Qf)}shiftLeft(a){a&=63;if(0==a)return this;var b=this.Uf;return 32> -a?$APP.yh(b<>>32-a):$APP.yh(0,b<>>16&65535)*d+c*(b>>>16&65535)<<16>>>0)|0},Wd={},Xd=0;$APP.k=$APP.x.prototype;$APP.k.toString=function(){return this.Kb};$APP.k.equiv=function(a){return this.W(null,a)};$APP.k.W=function(a,b){return b instanceof $APP.x?this.Kb===b.Kb:!1}; -$APP.k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length-1)].join(""));}};$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};$APP.k.g=function(a){return $APP.ce.h?$APP.ce.h(a,this):$APP.ce.call(null,a,this)};$APP.k.h=function(a,b){return $APP.ce.Lf?$APP.ce.Lf(a,this,b):$APP.ce.call(null,a,this,b)};$APP.k.T=function(){return this.qb}; -$APP.k.Z=function(a,b){return new $APP.x(this.ib,this.name,this.Kb,this.oc,b)};$APP.k.X=function(){var a=this.oc;return null!=a?a:this.oc=a=ae(this)};$APP.k.Fc=function(){return this.name};$APP.k.Gc=function(){return this.ib};$APP.k.O=function(a,b){return $APP.od(b,this.Kb)};$APP.y=function y(a){switch(arguments.length){case 1:return y.g(arguments[0]);case 2:return y.h(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}}; -$APP.y.g=function(a){for(;;){if(a instanceof $APP.x)return a;if("string"===typeof a){var b=a.indexOf("/");return 1>b?$APP.y.h(null,a):$APP.y.h(a.substring(0,b),a.substring(b+1,a.length))}if(a instanceof $APP.de)return a.Bb;if(a instanceof $APP.ee)a=a.fb;else throw Error("no conversion to symbol");}};$APP.y.h=function(a,b){var c=null!=a?[$APP.q.g(a),"/",$APP.q.g(b)].join(""):b;return new $APP.x(a,b,c,null,null)};$APP.y.o=2;$APP.k=$APP.de.prototype;$APP.k.toString=function(){return["#'",$APP.q.g(this.Bb)].join("")}; -$APP.k.jb=function(){return this.A.s?this.A.s():this.A.call(null)};$APP.k.T=function(){return this.qb};$APP.k.Z=function(a,b){return new $APP.de(this.A,this.Bb,b)};$APP.k.W=function(a,b){return b instanceof $APP.de?(a=this.Bb,b=b.Bb,$APP.fe.h?$APP.fe.h(a,b):$APP.fe.call(null,a,b)):!1};$APP.k.X=function(){return ae(this.Bb)};$APP.k.Gd=$APP.Ua; -$APP.k.call=function(a){switch(arguments.length-1){case 0:return this.s();case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);case 3:return this.Lf(arguments[1],arguments[2],arguments[3]);case 4:return this.B(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.I(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.Y(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.ua(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.va(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]); -case 11:return this.la(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.na(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10], -arguments[11],arguments[12],arguments[13]);case 14:return this.oa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.pa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.qa(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.ra(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.sa(arguments[1],arguments[2], -arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.ta(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Ta(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.Ob(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17], -arguments[18],arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length-1)].join(""));}};$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};$APP.k.s=function(){var a=this.A.s?this.A.s():this.A.call(null);return a.s?a.s():a.call(null)};$APP.k.g=function(a){var b=this.A.s?this.A.s():this.A.call(null);return b.g?b.g(a):b.call(null,a)}; -$APP.k.h=function(a,b){var c=this.A.s?this.A.s():this.A.call(null);return c.h?c.h(a,b):c.call(null,a,b)};$APP.k.Lf=function(a,b,c){var d=this.A.s?this.A.s():this.A.call(null);return d.Lf?d.Lf(a,b,c):d.call(null,a,b,c)};$APP.k.B=function(a,b,c,d){var e=this.A.s?this.A.s():this.A.call(null);return e.B?e.B(a,b,c,d):e.call(null,a,b,c,d)};$APP.k.I=function(a,b,c,d,e){var f=this.A.s?this.A.s():this.A.call(null);return f.I?f.I(a,b,c,d,e):f.call(null,a,b,c,d,e)}; -$APP.k.Y=function(a,b,c,d,e,f){var l=this.A.s?this.A.s():this.A.call(null);return l.Y?l.Y(a,b,c,d,e,f):l.call(null,a,b,c,d,e,f)};$APP.k.ua=function(a,b,c,d,e,f,l){var g=this.A.s?this.A.s():this.A.call(null);return g.ua?g.ua(a,b,c,d,e,f,l):g.call(null,a,b,c,d,e,f,l)};$APP.k.ia=function(a,b,c,d,e,f,l,g){var p=this.A.s?this.A.s():this.A.call(null);return p.ia?p.ia(a,b,c,d,e,f,l,g):p.call(null,a,b,c,d,e,f,l,g)}; -$APP.k.va=function(a,b,c,d,e,f,l,g,p){var w=this.A.s?this.A.s():this.A.call(null);return w.va?w.va(a,b,c,d,e,f,l,g,p):w.call(null,a,b,c,d,e,f,l,g,p)};$APP.k.ka=function(a,b,c,d,e,f,l,g,p,w){var A=this.A.s?this.A.s():this.A.call(null);return A.ka?A.ka(a,b,c,d,e,f,l,g,p,w):A.call(null,a,b,c,d,e,f,l,g,p,w)};$APP.k.la=function(a,b,c,d,e,f,l,g,p,w,A){var D=this.A.s?this.A.s():this.A.call(null);return D.la?D.la(a,b,c,d,e,f,l,g,p,w,A):D.call(null,a,b,c,d,e,f,l,g,p,w,A)}; -$APP.k.ma=function(a,b,c,d,e,f,l,g,p,w,A,D){var G=this.A.s?this.A.s():this.A.call(null);return G.ma?G.ma(a,b,c,d,e,f,l,g,p,w,A,D):G.call(null,a,b,c,d,e,f,l,g,p,w,A,D)};$APP.k.na=function(a,b,c,d,e,f,l,g,p,w,A,D,G){var J=this.A.s?this.A.s():this.A.call(null);return J.na?J.na(a,b,c,d,e,f,l,g,p,w,A,D,G):J.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G)}; -$APP.k.oa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J){var R=this.A.s?this.A.s():this.A.call(null);return R.oa?R.oa(a,b,c,d,e,f,l,g,p,w,A,D,G,J):R.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J)};$APP.k.pa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R){var W=this.A.s?this.A.s():this.A.call(null);return W.pa?W.pa(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R):W.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R)}; -$APP.k.qa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W){var Z=this.A.s?this.A.s():this.A.call(null);return Z.qa?Z.qa(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W):Z.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W)};$APP.k.ra=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z){var va=this.A.s?this.A.s():this.A.call(null);return va.ra?va.ra(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z):va.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z)}; -$APP.k.sa=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va){var Da=this.A.s?this.A.s():this.A.call(null);return Da.sa?Da.sa(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va):Da.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va)};$APP.k.ta=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da){var Qa=this.A.s?this.A.s():this.A.call(null);return Qa.ta?Qa.ta(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da):Qa.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da)}; -$APP.k.Ta=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa){var vb=this.A.s?this.A.s():this.A.call(null);return vb.Ta?vb.Ta(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa):vb.call(null,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa)};$APP.k.Ob=function(a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb){var M=this.A.s?this.A.s():this.A.call(null);return $APP.Yb.kd?$APP.Yb.kd(M,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb):$APP.Yb.call(null,M,a,b,c,d,e,f,l,g,p,w,A,D,G,J,R,W,Z,va,Da,Qa,vb)}; -$APP.fe=function fe(a){switch(arguments.length){case 1:return fe.g(arguments[0]);case 2:return fe.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(ea?0:a};$APP.k.Qb=function(){var a=this.aa(null);return 0b)throw Error("Index out of bounds");a:for(;;){if(null==a)throw Error("Index out of bounds"); -if(0===b){if($APP.z(a)){a=$APP.r(a);break a}throw Error("Index out of bounds");}if(He(a)){a=$APP.u(a,b);break a}if($APP.z(a))a=$APP.t(a),--b;else throw Error("Index out of bounds");}return a}if($APP.Pb(mc,a))return $APP.u(a,b);throw Error(["nth not supported on this type ",$APP.q.g(Tb(Qb(a)))].join(""));}; -$APP.B.Lf=function(a,b,c){if("number"!==typeof b)throw Error("Index argument to nth must be a number.");if(null==a)return c;if(null!=a&&(a.C&16||$APP.Ua===a.Hd))return a.Ra(null,b,c);if(Gb(a))return-1b?c:bf(a,b,c);if($APP.Pb(mc,a))return $APP.u(a,b,c);throw Error(["nth not supported on this type ",$APP.q.g(Tb(Qb(a)))].join("")); -};$APP.B.o=3;$APP.ce=function ce(a){switch(arguments.length){case 2:return ce.h(arguments[0],arguments[1]);case 3:return ce.Lf(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};$APP.ce.h=function(a,b){return null==a?null:null!=a&&(a.C&256||$APP.Ua===a.le)?a.Ba(null,b):Gb(a)?null!=b&&bb};pg.j=function(a,b,c){for(;;)if(a>b)if($APP.t(c))a=b,b=$APP.r(c),c=$APP.t(c);else return b>$APP.r(c);else return!1}; -pg.Mf=function(a){var b=$APP.r(a),c=$APP.t(a);a=$APP.r(c);c=$APP.t(c);return this.j(b,a,c)};pg.o=2;var qg=function qg(a){switch(arguments.length){case 1:return qg.g(arguments[0]);case 2:return qg.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e=b}; -qg.j=function(a,b,c){for(;;)if(a>=b)if($APP.t(c))a=b,b=$APP.r(c),c=$APP.t(c);else return b>=$APP.r(c);else return!1};qg.Mf=function(a){var b=$APP.r(a),c=$APP.t(a);a=$APP.r(c);c=$APP.t(c);return this.j(b,a,c)};qg.o=2;var sg=function sg(a){switch(arguments.length){case 1:return sg.g(arguments[0]);case 2:return sg.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(eb?a:b};sg.j=function(a,b,c){return $APP.dc.Lf(sg,a>b?a:b,c)};sg.Mf=function(a){var b=$APP.r(a),c=$APP.t(a);a=$APP.r(c);c=$APP.t(c);return this.j(b,a,c)};sg.o=2;var tg=function tg(a){switch(arguments.length){case 1:return tg.g(arguments[0]);case 2:return tg.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(ed:e))c[d]=a.next(),d+=1;else return ci(new $h(c,0,d),Ui.g?Ui.g(a):Ui.call(null,a))}else return null},null,null)}; -Vi.prototype.step=function(){if(this.eb!==Pi)return!0;for(;;)if(this.eb===Pi)if(this.buffer.yc()){if(this.vd)return!1;if(this.Ad.fa()){if(this.ye)var a=$APP.Yb.h(this.Db,Oe(null,this.Ad.next()));else a=this.Ad.next(),a=this.Db.h?this.Db.h(null,a):this.Db.call(null,null,a);xe(a)&&(this.Db.g?this.Db.g(null):this.Db.call(null,null),this.vd=!0)}else this.Db.g?this.Db.g(null):this.Db.call(null,null),this.vd=!0}else this.eb=this.buffer.remove();else return!0};Vi.prototype.fa=function(){return this.step()}; -Vi.prototype.next=function(){if(this.fa()){var a=this.eb;this.eb=Pi;return a}throw Error("No such element");};Vi.prototype.remove=function(){return Error("Unsupported operation")};Vi.prototype[Ub]=function(){return le(this)}; -var Xi=function Xi(a){switch(arguments.length){case 1:return Xi.g(arguments[0]);case 2:return Xi.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e>>b&31;5===b?f.v[l]=d:(c=c.v[l],null!=c?(b-=5,a=hk.B?hk.B(a,b,c,d):hk.call(null,a,b,c,d)):a=gk(null,b-5,d),f.v[l]=a);return f},nk=function nk(a,b,c,d,e){var l=ek(c);if(0===b)l.v[d&31]=e;else{var g=d>>>b&31;b-=5;c=c.v[g];a=nk.I?nk.I(a,b,c,d,e):nk.call(null,a,b,c,d,e);l.v[g]=a}return l},ok=function ok(a,b,c){var e=a.F-2>>>b&31;if(5=this.F)return new $APP.Xb(this.gb,0,null);a:{var a=this.root;for(var b=this.shift;;)if(0this.F-fk(this)){a=this.gb.length;for(var c=Array(a+1),d=0;;)if(d>>5>1<b)return null;a=this.start+b;return ab||this.end<=this.start+b?kk(b,this.end-this.start):$APP.u(this.Sa,this.start+b)};$APP.k.Ra=function(a,b,c){return 0>b||this.end<=this.start+b?c:$APP.u(this.Sa,this.start+b,c)}; -$APP.k.tb=function(a,b,c){a=this.start+b;if(0>b||this.end+1<=a)throw Error(["Index ",$APP.q.g(b)," out of bounds [0,",$APP.q.g(this.aa(null)),"]"].join(""));b=this.D;c=$APP.E.Lf(this.Sa,a,c);var d=this.start,e=this.end;a+=1;a=e>a?e:a;return Gk.I?Gk.I(b,c,d,a,null):Gk.call(null,b,c,d,a,null)};$APP.k.cb=function(){return null!=this.Sa&&$APP.Ua===this.Sa.hd?qk(this.Sa,this.start,this.end):new Mi(this)};$APP.k.T=function(){return this.D};$APP.k.Pf=rh(12);$APP.k.aa=function(){return this.end-this.start}; -$APP.k.Rb=function(){return this.start===this.end?null:$APP.u(this.Sa,this.end-1)};$APP.k.Sb=function(){if(this.start===this.end)throw Error("Can't pop empty vector");var a=this.D,b=this.Sa,c=this.start,d=this.end-1;return Gk.I?Gk.I(a,b,c,d,null):Gk.call(null,a,b,c,d,null)};$APP.k.Qb=function(){return this.start!==this.end?new $APP.Me(this,this.end-this.start-1,null):null};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)}; -$APP.k.ea=function(){return $APP.Sc($APP.$e,this.D)};$APP.k.ya=function(a,b){return null!=this.Sa&&$APP.Ua===this.Sa.hd?rk(this.Sa,b,this.start,this.end):Be(this,b)};$APP.k.za=function(a,b,c){return null!=this.Sa&&$APP.Ua===this.Sa.hd?sk(this.Sa,b,c,this.start,this.end):Ce(this,b,c)};$APP.k.bb=function(a,b,c){if("number"===typeof b)return this.tb(null,b,c);throw Error("Subvec's key for assoc must be a number.");};$APP.k.Gb=function(a,b){return Jf(b)?0<=b&&b>>b&31;if(5===b)a=d;else{var l=c.v[f];null!=l?(b-=5,a=Jk.B?Jk.B(a,b,l,d):Jk.call(null,a,b,l,d)):a=gk(a.root.ja,b-5,d)}c.v[f]=a;return c};$APP.k=tk.prototype; -$APP.k.tc=function(a,b){if(this.root.ja){if(32>this.F-fk(this))this.gb[this.F&31]=b;else{a=new ck(this.root.ja,this.gb);var c=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];c[0]=b;this.gb=c;this.F>>>5>1<=a)return new $APP.m(this.D,this.F-1,c,null);$APP.fe.h(b,this.v[d])?d+=2:(c[e]=this.v[d],c[e+1]=this.v[d+1],e+=2,d+=2)}}else return this}; -$APP.k.bb=function(a,b,c){a=Vk(this.v,b);if(-1===a){if(this.Fb?4:2*(b+1));Af(this.v,0,c,0,2*b);return new ll(a,this.ga,c)}; -$APP.k.Pc=function(a,b,c,d,e){var f=1<<(c>>>b&31);if(0===(this.ga&f))return this;var l=wh(this.ga&f-1),g=this.v[2*l],p=this.v[2*l+1];return null==g?(b=p.Pc(a,b+5,c,d,e),b===p?this:null!=b?il(this,a,2*l+1,b):this.ga===f?null:ml(this,a,f,l)):fl(d,g)?(e.A=!0,ml(this,a,f,l)):this};$APP.k.Nc=function(){return nl?nl(this.v):ol.call(null,this.v)};$APP.k.kc=function(a,b){return jl(this.v,a,b)}; -$APP.k.jc=function(a,b,c,d){var e=1<<(b>>>a&31);if(0===(this.ga&e))return d;var f=wh(this.ga&e-1);e=this.v[2*f];f=this.v[2*f+1];return null==e?f.jc(a+5,b,c,d):fl(c,e)?f:d}; -$APP.k.vb=function(a,b,c,d,e,f){var l=1<<(c>>>b&31),g=wh(this.ga&l-1);if(0===(this.ga&l)){var p=wh(this.ga);if(2*p>>b&31]=pl.vb(a,b+5,c,d,e,f);for(e=d=0;;)if(32>d)0===(this.ga>>> -d&1)?d+=1:(g[d]=null!=this.v[e]?pl.vb(a,b+5,$APP.Zd(this.v[e]),this.v[e],this.v[e+1],f):this.v[e+1],e+=2,d+=1);else break;return new ql(a,p+1,g)}b=Array(2*(p+4));Af(this.v,0,b,0,2*g);b[2*g]=d;b[2*g+1]=e;Af(this.v,2*g,b,2*(g+1),2*(p-g));f.A=!0;a=this.Ub(a);a.v=b;a.ga|=l;return a}p=this.v[2*g];l=this.v[2*g+1];if(null==p)return p=l.vb(a,b+5,c,d,e,f),p===l?this:il(this,a,2*g+1,p);if(fl(d,p))return e===l?this:il(this,a,2*g+1,e);f.A=!0;f=b+5;d=rl?rl(a,f,p,l,c,d,e):sl.call(null,a,f,p,l,c,d,e);e=2*g;g=2* -g+1;a=this.Ub(a);a.v[e]=null;a.v[g]=d;return a}; -$APP.k.ub=function(a,b,c,d,e){var f=1<<(b>>>a&31),l=wh(this.ga&f-1);if(0===(this.ga&f)){var g=wh(this.ga);if(16<=g){l=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];l[b>>>a&31]=pl.ub(a+5,b,c,d,e);for(d=c=0;;)if(32>c)0===(this.ga>>>c&1)?c+=1:(l[c]=null!=this.v[d]?pl.ub(a+5,$APP.Zd(this.v[d]),this.v[d],this.v[d+1],e):this.v[d+1],d+=2,c+=1);else break;return new ql(null,g+1,l)}a=Array(2* -(g+1));Af(this.v,0,a,0,2*l);a[2*l]=c;a[2*l+1]=d;Af(this.v,2*l,a,2*(l+1),2*(g-l));e.A=!0;return new ll(null,this.ga|f,a)}var p=this.v[2*l];f=this.v[2*l+1];if(null==p)return g=f.ub(a+5,b,c,d,e),g===f?this:new ll(null,this.ga,gl(this.v,2*l+1,g));if(fl(c,p))return d===f?this:new ll(null,this.ga,gl(this.v,2*l+1,d));e.A=!0;e=this.ga;g=this.v;a+=5;a=tl?tl(a,p,f,b,c,d):sl.call(null,a,p,f,b,c,d);c=2*l;l=2*l+1;d=Zb(g);d[c]=null;d[l]=a;return new ll(null,e,d)}; -$APP.k.Mc=function(a,b,c,d){var e=1<<(b>>>a&31);if(0===(this.ga&e))return d;var f=wh(this.ga&e-1);e=this.v[2*f];f=this.v[2*f+1];return null==e?f.Mc(a+5,b,c,d):fl(c,e)?new $APP.Rf(e,f,null):d}; -$APP.k.Oc=function(a,b,c){var d=1<<(b>>>a&31);if(0===(this.ga&d))return this;var e=wh(this.ga&d-1),f=this.v[2*e],l=this.v[2*e+1];return null==f?(a=l.Oc(a+5,b,c),a===l?this:null!=a?new ll(null,this.ga,gl(this.v,2*e+1,a)):this.ga===d?null:new ll(null,this.ga^d,hl(this.v,e))):fl(c,f)?new ll(null,this.ga^d,hl(this.v,e)):this};$APP.k.cb=function(){return new kl(this.v)};var pl=new ll(null,0,[]); -vl.prototype.fa=function(){for(var a=this.v.length;;){if(null!=this.zb&&this.zb.fa())return!0;if(this.G>>b&31,l=this.v[f];if(null==l)return this;b=l.Pc(a,b+5,c,d,e);if(b===l)return this;if(null==b){if(8>=this.F)return ul(this,a,f);a=il(this,a,f,b);--a.F;return a}return il(this,a,f,b)};$APP.k.Nc=function(){return wl?wl(this.v):xl.call(null,this.v)};$APP.k.kc=function(a,b){for(var c=this.v.length,d=0;;)if(d>>a&31];return null!=e?e.jc(a+5,b,c,d):d};$APP.k.vb=function(a,b,c,d,e,f){var l=c>>>b&31,g=this.v[l];if(null==g)return a=il(this,a,l,pl.vb(a,b+5,c,d,e,f)),a.F+=1,a;b=g.vb(a,b+5,c,d,e,f);return b===g?this:il(this,a,l,b)};$APP.k.ub=function(a,b,c,d,e){var f=b>>>a&31,l=this.v[f];if(null==l)return new ql(null,this.F+1,gl(this.v,f,pl.ub(a+5,b,c,d,e)));a=l.ub(a+5,b,c,d,e);return a===l?this:new ql(null,this.F,gl(this.v,f,a))}; -$APP.k.Mc=function(a,b,c,d){var e=this.v[b>>>a&31];return null!=e?e.Mc(a+5,b,c,d):d};$APP.k.Oc=function(a,b,c){var d=b>>>a&31,e=this.v[d];return null!=e?(a=e.Oc(a+5,b,c),a===e?this:null==a?8>=this.F?ul(this,null,d):new ql(null,this.F-1,gl(this.v,d,a)):new ql(null,this.F,gl(this.v,d,a))):this};$APP.k.cb=function(){return new vl(this.v)};$APP.k=zl.prototype;$APP.k.Ub=function(a){if(a===this.ja)return this;var b=Array(2*(this.F+1));Af(this.v,0,b,0,2*this.F);return new zl(a,this.Tb,this.F,b)}; -$APP.k.Pc=function(a,b,c,d,e){b=yl(this.v,this.F,d);if(-1===b)return this;e.A=!0;if(1===this.F)return null;a=this.Ub(a);e=a.v;e[b]=e[2*this.F-2];e[b+1]=e[2*this.F-1];e[2*this.F-1]=null;e[2*this.F-2]=null;--a.F;return a};$APP.k.Nc=function(){return nl?nl(this.v):ol.call(null,this.v)};$APP.k.kc=function(a,b){return jl(this.v,a,b)};$APP.k.jc=function(a,b,c,d){a=yl(this.v,this.F,c);return 0>a?d:fl(c,this.v[a])?this.v[a+1]:d}; -$APP.k.vb=function(a,b,c,d,e,f){if(c===this.Tb){b=yl(this.v,this.F,d);if(-1===b){if(this.v.length>2*this.F)return b=2*this.F,c=2*this.F+1,a=this.Ub(a),a.v[b]=d,a.v[c]=e,f.A=!0,a.F+=1,a;c=this.v.length;b=Array(c+2);Af(this.v,0,b,0,c);b[c]=d;b[c+1]=e;f.A=!0;d=this.F+1;a===this.ja?(this.v=b,this.F=d,a=this):a=new zl(this.ja,this.Tb,d,b);return a}return this.v[b+1]===e?this:il(this,a,b+1,e)}return(new ll(a,1<<(this.Tb>>>b&31),[null,this,null,null])).vb(a,b,c,d,e,f)}; -$APP.k.ub=function(a,b,c,d,e){return b===this.Tb?(a=yl(this.v,this.F,c),-1===a?(a=2*this.F,b=Array(a+2),Af(this.v,0,b,0,a),b[a]=c,b[a+1]=d,e.A=!0,new zl(null,this.Tb,this.F+1,b)):$APP.fe.h(this.v[a+1],d)?this:new zl(null,this.Tb,this.F,gl(this.v,a+1,d))):(new ll(null,1<<(this.Tb>>>a&31),[null,this])).ub(a,b,c,d,e)};$APP.k.Mc=function(a,b,c,d){a=yl(this.v,this.F,c);return 0>a?d:fl(c,this.v[a])?new $APP.Rf(this.v[a],this.v[a+1],null):d}; -$APP.k.Oc=function(a,b,c){a=yl(this.v,this.F,c);return-1===a?this:1===this.F?null:new zl(null,this.Tb,this.F-1,hl(this.v,fh(a,2)))};$APP.k.cb=function(){return new kl(this.v)};$APP.k=$APP.Al.prototype;$APP.k.toString=function(){return Rd(this)};$APP.k.equiv=function(a){return this.W(null,a)}; -$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}();$APP.k.T=function(){return this.D}; -$APP.k.xa=function(){if(null==this.R){var a=this.Ab,b=this.G+2;return Bl?Bl(a,b,null):ol.call(null,a,b,null)}a=this.Ab;b=this.G;var c=$APP.t(this.R);return Bl?Bl(a,b,c):ol.call(null,a,b,c)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return $APP.je};$APP.k.ya=function(a,b){return Qe(b,this)};$APP.k.za=function(a,b,c){return Se(b,c,this)}; -$APP.k.wa=function(){return null==this.R?new $APP.Rf(this.Ab[this.G],this.Ab[this.G+1],null):$APP.r(this.R)};$APP.k.Aa=function(){var a=this,b=null==a.R?function(){var c=a.Ab,d=a.G+2;return Bl?Bl(c,d,null):ol.call(null,c,d,null)}():function(){var c=a.Ab,d=a.G,e=$APP.t(a.R);return Bl?Bl(c,d,e):ol.call(null,c,d,e)}();return null!=b?b:$APP.je};$APP.k.V=function(){return this};$APP.k.Z=function(a,b){return b===this.D?this:new $APP.Al(b,this.Ab,this.G,this.R,this.H)}; -$APP.k.da=function(a,b){return Oe(b,this)};$APP.Al.prototype[Ub]=function(){return le(this)};$APP.k=$APP.Cl.prototype;$APP.k.toString=function(){return Rd(this)};$APP.k.equiv=function(a){return this.W(null,a)};$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}();$APP.k.T=function(){return this.D};$APP.k.xa=function(){var a=this.Ab,b=this.G,c=$APP.t(this.R);return Dl?Dl(a,b,c):xl.call(null,a,b,c)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)}; -$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return $APP.je};$APP.k.ya=function(a,b){return Qe(b,this)};$APP.k.za=function(a,b,c){return Se(b,c,this)};$APP.k.wa=function(){return $APP.r(this.R)};$APP.k.Aa=function(){var a=this.Ab;var b=this.G,c=$APP.t(this.R);a=Dl?Dl(a,b,c):xl.call(null,a,b,c);return null!=a?a:$APP.je};$APP.k.V=function(){return this};$APP.k.Z=function(a,b){return b===this.D?this:new $APP.Cl(b,this.Ab,this.G,this.R,this.H)};$APP.k.da=function(a,b){return Oe(b,this)}; -$APP.Cl.prototype[Ub]=function(){return le(this)};El.prototype.fa=function(){return!this.zd||this.Yd.fa()};El.prototype.next=function(){if(this.zd)return this.Yd.next();this.zd=!0;return new $APP.Rf(null,this.$a,null)};El.prototype.remove=function(){return Error("Unsupported operation")};$APP.k=$APP.Fl.prototype;$APP.k.bc=$APP.Ua;$APP.k.Nb=function(a,b){return null==b?this.Za?new $APP.Rf(null,this.$a,null):null:null==this.root?null:this.root.Mc(0,$APP.Zd(b),b,null)};$APP.k.toString=function(){return Rd(this)}; -$APP.k.equiv=function(a){return this.W(null,a)};$APP.k.keys=function(){return le(Yk.g?Yk.g(this):Yk.call(null,this))};$APP.k.entries=function(){return new Tk($APP.z($APP.z(this)))};$APP.k.values=function(){return le(Zk.g?Zk.g(this):Zk.call(null,this))};$APP.k.has=function(a){return $APP.H(this,a)};$APP.k.get=function(a,b){return this.P(null,a,b)}; -$APP.k.forEach=function(a){for(var b=$APP.z(this),c=null,d=0,e=0;;)if(ethis.F?$APP.Je($APP.t(this))+1:this.F};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return $APP.je};$APP.k.ya=function(a,b){return Qe(b,this)};$APP.k.za=function(a,b,c){return Se(b,c,this)};$APP.k.wa=function(){return mf(this.stack)}; -$APP.k.Aa=function(){var a=$APP.r(this.stack);a=Jl(this.dc?a.right:a.left,$APP.t(this.stack),this.dc);return null!=a?new $APP.Kl(null,a,this.dc,this.F-1,null):$APP.je};$APP.k.V=function(){return this};$APP.k.Z=function(a,b){return b===this.D?this:new $APP.Kl(b,this.stack,this.dc,this.F,this.H)};$APP.k.da=function(a,b){return Oe(b,this)};$APP.Kl.prototype[Ub]=function(){return le(this)}; -var Sl=function Sl(a,b,c){var e=null!=a.left?function(){var g=a.left;return Sl.Lf?Sl.Lf(g,b,c):Sl.call(null,g,b,c)}():c;if(xe(e))return e;var f=function(){var g=a.key,p=a.A;return b.Lf?b.Lf(e,g,p):b.call(null,e,g,p)}();if(xe(f))return f;if(null!=a.right){var l=a.right;return Sl.Lf?Sl.Lf(l,b,f):Sl.call(null,l,b,f)}return f};$APP.k=Ol.prototype;$APP.k.bc=$APP.Ua;$APP.k.Nb=function(a,b){switch(b){case 0:return new $APP.Rf(0,this.key,null);case 1:return new $APP.Rf(1,this.A,null);default:return null}}; -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}();$APP.k.Cd=function(a){return a.Ed(this)};$APP.k.Tc=function(){return new Nl(this.key,this.A,this.left,this.right)};$APP.k.Lb=function(){return this};$APP.k.Bd=function(a){return a.Dd(this)}; -$APP.k.replace=function(a,b,c,d){return new Ol(a,b,c,d)};$APP.k.Dd=function(a){return new Ol(a.key,a.A,this,a.right)};$APP.k.Ed=function(a){return new Ol(a.key,a.A,a.left,this)};$APP.k.kc=function(a,b){return Sl(this,a,b)};$APP.k.Ba=function(a,b){return this.Ra(null,b,null)};$APP.k.P=function(a,b,c){return this.Ra(null,b,c)};$APP.k.S=function(a,b){if(0===b)return this.key;if(1===b)return this.A;throw Error("Index out of bounds");};$APP.k.Ra=function(a,b,c){return 0===b?this.key:1===b?this.A:c}; -$APP.k.tb=function(a,b,c){return(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null)).tb(null,b,c)};$APP.k.T=function(){return null};$APP.k.aa=function(){return 2};$APP.k.ld=function(){return this.key};$APP.k.md=function(){return this.A};$APP.k.Rb=function(){return this.A};$APP.k.Sb=function(){return new $APP.O(null,1,5,$APP.P,[this.key],null)};$APP.k.Qb=function(){return new $APP.Xb([this.A,this.key],0,null)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)}; -$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return null};$APP.k.ya=function(a,b){return Be(this,b)};$APP.k.za=function(a,b,c){return Ce(this,b,c)};$APP.k.bb=function(a,b,c){return $APP.E.Lf(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null),b,c)};$APP.k.Gb=function(a,b){return 0===b||1===b};$APP.k.V=function(){return new $APP.Xb([this.key,this.A],0,null)};$APP.k.Z=function(a,b){return $APP.Sc(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null),b)}; -$APP.k.da=function(a,b){return new $APP.O(null,3,5,$APP.P,[this.key,this.A,b],null)};$APP.k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length-1)].join(""));}};$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};$APP.k.g=function(a){return this.S(null,a)};$APP.k.h=function(a,b){return this.Ra(null,a,b)};Ol.prototype[Ub]=function(){return le(this)}; -$APP.k=Nl.prototype;$APP.k.bc=$APP.Ua;$APP.k.Nb=function(a,b){switch(b){case 0:return new $APP.Rf(0,this.key,null);case 1:return new $APP.Rf(1,this.A,null);default:return null}};$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}();$APP.k.Cd=function(a){return new Nl(this.key,this.A,this.left,a)};$APP.k.Tc=function(){throw Error("red-black tree invariant violation");};$APP.k.Lb=function(){return new Ol(this.key,this.A,this.left,this.right)}; -$APP.k.Bd=function(a){return new Nl(this.key,this.A,a,this.right)};$APP.k.replace=function(a,b,c,d){return new Nl(a,b,c,d)};$APP.k.Dd=function(a){return this.left instanceof Nl?new Nl(this.key,this.A,this.left.Lb(),new Ol(a.key,a.A,this.right,a.right)):this.right instanceof Nl?new Nl(this.right.key,this.right.A,new Ol(this.key,this.A,this.left,this.right.left),new Ol(a.key,a.A,this.right.right,a.right)):new Ol(a.key,a.A,this,a.right)}; -$APP.k.Ed=function(a){return this.right instanceof Nl?new Nl(this.key,this.A,new Ol(a.key,a.A,a.left,this.left),this.right.Lb()):this.left instanceof Nl?new Nl(this.left.key,this.left.A,new Ol(a.key,a.A,a.left,this.left.left),new Ol(this.key,this.A,this.left.right,this.right)):new Ol(a.key,a.A,a.left,this)};$APP.k.kc=function(a,b){return Sl(this,a,b)};$APP.k.Ba=function(a,b){return this.Ra(null,b,null)};$APP.k.P=function(a,b,c){return this.Ra(null,b,c)}; -$APP.k.S=function(a,b){if(0===b)return this.key;if(1===b)return this.A;throw Error("Index out of bounds");};$APP.k.Ra=function(a,b,c){return 0===b?this.key:1===b?this.A:c};$APP.k.tb=function(a,b,c){return(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null)).tb(null,b,c)};$APP.k.T=function(){return null};$APP.k.aa=function(){return 2};$APP.k.ld=function(){return this.key};$APP.k.md=function(){return this.A};$APP.k.Rb=function(){return this.A}; -$APP.k.Sb=function(){return new $APP.O(null,1,5,$APP.P,[this.key],null)};$APP.k.Qb=function(){return new $APP.Xb([this.A,this.key],0,null)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return null};$APP.k.ya=function(a,b){return Be(this,b)};$APP.k.za=function(a,b,c){return Ce(this,b,c)};$APP.k.bb=function(a,b,c){return $APP.E.Lf(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null),b,c)}; -$APP.k.Gb=function(a,b){return 0===b||1===b};$APP.k.V=function(){return new $APP.Xb([this.key,this.A],0,null)};$APP.k.Z=function(a,b){return $APP.Sc(new $APP.O(null,2,5,$APP.P,[this.key,this.A],null),b)};$APP.k.da=function(a,b){return new $APP.O(null,3,5,$APP.P,[this.key,this.A,b],null)}; -$APP.k.call=function(a){switch(arguments.length-1){case 1:return this.g(arguments[1]);case 2:return this.h(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length-1)].join(""));}};$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat(Zb(b)))};$APP.k.g=function(a){return this.S(null,a)};$APP.k.h=function(a,b){return this.Ra(null,a,b)};Nl.prototype[Ub]=function(){return le(this)}; -var Tl=function Tl(a,b,c,d,e){if(null==b)return new Nl(c,d,null,null);var l=function(){var g=b.key;return a.h?a.h(c,g):a.call(null,c,g)}();if(0===l)return e[0]=b,null;if(0>l)return l=function(){var g=b.left;return Tl.I?Tl.I(a,g,c,d,e):Tl.call(null,a,g,c,d,e)}(),null!=l?b.Bd(l):null;l=function(){var g=b.right;return Tl.I?Tl.I(a,g,c,d,e):Tl.call(null,a,g,c,d,e)}();return null!=l?b.Cd(l):null},Ul=function Ul(a,b){if(null==a)return b;if(null==b)return a;if(a instanceof Nl){if(b instanceof Nl){var d=function(){var e= -a.right,f=b.left;return Ul.h?Ul.h(e,f):Ul.call(null,e,f)}();return d instanceof Nl?new Nl(d.key,d.A,new Nl(a.key,a.A,a.left,d.left),new Nl(b.key,b.A,d.right,b.right)):new Nl(a.key,a.A,a.left,new Nl(b.key,b.A,d,b.right))}return new Nl(a.key,a.A,a.left,function(){var e=a.right;return Ul.h?Ul.h(e,b):Ul.call(null,e,b)}())}if(b instanceof Nl)return new Nl(b.key,b.A,function(){var e=b.left;return Ul.h?Ul.h(a,e):Ul.call(null,a,e)}(),b.right);d=function(){var e=a.right,f=b.left;return Ul.h?Ul.h(e,f):Ul.call(null, -e,f)}();return d instanceof Nl?new Nl(d.key,d.A,new Ol(a.key,a.A,a.left,d.left),new Ol(b.key,b.A,d.right,b.right)):Ql(a.key,a.A,a.left,new Ol(b.key,b.A,d,b.right))},Vl=function Vl(a,b,c,d){if(null!=b){var f=function(){var l=b.key;return a.h?a.h(c,l):a.call(null,c,l)}();if(0===f)return d[0]=b,Ul(b.left,b.right);if(0>f)return f=function(){var l=b.left;return Vl.B?Vl.B(a,l,c,d):Vl.call(null,a,l,c,d)}(),null!=f||null!=d[0]?b.left instanceof Ol?Ql(b.key,b.A,f,b.right):new Nl(b.key,b.A,f,b.right):null; -f=function(){var l=b.right;return Vl.B?Vl.B(a,l,c,d):Vl.call(null,a,l,c,d)}();return null!=f||null!=d[0]?b.right instanceof Ol?Rl(b.key,b.A,b.left,f):new Nl(b.key,b.A,b.left,f):null}return null},Wl=function Wl(a,b,c,d){var f=b.key,l=a.h?a.h(c,f):a.call(null,c,f);return 0===l?b.replace(f,d,b.left,b.right):0>l?b.replace(f,b.A,function(){var g=b.left;return Wl.B?Wl.B(a,g,c,d):Wl.call(null,a,g,c,d)}(),b.right):b.replace(f,b.A,b.left,function(){var g=b.right;return Wl.B?Wl.B(a,g,c,d):Wl.call(null,a,g, -c,d)}())};$APP.k=$APP.Xl.prototype;$APP.k.bc=$APP.Ua;$APP.k.Nb=function(a,b){return Yl(this,b)};$APP.k.forEach=function(a){for(var b=$APP.z(this),c=null,d=0,e=0;;)if(ee?(a=$APP.Ze.h(a,d),d=d.left):d=d.right:0(a.g?a.g(c):a.call(null,c))?b:c}; -ym.j=function(a,b,c,d){return $APP.dc.Lf(function(e,f){return ym.Lf(a,e,f)},ym.Lf(a,b,c),d)};ym.Mf=function(a){var b=$APP.r(a),c=$APP.t(a);a=$APP.r(c);var d=$APP.t(c);c=$APP.r(d);d=$APP.t(d);return this.j(b,a,c,d)};ym.o=3; -var zm=function zm(a){switch(arguments.length){case 2:return zm.h(arguments[0],arguments[1]);case 3:return zm.Lf(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,e=0;;)if(e=this.count)throw Error("-drop-first of empty chunk");return new Gm(this.start+this.step,this.step,this.count-1)};Hm.prototype.fa=function(){return 0this.end};Hm.prototype.next=function(){var a=this.G;this.G+=this.step;return a};$APP.k=$APP.Im.prototype;$APP.k.toString=function(){return Rd(this)};$APP.k.equiv=function(a){return this.W(null,a)}; -$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -$APP.k.Lc=function(){if(null==this.Xa){var a=this.aa(null);32this.end&&0===this.step)return this.start;throw Error("Index out of bounds");}; -$APP.k.Ra=function(a,b,c){return 0<=b&&bthis.end&&0===this.step?this.start:c};$APP.k.cb=function(){return new Hm(this.start,this.end,this.step)};$APP.k.T=function(){return this.D};$APP.k.Pf=rh(5); -$APP.k.xa=function(){return 0this.end?new $APP.Im(null,this.start+this.step,this.end,this.step,null,null,null):null};$APP.k.aa=function(){return Math.ceil((this.end-this.start)/this.step)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return $APP.je}; -$APP.k.ya=function(a,b){return Be(this,b)};$APP.k.za=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.h?b.h(c,a):b.call(null,c,a);if(xe(c))return $APP.Oc(c);a+=this.step}else return c};$APP.k.wa=function(){return this.start};$APP.k.Aa=function(){var a=this.xa(null);return null==a?$APP.je:a};$APP.k.V=function(){return this};$APP.k.Ec=function(){this.Lc();return this.Xa};$APP.k.$b=function(){this.Lc();return null==this.Mb?$APP.je:this.Mb}; -$APP.k.Z=function(a,b){return b===this.D?this:new $APP.Im(b,this.start,this.end,this.step,this.Xa,this.Mb,this.H)};$APP.k.da=function(a,b){return Oe(b,this)};$APP.k.Dc=function(){return $APP.z(this.$b(null))};$APP.Im.prototype[Ub]=function(){return le(this)};$APP.k=$APP.Jm.prototype;$APP.k.toString=function(){return Rd(this)};$APP.k.equiv=function(a){return this.W(null,a)}; -$APP.k.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return Ie(this,b,0);case 2:return Ie(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Ie(this,b,0)};a.h=function(b,c){return Ie(this,b,c)};return a}(); -$APP.k.lastIndexOf=function(){function a(c){return Ke(this,c,$APP.Je(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Ke(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.g=a;b.h=function(c,d){return Ke(this,c,d)};return b}(); -$APP.k.Lc=function(){if(null==this.Xa){var a=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];a:{var b=0;for(var c=this.start;;)if(32>b){if(a[b]=c,b+=1,c+=this.step,!(0this.end)){b=this.Xa=new $h(a,0,b);break a}}else{b=c;break a}}null==this.Xa&&(this.Xa=new $h(a,0,32),(0this.end)&&(this.Mb=new $APP.Jm(null,b,this.end,this.step,null,null,null)))}}; -$APP.k.cb=function(){return new Hm(this.start,this.end,this.step)};$APP.k.T=function(){return this.D};$APP.k.Pf=rh(4);$APP.k.xa=function(){return 0this.end?new $APP.Jm(null,this.start+this.step,this.end,this.step,null,null,null):null};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=ne(this)};$APP.k.W=function(a,b){return Ne(this,b)};$APP.k.ea=function(){return $APP.je}; -$APP.k.ya=function(a,b){return Qe(b,this)};$APP.k.za=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.h?b.h(c,a):b.call(null,c,a);if(xe(c))return $APP.Oc(c);a+=this.step}else return c};$APP.k.wa=function(){return this.start};$APP.k.Aa=function(){var a=this.xa(null);return null==a?$APP.je:a};$APP.k.V=function(){return this};$APP.k.Ec=function(){this.Lc();return this.Xa};$APP.k.$b=function(){this.Lc();return null==this.Mb?$APP.je:this.Mb}; -$APP.k.Z=function(a,b){return b===this.D?this:new $APP.Jm(b,this.start,this.end,this.step,this.Xa,this.Mb,this.H)};$APP.k.da=function(a,b){return Oe(b,this)};$APP.k.Dc=function(){return $APP.z(this.$b(null))};$APP.Jm.prototype[Ub]=function(){return le(this)}; -var Km=function Km(a){switch(arguments.length){case 0:return Km.s();case 1:return Km.g(arguments[0]);case 2:return Km.h(arguments[0],arguments[1]);case 3:return Km.Lf(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};Km.s=function(){return Km.Lf(0,Number.MAX_VALUE,1)};Km.g=function(a){return Km.Lf(0,a,1)};Km.h=function(a,b){return Km.Lf(a,b,1)}; -Km.Lf=function(a,b,c){return 0c?b>=a?$APP.je:Jf(a)&&Jf(b)&&Jf(c)?new $APP.Im(null,a,b,c,null,null,null):new $APP.Jm(null,a,b,c,null,null,null):b===a?$APP.je:Hj.g(a)};Km.o=3;var Lm=function Lm(a){switch(arguments.length){case 1:return Lm.g(arguments[0]);case 2:return Lm.h(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}}; -Lm.g=function(a){return function(b){var c=kj(-1);return function(){function d(g,p){var w=c.Fb(null,c.jb(null)+1);return 0===gh(w,a)?b.h?b.h(g,p):b.call(null,g,p):g}function e(g){return b.g?b.g(g):b.call(null,g)}function f(){return b.s?b.s():b.call(null)}var l=null;l=function(g,p){switch(arguments.length){case 0:return f.call(this);case 1:return e.call(this,g);case 2:return d.call(this,g,p)}throw Error("Invalid arity: "+arguments.length);};l.s=f;l.g=e;l.h=d;return l}()}}; -Lm.h=function(a,b){return new $APP.Xh(null,function(){var c=$APP.z(b);return c?Oe($APP.r(c),Lm.h(a,yj.h(a,c))):null},null,null)};Lm.o=2;var Nm=function Nm(a){switch(arguments.length){case 1:return Nm.g(arguments[0]);case 2:return Nm.h(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}}; -Nm.g=function(a){return function(b){var c=new Am,d=kj(Om);return function(){function e(p,w){var A=$APP.Oc(d),D=a.g?a.g(w):a.call(null,w);Nd(d,D);if($APP.Lh(A,Om)||$APP.fe.h(D,A))return c.add(w),p;A=$APP.ag(c.toArray());c.clear();p=b.h?b.h(p,A):b.call(null,p,A);xe(p)||c.add(w);return p}function f(p){if(!$APP.n(c.yc())){var w=$APP.ag(c.toArray());c.clear();p=ze(b.h?b.h(p,w):b.call(null,p,w))}return b.g?b.g(p):b.call(null,p)}function l(){return b.s?b.s():b.call(null)}var g=null;g=function(p,w){switch(arguments.length){case 0:return l.call(this); -case 1:return f.call(this,p);case 2:return e.call(this,p,w)}throw Error("Invalid arity: "+arguments.length);};g.s=l;g.g=f;g.h=e;return g}()}};Nm.h=function(a,b){return new $APP.Xh(null,function(){var c=$APP.z(b);if(c){var d=$APP.r(c),e=a.g?a.g(d):a.call(null,d),f=Oe(d,Cm.h(function(l){return $APP.fe.h(e,a.g?a.g(l):a.call(null,l))},$APP.t(c)));return Oe(f,Nm.h(a,new $APP.Xh(null,function(){return yj.h($APP.Je(f),c)},null,null)))}return null},null,null)};Nm.o=2; -var Qm=function Qm(a){switch(arguments.length){case 2:return Qm.h(arguments[0],arguments[1]);case 3:return Qm.Lf(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};Qm.h=function(a,b){return new $APP.Xh(null,function(){var c=$APP.z(b);return c?Qm.Lf(a,$APP.r(c),ie(c)):new $APP.C(null,a.s?a.s():a.call(null),null,1,null)},null,null)}; -Qm.Lf=function(a,b,c){return xe(b)?new $APP.C(null,$APP.Oc(b),null,1,null):Oe(b,new $APP.Xh(null,function(){var d=$APP.z(c);if(d){var e=Qm.Lf;var f=$APP.r(d);f=a.h?a.h(b,f):a.call(null,b,f);d=e.call(Qm,a,f,ie(d))}else d=null;return d},null,null))};Qm.o=3; -var Rm=function Rm(a){switch(arguments.length){case 1:return Rm.g(arguments[0]);case 2:return Rm.h(arguments[0],arguments[1]);case 3:return Rm.Lf(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,e=0;;)if(el?1:l);return l<=b.length?(l=$APP.Ch.h(b,l),Wm.h?Wm.h(a,l):Wm.call(null,a,l)):null},null,null))};cn={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"}; -$APP.on=function on(a){for(var c=[],d=arguments.length,e=0;;)if(ec)b=$APP.ag($APP.q.g(a).split(b));else a:for(var d=c,e=$APP.$e;;){if(1===d){b=$APP.Ze.h(e,a);break a}var f=$APP.Vm(b,a);if(null!=f){var l=a.indexOf(f);f=a.substring(l+$APP.Je(f));--d;e=$APP.Ze.h(e,a.substring(0,l));a=f}else{b=$APP.Ze.h(e,a);break a}}if(0===c&&1<$APP.Je(b))a:for(c=b;;)if(""===mf(c))c=nf(c);else break a;else c=b;return c};$APP.jT.o=3; -var rT=function rT(a){switch(arguments.length){case 2:return rT.h(arguments[0],arguments[1]);case 3:return rT.Lf(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};rT.h=function(a,b){a=a.indexOf(b);return 0>a?null:a};rT.Lf=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};rT.o=3; -var sT=function sT(a){switch(arguments.length){case 2:return sT.h(arguments[0],arguments[1]);case 3:return sT.Lf(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.q.g(arguments.length)].join(""));}};sT.h=function(a,b){a=a.lastIndexOf(b);return 0>a?null:a};sT.Lf=function(a,b,c){a=a.lastIndexOf(b,c);return 0>a?null:a};sT.o=3;$APP.k=$APP.wT.prototype;$APP.k.Ba=function(a,b){return this.P(null,b,null)};$APP.k.P=function(a,b,c){switch(b instanceof $APP.ee?b.fb:null){case "splicing?":return this.Jb;case "form":return this.form;default:return $APP.ce.Lf(this.N,b,c)}};$APP.k.Pb=function(a,b,c){return $APP.dc.Lf(function(d,e){var f=$APP.B.Lf(e,0,null);e=$APP.B.Lf(e,1,null);return b.Lf?b.Lf(d,f,e):b.call(null,d,f,e)},c,this)}; -$APP.k.O=function(a,b,c){return $APP.Zm(b,function(d){return $APP.Zm(b,$APP.gn,""," ","",c,d)},"#cljs.tools.reader.impl.utils.ReaderConditional{",", ","}",c,$APP.K.h(new $APP.O(null,2,5,$APP.P,[new $APP.O(null,2,5,$APP.P,[kS,this.Jb],null),new $APP.O(null,2,5,$APP.P,[Hy,this.form],null)],null),this.N))};$APP.k.cb=function(){return new $APP.Sk(this,2,new $APP.O(null,2,5,$APP.P,[kS,Hy],null),$APP.n(this.N)?$APP.Pd(this.N):$APP.Fi())};$APP.k.T=function(){return this.Nf};$APP.k.Pf=rh(3); -$APP.k.aa=function(){return 2+$APP.Je(this.N)};$APP.k.X=function(){var a=this.H;return null!=a?a:this.H=a=-209062840^$APP.pe(this)};$APP.k.W=function(a,b){return null!=b&&this.constructor===b.constructor&&$APP.fe.h(this.Jb,b.Jb)&&$APP.fe.h(this.form,b.form)&&$APP.fe.h(this.N,b.N)}; -$APP.k.hc=function(a,b){return $APP.H(new $APP.lm(null,new $APP.m(null,2,[kS,null,Hy,null],null),null),b)?$APP.hf.h($APP.Sc($APP.Uj.h($APP.Hi,this),this.Nf),b):new $APP.wT(this.Jb,this.form,this.Nf,$APP.Ei($APP.hf.h(this.N,b)),null)};$APP.k.Gb=function(a,b){switch(b instanceof $APP.ee?b.fb:null){case "splicing?":case "form":return!0;default:return $APP.H(this.N,b)}}; -$APP.k.bb=function(a,b,c){return $APP.n($APP.Lh.h?$APP.Lh.h(kS,b):$APP.Lh.call(null,kS,b))?new $APP.wT(c,this.form,this.Nf,this.N,null):$APP.n($APP.Lh.h?$APP.Lh.h(Hy,b):$APP.Lh.call(null,Hy,b))?new $APP.wT(this.Jb,c,this.Nf,this.N,null):new $APP.wT(this.Jb,this.form,this.Nf,$APP.E.Lf(this.N,b,c),null)};$APP.k.V=function(){return $APP.z($APP.K.h(new $APP.O(null,2,5,$APP.P,[new $APP.Rf(kS,this.Jb,null),new $APP.Rf(Hy,this.form,null)],null),this.N))}; -$APP.k.Z=function(a,b){return new $APP.wT(this.Jb,this.form,b,this.N,this.H)};$APP.k.da=function(a,b){return $APP.xf(b)?this.bb(null,$APP.u(b,0),$APP.u(b,1)):$APP.dc.Lf($APP.lc,this,b)};$APP.k.ba=$APP.Ua;$APP.k.O=function(a,b,c){$APP.od(b,["#?",$APP.n(this.Jb)?"@":null].join(""));return $APP.gn(this.form,b,c)};var yT=/[\s]/;$APP.nj.g(0);KT.prototype.U=function(){if(this.Zd>this.Ac){var a=this.R.charAt(this.Ac);this.Ac+=1;return a}return null};KT.prototype.mb=function(){return this.Zd>this.Ac?this.R.charAt(this.Ac):null};LT.prototype.U=function(){var a=this.sba?'..."':'"',d=b.length;return['"',$APP.q.g(b.substring(0,ad?"...}":"}")});iX.Ya(null,OI,function(a,b){return hX(a,b,"#{","}")});iX.Ya(null,HC,function(a,b){return hX(a,b,"[","]")});iX.Ya(null,$APP.Nu,function(a,b){return $APP.on.j($APP.Pe([Qb(b)]))});var BX=/^([-+]?)(?:(0)|([1-9][0-9]*)|0[xX]([0-9A-Fa-f]+)|0([0-7]+)|([1-9][0-9]?)[rR]([0-9A-Za-z]+)|0[0-9]+)(N)?$/,CX=/([-+]?[0-9]+)\/([0-9]+)/,DX=/([-+]?[0-9]+(\.[0-9]*)?([eE][-+]?[0-9]+)?)(M)?/,HX=function HX(a){for(var c=[],d=arguments.length,e=0;;)if(e>b},sf,uE,EE,$APP.lf(function(a,b){var c=$APP.Oc(hV);return c.h?c.h(a,b):c.call(null,a,b)},new $APP.m(null,1,[Rz,UU],null)),EZ,Z3(e4),function(a){return null!=a&&(a.J&1024||$APP.Ua===a.He)?a.Dc():$APP.z($APP.Ed(a))},function(a,b){return UT(a, -b)},function(a,b){return a^1<a:a instanceof $APP.vh?0>a.Qf:!1},Vj,Z3(function(a,b,c,d){return Xi.g($APP.z($APP.K.j(new $APP.C(null,JL,null,1,null),new $APP.C(null,$APP.ag(Xi.g($APP.z($APP.K.h(new $APP.C(null,$n,null,1,null),new $APP.C(null,Xi.g($APP.z($APP.K.h(new $APP.C(null,sp,null,1,null),new $APP.C(null,c,null,1,null)))),null,1,null))))),null,1,null),$APP.Pe([new $APP.C(null,Xi.g($APP.z($APP.K.j(new $APP.C(null,oA,null,1,null),new $APP.C(null,Xi.g($APP.z($APP.K.h(new $APP.C(null, -ks,null,1,null),new $APP.C(null,$n,null,1,null)))),null,1,null),$APP.Pe([new $APP.C(null,Xi.g($APP.z($APP.K.j(new $APP.C(null,sp,null,1,null),new $APP.C(null,c,null,1,null),$APP.Pe([new $APP.C(null,d,null,1,null)])))),null,1,null)])))),null,1,null)]))))}),JZ,zj,Y4,ij,Z3(k4),wU,function(a,b){if(b instanceof YT)return $APP.H(b.ze,a);var c=PF.g(a),d=function(){if($APP.n(c)){if($APP.n($APP.fe.h?$APP.fe.h(Nc,c):$APP.fe.call(null,Nc,c)))return null!=b?b.C&32768||$APP.Ua===b.Ke?!0:b.C?!1:$APP.Pb(Nc,b):$APP.Pb(Nc, -b);if($APP.n($APP.fe.h?$APP.fe.h(Kd,c):$APP.fe.call(null,Kd,c)))return null!=b?b.J&65536||$APP.Ua===b.Ye?!0:b.J?!1:$APP.Pb(Kd,b):$APP.Pb(Kd,b);if($APP.n($APP.fe.h?$APP.fe.h(Hd,c):$APP.fe.call(null,Hd,c)))return null!=b?b.J&32768||$APP.Ua===b.Ue?!0:b.J?!1:$APP.Pb(Hd,b):$APP.Pb(Hd,b);throw Error(["No matching clause: ",$APP.q.g(c)].join(""));}return c}();return $APP.n(d)?d:U3(a,b)},$APP.t,jg,$APP.lf(function(a,b){uU($APP.gf([IU,$APP.Oc(IU)]));try{var c=RT(QT(b));for(b=null;;){var d=P3(a,c,null);if($APP.n($APP.Lh.h? -$APP.Lh.h(xS,d):$APP.Lh.call(null,xS,d)))return b;b=W3(a,d)}}finally{wU()}},new $APP.m(null,1,[Rz,UU],null)),$APP.Wh,function(a){return a},Z3(n4),$d,ci,$APP.lf(N4,new $APP.m(null,1,[Rz,UU],null)),function(a){return Do(a)},function(a,b){return a.D=b},$APP.Yn,Z3(d4),bo,ej,Dh,$b,xm,$APP.lf(function(a,b){if(Rh(b)){var c=$APP.y.g(Mh(b));b=$APP.y.g($APP.Wh(b));a=$APP.ce.h($APP.Cr.g($APP.Oc(WC.g(a))),c);if($APP.n(a))return $APP.ce.h(a,b);throw Error(["No such namespace: ",$APP.q.g(c)].join(""));}throw Error(["Not a qualified symbol: ", -$APP.q.g(b)].join(""));},new $APP.m(null,1,[Rz,UU],null)),Df,xh,function(a){return a},Lj,Hf,$APP.Bi,function(a){return a+1},ym,function(a){var b=Nh(a);b?(a=Mh(a),a=$APP.n(a)?!0:a):a=b;return Hf(a)},ti,$APP.qf,Fh,$APP.lf(function(a,b,c){$APP.qj.h(WC.g(a),function(d){var e=I4(a,b);return ak.Lf(d,new $APP.O(null,2,5,$APP.P,[$APP.Cr,G4(e)],null),function(f){return $APP.H(f,c)?$APP.hf.h(f,c):$APP.H(GE.g(d),c)||$APP.H(GE.g(f),c)?$APP.bk.I(f,GE,$APP.E,c,null):$APP.H(GJ.g(f),c)?$APP.bk.B(f,GJ,$APP.hf,c): -f})});return null},new $APP.m(null,1,[Rz,UU],null)),$APP.Yb,uZ,$APP.Hk,$APP.lf(qZ,new $APP.m(null,1,[Rz,UU],null)),function(a,b){return!Zi(a,b)},t4,Kh,Ro,GZ,$APP.Uf,$APP.lf(pZ,new $APP.m(null,1,[Rz,UU],null)),ig,Km,XY,function(a){return null!=a?a.C&268435456||$APP.Ua===a.Xe?!0:a.C?!1:$APP.Pb(id,a):$APP.Pb(id,a)},Pm,function(a){return(a=$APP.z(a))?new Cj(null,a,null,a,null):$APP.je},sg,Qh,$APP.lf(X3,new $APP.m(null,2,[DN,!0,Rz,UU],null)),$APP.pf,$APP.Uj,Jf,lg,Z3(r4),function(a,b){return a>>>b},IZ, -Z3(q4),Z3(b5),ei,Z3(i4),vm,ye,li,Rm,$APP.aj,Nj,$APP.lf(I4,new $APP.m(null,1,[Rz,UU],null)),function(a,b){var c;if(c=a instanceof $APP.x)c=null==a?null:$APP.F(a),c=null==c?null:CQ.g(c);return $APP.n(c)?$APP.fe.h(a,$APP.Ws.g($APP.F(b))):b instanceof a},$APP.lf(sZ,new $APP.m(null,1,[Rz,UU],null)),Yj,$APP.F,$APP.lf(function(a,b,c,d){a=$APP.qm(c);return new YT(d,a)},new $APP.m(null,1,[Rz,UU],null)),$APP.lf(TV,new $APP.m(null,2,[DN,!0,Rz,UU],null)),Bk,$APP.lf(function(a,b){b=RT(QT(b));return P3(a,b,null)}, -new $APP.m(null,1,[Rz,UU],null)),Zj,function(a){return 0===a},function(a){return $APP.vd(a)},Z3(w4),function(a){return sd(a)},oi,$APP.lf(L4,new $APP.m(null,1,[Rz,UU],null)),function(a){var b=$APP.nj.g($APP.Hi);return function(){function c(e){var f=null;if(0a},$APP.Cn, -$APP.lf(U4,new $APP.m(null,1,[Rz,UU],null)),function(a,b,c){$APP.td(a,b,c);return a},function(a,b){return Jb($APP.aj(a,b))},Lm,Sm,function(a){return yo(a)},$APP.Ei,$APP.lf(J4,new $APP.m(null,1,[Rz,UU],null)),$APP.lf(X4,new $APP.m(null,1,[Rz,UU],null)),kU,function(a){return $APP.Ed(a)},function(a,b){$APP.ud(a,b);return a},ii,function(a){return Jf(a)?0a.Qf)&&Jb(Sh(a)):!1},function(a){return a},function(a,b){return a===b},function(a){return $APP.xd(a)},mZ,He,zm,Ij,$APP.qm, -Rj,Z3(C4),$APP.Vm]),o7=$APP.Hl([FH,ez,eL,SJ,bH,Ip,Ft,Qz,xJ],[$APP.lf(function(a,b){var c=Ym(b);b=$APP.K.h($APP.Oj.j(function(g){return Zf.h($APP.T,$APP.Yi.h($APP.F,Zk(L4(a,g))))},$APP.Pe([P4(a)])),$APP.Yi.h(function(g){return $APP.E.Lf($APP.F(g),$APP.T,G4(g))},P4(a)));b=$APP.z(b);for(var d=null,e=0,f=0;;)if(f=$APP.Je(b)&&Zi(function(c){return $APP.H(a,c)},b)},FY,wY,function(a,b){return $APP.qm($APP.Yi.h(function(c){return BY(c,b)},a))},function(a,b){return $APP.Je(a)<=$APP.Je(b)&&Zi(function(c){return $APP.H(b,c)},a)},$APP.yY,t7,xY,DY,BY]),aL,x7,Sq,r7,uA,o7,VN,new $APP.m(null,3,[xJ,v7,tJ,tY,ts,uY],null)],null),z7=new $APP.m(null,2,[lI,vA,UL,CG],null);var B7=new $APP.m(null,3,[iJ,new $APP.m(null,2,[$APP.NQ,Error,$APP.sA,function(){var a=null;a=function(b,c,d){switch(arguments.length){case 1:return Error(b);case 2:return Error(b,c);case 3:return Error(b,c,d)}throw Error("Invalid arity: "+arguments.length);};a.g=function(b){return Error(b)};a.h=function(b,c){return Error(b,c)};a.Lf=function(b,c,d){return Error(b,c,d)};return a}()],null),ZA,new $APP.m(null,2,[$APP.NQ,Dn,$APP.sA,function(a){return new Dn(a,null)}],null),zI,new $APP.m(null,2,[$APP.NQ, -La,$APP.sA,function(a){return new La(a)}],null)],null);$APP.nj.g(new $APP.m(null,4,[$APP.zr,0,xD,0,YR,0,zy,0],null)); -var D7=function D7(a,b){if($APP.Ff(b))if($APP.fe.h(cp,$APP.r(b))){var d=ie(b);for(b=null;;)if($APP.z(d)){b=ie(d);var e=function(){var l=$APP.r(d);return D7.h?D7.h(a,l):D7.call(null,a,l)}();d=b;b=e}else return b}else{if(Jb(ls.g(a))||$APP.fe.h(gp,$APP.r(b))||$APP.fe.h(LP,$APP.r(b))){var f=gX(a,b,!0);b=lH.g(a);return b=f instanceof $T?function(){var l=f.Yb(null);return D7.h?D7.h(a,l):D7.call(null,a,l)}():X(a,b,f)}return null}else return f=wW(a,b),b=lH.g(a),b=X(a,b,f)};Nd(cV,D7);Nd(mV,E7);var T7; -T7=function(a,b,c){return Xi.g($APP.z($APP.K.j(new $APP.C(null,JL,null,1,null),new $APP.C(null,$APP.ag(Xi.g($APP.z($APP.K.j(new $APP.C(null,cq,null,1,null),new $APP.C(null,Xi.g($APP.z($APP.K.g(new $APP.C(null,TY,null,1,null)))),null,1,null),$APP.Pe([new $APP.C(null,Lp,null,1,null),new $APP.C(null,c,null,1,null)]))))),null,1,null),$APP.Pe([new $APP.C(null,Xi.g($APP.z($APP.K.h(new $APP.C(null,ZY,null,1,null),new $APP.C(null,Xi.g($APP.z($APP.K.j(new $APP.C(null,SR,null,1,null),new $APP.C(null,"Elapsed time: ", -null,1,null),$APP.Pe([new $APP.C(null,Xi.g($APP.z($APP.K.j(new $APP.C(null,bZ,null,1,null),new $APP.C(null,Xi.g($APP.z($APP.K.j(new $APP.C(null,jB,null,1,null),new $APP.C(null,Xi.g($APP.z($APP.K.g(new $APP.C(null,TY,null,1,null)))),null,1,null),$APP.Pe([new $APP.C(null,cq,null,1,null)])))),null,1,null),$APP.Pe([new $APP.C(null,6,null,1,null)])))),null,1,null),new $APP.C(null," msecs",null,1,null)])))),null,1,null)))),null,1,null),new $APP.C(null,Lp,null,1,null)]))))}; -var $7=$APP.gU(CH,null),Tr=$APP.gU(Io,null),a8=new $APP.m(null,2,[CH,new $APP.m(null,6,[ZG,$APP.rn,sC,RY,eZ,function(){if("undefined"!==typeof performance&&null!=performance.now)return performance.now();if("undefined"!==typeof process&&null!=process.hrtime){var a=process.hrtime();return(1E9*a[0]+a[1])/1E6}return(new Date).getTime()},SY,function(){var a=new $APP.de(function(){return T7},H7,$APP.Hl([$APP.U,$APP.T,$APP.xM,$APP.Tq,$APP.oF,$APP.Xp,$APP.hq,$APP.dH,$APP.V,$APP.S,$APP.WN],[zZ,SY,"scittle/core.cljs", -28,1,9,!0,9,$APP.I(new $APP.O(null,1,5,$APP.P,[$Y],null)),"Evaluates expr and prints the time it took. Returns the value of expr.",$APP.n(T7)?T7.fg:null])),b=$APP.Oc(a);a=$APP.F(a);var c=$7.l(null),d=$APP.T.g(a);$APP.y.h($APP.q.g(c),$APP.q.g(d));c=new $APP.m(null,4,[$APP.U,$7,$APP.T,d,$APP.V,$APP.V.g(a),$APP.S,$APP.S.g(a)],null);return $APP.n($APP.yQ.g(a))?$APP.bj(d,b,c):$APP.n($APP.hq.g(a))?$APP.k8(d,b,c):new $APP.BU(b,d,c)}(),Jo,function(){function a(){return bo(16).toString(16)}var b=(8|3&bo(16)).toString(16); -return new $APP.No([$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),"-",$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),"-4",$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),"-",$APP.q.g(b),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),"-",$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a()),$APP.q.g(a())].join("").toLowerCase(),null)},ts, -function(){var a=new $APP.de(function(){return uY},co,$APP.Hl([$APP.U,$APP.T,$APP.xM,$APP.Tq,$APP.By,$APP.oF,$APP.Xp,$APP.dH,$APP.V,$APP.S,$APP.WN],[Io,ts,"cljs/reader.cljs",18,new $APP.m(null,6,[$APP.aO,!1,$APP.Cs,2,$APP.Mt,2,$APP.hu,new $APP.O(null,2,5,$APP.P,[new $APP.O(null,1,5,$APP.P,[Qn],null),new $APP.O(null,2,5,$APP.P,[$APP.Ko,Qn],null)],null),$APP.V,$APP.I(new $APP.O(null,1,5,$APP.P,[Qn],null),new $APP.O(null,2,5,$APP.P,[$APP.Ko,Qn],null)),$APP.tC,$APP.I(null,null)],null),1,174,174,$APP.I(new $APP.O(null, -1,5,$APP.P,[Qn],null),new $APP.O(null,2,5,$APP.P,[$APP.Ko,Qn],null)),"Reads one object from the string s.\n Returns nil when s is nil or empty.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n opts is a map as per cljs.tools.reader.edn/read",$APP.n(uY)?uY.fg:null])),b=$APP.Oc(a);a=$APP.F(a);var c=Tr.l(null),d=$APP.T.g(a);$APP.y.h($APP.q.g(c),$APP.q.g(d));c=new $APP.m(null,4,[$APP.U,Tr,$APP.T,d,$APP.V,$APP.V.g(a),$APP.S,$APP.S.g(a)],null);return $APP.n($APP.yQ.g(a))? -$APP.bj(d,b,c):$APP.n($APP.hq.g(a))?$APP.k8(d,b,c):new $APP.BU(b,d,c)}()],null),ph,new $APP.m(null,2,[UL,lX,LD,$APP.Aa],null)],null),Ur=$APP.nj.g,Vr,yF=$APP.Ai(new $APP.m(null,3,[$APP.Cr,a8,AP,new $APP.m(null,2,[UC,window,iH,DK],null),PJ,!0],null)),aK=$APP.ce.h(yF,MA),oK=$APP.ce.h(yF,$APP.Cr),yK=$APP.ce.h(yF,lH),AK=$APP.ce.h(yF,GG),BK=$APP.ce.h(yF,LJ),HK=$APP.ce.h(yF,WC),IK=$APP.ce.h(yF,PJ),LK=$APP.ce.h(yF,GE),gL=$APP.ce.h(yF,iH),hL=$APP.ce.h(yF,jC),iL=$APP.ce.h(yF,ls),yL=$APP.ce.h(yF,Iu),AL=$APP.ce.h(yF, -Lt),CL=$APP.ce.h(yF,Ez),EL=$APP.ce.h(yF,AP),FL=$APP.n(HK)?HK:$APP.nj.g($APP.Hi),HL=$APP.em.j($APP.Pe([$APP.Hi,LK]));AQ(FL,yK,yL,oK,HL,hL);var QL=$APP.em.j($APP.Pe([B7,EL])),RL=jX(QL);Vr=$APP.E.j(new $APP.m(null,5,[lH,$APP.Hi,WC,FL,MA,aK,GG,AK,RP,$APP.n(gL)?gL:AL],null),iH,$APP.n(gL)?A7($APP.nm,$APP.Pe([gL])):null,$APP.Pe([Lt,$APP.n(AL)?A7($APP.nm,$APP.Pe([AL])):null,ls,iL,LJ,$APP.n(BK)?BK:C7,Ez,CL,PJ,IK,zA,zA.g(RL),CK,QL,QO,QO.g(RL)]));$APP.nc=Ur.call($APP.nj,Vr);Ob("scittle.core.eval_string",PK); -var uf=function uf(a){var c=$APP.r(a);if($APP.n(c)){var d=$APP.Ei($APP.Aa(c,"textContent"));if($APP.n(d)){var e=$APP.q.g($APP.Cn.g("scittle-tag-"));c.scittle_id=e;$APP.qj.B($APP.nc,Zj,new $APP.O(null,2,5,$APP.P,[Wg,e],null),d);e=$APP.gf([GU,e]);uU(e);try{PK(d)}finally{wU()}d=ie(a);return uf.g?uf.g(d):uf.call(null,d)}var f=c.getAttribute("src");d=new XMLHttpRequest;d.open("GET",f,!0);lX(d,"onload",function(){var l=$APP.Aa(this,"response");c.scittle_id=f;$APP.qj.B($APP.nc,Zj,new $APP.O(null,2,5,$APP.P, -[Wg,f],null),l);var g=$APP.gf([GU,f]);uU(g);try{PK(l)}finally{wU()}l=ie(a);return uf.g?uf.g(l):uf.call(null,l)});return d.send()}return null};Ob("scittle.core.eval_script_tags",Cf);var Ej=kj(!1);Ob("scittle.core.disable_auto_eval",function(){return Nd(Ej,!0)});document.addEventListener("DOMContentLoaded",function(){return $APP.n($APP.Oc(Ej))?null:Cf()},!1); -}).call(this); \ No newline at end of file diff --git a/js/scittle.reagent.js b/js/scittle.reagent.js deleted file mode 100644 index a57ea16..0000000 --- a/js/scittle.reagent.js +++ /dev/null @@ -1,64 +0,0 @@ -(function(){ -shadow$provide[0]=function(b,c,a,d){a.exports=React}; -shadow$provide[1]=function(b,c,a,d){a.exports=ReactDOM}; -'use strict';var z8=function(a,b){var c=w8[a];if(void 0!==c)return c;try{x8.push(a);var d=y8[a],e=shadow$provide[a];if(void 0===d){if(void 0===e)throw"Module not provided: "+a;d={exports:{}};y8[a]=d}if(e){delete shadow$provide[a];try{e.call(d,$APP.kX,z8,d,d.exports)}catch(l){throw console.warn("shadow-cljs - failed to load",a),l;}if(b){var f=b.globals;if(f)for(a=0;a$APP.Je(a)?$APP.fT(a):[$APP.fT($APP.Ch.Lf(a, -0,1)),$APP.Ch.h(a,1)].join("")},C8=function(a){if("string"===typeof a)return a;a=$APP.Wh(a);var b=$APP.jT.h(a,/-/),c=$APP.z(b);b=$APP.r(c);c=$APP.t(c);return $APP.n(B8.g?B8.g(b):B8.call(null,b))?a:$APP.Yb.Lf($APP.q,b,$APP.Yi.h(A8,c))},D8=function(a){var b=function(){var c=function(){var d=$APP.jf(a);if(d){d=a.displayName;if($APP.n(d))return d;d=a.name;return"string"===typeof d&&$APP.z(d)?d:null}return d}();if($APP.n(c))return c;c=function(){var d=null!=a?a.J&4096||$APP.Ua===a.Nd?!0:!1:!1;return d? -$APP.Wh(a):d}();if($APP.n(c))return c;c=$APP.F(a);return $APP.vf(c)?$APP.T.g(c):null}();return $APP.n(b)?$APP.cT($APP.q.g(b),"$","."):null},E8=function(a){return a instanceof $APP.ee||a instanceof $APP.x},G8=function(a){if($APP.vf(a))try{var b=$APP.ce.h(a,F8)}catch(c){b=null}else b=null;return b},H8=function(a){var b=F8.g($APP.F(a));if($APP.n(b))return b;b=G8($APP.B.Lf(a,1,null));if($APP.n(b))return b;b=$APP.B.Lf(a,0,null);switch(b instanceof $APP.ee?b.fb:null){case "\x3e":case "f\x3e":return G8($APP.B.Lf(a, -2,null));case "r\x3e":return a=$APP.B.Lf(a,2,null),null==a?null:a.key;default:return null}},I8=function(a){return setTimeout(a,16)},J8=function(a,b){return a.pf-b.pf},K8=function(){return null},L8=function(a){for(var b=a.length,c=0;;)if(c=e&&f.push(R8(a,g));return f},[c,d],b))}},a$=function(a,b,c,d){this.tag=a;this.id=b;this.className=c;this.Df=d},c$=function(a,b,c){var d=$APP.Aa(a, -Q8(c));null==d?n9(a)?a=I9(c,a,a):(d=$APP.F(a),d=$APP.E.Lf(d,b$,a),d=H9(d,c),a=I9(c,a,d)):a=d;c={};c.argv=b;b=H8(b);null!=b&&(c.key=b);return e8.createElement(a,c)},d$=function(a,b,c,d){var e={};e.cf=a;e.argv=$APP.Hk.h(b,c);b=H8(b);null!=b&&(e.key=b);return e8.createElement(M9(d,a),e)},e$=function(a,b,c){var d;if(d=$APP.jf(a))d=null==a?null:a.prototype,d=null!=(null==d?null:d.render);return d?c$(a,b,c):d$(a,b,1,c)},i$=function(a,b,c,d){var e=a.tag,f=$APP.B.Lf(b,c,null),l=null==f||$APP.vf(f),g=function(){var w= -l?f:null;var A=$APP.NQ.g(w);A=$APP.n(A)?$APP.E.Lf(w,$APP.NQ,f$.g(A)):w;var D=a.id;w=a.className;D=null!=D&&null==$APP.BS.g(A)?$APP.E.Lf(A,$APP.BS,D):A;if($APP.n(w)){var G=$APP.E.Lf,J=f$.h,R=$APP.NQ.g(A);A=$APP.n(R)?R:g$.g(A);w=G.call($APP.E,D,$APP.NQ,J.call(f$,w,A))}else w=D;w=$APP.n(a.Df)?Z9(w):V9(w);return $APP.n(w)?w:{}}();c+=l?1:0;a:switch(e){case "input":case "textarea":var p=!0;break a;default:p=!1}if(p)return p=function(){var w=d.Jf;if($APP.n(w))return w;w=H9(h$,d);return d.Jf=w}(),R8(d,$APP.lf(new $APP.O(null, -6,5,$APP.P,[p,b,e,g,c,d],null),$APP.F(b)));p=G8($APP.F(b));null!=p&&(g.key=p);return S8(d,b,e,g,c)},j$=function(a,b){return $APP.cc.g($APP.Yi.h(function(c){return R8(b,c)},a))},m$=function(a,b,c){null==b&&console.error("vec-to-elem",$APP.on.j($APP.Pe([a])));var d=$APP.B.Lf(a,0,null);switch(d instanceof $APP.ee?d.fb:null){case "\x3e":return c=$APP.B.Lf(a,1,null),i$(new a$(c,null,null,null),a,2,b);case "r\x3e":c=$APP.B.Lf(a,1,null);d=$APP.B.Lf(a,2,null);d=$APP.n(d)?d:{};var e=G8($APP.F(a));null!=e&& -(d.key=e);return S8(b,a,c,d,3);case "f\x3e":return d$($APP.B.Lf(a,1,null),a,2,b);case "\x3c\x3e":return d=$APP.B.Lf(a,1,null),c=null==d||$APP.vf(d),d=V9(c?d:null),d=$APP.n(d)?d:{},c=1+(c?1:0),e=H8(a),null!=e&&(d.key=e),S8(b,a,e8.Fragment,d,c);default:if(E8(d)||"string"===typeof d)a:for(;;)switch(c=$APP.B.Lf(a,0,null),c=$APP.Wh(c),d=c.indexOf("\x3e"),d){case -1:d=T9(k$,c);if(null==d){var f=$APP.t($APP.Um(l$,$APP.Wh(c)));d=$APP.B.Lf(f,0,null);e=$APP.B.Lf(f,1,null);f=$APP.B.Lf(f,2,null);f=null==f?null: -$APP.cT(f,/\./," ");var l=$APP.Di.h(-1,d.indexOf("-"));d=new a$(d,e,f,l);c=k$[c]=d}else c=d;a=i$(c,a,1,b);break a;case 0:a=null;break a;default:a=$APP.lf(new $APP.O(null,2,5,$APP.P,[$APP.Ch.Lf(c,0,d),$APP.E.Lf($APP.lf(a,null),0,$APP.Ch.h(c,d+1))],null),$APP.F(a))}else a=c.Lf?c.Lf(d,a,b):c.call(null,d,a,b);return a}},p$=function(a,b,c){var d=q9;q9=!0;try{return f8.render(a.s?a.s():a.call(null),b,function(){var e=q9;q9=!1;try{return $APP.qj.B(o$,$APP.E,b,a),O8.flush_after_render(),null!=c?c.s?c.s(): -c.call(null):null}finally{q9=e}})}finally{q9=d}},x$=new $APP.x(null,"reagent.core","reagent.core",1841519592,null),Ls=new $APP.x(null,"compiler","compiler",1372604796,null),h9=new $APP.ee(null,"on-dispose","on-dispose",2105306360),F9=new $APP.ee(null,"getInitialState","getInitialState",1541760916),y$=new $APP.ee(null,"no-cache","no-cache",1588056370),z$=new $APP.ee(null,"function-components","function-components",1492814963),A$=new $APP.x(null,"reagent.dom","reagent.dom",-2138920962,null),q$=new $APP.ee(null, -"component-will-unmount","component-will-unmount",-2058314698),B$=new $APP.ee(null,"callback","callback",-705136228),ct=new $APP.x(null,"x","x",-555367584,null),x9=new $APP.ee(null,"cljsLegacyRender","cljsLegacyRender",-1527295613),u9=new $APP.ee(null,"reagentRender","reagentRender",-358306383),r$=new $APP.x(null,"container","container",-96406180,null),N9=new $APP.ee(null,"on-write","on-write",31519475),C$=new $APP.ee(null,"contextTypes","contextTypes",-2023853910),D$=new $APP.x(null,"render","render", -232498073,null),v9=new $APP.ee(null,"render","render",-1408033454),f9=new $APP.ee(null,"auto-run","auto-run",1958400437),E$=new $APP.ee(null,"childContextTypes","childContextTypes",578717991),b$=new $APP.ee(null,"reagent-render","reagent-render",-985383853),F$=new $APP.x("reagent.core","atom","reagent.core/atom",1748890217,null),Ns=new $APP.x("reagent.core","as-element","reagent.core/as-element",-1369748434,null),G$=new $APP.ee(null,"componentWillUnmount","componentWillUnmount",1573788814),s$=new $APP.ee(null, -"contextType","contextType",1033066077),Rs=new $APP.x(null,"as-element","as-element",-2139409597,null),t$=new $APP.ee(null,"getDerivedStateFromProps","getDerivedStateFromProps",-991834739),u$=new $APP.ee(null,"display-name","display-name",694513143),g$=new $APP.ee(null,"className","className",-1983287057),w9=new $APP.ee(null,"displayName","displayName",-809144601),H$=new $APP.ee(null,"getDerivedStateFromError","getDerivedStateFromError",166658477),v$=new $APP.x("reagent.dom","render","reagent.dom/render", --1216356973,null),g9=new $APP.ee(null,"on-set","on-set",-140953470),I$=new $APP.ee(null,"component-did-update","component-did-update",-1468549173),F8=new $APP.ee(null,"key","key",-1516042587),J$=new $APP.ee(null,"shouldComponentUpdate","shouldComponentUpdate",1795750960),w$=new $APP.x(null,"callback-or-compiler","callback-or-compiler",90200066,null);var y8={},w8={},x8=[];z8.cache={};z8.resolve=function(a){return a};var e8=z8(0,{});var K$={};$APP.nj.g(null);var L$={},M$="undefined"!==typeof window&&null!=window.document,B8=new $APP.lm(null,new $APP.m(null,2,["aria",null,"data",null],null),null),f$=function f$(a){switch(arguments.length){case 0:return f$.s();case 1:return f$.g(arguments[0]);case 2:return f$.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e=0.10.0" + } + }, + "node_modules/react": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/react/-/react-17.0.1.tgz", + "integrity": "sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==", + "dev": true, + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.1.tgz", + "integrity": "sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug==", + "dev": true, + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "scheduler": "^0.20.1" + }, + "peerDependencies": { + "react": "17.0.1" + } + }, + "node_modules/scheduler": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", + "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "dev": true, + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + } + }, + "dependencies": { + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "react": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/react/-/react-17.0.1.tgz", + "integrity": "sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==", + "dev": true, + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, + "react-dom": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.1.tgz", + "integrity": "sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug==", + "dev": true, + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "scheduler": "^0.20.1" + } + }, + "scheduler": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", + "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "dev": true, + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + } + }, + "version": "0.7.28" +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..ab333e8 --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "scittle", + "version": "0.7.28", + "files": [ + "dist" + ], + "devDependencies": { + "react": "17.0.1", + "react-dom": "17.0.1" + } +} diff --git a/plugins/datascript/deps.edn b/plugins/datascript/deps.edn new file mode 100644 index 0000000..467f4cd --- /dev/null +++ b/plugins/datascript/deps.edn @@ -0,0 +1,4 @@ +{:deps + {datascript/datascript {:mvn/version "1.3.12"} + io.github.babashka/sci.configs {:git/sha "aa84a1b4f1fe45735e5b748769309fc842f737c1" + :exclusions [org.babashka/sci]}}} diff --git a/plugins/datascript/src/scittle/datascript.cljs b/plugins/datascript/src/scittle/datascript.cljs new file mode 100644 index 0000000..f3dac97 --- /dev/null +++ b/plugins/datascript/src/scittle/datascript.cljs @@ -0,0 +1,9 @@ +(ns scittle.datascript + {:no-doc true} + (:require [sci.configs.tonsky.datascript :refer [config]] + [scittle.core :as scittle])) + +(defn init [] + (scittle/register-plugin! + ::datascript + config)) diff --git a/plugins/datascript/src/scittle_plugin.edn b/plugins/datascript/src/scittle_plugin.edn new file mode 100644 index 0000000..09eae58 --- /dev/null +++ b/plugins/datascript/src/scittle_plugin.edn @@ -0,0 +1,12 @@ +[{:name scittle/datascript + :namespaces [datascript.core datascript.db] + :js "./scittle.datascript.js" + :shadow-config + {:compiler-options {:externs ["datascript/externs.js"]} + :modules + {:scittle.datascript + {:init-fn scittle.datascript/init + ;; From https://github.com/tonsky/datascript/issues/298#issuecomment-813790783 + :prepend "globalThis.datascript = {};" + :depends-on #{:scittle} + :entries [datascript.core]}}}}] diff --git a/plugins/dataspex/deps.edn b/plugins/dataspex/deps.edn new file mode 100644 index 0000000..badf11e --- /dev/null +++ b/plugins/dataspex/deps.edn @@ -0,0 +1,8 @@ +{:deps + {no.cjohansen/dataspex {:git/url "https://github.com/cjohansen/dataspex" + :git/sha "02112200651c2bd932907bb69fba1ff50b881741" + :exclusions [ring/ring-core + ring/ring-jetty-adapter + com.cognitect/transit-clj]} + io.github.babashka/sci.configs {:git/sha "aa84a1b4f1fe45735e5b748769309fc842f737c1" + :exclusions [org.babashka/sci]}}} diff --git a/plugins/dataspex/src/scittle/dataspex.cljs b/plugins/dataspex/src/scittle/dataspex.cljs new file mode 100644 index 0000000..66b3908 --- /dev/null +++ b/plugins/dataspex/src/scittle/dataspex.cljs @@ -0,0 +1,9 @@ +(ns scittle.dataspex + {:no-doc true} + (:require [sci.configs.cjohansen.dataspex :refer [config]] + [scittle.core :as scittle])) + +(defn init [] + (scittle/register-plugin! + ::dataspex + config)) diff --git a/plugins/dataspex/src/scittle_plugin.edn b/plugins/dataspex/src/scittle_plugin.edn new file mode 100644 index 0000000..af629e2 --- /dev/null +++ b/plugins/dataspex/src/scittle_plugin.edn @@ -0,0 +1,8 @@ +[{:name scittle/dataspex + :namespaces [dataspex.core] + :js "./scittle.dataspex.js" + :shadow-config + {:modules + {:scittle.dataspex {:init-fn scittle.dataspex/init + :depends-on #{:scittle :scittle.datascript} + :entries [dataspex.core]}}}}] diff --git a/plugins/demo/README.md b/plugins/demo/README.md new file mode 100644 index 0000000..7bd15f8 --- /dev/null +++ b/plugins/demo/README.md @@ -0,0 +1,29 @@ +# Demo + +A demo project of a custom scittle build. + +This demo project uses the `scittle.javelin` and `scittle.hoplon` plugins which aren't part of the normal scittle distribution. + +To produce release `.js` files, run: `bb release`. + +See: + +- `bb.edn` with + - `:deps` which includes: + - a dependency on the `scittle.build` project to build scittle + custom features + - zero or more plugin dependencies + - helpers like static file server + - development `:tasks`. Run `bb dev` for development and `bb release` to produce release artifacts. +- `deps.edn`: this only contains a dependency on scittle itself + +Available plugins are in the `plugins` directory inside the top level directory of this repo. + +Writing a plugin involves writing + +- SCI configuration (this can be shared via the [sci.configs](https://github.com/babashka/sci.configs) project too) +- Adding a `scittle_plugin.edn` file on the plugin's classpath (e.g. in the `src` directory). This EDN file contains: + - `:name`, name of the plugin + - `:namespaces`: the namespaces exposed to SCI + - `:js`: the name of the produced `.js` module file + - `:shadow-config`: the shadow-cljs configuration specific to this plugin +- A `.cljs` file with an `init` function which calls `scittle/register-plugin!`. diff --git a/plugins/demo/bb.edn b/plugins/demo/bb.edn new file mode 100644 index 0000000..e7486c2 --- /dev/null +++ b/plugins/demo/bb.edn @@ -0,0 +1,22 @@ +{:deps {io.github.babashka/scittle.build {:local/root "../../build"} + ;; datascript plugin + ; io.github.babashka/scittle.datascript {:local/root "../../plugins/datascript"} + io.github.babashka/scittle.dataspex {:local/root "../../plugins/dataspex"} + io.github.babashka/scittle.javelin {:local/root "../../plugins/javelin"} + io.github.babashka/scittle.hoplon {:local/root "../../plugins/hoplon"} + io.github.babashka/http-server + {:git/sha "b38c1f16ad2c618adae2c3b102a5520c261a7dd3"}} + :tasks + {:requires ([scittle.build :as build]) + watch {:doc "Watch build" + :task (build/build {:action "watch"})} + serve {:doc "Starts http server for serving static files" + :requires ([babashka.http-server :as http]) + :task (do (http/serve {:port 1341 :dir "resources/public"}) + (println "Serving static assets at http://localhost:1341"))} + -dev {:depends [watch serve]} + dev {:doc "Run compilation in watch mode and start http server" + :task (do (run '-dev {:parallel true}) + (deref (promise)))} + release {:doc "Release build (advanced compiled JS)" + :task (build/build {})}}} diff --git a/plugins/demo/deps.edn b/plugins/demo/deps.edn new file mode 100644 index 0000000..62915a5 --- /dev/null +++ b/plugins/demo/deps.edn @@ -0,0 +1 @@ +{:deps {io.github.babashka/scittle {:local/root "../.."}}} diff --git a/plugins/demo/resources/public/index.html b/plugins/demo/resources/public/index.html new file mode 100644 index 0000000..7f328cc --- /dev/null +++ b/plugins/demo/resources/public/index.html @@ -0,0 +1,21 @@ + + + + + + + + + + +

Hello Hoplon!

+ + diff --git a/plugins/demo/shadow-cljs.edn b/plugins/demo/shadow-cljs.edn new file mode 100644 index 0000000..47e5deb --- /dev/null +++ b/plugins/demo/shadow-cljs.edn @@ -0,0 +1,32 @@ +{:deps + {:aliases [:dev]} + + :dev-http + {8000 "classpath:public"} + + :builds + {:main + {:target :browser + :js-options + {:resolve {"react" {:target :global + :global "React"} + "react-dom" {:target :global + :global "ReactDOM"}}} + :modules + {:scittle {:entries [scittle.core]} + :scittle.nrepl {:entries [scittle.nrepl] + :depends-on #{:scittle}} + :scittle.promesa {:entries [scittle.promesa] + :depends-on #{:scittle}} + :scittle.pprint {:entries [scittle.pprint] + :depends-on #{:scittle}} + :scittle.reagent {:entries [scittle.reagent] + :depends-on #{:scittle}} + :scittle.re-frame {:entries [scittle.re-frame] + :depends-on #{:scittle.reagent + :scittle}} + :scittle.cljs-ajax {:entries [scittle.cljs-ajax] + :depends-on #{:scittle}}} + :build-hooks [(shadow.cljs.build-report/hook)] + :output-dir "resources/public/js" + :devtools {:repl-pprint true}}}} diff --git a/plugins/hoplon/deps.edn b/plugins/hoplon/deps.edn new file mode 100644 index 0000000..0eab577 --- /dev/null +++ b/plugins/hoplon/deps.edn @@ -0,0 +1,4 @@ +{:deps + {hoplon/hoplon {:mvn/version "7.5.0"} + io.github.babashka/sci.configs {:git/sha "aa84a1b4f1fe45735e5b748769309fc842f737c1" + :exclusions [org.babashka/sci]}}} diff --git a/plugins/hoplon/src/scittle/hoplon.cljs b/plugins/hoplon/src/scittle/hoplon.cljs new file mode 100644 index 0000000..46e5a3b --- /dev/null +++ b/plugins/hoplon/src/scittle/hoplon.cljs @@ -0,0 +1,9 @@ +(ns scittle.hoplon + {:no-doc true} + (:require [sci.configs.hoplon.hoplon :refer [config]] + [scittle.core :as scittle])) + +(defn init [] + (scittle/register-plugin! + ::hoplon + config)) diff --git a/plugins/hoplon/src/scittle/javelin.cljs b/plugins/hoplon/src/scittle/javelin.cljs new file mode 100644 index 0000000..7334a2d --- /dev/null +++ b/plugins/hoplon/src/scittle/javelin.cljs @@ -0,0 +1,9 @@ +(ns scittle.javelin + {:no-doc true} + (:require [sci.configs.hoplon.javelin :refer [config]] + [scittle.core :as scittle])) + +(defn init [] + (scittle/register-plugin! + ::javelin + config)) diff --git a/plugins/hoplon/src/scittle_plugin.edn b/plugins/hoplon/src/scittle_plugin.edn new file mode 100644 index 0000000..5a9f8f6 --- /dev/null +++ b/plugins/hoplon/src/scittle_plugin.edn @@ -0,0 +1,13 @@ +[{:name scittle/hoplon + :namespaces [javelin.core + hoplon.core + hoplon.dom] + :js "./scittle.hoplon.js" + :shadow-config + {:modules + {:scittle.hoplon {:init-fn scittle.hoplon/init + :depends-on #{:scittle :scittle.javelin} + :entries [hoplon.core hoplon.dom]} + :scittle.javelin {:init-fn scittle.javelin/init + :depends-on #{:scittle} + :entries [javelin.core]}}}}] diff --git a/plugins/javelin/deps.edn b/plugins/javelin/deps.edn new file mode 100644 index 0000000..f4b4533 --- /dev/null +++ b/plugins/javelin/deps.edn @@ -0,0 +1,4 @@ +{:deps + {hoplon/javelin {:mvn/version "3.9.3"} + io.github.babashka/sci.configs {:git/sha "aa84a1b4f1fe45735e5b748769309fc842f737c1" + :exclusions [org.babashka/sci]}}} diff --git a/plugins/javelin/src/scittle/javelin.cljs b/plugins/javelin/src/scittle/javelin.cljs new file mode 100644 index 0000000..7334a2d --- /dev/null +++ b/plugins/javelin/src/scittle/javelin.cljs @@ -0,0 +1,9 @@ +(ns scittle.javelin + {:no-doc true} + (:require [sci.configs.hoplon.javelin :refer [config]] + [scittle.core :as scittle])) + +(defn init [] + (scittle/register-plugin! + ::javelin + config)) diff --git a/plugins/javelin/src/scittle_plugin.edn b/plugins/javelin/src/scittle_plugin.edn new file mode 100644 index 0000000..c34873f --- /dev/null +++ b/plugins/javelin/src/scittle_plugin.edn @@ -0,0 +1,8 @@ +[{:name scittle/javelin + :namespaces [javelin.core] + :js "./scittle.javelin.js" + :shadow-config + {:modules + {:scittle.javelin {:init-fn scittle.javelin/init + :depends-on #{:scittle} + :entries [javelin.core]}}}}] diff --git a/report.html b/report.html deleted file mode 100644 index c43535a..0000000 --- a/report.html +++ /dev/null @@ -1,743 +0,0 @@ - -[main] Build Report - shadow-cljs
\ No newline at end of file diff --git a/base.html b/resources/public/base.html similarity index 93% rename from base.html rename to resources/public/base.html index 12c9501..a9aac58 100644 --- a/base.html +++ b/resources/public/base.html @@ -16,7 +16,7 @@
       
 <head>
-  <script src="https://borkdude.github.io/scittle/js/scittle.js" type="application/javascript"></script>
+  <script src="https://babashka.github.io/scittle/js/scittle.js" type="application/javascript"></script>
 
   <script type="application/x-scittle">
     (defn my-alert []
diff --git a/bookmarklet.html b/resources/public/bookmarklet.html
similarity index 84%
rename from bookmarklet.html
rename to resources/public/bookmarklet.html
index 7dddbe0..e2cc947 100644
--- a/bookmarklet.html
+++ b/resources/public/bookmarklet.html
@@ -3,11 +3,10 @@
   
     
     
-    
-
-    
-    
-    
+    
+
+    
+    
 
     
     
diff --git a/cljs/bookmarklet.cljs b/resources/public/cljs/bookmarklet.cljs
similarity index 96%
rename from cljs/bookmarklet.cljs
rename to resources/public/cljs/bookmarklet.cljs
index 79b0585..69d2169 100644
--- a/cljs/bookmarklet.cljs
+++ b/resources/public/cljs/bookmarklet.cljs
@@ -41,7 +41,7 @@
           }
         };"
        "if(typeof scittle === 'undefined'){"
-       (append-tag :script {:src "https://borkdude.github.io/scittle/js/scittle.js"
+       (append-tag :script {:src "https://babashka.github.io/scittle/js/scittle.js"
                             :onerror "function(){alert('Error loading ' + this.src)}"
                             :onload "runCode"})
        "} else {
@@ -134,6 +134,7 @@
      [:br]
      [(fn []
         [:a {:href (str "?name=" (js/encodeURIComponent @*bookmark-name)
-                        "&code=" (js/encodeURIComponent @*code))} "Copy this link to share ⤴️"])]]))
+                        "&code=" (js/encodeURIComponent @*code)
+                        "%20")} "Copy this link to share ⤴️"])]]))
 
 (rdom/render [workspace] (.getElementById js/document "app"))
diff --git a/resources/public/cljs/codemirror.cljs b/resources/public/cljs/codemirror.cljs
new file mode 100644
index 0000000..db28746
--- /dev/null
+++ b/resources/public/cljs/codemirror.cljs
@@ -0,0 +1,56 @@
+(require '[clojure.string :as str])
+(declare cm)
+
+(defn eval-me []
+  (js/scittle.core.eval_string (-> cm .-state .-doc .toString)))
+
+(def extension
+  (.of js/cv.keymap
+       (clj->js [{:key "Mod-Enter"
+                  :run (fn []
+                         (eval-me))}
+                 #_{:key (str modifier "-Enter")
+                    :shift (partial eval-top-level on-result)
+                    :run (partial eval-at-cursor on-result)}])))
+(def cm
+  (let [doc (str/trim "
+(require '[reagent.core :as r]
+         '[reagent.dom :as rdom]
+         '[re-frame.core :as rf])
+
+(rf/reg-event-fx ::click (fn [{:keys [db]} _] {:db (update db :clicks (fnil inc 0))}))
+(rf/reg-sub ::clicks (fn [db] (:clicks db)))
+
+(defn my-component []
+  (let [clicks (rf/subscribe [::clicks])]
+    [:div
+      [:p \"Clicks: \" @clicks]
+      [:p [:button {:on-click #(rf/dispatch [::click])}
+            \"Click me!\"]]]))
+
+(rdom/render [my-component] (.getElementById js/document \"reagent\"))
+")]
+    (js/cm.EditorView. #js {:doc doc
+                            :extensions #js [js/cm.basicSetup, (js/lc.clojure), (.highest js/cs.Prec extension)]
+                            :parent (js/document.querySelector "#app")
+                            #_#_:dispatch (fn [tr] (-> cm (.update #js [tr])) (eval-me))
+                            })))
+(set! (.-eval_me js/globalThis) eval-me)
+(set! (.-cm_instance js/globalThis) cm)
+
+(defn linux? []
+  (some? (re-find #"(Linux)|(X11)" js/navigator.userAgent)))
+
+(defn mac? []
+  (and (not (linux?))
+       (some? (re-find #"(Mac)|(iPhone)|(iPad)|(iPod)" js/navigator.platform))))
+
+(let [elt (js/document.getElementById "evalMe")
+      txt (.-innerText elt)
+      mod-symbol (if (mac?)
+                   "⌘"
+                   "⌃")
+      txt (str txt " " mod-symbol"-⏎")]
+  (set! (.-innerHTML elt) txt))
+
+(eval-me)
diff --git a/resources/public/cljs/nrepl_playground.cljs b/resources/public/cljs/nrepl_playground.cljs
new file mode 100644
index 0000000..2c71307
--- /dev/null
+++ b/resources/public/cljs/nrepl_playground.cljs
@@ -0,0 +1,15 @@
+(ns nrepl-playground)
+
+(+ 1 2 3)
+
+(->
+ (js/document.getElementsByTagName "body")
+ first
+ (.append
+  (doto (js/document.createElement "p")
+    (.append
+     (js/document.createTextNode "there")))))
+
+(defn foo [])
+
+(js/alert "Isn't this cool? :)")
diff --git a/resources/public/cljs/replicant_tictactoe/core.cljs b/resources/public/cljs/replicant_tictactoe/core.cljs
new file mode 100644
index 0000000..b5ad81f
--- /dev/null
+++ b/resources/public/cljs/replicant_tictactoe/core.cljs
@@ -0,0 +1,33 @@
+;; COPIED FROM https://github.com/cjohansen/replicant-tic-tac-toe/blob/7a33fb12f0cd6658b2f555ff673dee031d4aa921/src/tic_tac_toe/core.cljs
+
+(ns replicant-tictactoe.core
+  (:require [replicant.dom :as r]
+            [replicant-tictactoe.game :as game]
+            [replicant-tictactoe.ui :as ui]))
+
+(defn start-new-game [store]
+  (reset! store (game/create-game {:size 3})))
+
+(defn main []
+  ;; Set up the atom
+  (let [store (atom nil)
+        el (js/document.getElementById "app")]
+
+    ;; Globally handle DOM events
+    (r/set-dispatch!
+     (fn [_ [action & args]]
+       (case action
+         :tic (apply swap! store game/tic args)
+         :reset (start-new-game store))))
+
+    ;; Render on every change
+    (add-watch store ::render
+               (fn [_ _ _ game]
+                 (->> (ui/game->ui-data game)
+                      ui/render-game
+                      (r/render el))))
+
+    ;; Trigger the first render by initializing the game.
+    (start-new-game store)))
+
+(main)
diff --git a/resources/public/cljs/replicant_tictactoe/game.cljs b/resources/public/cljs/replicant_tictactoe/game.cljs
new file mode 100644
index 0000000..9296baf
--- /dev/null
+++ b/resources/public/cljs/replicant_tictactoe/game.cljs
@@ -0,0 +1,44 @@
+;; COPIED FROM https://github.com/cjohansen/replicant-tic-tac-toe/blob/7a33fb12f0cd6658b2f555ff673dee031d4aa921/src/tic_tac_toe/game.cljs
+
+(ns replicant-tictactoe.game)
+
+(defn create-game [{:keys [size]}]
+  {:next-player :x
+   :size size})
+
+(def next-player {:x :o, :o :x})
+
+(defn winner? [tics path]
+  (when (= 1 (count (set (map tics path))))
+    path))
+
+(defn get-winning-path [{:keys [size tics]} y x]
+  (let [flip-y (fn [y] (- size 1 y))]
+    (or (winner? tics (mapv #(vector y %) (range 0 size)))
+        (winner? tics (mapv #(vector % x) (range 0 size)))
+        (when (= y x)
+          (winner? tics (mapv #(vector % %) (range 0 size))))
+        (when (= (flip-y y) x)
+          (winner? tics (mapv #(vector (flip-y %) %) (range 0 size)))))))
+
+(defn maybe-conclude [game y x]
+  (if-let [path (get-winning-path game y x)]
+    (-> (dissoc game :next-player)
+        (assoc :over? true
+               :victory {:player (get-in game [:tics [y x]])
+                         :path path}))
+    (let [tie? (= (count (:tics game)) (* (:size game) (:size game)))]
+      (cond-> game
+        tie? (dissoc :next-player)
+        tie? (assoc :over? true)))))
+
+(defn tic [game y x]
+  (let [player (:next-player game)]
+    (if (or (get-in game [:tics [y x]])
+            (<= (:size game) x)
+            (<= (:size game) y))
+      game
+      (-> game
+          (assoc-in [:tics [y x]] player)
+          (assoc :next-player (next-player player))
+          (maybe-conclude y x)))))
\ No newline at end of file
diff --git a/resources/public/cljs/replicant_tictactoe/style.css b/resources/public/cljs/replicant_tictactoe/style.css
new file mode 100644
index 0000000..7ec052a
--- /dev/null
+++ b/resources/public/cljs/replicant_tictactoe/style.css
@@ -0,0 +1,50 @@
+/* COPIED from https://github.com/cjohansen/replicant-tic-tac-toe/blob/7a33fb12f0cd6658b2f555ff673dee031d4aa921/resources/public/styles.css */
+.cell {
+    aspect-ratio: 1 / 1;
+    background: rgba(255, 255, 255, 0.8);
+    border-radius: 6%;
+    border: none;
+    display: block;
+    flex: 1 1 0%;
+    outline: none;
+    position: relative;
+    width: 100%;
+}
+
+.cell-content {
+    opacity: 1;
+    transition: opacity 0.25s;
+}
+
+.transparent {
+    opacity: 0;
+}
+
+.cell-dim {
+    background: rgba(249, 249, 240, 0.3);
+}
+
+.cell-highlight {
+    background: #fcfcf3;
+}
+
+.clickable {
+    cursor: pointer;
+}
+
+.board {
+    --gap: 0.75rem;
+    background: #833ab4;
+    background: linear-gradient(90deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
+    display: flex;
+    flex-direction: column;
+    gap: var(--gap);
+    padding: var(--gap);
+    max-width: 80vh;
+}
+
+.row {
+    display: flex;
+    flex-direction: row;
+    gap: var(--gap);
+}
\ No newline at end of file
diff --git a/resources/public/cljs/replicant_tictactoe/ui.cljs b/resources/public/cljs/replicant_tictactoe/ui.cljs
new file mode 100644
index 0000000..c53dc65
--- /dev/null
+++ b/resources/public/cljs/replicant_tictactoe/ui.cljs
@@ -0,0 +1,75 @@
+;; COPIED FROM https://github.com/cjohansen/replicant-tic-tac-toe/blob/7a33fb12f0cd6658b2f555ff673dee031d4aa921/src/tic_tac_toe/ui.cljs
+
+(ns replicant-tictactoe.ui)
+
+(def mark-x
+  [:svg {:xmlns "http://www.w3.org/2000/svg"
+         :viewBox "0 -10 108 100"}
+   [:path
+    {:fill "currentColor"
+     :d "m1.753 69.19.36-1.08q.35-1.09 1.92-2.97 1.58-1.87 3.85-3.84 2.29-1.97 4.6-3.54 2.31-1.57 4.93-3.24 2.62-1.66 4.65-2.9 2.04-1.23 3.91-2.27 1.87-1.05 3.98-2.31 2.11-1.27 4.12-2.5 2.01-1.24 4.33-2.51l4.6-2.52q2.27-1.25 4.84-2.86 2.56-1.62 5.03-3.09 2.47-1.47 4.5-2.88 2.03-1.4 3.82-2.82t3.81-3.47q2.01-2.06 3.7-3.51 1.69-1.46 3.47-3.03 1.77-1.57 4.01-3.69 2.24-2.11 4.13-3.7 1.89-1.58 3.93-2.97 2.04-1.39 4.05-2.49 2.01-1.11 5.26-2.54 3.24-1.44 4.48-1.46 1.24-.01 2.42.37 1.18.37 2.18 1.11 1 .74 1.71 1.75.71 1.02 1.06 2.21.34 1.19.3 2.43-.05 1.24-.5 2.39-.44 1.16-1.23 2.12-.79.95-1.84 1.61-1.05.65-2.26.94-1.21.28-2.44.16-1.23-.11-2.37-.62-1.13-.5-2.04-1.34-.91-.84-1.51-1.93-.6-1.08-.81-2.3-.22-1.22-.04-2.45.18-1.23.75-2.33.56-1.1 1.45-1.97.89-.86 2.01-1.4 1.11-.54 2.35-.69 1.23-.15 2.44.1t2.29.87q1.07.63 1.88 1.56.82.93 1.29 2.08.48 1.14.56 2.38.09 1.24-.23 2.44-.31 1.19-.99 2.23-.68 1.04-1.66 1.8-.98.76-2.15 1.18l-1.16.41-2.28 1.17q-2.28 1.18-4.38 2.7-2.1 1.51-4.2 3.44-2.1 1.92-4.18 3.7-2.08 1.77-3.9 3.44-1.81 1.68-3.41 3.13-1.6 1.46-3.38 3.09-1.79 1.62-3.44 2.97-1.66 1.34-3.53 2.4-1.88 1.06-4.17 2.65-2.3 1.6-4.79 2.74-2.48 1.14-4.98 2.71-2.5 1.57-4.51 2.47-2.01.9-3.99 1.87-1.98.97-3.88 2.02-1.91 1.05-4.38 2.34-2.46 1.28-4.94 2.53-2.47 1.25-4.48 2.38-2 1.12-3.96 2.14-1.95 1.01-3.83 1.99-1.89.98-4.37 2.05-2.48 1.06-2.96 2.01-.48.96-.78 1.49-.3.53-.71.97-.41.44-.92.77-.51.34-1.09.54-.57.2-1.17.25-.6.06-1.2-.03t-1.16-.32q-.56-.23-1.05-.59-.49-.35-.89-.82-.39-.46-.65-1.01-.27-.54-.4-1.14-.13-.59-.12-1.19.02-.6.18-1.19l.16-.59Z"}]
+   [:path
+    {:fill "currentColor"
+     :d "m28.099 4.991 2.69 1.97q2.69 1.96 4.5 3.22 1.8 1.28 4.54 3.46 2.74 2.18 4.57 3.89t3.38 3.72q1.54 2.02 2.88 4.3 1.34 2.28 2.83 4.46 1.48 2.18 2.63 4.14 1.15 1.96 2.74 4.07 1.59 2.1 3.59 4.19 1.99 2.08 4.23 4.48 2.24 2.4 3.7 4.04 1.47 1.64 2.91 3.23 1.44 1.59 3.08 3.58 1.64 1.99 3.51 4.08 1.87 2.09 3.55 3.77 1.69 1.68 4.1 3.51 2.42 1.83 3.9 2.58 1.48.74 2.14 1.34.66.6 1.15 1.33.5.74.8 1.57.31.84.4 1.72.1.88-.02 1.76-.12.88-.44 1.71-.33.82-.84 1.55-.51.72-1.19 1.3-.67.58-1.46.98-.79.41-1.65.61-.87.2-1.76.19-.88-.01-1.74-.24-.86-.22-1.64-.64-.78-.42-2.27-2.72-1.48-2.3-1.52-3.49-.03-1.19.31-2.33.35-1.14 1.04-2.11.69-.97 1.66-1.67.96-.7 2.1-1.05 1.14-.35 2.33-.32 1.19.02 2.31.43t2.05 1.15q.93.75 1.58 1.75.64 1 .93 2.15.29 1.16.2 2.35-.09 1.18-.56 2.28-.47 1.1-1.26 1.99-.79.88-1.83 1.47t-2.2.82q-1.17.23-2.35.07-1.19-.16-2.25-.68-1.07-.53-1.92-1.37-.84-.84-1.37-1.9-.54-1.07-.7-2.25-.17-1.18.06-2.35.22-1.17.8-2.21.58-1.04 1.47-1.84.88-.79 1.98-1.27 1.09-.47 2.28-.57 1.18-.1 2.34.18 1.16.29 2.16.93 1.01.63 1.76 1.56.74.93-.33-.26-1.07-1.18-.41-.58.66.59 1.15 1.33.5.74.8 1.57.31.83.4 1.72.1.88-.02 1.76-.12.88-.44 1.7-.33.83-.84 1.55-.51.73-1.19 1.31-.67.58-1.46.98-.79.41-1.65.61-.87.2-1.75.19-.89-.01-1.75-.24-.86-.22-1.64-.64-.78-.42-2.73-1.57-1.95-1.14-4.26-2.95-2.31-1.8-3.87-3.43-1.57-1.62-3.17-3.29-1.6-1.66-3.55-4.05-1.95-2.39-3.33-4.15-1.39-1.76-2.77-3.4-1.38-1.64-3.07-3.56-1.7-1.91-3.91-4.13-2.2-2.22-3.74-4.1-1.54-1.88-2.79-3.75-1.24-1.87-2.4-4.33t-2.39-4.46q-1.23-2.01-2.4-4.59-1.17-2.59-2.53-5.01-1.36-2.43-3.35-4.44-1.99-2.02-4.52-4.27-2.54-2.25-5.33-4.04-2.81-1.79-3.28-2.21-.47-.41-.83-.92-.35-.51-.58-1.1-.22-.58-.3-1.2-.08-.62-.01-1.23.08-.62.29-1.21.22-.58.58-1.1.35-.51.81-.93.47-.42 1.02-.71t1.16-.45q.61-.15 1.23-.15t1.22.14q.61.15 1.17.44l.55.28Z"}]])
+
+(def mark-o
+  [:svg {:xmlns "http://www.w3.org/2000/svg"
+         :viewBox "0 0 114 114"}
+   [:path
+    {:fill "none"
+     :stroke "currentColor"
+     :stroke-linecap "round"
+     :stroke-width "6"
+     :d "M74.616 8.935c7.73 2.38 15.96 9.34 21.58 16.04 5.63 6.69 10.57 15.46 12.18 24.11 1.6 8.65.74 19.67-2.53 27.77-3.27 8.11-10.12 15.37-17.09 20.88-6.98 5.51-16.07 10.81-24.76 12.17-8.7 1.35-19.32-.76-27.42-4.06-8.1-3.29-15.73-8.93-21.21-15.73-5.48-6.81-10.32-16.5-11.67-25.09-1.35-8.6.19-18.39 3.57-26.51 3.38-8.11 9.99-16.6 16.71-22.19 6.72-5.59 13.95-10.52 23.63-11.36 9.68-.84 28.04 4.34 34.45 6.32 6.42 1.97 4.37 4.6 4.04 5.55m-48.33-9.69c7.65-3.32 19.78-3.63 28.63-2.01 8.86 1.63 17.85 5.89 24.49 11.76 6.64 5.87 12.7 15.08 15.37 23.48 2.67 8.41 2.5 18.4.65 26.95-1.85 8.54-5.98 17.59-11.77 24.34-5.78 6.74-14.56 13.05-22.93 16.11-8.37 3.06-18.75 4.19-27.29 2.25-8.54-1.93-17.37-7.89-23.96-13.87-6.59-5.97-12.89-13.58-15.57-21.96-2.69-8.39-2.31-19.94-.56-28.34 1.75-8.4 5.21-15.74 11.06-22.09 5.85-6.35 19.92-13.32 24.04-16.01 4.12-2.7.37-1.1.67-.16"}]])
+
+(defn render-cell [{:keys [content on-click dim? highlight? clickable?]}]
+  [:button.cell
+   {:on {:click on-click}
+    :class (cond-> []
+             dim? (conj "cell-dim")
+             highlight? (conj "cell-highlight")
+             clickable? (conj "clickable"))}
+   (when content
+     [:div.cell-content
+      {:replicant/mounting {:class "transparent"}
+       :replicant/unmounting {:class "transparent"}}
+      content])])
+
+(defn render-board [{:keys [rows]}]
+  [:div.board
+   (for [row rows]
+     [:div.row
+      (for [cell row]
+        (render-cell cell))])])
+
+(defn render-game [{:keys [board button]}]
+  [:div
+   (render-board board)
+   (when button
+     [:button {:on {:click (:on-click button)}
+               :style {:margin-top 20
+                       :font-size 20}}
+      (:text button)])])
+
+(def player->mark
+  {:x mark-x
+   :o mark-o})
+
+(defn game->ui-data [{:keys [size tics victory over?]}]
+  (let [highlight? (set (:path victory))]
+    {:button (when over?
+               {:text "Start over"
+                :on-click [:reset]})
+     :board
+     {:rows
+      (for [y (range size)]
+        (for [x (range size)]
+          (if-let [player (get tics [y x])]
+            (let [victorious? (highlight? [y x])]
+              (cond-> {:content (player->mark player)}
+                victorious? (assoc :highlight? true)
+                (and over? (not victorious?)) (assoc :dim? true)))
+            (if over?
+              {:dim? true}
+              {:clickable? true
+               :on-click [:tic y x]}))))}}))
\ No newline at end of file
diff --git a/cljs/script.cljs b/resources/public/cljs/script.cljs
similarity index 100%
rename from cljs/script.cljs
rename to resources/public/cljs/script.cljs
diff --git a/cljs/tictactoe.cljs b/resources/public/cljs/tictactoe.cljs
similarity index 100%
rename from cljs/tictactoe.cljs
rename to resources/public/cljs/tictactoe.cljs
diff --git a/resources/public/codemirror.html b/resources/public/codemirror.html
new file mode 100644
index 0000000..800624b
--- /dev/null
+++ b/resources/public/codemirror.html
@@ -0,0 +1,57 @@
+
+  
+    
+    
+    
+    
+    
+    
+    
+    
+
+    
+    
+
+    
+  
+  
+    

Using @nextjournal/lang-clojure directly from npm in HTML!

+
+
+
+
+ + + diff --git a/css/style.css b/resources/public/css/style.css similarity index 100% rename from css/style.css rename to resources/public/css/style.css diff --git a/disable_auto_eval.html b/resources/public/disable_auto_eval.html similarity index 100% rename from disable_auto_eval.html rename to resources/public/disable_auto_eval.html diff --git a/html/cljs-ajax.html b/resources/public/html/cljs-ajax.html similarity index 64% rename from html/cljs-ajax.html rename to resources/public/html/cljs-ajax.html index c0a08a6..d7a785b 100644 --- a/html/cljs-ajax.html +++ b/resources/public/html/cljs-ajax.html @@ -1,7 +1,7 @@ - - + + + + + + + + + +
+ + diff --git a/html/reagent.html b/resources/public/html/reagent.html similarity index 51% rename from html/reagent.html rename to resources/public/html/reagent.html index 7ca859e..abb68e3 100644 --- a/html/reagent.html +++ b/resources/public/html/reagent.html @@ -1,9 +1,9 @@ - - - - + + + + + + + + + + + + + + + + + + + +
+
+ +

Scittle

+

What is this?

+

This project exposes the Small Clojure Interpreter in the + browser in such a way that you can use it with the script tag.

+ + +

Usage

+ + To embed scittle in your website, it is recommended to use the links + published to + the releases + page. + + Include scittle.js and write a script tag + where type is set + to application/x-scittle. + +
+ + + +

Source from file

+ + When you have a file on your server, say cljs/script.cljs, you can load it using the src attribute: + +

+        <script src="cljs/script.cljs" type="application/x-scittle"></script>
+    
+ + + + +

Reagent plugin

+ + To enable reagent, + in addition to scittle.js, you need to include React + and scittle.reagent.js: + +
+ +
+ + + +

Re-frame plugin

+ + To enable re-frame, + in addition to the files needed for reagent, you need to include scittle.re-frame.js. + Also see the codemirror playground. + + +

Cljs-ajax plugin

+ + To enable cljs-ajax, + in addition to scittle.js, you need to include scittle.cljs-ajax.js: + +
+ + + + +

cljs.pprint plugin

To + enable cljs.pprint, in + addition to scittle.js, you need to + include scittle.pprint.js. + + +

Target :scittle in cljc

+ You can target scittle in .cljc files (use a script tag to include the cljc file) with the :scittle reader conditional like this:
+ +

+    #?(:scittle
+       (js/console.log "In scittle")
+       :org.babashka/nbb
+       (js/console.log "In nbb")
+       :cljs
+       (js/console.log "In cljs"))
+    
+ + +

JS libraries

+ + To use JavaScript libraries with Scittle, + see README.md + + +

REPL

+ + To connect to a REPL with Scittle, + see README.md + + +

Examples

+ + + + diff --git a/resources/public/index_text.html b/resources/public/index_text.html new file mode 100644 index 0000000..c5e58c0 --- /dev/null +++ b/resources/public/index_text.html @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/resources/public/nrepl.html b/resources/public/nrepl.html new file mode 100644 index 0000000..f7e903d --- /dev/null +++ b/resources/public/nrepl.html @@ -0,0 +1,14 @@ + + + + + + + + + + +

Scittle

+

What is this?

+ + diff --git a/resources/public/replicant_tictactoe.html b/resources/public/replicant_tictactoe.html new file mode 100644 index 0000000..1f52895 --- /dev/null +++ b/resources/public/replicant_tictactoe.html @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + +

Scittle tic-tac-toe built with Replicant

+

What is Scittle?

+

Read the main page for more details.

+

The game

+
+

The following source was loaded and interpreted + from cljs/replicant_tictactoe/core.cljs using the + script tag: +


+<script type="application/x-scittle" src="cljs/replicant_tictactoe/ui.cljs"></script>
+<script type="application/x-scittle" src="cljs/replicant_tictactoe/game.cljs"></script>
+<script type="application/x-scittle" src="cljs/replicant_tictactoe/core.cljs"></script>
+
+
+

+
+ + + diff --git a/resources/public/test/codemirror.html b/resources/public/test/codemirror.html new file mode 100644 index 0000000..8bf8299 --- /dev/null +++ b/resources/public/test/codemirror.html @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + +

Using @nextjournal/lang-clojure directly from npm in HTML!

+
+
+
+
+ + + diff --git a/tictactoe.html b/resources/public/tictactoe.html similarity index 89% rename from tictactoe.html rename to resources/public/tictactoe.html index 5b62e74..4462881 100644 --- a/tictactoe.html +++ b/resources/public/tictactoe.html @@ -3,9 +3,8 @@ - - - + + diff --git a/resources/public/wordle.html b/resources/public/wordle.html new file mode 100644 index 0000000..935570c --- /dev/null +++ b/resources/public/wordle.html @@ -0,0 +1,39 @@ + + + + Wordle! + + + + + + + + +

Wordle by @oxalorg. + Play the game by typing letters and then hit return. The source code is loaded from here. +

+
+ + diff --git a/script/changelog.clj b/script/changelog.clj new file mode 100755 index 0000000..1ef014a --- /dev/null +++ b/script/changelog.clj @@ -0,0 +1,17 @@ +#!/usr/bin/env bb + +(ns changelog + (:require [clojure.string :as str])) + +(let [changelog (slurp "CHANGELOG.md") + replaced (str/replace changelog + #" #(\d+)" + (fn [[_ issue after]] + (format " [#%s](https://github.com/babashka/scittle/issues/%s)%s" + issue issue (str after)))) + replaced (str/replace replaced + #"@([a-zA-Z0-9-_]+)([, \.)])" + (fn [[_ name after]] + (format "[@%s](https://github.com/%s)%s" + name name after)))] + (spit "CHANGELOG.md" replaced)) diff --git a/script/release.clj b/script/release.clj new file mode 100755 index 0000000..4835975 --- /dev/null +++ b/script/release.clj @@ -0,0 +1,83 @@ +#!/usr/bin/env bb + +(require '[babashka.fs :as fs] + '[babashka.tasks :refer [shell]]) + +(fs/create-dirs "gh-pages") + +(fs/copy "resources/public/index.html" "gh-pages" + {:replace-existing true}) + +(fs/copy "resources/public/base.html" "gh-pages" + {:replace-existing true}) + +(fs/copy "resources/public/tictactoe.html" "gh-pages" + {:replace-existing true}) + +(fs/copy "resources/public/bookmarklet.html" "gh-pages" + {:replace-existing true}) + +(fs/copy "resources/public/wordle.html" "gh-pages" + {:replace-existing true}) + +(fs/copy "resources/public/disable_auto_eval.html" "gh-pages" + {:replace-existing true}) + +(fs/copy "resources/public/codemirror.html" "gh-pages" + {:replace-existing true}) + +(fs/copy "resources/public/replicant_tictactoe.html" "gh-pages" + {:replace-existing true}) + +(def html-source-dir (fs/file "resources" "public" "html")) +(def html-target-dir (fs/file "gh-pages" "html")) +(fs/create-dirs html-target-dir) +(doseq [html ["export.html" "reagent.html" "cljs-ajax.html"]] + (fs/copy (fs/file html-source-dir html) html-target-dir + {:replace-existing true})) + +(def style-source-dir (fs/file "resources" "public" "css")) +(def style-target-dir (fs/file "gh-pages" "css")) +(fs/create-dirs style-target-dir) +(fs/copy "resources/public/css/style.css" style-target-dir + {:replace-existing true}) + +(def js-source-dir (fs/file "resources" "public" "js")) +(def js-target-dir (fs/file "gh-pages" "js")) +(fs/create-dirs js-target-dir) + +(println "Compiling CLJS") +(shell "bb prod") + +(fs/copy "resources/public/js/report.html" "gh-pages" + {:replace-existing true}) + +(def index-file (fs/file "gh-pages" "index.html")) + +(def cljs-source-dir (fs/file "resources" "public" "cljs")) +(def cljs-target-dir (fs/file "gh-pages" "cljs")) +(fs/create-dirs cljs-target-dir) + +(run! (fn [f] + (println "Copying" (str f)) + (fs/copy f + cljs-target-dir + {:replace-existing true})) + (fs/glob cljs-source-dir "*.cljs")) + +(println "Copying dir resources/public/cljs/replicant_tictactoe") +(fs/copy-tree (fs/file cljs-source-dir "replicant_tictactoe") (fs/file cljs-target-dir "replicant_tictactoe") {:replace-existing true}) + +(run! (fn [f] + (println "Copying" (str f)) + (fs/copy f + js-target-dir + {:replace-existing true})) + (fs/glob js-source-dir "scittle*.js")) + +(def with-gh-pages (partial shell {:dir "gh-pages"})) +(with-gh-pages "git add .") +(with-gh-pages "git commit -m 'update build'") +(with-gh-pages "git push origin gh-pages") + +nil diff --git a/script/release.old b/script/release.old new file mode 100644 index 0000000..bcc1cff --- /dev/null +++ b/script/release.old @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -eo pipefail + +clojure -M:dev -m shadow.cljs.devtools.cli release main +cp resources/public/index.html gh-pages +sed -i 's/main.js/sci_script_tag.js/' gh-pages/index.html + +mkdir -p gh-pages/js +cp resources/public/js/main.js gh-pages/js/sci_script_tag.js + +cd gh-pages +git add . +git commit -m "update build" +git push origin gh-pages diff --git a/shadow-cljs.edn b/shadow-cljs.edn new file mode 100644 index 0000000..4b0d654 --- /dev/null +++ b/shadow-cljs.edn @@ -0,0 +1,44 @@ +{:deps + {:aliases [:dev]} + + :dev-http + {8000 "classpath:public"} + + :builds + {:main + {;:compiler-options {:source-map true} + ;; for dev build + #_#_ + :compiler-options {:optimizations :simple + :pretty-print true + :pseudo-names true + :source-map true} + :target :browser + :js-options + {:resolve {"react" {:target :global + :global "React"} + "react-dom" {:target :global + :global "ReactDOM"}}} + :modules + {:scittle {:entries [scittle.core]} + :scittle.nrepl {:entries [scittle.nrepl] + :depends-on #{:scittle}} + :scittle.promesa {:entries [scittle.promesa] + :depends-on #{:scittle}} + :scittle.js-interop {:entries [scittle.js-interop] + :depends-on #{:scittle}} + :scittle.pprint {:entries [scittle.pprint] + :depends-on #{:scittle}} + :scittle.reagent {:entries [scittle.reagent] + :depends-on #{:scittle}} + :scittle.replicant {:entries [scittle.replicant] + :depends-on #{:scittle}} + :scittle.re-frame {:entries [scittle.re-frame] + :depends-on #{:scittle.reagent + :scittle}} + :scittle.cljs-ajax {:entries [scittle.cljs-ajax] + :depends-on #{:scittle}}} + :build-hooks [(shadow.cljs.build-report/hook)] + :output-dir "resources/public/js" ;; + "/dev" for dev build + :devtools {:repl-pprint true} + }}} diff --git a/src/scittle/cljs_ajax.cljs b/src/scittle/cljs_ajax.cljs new file mode 100644 index 0000000..8d1df17 --- /dev/null +++ b/src/scittle/cljs_ajax.cljs @@ -0,0 +1,13 @@ +(ns scittle.cljs-ajax + (:require [ajax.core] + [sci.core :as sci] + [scittle.core :as scittle])) + +(def ans (sci/create-ns 'ajax.core nil)) + +(def ajax-namespace + (sci/copy-ns ajax.core ans)) + +(scittle/register-plugin! + ::ajax + {:namespaces {'ajax.core ajax-namespace}}) diff --git a/src/scittle/cljs_devtools.cljs b/src/scittle/cljs_devtools.cljs new file mode 100644 index 0000000..cbe2082 --- /dev/null +++ b/src/scittle/cljs_devtools.cljs @@ -0,0 +1,6 @@ +(ns scittle.cljs-devtools + (:require [devtools.core :as devtools])) + +(devtools/set-pref! :disable-advanced-mode-check true) + +(devtools/install!) diff --git a/src/scittle/core.cljs b/src/scittle/core.cljs new file mode 100644 index 0000000..c603d9c --- /dev/null +++ b/src/scittle/core.cljs @@ -0,0 +1,144 @@ +(ns scittle.core + (:refer-clojure :exclude [time]) + (:require [cljs.reader :refer [read-string]] + [goog.object :as gobject] + [goog.string :as gstring] + [goog.string.format] + [sci.core :as sci] + [sci.ctx-store :as store] + [sci.impl.unrestrict] + [scittle.impl.common :refer [cljns]] + [scittle.impl.error :as error] + [clojure.string :as str])) + +(set! sci.impl.unrestrict/*unrestricted* true) + +;; make document conditional +(def ^js doc js/globalThis.document) + +(clojure.core/defmacro time + "Evaluates expr and prints the time it took. Returns the value of expr." + [expr] + `(let [start# (cljs.core/system-time) + ret# ~expr] + (prn (cljs.core/str "Elapsed time: " + (.toFixed (- (system-time) start#) 6) + " msecs")) + ret#)) + +(def stns (sci/create-ns 'sci.script-tag nil)) +(def rns (sci/create-ns 'cljs.reader nil)) + +(def namespaces + {'clojure.core + {'time (sci/copy-var time cljns) + 'system-time (sci/copy-var system-time cljns) + 'random-uuid (sci/copy-var random-uuid cljns) + 'read-string (sci/copy-var read-string cljns) + 'update-keys (sci/copy-var update-keys cljns) + 'update-vals (sci/copy-var update-vals cljns) + 'parse-boolean (sci/copy-var parse-boolean cljns) + 'parse-double (sci/copy-var parse-double cljns) + 'parse-long (sci/copy-var parse-long cljns) + 'parse-uuid (sci/copy-var parse-uuid cljns) + 'NaN? (sci/copy-var NaN? cljns) + 'infinite? (sci/copy-var infinite? cljns) + 'iteration (sci/copy-var iteration cljns) + 'abs (sci/copy-var abs cljns) + 'Cons cljs.core/Cons} + 'goog.object {'set gobject/set + 'get gobject/get} + 'goog.string {'format gstring/format + 'htmlEscape gstring/htmlEscape} + 'goog.string.format {} ;; For cljs compatibility + 'sci.core {'stacktrace sci/stacktrace + 'format-stacktrace sci/format-stacktrace}}) + +(defn load-fn [{:keys [ctx] :as opts}] + (when-let [lib (and (string? (:namespace opts)) + (gobject/get js/globalThis (:namespace opts)))] + (sci/add-js-lib! ctx (:namespace opts) lib))) + +(store/reset-ctx! + (sci/init {:namespaces namespaces + :classes {'js js/globalThis + :allow :all + 'Math js/Math} + :ns-aliases {'clojure.pprint 'cljs.pprint} + :features #{:scittle :cljs} + :load-fn load-fn})) + +(unchecked-set js/globalThis "import" (js/eval "(x) => import(x)")) + +(def !last-ns (volatile! @sci/ns)) + +(defn- -eval-string [s] + (sci/binding [sci/ns @!last-ns] + (let [rdr (sci/reader s)] + (loop [res nil] + (let [form (sci/parse-next (store/get-ctx) rdr)] + (if (= :sci.core/eof form) + (do + (vreset! !last-ns @sci/ns) + res) + (recur (sci/eval-form (store/get-ctx) form)))))))) + +(defn ^:export eval-string [s] + (try (-eval-string s) + (catch :default e + (error/error-handler e (:src (store/get-ctx))) + (throw e)))) + +(defn register-plugin! [_plug-in-name sci-opts] + (store/swap-ctx! sci/merge-opts sci-opts)) + +(defn- eval-script-tags* [script-tags] + (when-let [tag (first script-tags)] + (if-let [src (.getAttribute tag "src")] + (let [req (js/XMLHttpRequest.) + _ (.open req "GET" src true) + _ (gobject/set req "onload" + (fn [] (this-as this + (let [response (gobject/get this "response")] + (gobject/set tag "scittle_id" src) + ;; save source for error messages + (store/swap-ctx! assoc-in [:src src] response) + (sci/binding [sci/file src] + (eval-string response))) + (eval-script-tags* (rest script-tags)))))] + (.send req)) + (if-let [text (not-empty (str/trim (gobject/get tag "textContent")))] + (let [scittle-id (str (gensym "scittle-tag-"))] + (gobject/set tag "scittle_id" scittle-id) + (store/swap-ctx! assoc-in [:src scittle-id] text) + (sci/binding [sci/file scittle-id] + (eval-string text)) + (eval-script-tags* (rest script-tags))) + (eval-script-tags* (rest script-tags)))))) + +(defn ^:export eval-script-tags [& [script-tags]] + (let [script-tags (or script-tags + (.querySelectorAll + doc "script[type='application/x-scittle']")) + script-tags (if (or (coll? script-tags) + (aget script-tags "length")) + script-tags + [script-tags])] + (eval-script-tags* script-tags))) + +(def auto-load-disabled? (volatile! false)) + +(defn ^:export disable-auto-eval + "By default, scittle evaluates script nodes on the DOMContentLoaded + event using the eval-script-tags function. This function disables + that behavior." + [] + (vreset! auto-load-disabled? true)) + +(when doc + (.addEventListener doc + "DOMContentLoaded" + (fn [] (when-not @auto-load-disabled? (eval-script-tags))), false)) + +(enable-console-print!) +(sci/alter-var-root sci/print-fn (constantly *print-fn*)) diff --git a/src/scittle/impl/common.cljs b/src/scittle/impl/common.cljs new file mode 100644 index 0000000..a3bbd7e --- /dev/null +++ b/src/scittle/impl/common.cljs @@ -0,0 +1,4 @@ +(ns scittle.impl.common + (:require [sci.core :as sci])) + +(def cljns (sci/create-ns 'clojure.core nil)) diff --git a/src/scittle/impl/error.cljs b/src/scittle/impl/error.cljs new file mode 100644 index 0000000..b5edb4e --- /dev/null +++ b/src/scittle/impl/error.cljs @@ -0,0 +1,92 @@ +(ns scittle.impl.error + (:refer-clojure :exclude [println]) + (:require [clojure.string :as str] + [sci.core :as sci])) + +(defn println [& strs] + (.error js/console (str/join " " strs))) + +(defn ruler [title] + (println (apply str "----- " title " " (repeat (- 50 7 (count title)) \-)))) + +(defn split-stacktrace [stacktrace verbose?] + (if verbose? [stacktrace] + (let [stack-count (count stacktrace)] + (if (<= stack-count 10) + [stacktrace] + [(take 5 stacktrace) + (drop (- stack-count 5) stacktrace)])))) + +(defn print-stacktrace + [stacktrace {:keys [:verbose?]}] + (let [stacktrace (sci/format-stacktrace stacktrace) + segments (split-stacktrace stacktrace verbose?) + [fst snd] segments] + (run! #(print % "\n") fst) + (when snd + (print "...\n") + (run! #(print % "\n") snd)))) + +(defn error-context [ex src-map] + (let [{:keys [:file :line :column]} (ex-data ex)] + (when (and file line) + (when-let [content (get src-map file)] + (let [matching-line (dec line) + start-line (max (- matching-line 4) 0) + end-line (+ matching-line 6) + [before after] (->> + (str/split-lines content) + (map-indexed list) + (drop start-line) + (take (- end-line start-line)) + (split-at (inc (- matching-line start-line)))) + snippet-lines (concat before + [[nil (str (str/join "" (repeat (dec column) " ")) + (str "^--- " (ex-message ex)))]] + after) + indices (map first snippet-lines) + max-size (reduce max 0 (map (comp count str) indices)) + snippet-lines (map (fn [[idx line]] + (if idx + (let [line-number (inc idx)] + (str (.padStart (str line-number) max-size "0") " " line)) + (str (str/join (repeat (+ 2 max-size) " ")) line))) + snippet-lines)] + (str "\n" (str/join "\n" snippet-lines))))))) + +(defn right-pad [s n] + (let [n (- n (count s))] + (str s (str/join (repeat n " "))))) + +(defn error-handler [e src-map] + (let [d (ex-data e) + sci-error? (isa? (:type d) :sci/error) + stacktrace (sci/stacktrace e)] + (ruler "Scittle error") + (when-let [name (.-name e)] + (when-not (= "Error" name) + (println "Type: " name))) + (when-let [m (.-message e)] + (println (str "Message: " m))) + (when-let [d (ex-data (ex-cause e) #_(.getCause e))] + (println (str "Data: ") + (pr-str d))) + (let [{:keys [:file :line :column]} d] + (when line + (println (str "Location: " + (when file (str file ":")) + line ":" column"")))) + (when-let [phase (:phase d)] + (println "Phase: " phase)) + (when-let [ec (when sci-error? + (error-context e src-map))] + (ruler "Context") + (println ec)) + (when sci-error? + (when-let + [st (let [st (with-out-str + (when stacktrace + (print-stacktrace stacktrace src-map)))] + (when-not (str/blank? st) st))] + (ruler "Stack trace") + (println st))))) diff --git a/src/scittle/js_interop.cljs b/src/scittle/js_interop.cljs new file mode 100644 index 0000000..603b565 --- /dev/null +++ b/src/scittle/js_interop.cljs @@ -0,0 +1,8 @@ +(ns scittle.js-interop + (:require + [sci.configs.applied-science.js-interop :as j] + [scittle.core :as scittle])) + +(scittle/register-plugin! + ::js-interop + j/config) diff --git a/src/scittle/nrepl.cljs b/src/scittle/nrepl.cljs new file mode 100644 index 0000000..ec4c38c --- /dev/null +++ b/src/scittle/nrepl.cljs @@ -0,0 +1,21 @@ +(ns scittle.nrepl + (:require + [clojure.edn :as edn] + [sci.nrepl.server :as nrepl-server])) + +(defn ws-url [host port path] + (str "ws://" host ":" port "/" path)) + +(when-let [ws-port (.-SCITTLE_NREPL_WEBSOCKET_PORT js/window)] + (set! (.-ws_nrepl js/window) + (new js/WebSocket (ws-url (or (.-SCITTLE_NREPL_WEBSOCKET_HOST js/window) + (.-hostname (.-location js/window))) + ws-port "_nrepl")))) + +(when-let [ws (nrepl-server/nrepl-websocket)] + (set! (.-onmessage ws) + (fn [event] + (nrepl-server/handle-nrepl-message (edn/read-string (.-data event))))) + (set! (.-onerror ws) + (fn [event] + (js/console.log event)))) diff --git a/src/scittle/pprint.cljs b/src/scittle/pprint.cljs new file mode 100644 index 0000000..c4d1209 --- /dev/null +++ b/src/scittle/pprint.cljs @@ -0,0 +1,8 @@ +(ns scittle.pprint + (:require + [sci.configs.cljs.pprint :refer [config]] + [scittle.core :as scittle])) + +(scittle/register-plugin! + ::pprint + config) diff --git a/src/scittle/promesa.cljs b/src/scittle/promesa.cljs new file mode 100644 index 0000000..73c6325 --- /dev/null +++ b/src/scittle/promesa.cljs @@ -0,0 +1,8 @@ +(ns scittle.promesa + (:require + [sci.configs.funcool.promesa :as p] + [scittle.core :as scittle])) + +(scittle/register-plugin! + ::promesa + p/config) diff --git a/src/scittle/re_frame.cljs b/src/scittle/re_frame.cljs new file mode 100644 index 0000000..39e219e --- /dev/null +++ b/src/scittle/re_frame.cljs @@ -0,0 +1,8 @@ +(ns scittle.re-frame + (:require + [sci.configs.re-frame.re-frame :as rf] + [scittle.core :as scittle])) + +(scittle/register-plugin! + ::re-frame + rf/config) diff --git a/src/scittle/reagent.cljs b/src/scittle/reagent.cljs new file mode 100644 index 0000000..6354ef7 --- /dev/null +++ b/src/scittle/reagent.cljs @@ -0,0 +1,19 @@ +(ns scittle.reagent + (:require + [reagent.dom :as rdom] + [sci.configs.reagent.reagent :refer [reagent-debug-namespace + reagent-namespace reagent-ratom-namespace]] + [sci.core :as sci] + [scittle.core :as scittle])) + +(def rdns (sci/create-ns 'reagent.dom nil)) + +(def reagent-dom-namespace + {'render (sci/copy-var rdom/render rdns)}) + +(scittle/register-plugin! + ::reagent + {:namespaces {'reagent.core reagent-namespace + 'reagent.dom reagent-dom-namespace + 'reagent.ratom reagent-ratom-namespace + 'reagent.debug reagent-debug-namespace}}) diff --git a/src/scittle/replicant.cljs b/src/scittle/replicant.cljs new file mode 100644 index 0000000..b1c9c7a --- /dev/null +++ b/src/scittle/replicant.cljs @@ -0,0 +1,8 @@ +(ns scittle.replicant + (:require + [sci.configs.cjohansen.replicant :refer [config]] + [scittle.core :as scittle])) + +(scittle/register-plugin! + ::replicant + config)