From bcf9b230be6d74c71567fd0771b31d47d8dd39c7 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Thu, 21 Jan 2021 17:22:53 -0700 Subject: build the blog with nix --- assets/viz/2/cljs/core.cljs | 11565 ------ assets/viz/2/cljs/core.js | 37633 ------------------- assets/viz/2/cljs/core.js.map | 1 - .../viz/2/cljs/user/debug9D984AE.cljs.cache.json | 1 - assets/viz/2/cljs/user/debug9D984AE.js | 3 - assets/viz/2/cljs/user/debug9D984AE.js.map | 1 - assets/viz/2/cljs_deps.js | 19 - assets/viz/2/cljsc_opts.edn | 1 - assets/viz/2/clojure/set.cljs | 161 - assets/viz/2/clojure/set.cljs.cache.json | 1 - assets/viz/2/clojure/set.js | 391 - assets/viz/2/clojure/set.js.map | 1 - assets/viz/2/clojure/string.cljs | 289 - assets/viz/2/clojure/string.cljs.cache.json | 1 - assets/viz/2/clojure/string.js | 477 - assets/viz/2/clojure/string.js.map | 1 - assets/viz/2/goog/array/array.js | 1665 - assets/viz/2/goog/asserts/asserts.js | 369 - assets/viz/2/goog/base.js | 2921 -- assets/viz/2/goog/debug/entrypointregistry.js | 159 - assets/viz/2/goog/debug/error.js | 63 - assets/viz/2/goog/deps.js | 1564 - assets/viz/2/goog/disposable/disposable.js | 305 - assets/viz/2/goog/disposable/idisposable.js | 45 - assets/viz/2/goog/dom/asserts.js | 311 - assets/viz/2/goog/dom/browserfeature.js | 73 - assets/viz/2/goog/dom/dom.js | 3233 -- assets/viz/2/goog/dom/htmlelement.js | 29 - assets/viz/2/goog/dom/nodetype.js | 48 - assets/viz/2/goog/dom/safe.js | 458 - assets/viz/2/goog/dom/tagname.js | 562 - assets/viz/2/goog/dom/tags.js | 41 - assets/viz/2/goog/events/browserevent.js | 409 - assets/viz/2/goog/events/browserfeature.js | 122 - assets/viz/2/goog/events/event.js | 143 - assets/viz/2/goog/events/eventid.js | 46 - assets/viz/2/goog/events/events.js | 1003 - assets/viz/2/goog/events/eventtype.js | 295 - assets/viz/2/goog/events/listenable.js | 338 - assets/viz/2/goog/events/listener.js | 128 - assets/viz/2/goog/events/listenermap.js | 307 - assets/viz/2/goog/fs/url.js | 106 - assets/viz/2/goog/functions/functions.js | 483 - assets/viz/2/goog/html/safehtml.js | 994 - assets/viz/2/goog/html/safescript.js | 234 - assets/viz/2/goog/html/safestyle.js | 560 - assets/viz/2/goog/html/safestylesheet.js | 344 - assets/viz/2/goog/html/safeurl.js | 454 - assets/viz/2/goog/html/trustedresourceurl.js | 408 - assets/viz/2/goog/html/uncheckedconversions.js | 228 - assets/viz/2/goog/i18n/bidi.js | 876 - assets/viz/2/goog/iter/iter.js | 1284 - assets/viz/2/goog/labs/useragent/browser.js | 338 - assets/viz/2/goog/labs/useragent/engine.js | 156 - assets/viz/2/goog/labs/useragent/platform.js | 160 - assets/viz/2/goog/labs/useragent/util.js | 147 - assets/viz/2/goog/math/coordinate.js | 279 - assets/viz/2/goog/math/integer.js | 808 - assets/viz/2/goog/math/long.js | 965 - assets/viz/2/goog/math/math.js | 448 - assets/viz/2/goog/math/size.js | 227 - assets/viz/2/goog/object/object.js | 751 - assets/viz/2/goog/reflect/reflect.js | 138 - assets/viz/2/goog/string/const.js | 186 - assets/viz/2/goog/string/string.js | 1641 - assets/viz/2/goog/string/stringbuffer.js | 103 - assets/viz/2/goog/string/stringformat.js | 221 - assets/viz/2/goog/string/typedstring.js | 48 - assets/viz/2/goog/structs/map.js | 458 - assets/viz/2/goog/structs/structs.js | 354 - assets/viz/2/goog/uri/uri.js | 1547 - assets/viz/2/goog/uri/utils.js | 1103 - assets/viz/2/goog/useragent/useragent.js | 580 - assets/viz/2/process/env.cljs | 12 - assets/viz/2/process/env.cljs.cache.json | 1 - assets/viz/2/process/env.js | 8 - assets/viz/2/process/env.js.map | 1 - assets/viz/2/processing.js | 21796 ----------- assets/viz/2/quil/core.cljc | 4993 --- assets/viz/2/quil/core.cljc.cache.json | 1 - assets/viz/2/quil/core.js | 5543 --- assets/viz/2/quil/core.js.map | 1 - assets/viz/2/quil/middleware.cljc | 144 - assets/viz/2/quil/middleware.cljc.cache.json | 1 - assets/viz/2/quil/middleware.js | 118 - assets/viz/2/quil/middleware.js.map | 1 - .../viz/2/quil/middlewares/deprecated_options.cljc | 26 - .../middlewares/deprecated_options.cljc.cache.json | 1 - .../viz/2/quil/middlewares/deprecated_options.js | 95 - .../2/quil/middlewares/deprecated_options.js.map | 1 - assets/viz/2/quil/middlewares/fun_mode.cljc | 78 - .../2/quil/middlewares/fun_mode.cljc.cache.json | 1 - assets/viz/2/quil/middlewares/fun_mode.js | 142 - assets/viz/2/quil/middlewares/fun_mode.js.map | 1 - assets/viz/2/quil/middlewares/navigation_2d.cljc | 89 - .../quil/middlewares/navigation_2d.cljc.cache.json | 1 - assets/viz/2/quil/middlewares/navigation_2d.js | 116 - assets/viz/2/quil/middlewares/navigation_2d.js.map | 1 - assets/viz/2/quil/middlewares/navigation_3d.cljc | 188 - .../quil/middlewares/navigation_3d.cljc.cache.json | 1 - assets/viz/2/quil/middlewares/navigation_3d.js | 261 - assets/viz/2/quil/middlewares/navigation_3d.js.map | 1 - assets/viz/2/quil/sketch.cljs | 128 - assets/viz/2/quil/sketch.cljs.cache.json | 1 - assets/viz/2/quil/sketch.js | 341 - assets/viz/2/quil/sketch.js.map | 1 - assets/viz/2/quil/util.cljc | 109 - assets/viz/2/quil/util.cljc.cache.json | 1 - assets/viz/2/quil/util.js | 168 - assets/viz/2/quil/util.js.map | 1 - assets/viz/2/viz/core.cljs | 264 - assets/viz/2/viz/core.cljs.cache.json | 1 - assets/viz/2/viz/core.js | 753 - assets/viz/2/viz/core.js.map | 1 - assets/viz/2/viz/debug.cljs | 4 - assets/viz/2/viz/debug.cljs.cache.json | 1 - assets/viz/2/viz/debug.js | 37 - assets/viz/2/viz/debug.js.map | 1 - assets/viz/2/viz/dial.cljs | 42 - assets/viz/2/viz/dial.cljs.cache.json | 1 - assets/viz/2/viz/dial.js | 44 - assets/viz/2/viz/dial.js.map | 1 - assets/viz/2/viz/forest.cljs | 107 - assets/viz/2/viz/forest.cljs.cache.json | 1 - assets/viz/2/viz/forest.js | 109 - assets/viz/2/viz/forest.js.map | 1 - assets/viz/2/viz/ghost.cljs | 49 - assets/viz/2/viz/ghost.cljs.cache.json | 1 - assets/viz/2/viz/ghost.js | 65 - assets/viz/2/viz/ghost.js.map | 1 - assets/viz/2/viz/grid.cljs | 63 - assets/viz/2/viz/grid.cljs.cache.json | 1 - assets/viz/2/viz/grid.js | 27 - assets/viz/2/viz/grid.js.map | 1 - 134 files changed, 117761 deletions(-) delete mode 100644 assets/viz/2/cljs/core.cljs delete mode 100644 assets/viz/2/cljs/core.js delete mode 100644 assets/viz/2/cljs/core.js.map delete mode 100644 assets/viz/2/cljs/user/debug9D984AE.cljs.cache.json delete mode 100644 assets/viz/2/cljs/user/debug9D984AE.js delete mode 100644 assets/viz/2/cljs/user/debug9D984AE.js.map delete mode 100644 assets/viz/2/cljs_deps.js delete mode 100644 assets/viz/2/cljsc_opts.edn delete mode 100644 assets/viz/2/clojure/set.cljs delete mode 100644 assets/viz/2/clojure/set.cljs.cache.json delete mode 100644 assets/viz/2/clojure/set.js delete mode 100644 assets/viz/2/clojure/set.js.map delete mode 100644 assets/viz/2/clojure/string.cljs delete mode 100644 assets/viz/2/clojure/string.cljs.cache.json delete mode 100644 assets/viz/2/clojure/string.js delete mode 100644 assets/viz/2/clojure/string.js.map delete mode 100644 assets/viz/2/goog/array/array.js delete mode 100644 assets/viz/2/goog/asserts/asserts.js delete mode 100644 assets/viz/2/goog/base.js delete mode 100644 assets/viz/2/goog/debug/entrypointregistry.js delete mode 100644 assets/viz/2/goog/debug/error.js delete mode 100644 assets/viz/2/goog/deps.js delete mode 100644 assets/viz/2/goog/disposable/disposable.js delete mode 100644 assets/viz/2/goog/disposable/idisposable.js delete mode 100644 assets/viz/2/goog/dom/asserts.js delete mode 100644 assets/viz/2/goog/dom/browserfeature.js delete mode 100644 assets/viz/2/goog/dom/dom.js delete mode 100644 assets/viz/2/goog/dom/htmlelement.js delete mode 100644 assets/viz/2/goog/dom/nodetype.js delete mode 100644 assets/viz/2/goog/dom/safe.js delete mode 100644 assets/viz/2/goog/dom/tagname.js delete mode 100644 assets/viz/2/goog/dom/tags.js delete mode 100644 assets/viz/2/goog/events/browserevent.js delete mode 100644 assets/viz/2/goog/events/browserfeature.js delete mode 100644 assets/viz/2/goog/events/event.js delete mode 100644 assets/viz/2/goog/events/eventid.js delete mode 100644 assets/viz/2/goog/events/events.js delete mode 100644 assets/viz/2/goog/events/eventtype.js delete mode 100644 assets/viz/2/goog/events/listenable.js delete mode 100644 assets/viz/2/goog/events/listener.js delete mode 100644 assets/viz/2/goog/events/listenermap.js delete mode 100644 assets/viz/2/goog/fs/url.js delete mode 100644 assets/viz/2/goog/functions/functions.js delete mode 100644 assets/viz/2/goog/html/safehtml.js delete mode 100644 assets/viz/2/goog/html/safescript.js delete mode 100644 assets/viz/2/goog/html/safestyle.js delete mode 100644 assets/viz/2/goog/html/safestylesheet.js delete mode 100644 assets/viz/2/goog/html/safeurl.js delete mode 100644 assets/viz/2/goog/html/trustedresourceurl.js delete mode 100644 assets/viz/2/goog/html/uncheckedconversions.js delete mode 100644 assets/viz/2/goog/i18n/bidi.js delete mode 100644 assets/viz/2/goog/iter/iter.js delete mode 100644 assets/viz/2/goog/labs/useragent/browser.js delete mode 100644 assets/viz/2/goog/labs/useragent/engine.js delete mode 100644 assets/viz/2/goog/labs/useragent/platform.js delete mode 100644 assets/viz/2/goog/labs/useragent/util.js delete mode 100644 assets/viz/2/goog/math/coordinate.js delete mode 100644 assets/viz/2/goog/math/integer.js delete mode 100644 assets/viz/2/goog/math/long.js delete mode 100644 assets/viz/2/goog/math/math.js delete mode 100644 assets/viz/2/goog/math/size.js delete mode 100644 assets/viz/2/goog/object/object.js delete mode 100644 assets/viz/2/goog/reflect/reflect.js delete mode 100644 assets/viz/2/goog/string/const.js delete mode 100644 assets/viz/2/goog/string/string.js delete mode 100644 assets/viz/2/goog/string/stringbuffer.js delete mode 100644 assets/viz/2/goog/string/stringformat.js delete mode 100644 assets/viz/2/goog/string/typedstring.js delete mode 100644 assets/viz/2/goog/structs/map.js delete mode 100644 assets/viz/2/goog/structs/structs.js delete mode 100644 assets/viz/2/goog/uri/uri.js delete mode 100644 assets/viz/2/goog/uri/utils.js delete mode 100644 assets/viz/2/goog/useragent/useragent.js delete mode 100644 assets/viz/2/process/env.cljs delete mode 100644 assets/viz/2/process/env.cljs.cache.json delete mode 100644 assets/viz/2/process/env.js delete mode 100644 assets/viz/2/process/env.js.map delete mode 100644 assets/viz/2/processing.js delete mode 100644 assets/viz/2/quil/core.cljc delete mode 100644 assets/viz/2/quil/core.cljc.cache.json delete mode 100644 assets/viz/2/quil/core.js delete mode 100644 assets/viz/2/quil/core.js.map delete mode 100644 assets/viz/2/quil/middleware.cljc delete mode 100644 assets/viz/2/quil/middleware.cljc.cache.json delete mode 100644 assets/viz/2/quil/middleware.js delete mode 100644 assets/viz/2/quil/middleware.js.map delete mode 100644 assets/viz/2/quil/middlewares/deprecated_options.cljc delete mode 100644 assets/viz/2/quil/middlewares/deprecated_options.cljc.cache.json delete mode 100644 assets/viz/2/quil/middlewares/deprecated_options.js delete mode 100644 assets/viz/2/quil/middlewares/deprecated_options.js.map delete mode 100644 assets/viz/2/quil/middlewares/fun_mode.cljc delete mode 100644 assets/viz/2/quil/middlewares/fun_mode.cljc.cache.json delete mode 100644 assets/viz/2/quil/middlewares/fun_mode.js delete mode 100644 assets/viz/2/quil/middlewares/fun_mode.js.map delete mode 100644 assets/viz/2/quil/middlewares/navigation_2d.cljc delete mode 100644 assets/viz/2/quil/middlewares/navigation_2d.cljc.cache.json delete mode 100644 assets/viz/2/quil/middlewares/navigation_2d.js delete mode 100644 assets/viz/2/quil/middlewares/navigation_2d.js.map delete mode 100644 assets/viz/2/quil/middlewares/navigation_3d.cljc delete mode 100644 assets/viz/2/quil/middlewares/navigation_3d.cljc.cache.json delete mode 100644 assets/viz/2/quil/middlewares/navigation_3d.js delete mode 100644 assets/viz/2/quil/middlewares/navigation_3d.js.map delete mode 100644 assets/viz/2/quil/sketch.cljs delete mode 100644 assets/viz/2/quil/sketch.cljs.cache.json delete mode 100644 assets/viz/2/quil/sketch.js delete mode 100644 assets/viz/2/quil/sketch.js.map delete mode 100644 assets/viz/2/quil/util.cljc delete mode 100644 assets/viz/2/quil/util.cljc.cache.json delete mode 100644 assets/viz/2/quil/util.js delete mode 100644 assets/viz/2/quil/util.js.map delete mode 100644 assets/viz/2/viz/core.cljs delete mode 100644 assets/viz/2/viz/core.cljs.cache.json delete mode 100644 assets/viz/2/viz/core.js delete mode 100644 assets/viz/2/viz/core.js.map delete mode 100644 assets/viz/2/viz/debug.cljs delete mode 100644 assets/viz/2/viz/debug.cljs.cache.json delete mode 100644 assets/viz/2/viz/debug.js delete mode 100644 assets/viz/2/viz/debug.js.map delete mode 100644 assets/viz/2/viz/dial.cljs delete mode 100644 assets/viz/2/viz/dial.cljs.cache.json delete mode 100644 assets/viz/2/viz/dial.js delete mode 100644 assets/viz/2/viz/dial.js.map delete mode 100644 assets/viz/2/viz/forest.cljs delete mode 100644 assets/viz/2/viz/forest.cljs.cache.json delete mode 100644 assets/viz/2/viz/forest.js delete mode 100644 assets/viz/2/viz/forest.js.map delete mode 100644 assets/viz/2/viz/ghost.cljs delete mode 100644 assets/viz/2/viz/ghost.cljs.cache.json delete mode 100644 assets/viz/2/viz/ghost.js delete mode 100644 assets/viz/2/viz/ghost.js.map delete mode 100644 assets/viz/2/viz/grid.cljs delete mode 100644 assets/viz/2/viz/grid.cljs.cache.json delete mode 100644 assets/viz/2/viz/grid.js delete mode 100644 assets/viz/2/viz/grid.js.map (limited to 'assets/viz/2') diff --git a/assets/viz/2/cljs/core.cljs b/assets/viz/2/cljs/core.cljs deleted file mode 100644 index c7f6d9a..0000000 --- a/assets/viz/2/cljs/core.cljs +++ /dev/null @@ -1,11565 +0,0 @@ -; Copyright (c) Rich Hickey. All rights reserved. -; The use and distribution terms for this software are covered by the -; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -; which can be found in the file epl-v10.html at the root of this distribution. -; By using this software in any fashion, you are agreeing to be bound by -; the terms of this license. -; You must not remove this notice, or any other, from this software. - -(ns cljs.core - (:require goog.math.Long - goog.math.Integer - [goog.string :as gstring] - [goog.object :as gobject] - [goog.array :as garray] - [goog.Uri]) - (:import [goog.string StringBuffer])) - -;; next line is auto-generated by the build-script - Do not edit! -(def *clojurescript-version* "1.10.439") - -;; Setting of these Vars is in ClojureScript code is associated with intrinsics -;; that affect compilation state, but otherwise turn into no-ops in the emitted -;; JavaScript. - -;; The scope of *unchecked-if* is controlled by balanced pairs of set! calls. -(def *unchecked-if* false) -;; The scope of *unchecked-arrays* is file-scope: In JVM ClojureScript its side- -;; effect is to set same-named analyzer dynamic Var, which is unset via binding -;; scopes. In self-hosted it is cleared via cljs.js/post-file-side-effects. -(def *unchecked-arrays* false) -;; The scope of *warn-on-infer* is file-scope: Its side effect is to set the -;; cljs.analyzer/*cljs-warnings* dynamic Var, which is unset via binding scopes. -(def *warn-on-infer* false) - -(set! *unchecked-arrays* true) - -(defonce PROTOCOL_SENTINEL #js {}) - -(def MODULE_URIS nil) ;; set by compiler -(def MODULE_INFOS nil) ;; set by compiler - -(goog-define - ^{:dynamic true - :doc "Var bound to the name value of the compiler build :target option. - For example, if the compiler build :target is :nodejs, *target* will be bound - to \"nodejs\". *target* is a Google Closure define and can be set by compiler - :closure-defines option."} - *target* "default") - -(def - ^{:dynamic true - :doc "Var bound to the current namespace. Only used for bootstrapping." - :jsdoc ["@type {*}"]} - *ns* nil) - -(def - ^{:dynamic true - :jsdoc ["@type {*}"]} - *out* nil) - -(def - ^{:dynamic true} - *assert* true) - -(defonce - ^{:doc "Each runtime environment provides a different way to print output. - Whatever function *print-fn* is bound to will be passed any - Strings which should be printed." :dynamic true} - *print-fn* nil) - -(defn ^{:doc "Arranges to have tap functions executed via the supplied f, a - function of no arguments. Returns true if successful, false otherwise." :dynamic true} - *exec-tap-fn* - [f] - (and - (exists? js/setTimeout) - (js/setTimeout f 0) - true)) - -(defonce - ^{:doc "Each runtime environment provides a different way to print error output. - Whatever function *print-err-fn* is bound to will be passed any - Strings which should be printed." :dynamic true} - *print-err-fn* nil) - -(defn set-print-fn! - "Set *print-fn* to f." - [f] (set! *print-fn* f)) - -(defn set-print-err-fn! - "Set *print-err-fn* to f." - [f] (set! *print-err-fn* f)) - -(def - ^{:dynamic true - :doc "When set to true, output will be flushed whenever a newline is printed. - - Defaults to true."} - *flush-on-newline* true) - -(def - ^{:dynamic true - :doc "When set to logical false will drop newlines from printing calls. - This is to work around the implicit newlines emitted by standard JavaScript - console objects."} - *print-newline* true) - -(def - ^{:dynamic true - :doc "When set to logical false, strings and characters will be printed with - non-alphanumeric characters converted to the appropriate escape sequences. - - Defaults to true"} - *print-readably* true) - -(def - ^{:dynamic true - :doc "If set to logical true, when printing an object, its metadata will also - be printed in a form that can be read back by the reader. - - Defaults to false."} - *print-meta* false) - -(def - ^{:dynamic true - :doc "When set to logical true, objects will be printed in a way that preserves - their type when read in later. - - Defaults to false."} - *print-dup* false) - -(def - ^{:dynamic true - :doc "*print-namespace-maps* controls whether the printer will print - namespace map literal syntax. - - Defaults to false, but the REPL binds it to true."} - *print-namespace-maps* false) - -(def - ^{:dynamic true - :doc "*print-length* controls how many items of each collection the - printer will print. If it is bound to logical false, there is no - limit. Otherwise, it must be bound to an integer indicating the maximum - number of items of each collection to print. If a collection contains - more items, the printer will print items up to the limit followed by - '...' to represent the remaining items. The root binding is nil - indicating no limit." - :jsdoc ["@type {null|number}"]} - *print-length* nil) - -(def - ^{:dynamic true - :doc "*print-level* controls how many levels deep the printer will - print nested objects. If it is bound to logical false, there is no - limit. Otherwise, it must be bound to an integer indicating the maximum - level to print. Each argument to print is at level 0; if an argument is a - collection, its items are at level 1; and so on. If an object is a - collection and is at a level greater than or equal to the value bound to - *print-level*, the printer prints '#' to represent it. The root binding - is nil indicating no limit." - :jsdoc ["@type {null|number}"]} - *print-level* nil) - -(def - ^{:dynamic true - :doc "*print-fns-bodies* controls whether functions print their source or - only their names."} - *print-fn-bodies* false) - -(defonce - ^{:dynamic true - :jsdoc ["@type {*}"]} - *loaded-libs* nil) - -(defn- pr-opts [] - {:flush-on-newline *flush-on-newline* - :readably *print-readably* - :meta *print-meta* - :dup *print-dup* - :print-length *print-length*}) - -(declare into-array) - -(defn enable-console-print! - "Set *print-fn* to console.log" - [] - (set! *print-newline* false) - (set-print-fn! - (fn [] - (let [xs (js-arguments)] - (.apply (.-log js/console) js/console (garray/clone xs))))) - (set-print-err-fn! - (fn [] - (let [xs (js-arguments)] - (.apply (.-error js/console) js/console (garray/clone xs))))) - nil) - -(def - ^{:doc "bound in a repl thread to the most recent value printed"} - *1) - -(def - ^{:doc "bound in a repl thread to the second most recent value printed"} - *2) - -(def - ^{:doc "bound in a repl thread to the third most recent value printed"} - *3) - -(def - ^{:doc "bound in a repl thread to the most recent exception caught by the repl"} - *e) - -(defn truth_ - "Internal - do not use!" - [x] - (cljs.core/truth_ x)) - -(def not-native nil) - -(declare instance? Keyword) - -(defn ^boolean identical? - "Tests if 2 arguments are the same object" - [x y] - (cljs.core/identical? x y)) - -(defn ^boolean nil? - "Returns true if x is nil, false otherwise." - [x] - (coercive-= x nil)) - -(defn ^boolean array? - "Returns true if x is a JavaScript array." - [x] - (if (identical? *target* "nodejs") - (.isArray js/Array x) - (instance? js/Array x))) - -(defn ^boolean number? - "Returns true if x is a JavaScript number." - [x] - (cljs.core/number? x)) - -(defn ^boolean not - "Returns true if x is logical false, false otherwise." - [x] - (cond - (nil? x) true - (false? x) true - :else false)) - -(defn ^boolean some? - "Returns true if x is not nil, false otherwise." - [x] (not (nil? x))) - -(defn ^boolean object? - "Returns true if x's constructor is Object" - [x] - (if-not (nil? x) - (identical? (.-constructor x) js/Object) - false)) - -(defn ^boolean string? - "Returns true if x is a JavaScript string." - [x] - (goog/isString x)) - -(defn ^boolean char? - "Returns true if x is a JavaScript string of length one." - [x] - (and (string? x) (== 1 (.-length x)))) - -(defn ^boolean any? - "Returns true if given any argument." - [x] true) - -(set! *unchecked-if* true) -(defn ^boolean native-satisfies? - "Internal - do not use!" - [p x] - (let [x (if (nil? x) nil x)] - (cond - (unchecked-get p (goog/typeOf x)) true - (unchecked-get p "_") true - :else false))) -(set! *unchecked-if* false) - -(defn is_proto_ - [x] - (identical? (.-prototype (.-constructor x)) x)) - -(def - ^{:doc "When compiled for a command-line target, whatever function - *main-cli-fn* is set to will be called with the command-line - argv as arguments"} - *main-cli-fn* nil) - -(def - ^{:doc "A sequence of the supplied command line arguments, or nil if - none were supplied"} - *command-line-args* nil) - -(defn type - "Return x's constructor." - [x] - (when-not (nil? x) - (.-constructor x))) - -(defn missing-protocol [proto obj] - (let [ty (type obj) - ty (if (and ty (.-cljs$lang$type ty)) - (.-cljs$lang$ctorStr ty) - (goog/typeOf obj))] - (js/Error. - (.join (array "No protocol method " proto - " defined for type " ty ": " obj) "")))) - -(defn type->str [ty] - (if-let [s (.-cljs$lang$ctorStr ty)] - s - (str ty))) - -;; INTERNAL - do not use, only for Node.js -(defn load-file [file] - (when-not js/COMPILED - (cljs.core/load-file* file))) - -(if (and (exists? js/Symbol) - (identical? (goog/typeOf js/Symbol) "function")) - (def ITER_SYMBOL (.-iterator js/Symbol)) - (def ITER_SYMBOL "@@iterator")) - -(def ^{:jsdoc ["@enum {string}"]} - CHAR_MAP - #js {"-" "_" - ":" "_COLON_" - "+" "_PLUS_" - ">" "_GT_" - "<" "_LT_" - "=" "_EQ_" - "~" "_TILDE_" - "!" "_BANG_" - "@" "_CIRCA_" - "#" "_SHARP_" - "'" "_SINGLEQUOTE_" - "\\\"" "_DOUBLEQUOTE_" - "%" "_PERCENT_" - "^" "_CARET_" - "&" "_AMPERSAND_" - "*" "_STAR_" - "|" "_BAR_" - "{" "_LBRACE_" - "}" "_RBRACE_" - "[" "_LBRACK_" - "]" "_RBRACK_" - "/" "_SLASH_" - "\\\\" "_BSLASH_" - "?" "_QMARK_"}) - -(def ^{:jsdoc ["@enum {string}"]} - DEMUNGE_MAP - #js {"_" "-" - "_COLON_" ":" - "_PLUS_" "+" - "_GT_" ">" - "_LT_" "<" - "_EQ_" "=" - "_TILDE_" "~" - "_BANG_" "!" - "_CIRCA_" "@" - "_SHARP_" "#" - "_SINGLEQUOTE_" "'" - "_DOUBLEQUOTE_" "\\\"" - "_PERCENT_" "%" - "_CARET_" "^" - "_AMPERSAND_" "&" - "_STAR_" "*" - "_BAR_" "|" - "_LBRACE_" "{" - "_RBRACE_" "}" - "_LBRACK_" "[" - "_RBRACK_" "]" - "_SLASH_" "/" - "_BSLASH_" "\\\\" - "_QMARK_" "?"}) - -(def DEMUNGE_PATTERN nil) - -(defn system-time - "Returns highest resolution time offered by host in milliseconds." - [] - (cond - (and (exists? js/performance) - (not (nil? (. js/performance -now)))) - (.now js/performance) - - (and (exists? js/process) - (not (nil? (. js/process -hrtime)))) - (let [t (.hrtime js/process)] - (/ (+ (* (aget t 0) 1e9) (aget t 1)) 1e6)) - - :else (.getTime (js/Date.)))) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; arrays ;;;;;;;;;;;;;;;; - -(declare apply) - -(defn ^array make-array - "Construct a JavaScript array of the specified dimensions. Accepts ignored - type argument for compatibility with Clojure. Note that there is no efficient - way to allocate multi-dimensional arrays in JavaScript; as such, this function - will run in polynomial time when called with 3 or more arguments." - ([size] - (js/Array. size)) - ([type size] - (make-array size)) - ([type size & more-sizes] - (let [dims more-sizes - dimarray (make-array size)] - (dotimes [i (alength dimarray)] - (aset dimarray i (apply make-array nil dims))) - dimarray))) - -(defn aclone - "Returns a javascript array, cloned from the passed in array" - [arr] - (let [len (alength arr) - new-arr (make-array len)] - (dotimes [i len] - (aset new-arr i (aget arr i))) - new-arr)) - -(defn ^array array - "Creates a new javascript array. -@param {...*} var_args" ;;array is a special case, don't emulate this doc string - [var-args] ;; [& items] - (let [a (js/Array. (alength (cljs.core/js-arguments)))] - (loop [i 0] - (if (< i (alength a)) - (do - (aset a i (aget (cljs.core/js-arguments) i)) - (recur (inc i))) - a)))) - -(defn- maybe-warn - [e] - (when *print-err-fn* - (*print-err-fn* e))) - -(defn- checked-aget - ([array idx] - (when-assert - (try - (assert (or (array? array) (goog/isArrayLike array))) - (assert (number? idx)) - (assert (not (neg? idx))) - (assert (< idx (alength array))) - (catch :default e - (maybe-warn e)))) - (unchecked-get array idx)) - ([array idx & idxs] - (apply checked-aget (checked-aget array idx) idxs))) - -(defn- checked-aset - ([array idx val] - (when-assert - (try - (assert (or (array? array) (goog/isArrayLike array))) - (assert (number? idx)) - (assert (not (neg? idx))) - (assert (< idx (alength array))) - (catch :default e - (maybe-warn e)))) - (unchecked-set array idx val)) - ([array idx idx2 & idxv] - (apply checked-aset (checked-aget array idx) idx2 idxv))) - -(defn- checked-aget' - ([array idx] - {:pre [(or (array? array) (goog/isArrayLike array)) - (number? idx) (not (neg? idx)) (< idx (alength array))]} - (unchecked-get array idx)) - ([array idx & idxs] - (apply checked-aget' (checked-aget' array idx) idxs))) - -(defn- checked-aset' - ([array idx val] - {:pre [(or (array? array) (goog/isArrayLike array)) - (number? idx) (not (neg? idx)) (< idx (alength array))]} - (unchecked-set array idx val)) - ([array idx idx2 & idxv] - (apply checked-aset' (checked-aget' array idx) idx2 idxv))) - -(defn aget - "Returns the value at the index/indices. Works on JavaScript arrays." - ([array idx] - (cljs.core/aget array idx)) - ([array idx & idxs] - (apply aget (aget array idx) idxs))) - -(defn aset - "Sets the value at the index/indices. Works on JavaScript arrays. - Returns val." - ([array idx val] - (cljs.core/aset array idx val)) - ([array idx idx2 & idxv] - (apply aset (aget array idx) idx2 idxv))) - -(defn ^number alength - "Returns the length of the array. Works on arrays of all types." - [array] - (cljs.core/alength array)) - -(declare reduce) - -(defn ^array into-array - "Returns an array with components set to the values in aseq. Optional type - argument accepted for compatibility with Clojure." - ([aseq] - (into-array nil aseq)) - ([type aseq] - (reduce (fn [a x] (.push a x) a) (array) aseq))) - -(defn js-invoke - "Invoke JavaScript object method via string. Needed when the - string is not a valid unquoted property name." - [obj s & args] - (.apply (unchecked-get obj s) obj (into-array args))) - -;;;;;;;;;;;;;;;;;;;;;;;;;;; core protocols ;;;;;;;;;;;;; - -(defprotocol Fn - "Marker protocol") - -(defprotocol IFn - "Protocol for adding the ability to invoke an object as a function. - For example, a vector can also be used to look up a value: - ([1 2 3 4] 1) => 2" - (-invoke - [this] - [this a] - [this a b] - [this a b c] - [this a b c d] - [this a b c d e] - [this a b c d e f] - [this a b c d e f g] - [this a b c d e f g h] - [this a b c d e f g h i] - [this a b c d e f g h i j] - [this a b c d e f g h i j k] - [this a b c d e f g h i j k l] - [this a b c d e f g h i j k l m] - [this a b c d e f g h i j k l m n] - [this a b c d e f g h i j k l m n o] - [this a b c d e f g h i j k l m n o p] - [this a b c d e f g h i j k l m n o p q] - [this a b c d e f g h i j k l m n o p q r] - [this a b c d e f g h i j k l m n o p q r s] - [this a b c d e f g h i j k l m n o p q r s t] - [this a b c d e f g h i j k l m n o p q r s t rest])) - -(defprotocol ICloneable - "Protocol for cloning a value." - (^clj -clone [value] - "Creates a clone of value.")) - -(defprotocol ICounted - "Protocol for adding the ability to count a collection in constant time." - (^number -count [coll] - "Calculates the count of coll in constant time. Used by cljs.core/count.")) - -(defprotocol IEmptyableCollection - "Protocol for creating an empty collection." - (-empty [coll] - "Returns an empty collection of the same category as coll. Used - by cljs.core/empty.")) - -(defprotocol ICollection - "Protocol for adding to a collection." - (^clj -conj [coll o] - "Returns a new collection of coll with o added to it. The new item - should be added to the most efficient place, e.g. - (conj [1 2 3 4] 5) => [1 2 3 4 5] - (conj '(2 3 4 5) 1) => '(1 2 3 4 5)")) - -#_(defprotocol IOrdinal - (-index [coll])) - -(defprotocol IIndexed - "Protocol for collections to provide indexed-based access to their items." - (-nth [coll n] [coll n not-found] - "Returns the value at the index n in the collection coll. - Returns not-found if index n is out of bounds and not-found is supplied.")) - -(defprotocol ASeq - "Marker protocol indicating an array sequence.") - -(defprotocol ISeq - "Protocol for collections to provide access to their items as sequences." - (-first [coll] - "Returns the first item in the collection coll. Used by cljs.core/first.") - (^clj -rest [coll] - "Returns a new collection of coll without the first item. It should - always return a seq, e.g. - (rest []) => () - (rest nil) => ()")) - -(defprotocol INext - "Protocol for accessing the next items of a collection." - (^clj-or-nil -next [coll] - "Returns a new collection of coll without the first item. In contrast to - rest, it should return nil if there are no more items, e.g. - (next []) => nil - (next nil) => nil")) - -(defprotocol ILookup - "Protocol for looking up a value in a data structure." - (-lookup [o k] [o k not-found] - "Use k to look up a value in o. If not-found is supplied and k is not - a valid value that can be used for look up, not-found is returned.")) - -(defprotocol IAssociative - "Protocol for adding associativity to collections." - (^boolean -contains-key? [coll k] - "Returns true if k is a key in coll.") - #_(-entry-at [coll k]) - (^clj -assoc [coll k v] - "Returns a new collection of coll with a mapping from key k to - value v added to it.")) - -(defprotocol IFind - "Protocol for implementing entry finding in collections." - (-find [coll k] "Returns the map entry for key, or nil if key not present.")) - -(defprotocol IMap - "Protocol for adding mapping functionality to collections." - #_(-assoc-ex [coll k v]) - (^clj -dissoc [coll k] - "Returns a new collection of coll without the mapping for key k.")) - -(defprotocol IMapEntry - "Protocol for examining a map entry." - (-key [coll] - "Returns the key of the map entry.") - (-val [coll] - "Returns the value of the map entry.")) - -(defprotocol ISet - "Protocol for adding set functionality to a collection." - (^clj -disjoin [coll v] - "Returns a new collection of coll that does not contain v.")) - -(defprotocol IStack - "Protocol for collections to provide access to their items as stacks. The top - of the stack should be accessed in the most efficient way for the different - data structures." - (-peek [coll] - "Returns the item from the top of the stack. Is used by cljs.core/peek.") - (^clj -pop [coll] - "Returns a new stack without the item on top of the stack. Is used - by cljs.core/pop.")) - -(defprotocol IVector - "Protocol for adding vector functionality to collections." - (^clj -assoc-n [coll n val] - "Returns a new vector with value val added at position n.")) - -(defprotocol IDeref - "Protocol for adding dereference functionality to a reference." - (-deref [o] - "Returns the value of the reference o.")) - -(defprotocol IDerefWithTimeout - (-deref-with-timeout [o msec timeout-val])) - -(defprotocol IMeta - "Protocol for accessing the metadata of an object." - (^clj-or-nil -meta [o] - "Returns the metadata of object o.")) - -(defprotocol IWithMeta - "Protocol for adding metadata to an object." - (^clj -with-meta [o meta] - "Returns a new object with value of o and metadata meta added to it.")) - -(defprotocol IReduce - "Protocol for seq types that can reduce themselves. - Called by cljs.core/reduce." - (-reduce [coll f] [coll f start] - "f should be a function of 2 arguments. If start is not supplied, - returns the result of applying f to the first 2 items in coll, then - applying f to that result and the 3rd item, etc.")) - -(defprotocol IKVReduce - "Protocol for associative types that can reduce themselves - via a function of key and val. Called by cljs.core/reduce-kv." - (-kv-reduce [coll f init] - "Reduces an associative collection and returns the result. f should be - a function that takes three arguments.")) - -(defprotocol IEquiv - "Protocol for adding value comparison functionality to a type." - (^boolean -equiv [o other] - "Returns true if o and other are equal, false otherwise.")) - -(defprotocol IHash - "Protocol for adding hashing functionality to a type." - (-hash [o] - "Returns the hash code of o.")) - -(defprotocol ISeqable - "Protocol for adding the ability to a type to be transformed into a sequence." - (^clj-or-nil -seq [o] - "Returns a seq of o, or nil if o is empty.")) - -(defprotocol ISequential - "Marker interface indicating a persistent collection of sequential items") - -(defprotocol IList - "Marker interface indicating a persistent list") - -(defprotocol IRecord - "Marker interface indicating a record object") - -(defprotocol IReversible - "Protocol for reversing a seq." - (^clj -rseq [coll] - "Returns a seq of the items in coll in reversed order.")) - -(defprotocol ISorted - "Protocol for a collection which can represent their items - in a sorted manner. " - (^clj -sorted-seq [coll ascending?] - "Returns a sorted seq from coll in either ascending or descending order.") - (^clj -sorted-seq-from [coll k ascending?] - "Returns a sorted seq from coll in either ascending or descending order. - If ascending is true, the result should contain all items which are > or >= - than k. If ascending is false, the result should contain all items which - are < or <= than k, e.g. - (-sorted-seq-from (sorted-set 1 2 3 4 5) 3 true) => (3 4 5) - (-sorted-seq-from (sorted-set 1 2 3 4 5) 3 false) => (3 2 1)") - (-entry-key [coll entry] - "Returns the key for entry.") - (-comparator [coll] - "Returns the comparator for coll.")) - -(defprotocol IWriter - "Protocol for writing. Currently only implemented by StringBufferWriter." - (-write [writer s] - "Writes s with writer and returns the result.") - (-flush [writer] - "Flush writer.")) - -(defprotocol IPrintWithWriter - "The old IPrintable protocol's implementation consisted of building a giant - list of strings to concatenate. This involved lots of concat calls, - intermediate vectors, and lazy-seqs, and was very slow in some older JS - engines. IPrintWithWriter implements printing via the IWriter protocol, so it - be implemented efficiently in terms of e.g. a StringBuffer append." - (-pr-writer [o writer opts])) - -(defprotocol IPending - "Protocol for types which can have a deferred realization. Currently only - implemented by Delay and LazySeq." - (^boolean -realized? [x] - "Returns true if a value for x has been produced, false otherwise.")) - -(defprotocol IWatchable - "Protocol for types that can be watched. Currently only implemented by Atom." - (-notify-watches [this oldval newval] - "Calls all watchers with this, oldval and newval.") - (-add-watch [this key f] - "Adds a watcher function f to this. Keys must be unique per reference, - and can be used to remove the watch with -remove-watch.") - (-remove-watch [this key] - "Removes watcher that corresponds to key from this.")) - -(defprotocol IEditableCollection - "Protocol for collections which can transformed to transients." - (^clj -as-transient [coll] - "Returns a new, transient version of the collection, in constant time.")) - -(defprotocol ITransientCollection - "Protocol for adding basic functionality to transient collections." - (^clj -conj! [tcoll val] - "Adds value val to tcoll and returns tcoll.") - (^clj -persistent! [tcoll] - "Creates a persistent data structure from tcoll and returns it.")) - -(defprotocol ITransientAssociative - "Protocol for adding associativity to transient collections." - (^clj -assoc! [tcoll key val] - "Returns a new transient collection of tcoll with a mapping from key to - val added to it.")) - -(defprotocol ITransientMap - "Protocol for adding mapping functionality to transient collections." - (^clj -dissoc! [tcoll key] - "Returns a new transient collection of tcoll without the mapping for key.")) - -(defprotocol ITransientVector - "Protocol for adding vector functionality to transient collections." - (^clj -assoc-n! [tcoll n val] - "Returns tcoll with value val added at position n.") - (^clj -pop! [tcoll] - "Returns tcoll with the last item removed from it.")) - -(defprotocol ITransientSet - "Protocol for adding set functionality to a transient collection." - (^clj -disjoin! [tcoll v] - "Returns tcoll without v.")) - -(defprotocol IComparable - "Protocol for values that can be compared." - (^number -compare [x y] - "Returns a negative number, zero, or a positive number when x is logically - 'less than', 'equal to', or 'greater than' y.")) - -(defprotocol IChunk - "Protocol for accessing the items of a chunk." - (-drop-first [coll] - "Return a new chunk of coll with the first item removed.")) - -(defprotocol IChunkedSeq - "Protocol for accessing a collection as sequential chunks." - (-chunked-first [coll] - "Returns the first chunk in coll.") - (-chunked-rest [coll] - "Return a new collection of coll with the first chunk removed.")) - -(defprotocol IChunkedNext - "Protocol for accessing the chunks of a collection." - (-chunked-next [coll] - "Returns a new collection of coll without the first chunk.")) - -(defprotocol INamed - "Protocol for adding a name." - (^string -name [x] - "Returns the name String of x.") - (^string -namespace [x] - "Returns the namespace String of x.")) - -(defprotocol IAtom - "Marker protocol indicating an atom.") - -(defprotocol IReset - "Protocol for adding resetting functionality." - (-reset! [o new-value] - "Sets the value of o to new-value.")) - -(defprotocol ISwap - "Protocol for adding swapping functionality." - (-swap! [o f] [o f a] [o f a b] [o f a b xs] - "Swaps the value of o to be (apply f current-value-of-atom args).")) - -(defprotocol IVolatile - "Protocol for adding volatile functionality." - (-vreset! [o new-value] - "Sets the value of volatile o to new-value without regard for the - current value. Returns new-value.")) - -(defprotocol IIterable - "Protocol for iterating over a collection." - (-iterator [coll] - "Returns an iterator for coll.")) - -;; Printing support - -(deftype StringBufferWriter [sb] - IWriter - (-write [_ s] (.append sb s)) - (-flush [_] nil)) - -(defn pr-str* - "Support so that collections can implement toString without - loading all the printing machinery." - [^not-native obj] - (let [sb (StringBuffer.) - writer (StringBufferWriter. sb)] - (-pr-writer obj writer (pr-opts)) - (-flush writer) - (str sb))) - -;;;;;;;;;;;;;;;;;;; Murmur3 ;;;;;;;;;;;;;;; - -;;http://hg.openjdk.java.net/jdk7u/jdk7u6/jdk/file/8c2c5d63a17e/src/share/classes/java/lang/Integer.java -(defn ^number int-rotate-left [x n] - (bit-or - (bit-shift-left x n) - (unsigned-bit-shift-right x (- n)))) - -;; http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul -(if (and (exists? Math/imul) - (not (zero? (Math/imul 0xffffffff 5)))) - (defn ^number imul [a b] (Math/imul a b)) - (defn ^number imul [a b] - (let [ah (bit-and (unsigned-bit-shift-right a 16) 0xffff) - al (bit-and a 0xffff) - bh (bit-and (unsigned-bit-shift-right b 16) 0xffff) - bl (bit-and b 0xffff)] - (bit-or - (+ (* al bl) - (unsigned-bit-shift-right - (bit-shift-left (+ (* ah bl) (* al bh)) 16) 0)) 0)))) - -;; http://smhasher.googlecode.com/svn/trunk/MurmurHash3.cpp -(def m3-seed 0) -(def m3-C1 (int 0xcc9e2d51)) -(def m3-C2 (int 0x1b873593)) - -(defn ^number m3-mix-K1 [k1] - (-> (int k1) (imul m3-C1) (int-rotate-left 15) (imul m3-C2))) - -(defn ^number m3-mix-H1 [h1 k1] - (int (-> (int h1) (bit-xor (int k1)) (int-rotate-left 13) (imul 5) (+ (int 0xe6546b64))))) - -(defn ^number m3-fmix [h1 len] - (as-> (int h1) h1 - (bit-xor h1 len) - (bit-xor h1 (unsigned-bit-shift-right h1 16)) - (imul h1 (int 0x85ebca6b)) - (bit-xor h1 (unsigned-bit-shift-right h1 13)) - (imul h1 (int 0xc2b2ae35)) - (bit-xor h1 (unsigned-bit-shift-right h1 16)))) - -(defn ^number m3-hash-int [in] - (if (zero? in) - in - (let [k1 (m3-mix-K1 in) - h1 (m3-mix-H1 m3-seed k1)] - (m3-fmix h1 4)))) - -(defn ^number m3-hash-unencoded-chars [in] - (let [h1 (loop [i 1 h1 m3-seed] - (if (< i (.-length in)) - (recur (+ i 2) - (m3-mix-H1 h1 - (m3-mix-K1 - (bit-or (.charCodeAt in (dec i)) - (bit-shift-left (.charCodeAt in i) 16))))) - h1)) - h1 (if (== (bit-and (.-length in) 1) 1) - (bit-xor h1 (m3-mix-K1 (.charCodeAt in (dec (.-length in))))) - h1)] - (m3-fmix h1 (imul 2 (.-length in))))) - -;;;;;;;;;;;;;;;;;;; symbols ;;;;;;;;;;;;;;; - -(declare list Symbol = compare) - -;; Simple caching of string hashcode -(def string-hash-cache (js-obj)) -(def string-hash-cache-count 0) - -;;http://hg.openjdk.java.net/jdk7u/jdk7u6/jdk/file/8c2c5d63a17e/src/share/classes/java/lang/String.java -(defn hash-string* [s] - (if-not (nil? s) - (let [len (.-length s)] - (if (pos? len) - (loop [i 0 hash 0] - (if (< i len) - (recur (inc i) (+ (imul 31 hash) (.charCodeAt s i))) - hash)) - 0)) - 0)) - -(defn add-to-string-hash-cache [k] - (let [h (hash-string* k)] - (gobject/set string-hash-cache k h) - (set! string-hash-cache-count (inc string-hash-cache-count)) - h)) - -(defn hash-string [k] - (when (> string-hash-cache-count 255) - (set! string-hash-cache (js-obj)) - (set! string-hash-cache-count 0)) - (if (nil? k) - 0 - (let [h (unchecked-get string-hash-cache k)] - (if (number? h) - h - (add-to-string-hash-cache k))))) - -(defn hash - "Returns the hash code of its argument. Note this is the hash code - consistent with =." - [o] - (cond - (implements? IHash o) - (bit-xor (-hash ^not-native o) 0) - - (number? o) - (if (js/isFinite o) - (js-mod (Math/floor o) 2147483647) - (case o - ##Inf - 2146435072 - ##-Inf - -1048576 - 2146959360)) - - ;; note: mirrors Clojure's behavior on the JVM, where the hashCode is - ;; 1231 for true and 1237 for false - ;; http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html#hashCode%28%29 - (true? o) 1231 - - (false? o) 1237 - - (string? o) - (m3-hash-int (hash-string o)) - - (instance? js/Date o) - (bit-xor (.valueOf o) 0) - - (nil? o) 0 - - :else - (bit-xor (-hash o) 0))) - -(defn hash-combine [seed hash] - ; a la boost - (bit-xor seed - (+ hash 0x9e3779b9 - (bit-shift-left seed 6) - (bit-shift-right seed 2)))) - -(defn ^boolean instance? - "Evaluates x and tests if it is an instance of the type - c. Returns true or false" - [c x] - (cljs.core/instance? c x)) - -(defn ^boolean symbol? - "Return true if x is a Symbol" - [x] - (instance? Symbol x)) - -(defn- hash-symbol [sym] - (hash-combine - (m3-hash-unencoded-chars (.-name sym)) - (hash-string (.-ns sym)))) - -(defn- compare-symbols [a b] - (cond - (identical? (.-str a) (.-str b)) 0 - (and (not (.-ns a)) (.-ns b)) -1 - (.-ns a) (if-not (.-ns b) - 1 - (let [nsc (garray/defaultCompare (.-ns a) (.-ns b))] - (if (== 0 nsc) - (garray/defaultCompare (.-name a) (.-name b)) - nsc))) - :default (garray/defaultCompare (.-name a) (.-name b)))) - -(declare get) - -(deftype Symbol [ns name str ^:mutable _hash _meta] - Object - (toString [_] str) - (equiv [this other] (-equiv this other)) - - IEquiv - (-equiv [_ other] - (if (instance? Symbol other) - (identical? str (.-str other)) - false)) - - IFn - (-invoke [sym coll] - (get coll sym)) - (-invoke [sym coll not-found] - (get coll sym not-found)) - - IMeta - (-meta [_] _meta) - - IWithMeta - (-with-meta [_ new-meta] (Symbol. ns name str _hash new-meta)) - - IHash - (-hash [sym] - (caching-hash sym hash-symbol _hash)) - - INamed - (-name [_] name) - (-namespace [_] ns) - - IPrintWithWriter - (-pr-writer [o writer _] (-write writer str))) - -(defn symbol - "Returns a Symbol with the given namespace and name." - ([name] - (if (symbol? name) - name - (let [idx (.indexOf name "/")] - (if (< idx 1) - (symbol nil name) - (symbol (.substring name 0 idx) - (.substring name (inc idx) (. name -length))))))) - ([ns name] - (let [sym-str (if-not (nil? ns) - (str ns "/" name) - name)] - (Symbol. ns name sym-str nil nil)))) - -(deftype Var [val sym _meta] - Object - (isMacro [_] - (. (val) -cljs$lang$macro)) - (toString [_] - (str "#'" sym)) - IDeref - (-deref [_] (val)) - IMeta - (-meta [_] _meta) - IWithMeta - (-with-meta [_ new-meta] - (Var. val sym new-meta)) - IEquiv - (-equiv [this other] - (if (instance? Var other) - (= (.-sym this) (.-sym other)) - false)) - IHash - (-hash [_] - (hash-symbol sym)) - Fn - IFn - (-invoke [_] - ((val))) - (-invoke [_ a] - ((val) a)) - (-invoke [_ a b] - ((val) a b)) - (-invoke [_ a b c] - ((val) a b c)) - (-invoke [_ a b c d] - ((val) a b c d)) - (-invoke [_ a b c d e] - ((val) a b c d e)) - (-invoke [_ a b c d e f] - ((val) a b c d e f)) - (-invoke [_ a b c d e f g] - ((val) a b c d e f g)) - (-invoke [_ a b c d e f g h] - ((val) a b c d e f g h)) - (-invoke [_ a b c d e f g h i] - ((val) a b c d e f g h i)) - (-invoke [_ a b c d e f g h i j] - ((val) a b c d e f g h i j)) - (-invoke [_ a b c d e f g h i j k] - ((val) a b c d e f g h i j k)) - (-invoke [_ a b c d e f g h i j k l] - ((val) a b c d e f g h i j k l)) - (-invoke [_ a b c d e f g h i j k l m] - ((val) a b c d e f g h i j k l m)) - (-invoke [_ a b c d e f g h i j k l m n] - ((val) a b c d e f g h i j k l m n)) - (-invoke [_ a b c d e f g h i j k l m n o] - ((val) a b c d e f g h i j k l m n o)) - (-invoke [_ a b c d e f g h i j k l m n o p] - ((val) a b c d e f g h i j k l m n o p)) - (-invoke [_ a b c d e f g h i j k l m n o p q] - ((val) a b c d e f g h i j k l m n o p q)) - (-invoke [_ a b c d e f g h i j k l m n o p q r] - ((val) a b c d e f g h i j k l m n o p q r)) - (-invoke [_ a b c d e f g h i j k l m n o p q r s] - ((val) a b c d e f g h i j k l m n o p q r s)) - (-invoke [_ a b c d e f g h i j k l m n o p q r s t] - ((val) a b c d e f g h i j k l m n o p q r s t)) - (-invoke [_ a b c d e f g h i j k l m n o p q r s t rest] - (apply (val) a b c d e f g h i j k l m n o p q r s t rest))) - -(defn ^boolean var? - "Returns true if v is of type cljs.core.Var" - [v] - (instance? cljs.core.Var v)) - -;;;;;;;;;;;;;;;;;;; fundamentals ;;;;;;;;;;;;;;; - -(declare array-seq prim-seq IndexedSeq) - -(defn ^boolean iterable? - "Return true if x implements IIterable protocol." - [x] - (satisfies? IIterable x)) - -(defn clone - "Clone the supplied value which must implement ICloneable." - [value] - (-clone value)) - -(defn ^boolean cloneable? - "Return true if x implements ICloneable protocol." - [value] - (satisfies? ICloneable value)) - -(defn ^seq seq - "Returns a seq on the collection. If the collection is - empty, returns nil. (seq nil) returns nil. seq also works on - Strings." - [coll] - (when-not (nil? coll) - (cond - (implements? ISeqable coll) - (-seq ^not-native coll) - - (array? coll) - (when-not (zero? (alength coll)) - (IndexedSeq. coll 0 nil)) - - (string? coll) - (when-not (zero? (.-length coll)) - (IndexedSeq. coll 0 nil)) - - (native-satisfies? ISeqable coll) - (-seq coll) - - :else (throw (js/Error. (str coll " is not ISeqable")))))) - -(defn first - "Returns the first item in the collection. Calls seq on its - argument. If coll is nil, returns nil." - [coll] - (when-not (nil? coll) - (if (implements? ISeq coll) - (-first ^not-native coll) - (let [s (seq coll)] - (when-not (nil? s) - (-first s)))))) - -(defn ^seq rest - "Returns a possibly empty seq of the items after the first. Calls seq on its - argument." - [coll] - (if-not (nil? coll) - (if (implements? ISeq coll) - (-rest ^not-native coll) - (let [s (seq coll)] - (if s - (-rest ^not-native s) - ()))) - ())) - -(defn ^seq next - "Returns a seq of the items after the first. Calls seq on its - argument. If there are no more items, returns nil" - [coll] - (when-not (nil? coll) - (if (implements? INext coll) - (-next ^not-native coll) - (seq (rest coll))))) - -(defn ^boolean = - "Equality. Returns true if x equals y, false if not. Compares - numbers and collections in a type-independent manner. Clojure's immutable data - structures define -equiv (and thus =) as a value, not an identity, - comparison." - ([x] true) - ([x y] - (if (nil? x) - (nil? y) - (or (identical? x y) - ^boolean (-equiv x y)))) - ([x y & more] - (if (= x y) - (if (next more) - (recur y (first more) (next more)) - (= y (first more))) - false))) - -;; EXPERIMENTAL: subject to change -(deftype ES6Iterator [^:mutable s] - Object - (next [_] - (if-not (nil? s) - (let [x (first s)] - (set! s (next s)) - #js {:value x :done false}) - #js {:value nil :done true}))) - -(defn es6-iterator - "EXPERIMENTAL: Return a ES2015 compatible iterator for coll." - [coll] - (ES6Iterator. (seq coll))) - -(declare es6-iterator-seq) - -(deftype ES6IteratorSeq [value iter ^:mutable _rest] - ISeqable - (-seq [this] this) - ISeq - (-first [_] value) - (-rest [_] - (when (nil? _rest) - (set! _rest (es6-iterator-seq iter))) - _rest)) - -(defn es6-iterator-seq - "EXPERIMENTAL: Given an ES2015 compatible iterator return a seq." - [iter] - (let [v (.next iter)] - (if (.-done v) - () - (ES6IteratorSeq. (.-value v) iter nil)))) - -;;;;;;;;;;;;;;;;;;; Murmur3 Helpers ;;;;;;;;;;;;;;;; - -(defn ^number mix-collection-hash - "Mix final collection hash for ordered or unordered collections. - hash-basis is the combined collection hash, count is the number - of elements included in the basis. Note this is the hash code - consistent with =, different from .hashCode. - See http://clojure.org/data_structures#hash for full algorithms." - [hash-basis count] - (let [h1 m3-seed - k1 (m3-mix-K1 hash-basis) - h1 (m3-mix-H1 h1 k1)] - (m3-fmix h1 count))) - -(defn ^number hash-ordered-coll - "Returns the hash code, consistent with =, for an external ordered - collection implementing Iterable. - See http://clojure.org/data_structures#hash for full algorithms." - [coll] - (loop [n 0 hash-code 1 coll (seq coll)] - (if-not (nil? coll) - (recur (inc n) (bit-or (+ (imul 31 hash-code) (hash (first coll))) 0) - (next coll)) - (mix-collection-hash hash-code n)))) - -(def ^:private empty-ordered-hash - (mix-collection-hash 1 0)) - -(defn ^number hash-unordered-coll - "Returns the hash code, consistent with =, for an external unordered - collection implementing Iterable. For maps, the iterator should - return map entries whose hash is computed as - (hash-ordered-coll [k v]). - See http://clojure.org/data_structures#hash for full algorithms." - [coll] - (loop [n 0 hash-code 0 coll (seq coll)] - (if-not (nil? coll) - (recur (inc n) (bit-or (+ hash-code (hash (first coll))) 0) (next coll)) - (mix-collection-hash hash-code n)))) - -(def ^:private empty-unordered-hash - (mix-collection-hash 0 0)) - -;;;;;;;;;;;;;;;;;;; protocols on primitives ;;;;;;;; -(declare hash-map list equiv-sequential) - -(extend-type nil - ICounted - (-count [_] 0)) - -;; TODO: we should remove this and handle date equality checking -;; by some other means, probably by adding a new primitive type -;; case to the hash table lookup - David - -(extend-type js/Date - IEquiv - (-equiv [o other] - (and (instance? js/Date other) - (== (.valueOf o) (.valueOf other)))) - - IComparable - (-compare [this other] - (if (instance? js/Date other) - (garray/defaultCompare (.valueOf this) (.valueOf other)) - (throw (js/Error. (str "Cannot compare " this " to " other)))))) - -(defprotocol Inst - (inst-ms* [inst])) - -(extend-protocol Inst - js/Date - (inst-ms* [inst] (.getTime inst))) - -(defn inst-ms - "Return the number of milliseconds since January 1, 1970, 00:00:00 GMT" - [inst] - (inst-ms* inst)) - -(defn ^boolean inst? - "Return true if x satisfies Inst" - [x] - (satisfies? Inst x)) - -(extend-type number - IEquiv - (-equiv [x o] (identical? x o))) - -(declare with-meta) - -(extend-type function - Fn - IMeta - (-meta [_] nil)) - -(extend-type default - IHash - (-hash [o] - (goog/getUid o))) - -;;this is primitive because & emits call to array-seq -(defn inc - "Returns a number one greater than num." - [x] (cljs.core/+ x 1)) - -(declare deref) - -(deftype Reduced [val] - IDeref - (-deref [o] val)) - -(defn reduced - "Wraps x in a way such that a reduce will terminate with the value x" - [x] - (Reduced. x)) - -(defn ^boolean reduced? - "Returns true if x is the result of a call to reduced" - [r] - (instance? Reduced r)) - -(defn ensure-reduced - "If x is already reduced?, returns it, else returns (reduced x)" - [x] - (if (reduced? x) x (reduced x))) - -(defn unreduced - "If x is reduced?, returns (deref x), else returns x" - [x] - (if (reduced? x) (deref x) x)) - -;; generic to all refs -;; (but currently hard-coded to atom!) -(defn deref - "Also reader macro: @var/@atom/@delay. Returns the - most-recently-committed value of ref. When applied to a var - or atom, returns its current state. When applied to a delay, forces - it if not already forced. See also - realized?." - [o] - (-deref o)) - -(defn- ci-reduce - "Accepts any collection which satisfies the ICount and IIndexed protocols and -reduces them without incurring seq initialization" - ([cicoll f] - (let [cnt (-count cicoll)] - (if (zero? cnt) - (f) - (loop [val (-nth cicoll 0), n 1] - (if (< n cnt) - (let [nval (f val (-nth cicoll n))] - (if (reduced? nval) - @nval - (recur nval (inc n)))) - val))))) - ([cicoll f val] - (let [cnt (-count cicoll)] - (loop [val val, n 0] - (if (< n cnt) - (let [nval (f val (-nth cicoll n))] - (if (reduced? nval) - @nval - (recur nval (inc n)))) - val)))) - ([cicoll f val idx] - (let [cnt (-count cicoll)] - (loop [val val, n idx] - (if (< n cnt) - (let [nval (f val (-nth cicoll n))] - (if (reduced? nval) - @nval - (recur nval (inc n)))) - val))))) - -(defn- array-reduce - ([arr f] - (let [cnt (alength arr)] - (if (zero? (alength arr)) - (f) - (loop [val (aget arr 0), n 1] - (if (< n cnt) - (let [nval (f val (aget arr n))] - (if (reduced? nval) - @nval - (recur nval (inc n)))) - val))))) - ([arr f val] - (let [cnt (alength arr)] - (loop [val val, n 0] - (if (< n cnt) - (let [nval (f val (aget arr n))] - (if (reduced? nval) - @nval - (recur nval (inc n)))) - val)))) - ([arr f val idx] - (let [cnt (alength arr)] - (loop [val val, n idx] - (if (< n cnt) - (let [nval (f val (aget arr n))] - (if (reduced? nval) - @nval - (recur nval (inc n)))) - val))))) - -(declare hash-coll cons drop count nth RSeq List) - -(defn ^boolean counted? - "Returns true if coll implements count in constant time" - [x] (satisfies? ICounted x)) - -(defn ^boolean indexed? - "Returns true if coll implements nth in constant time" - [x] (satisfies? IIndexed x)) - -(defn- -indexOf - ([coll x] - (-indexOf coll x 0)) - ([coll x start] - (let [len (count coll)] - (if (>= start len) - -1 - (loop [idx (cond - (pos? start) start - (neg? start) (max 0 (+ start len)) - :else start)] - (if (< idx len) - (if (= (nth coll idx) x) - idx - (recur (inc idx))) - -1)))))) - -(defn- -lastIndexOf - ([coll x] - (-lastIndexOf coll x (count coll))) - ([coll x start] - (let [len (count coll)] - (if (zero? len) - -1 - (loop [idx (cond - (pos? start) (min (dec len) start) - (neg? start) (+ len start) - :else start)] - (if (>= idx 0) - (if (= (nth coll idx) x) - idx - (recur (dec idx))) - -1)))))) - -(deftype IndexedSeqIterator [arr ^:mutable i] - Object - (hasNext [_] - (< i (alength arr))) - (next [_] - (let [ret (aget arr i)] - (set! i (inc i)) - ret))) - -(deftype IndexedSeq [arr i meta] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - ICloneable - (-clone [_] (IndexedSeq. arr i meta)) - - ISeqable - (-seq [this] - (when (< i (alength arr)) - this)) - - IMeta - (-meta [coll] meta) - IWithMeta - (-with-meta [coll new-meta] - (IndexedSeq. arr i new-meta)) - - ASeq - ISeq - (-first [_] (aget arr i)) - (-rest [_] (if (< (inc i) (alength arr)) - (IndexedSeq. arr (inc i) nil) - (list))) - - INext - (-next [_] (if (< (inc i) (alength arr)) - (IndexedSeq. arr (inc i) nil) - nil)) - - ICounted - (-count [_] - (max 0 (- (alength arr) i))) - - IIndexed - (-nth [coll n] - (let [i (+ n i)] - (if (and (<= 0 i) (< i (alength arr))) - (aget arr i) - (throw (js/Error. "Index out of bounds"))))) - (-nth [coll n not-found] - (let [i (+ n i)] - (if (and (<= 0 i) (< i (alength arr))) - (aget arr i) - not-found))) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IIterable - (-iterator [coll] - (IndexedSeqIterator. arr i)) - - ICollection - (-conj [coll o] (cons o coll)) - - IEmptyableCollection - (-empty [coll] (.-EMPTY List)) - - IReduce - (-reduce [coll f] - (array-reduce arr f (aget arr i) (inc i))) - (-reduce [coll f start] - (array-reduce arr f start i)) - - IHash - (-hash [coll] (hash-ordered-coll coll)) - - IReversible - (-rseq [coll] - (let [c (-count coll)] - (if (pos? c) - (RSeq. coll (dec c) nil))))) - -(es6-iterable IndexedSeq) - -(defn prim-seq - "Create seq from a primitive JavaScript Array-like." - ([prim] - (prim-seq prim 0)) - ([prim i] - (when (< i (alength prim)) - (IndexedSeq. prim i nil)))) - -(defn array-seq - "Create a seq from a JavaScript array." - ([array] - (prim-seq array 0)) - ([array i] - (prim-seq array i))) - -(declare with-meta seq-reduce) - -(deftype RSeq [ci i meta] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - ICloneable - (-clone [_] (RSeq. ci i meta)) - - IMeta - (-meta [coll] meta) - IWithMeta - (-with-meta [coll new-meta] - (RSeq. ci i new-meta)) - - ISeqable - (-seq [coll] coll) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - ISeq - (-first [coll] - (-nth ci i)) - (-rest [coll] - (if (pos? i) - (RSeq. ci (dec i) nil) - ())) - - INext - (-next [coll] - (when (pos? i) - (RSeq. ci (dec i) nil))) - - ICounted - (-count [coll] (inc i)) - - ICollection - (-conj [coll o] - (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - IHash - (-hash [coll] (hash-ordered-coll coll)) - - IReduce - (-reduce [col f] (seq-reduce f col)) - (-reduce [col f start] (seq-reduce f start col))) - -(es6-iterable RSeq) - -(defn second - "Same as (first (next x))" - [coll] - (first (next coll))) - -(defn ffirst - "Same as (first (first x))" - [coll] - (first (first coll))) - -(defn nfirst - "Same as (next (first x))" - [coll] - (next (first coll))) - -(defn fnext - "Same as (first (next x))" - [coll] - (first (next coll))) - -(defn nnext - "Same as (next (next x))" - [coll] - (next (next coll))) - -(defn last - "Return the last item in coll, in linear time" - [s] - (let [sn (next s)] - (if-not (nil? sn) - (recur sn) - (first s)))) - -(extend-type default - IEquiv - (-equiv [x o] (identical? x o))) - -(defn conj - "conj[oin]. Returns a new collection with the xs - 'added'. (conj nil item) returns (item). The 'addition' may - happen at different 'places' depending on the concrete type." - ([] []) - ([coll] coll) - ([coll x] - (if-not (nil? coll) - (-conj coll x) - (list x))) - ([coll x & xs] - (if xs - (recur (conj coll x) (first xs) (next xs)) - (conj coll x)))) - -(defn empty - "Returns an empty collection of the same category as coll, or nil" - [coll] - (when-not (nil? coll) - (-empty coll))) - -(defn- accumulating-seq-count [coll] - (loop [s (seq coll) acc 0] - (if (counted? s) ; assumes nil is counted, which it currently is - (+ acc (-count s)) - (recur (next s) (inc acc))))) - -(defn count - "Returns the number of items in the collection. (count nil) returns - 0. Also works on strings, arrays, and Maps" - [coll] - (if-not (nil? coll) - (cond - (implements? ICounted coll) - (-count ^not-native coll) - - (array? coll) - (alength coll) - - (string? coll) - (.-length coll) - - (implements? ISeqable coll) - (accumulating-seq-count coll) - - :else (-count coll)) - 0)) - -(defn- linear-traversal-nth - ([coll n] - (cond - (nil? coll) (throw (js/Error. "Index out of bounds")) - (zero? n) (if (seq coll) - (first coll) - (throw (js/Error. "Index out of bounds"))) - (indexed? coll) (-nth coll n) - (seq coll) (recur (next coll) (dec n)) - :else (throw (js/Error. "Index out of bounds")))) - ([coll n not-found] - (cond - (nil? coll) not-found - (zero? n) (if (seq coll) - (first coll) - not-found) - (indexed? coll) (-nth coll n not-found) - (seq coll) (recur (next coll) (dec n) not-found) - :else not-found))) - -(defn nth - "Returns the value at the index. get returns nil if index out of - bounds, nth throws an exception unless not-found is supplied. nth - also works for strings, arrays, regex Matchers and Lists, and, - in O(n) time, for sequences." - ([coll n] - (cond - (not (number? n)) - (throw (js/Error. "Index argument to nth must be a number")) - - (nil? coll) - coll - - (implements? IIndexed coll) - (-nth ^not-native coll n) - - (array? coll) - (if (and (>= n 0) (< n (.-length coll))) - (aget coll n) - (throw (js/Error. "Index out of bounds"))) - - (string? coll) - (if (and (>= n 0) (< n (.-length coll))) - (.charAt coll n) - (throw (js/Error. "Index out of bounds"))) - - (or (implements? ISeq coll) - (implements? ISequential coll)) - (if (neg? n) - (throw (js/Error. "Index out of bounds")) - (linear-traversal-nth coll n)) - - (native-satisfies? IIndexed coll) - (-nth coll n) - - :else - (throw (js/Error. (str "nth not supported on this type " - (type->str (type coll))))))) - ([coll n not-found] - (cond - (not (number? n)) - (throw (js/Error. "Index argument to nth must be a number.")) - - (nil? coll) - not-found - - (implements? IIndexed coll) - (-nth ^not-native coll n not-found) - - (array? coll) - (if (and (>= n 0) (< n (.-length coll))) - (aget coll n) - not-found) - - (string? coll) - (if (and (>= n 0) (< n (.-length coll))) - (.charAt coll n) - not-found) - - (or (implements? ISeq coll) - (implements? ISequential coll)) - (if (neg? n) - not-found - (linear-traversal-nth coll n not-found)) - - (native-satisfies? IIndexed coll) - (-nth coll n not-found) - - :else - (throw (js/Error. (str "nth not supported on this type " - (type->str (type coll)))))))) - -(defn nthrest - "Returns the nth rest of coll, coll when n is 0." - [coll n] - (loop [n n xs coll] - (if-let [xs (and (pos? n) (seq xs))] - (recur (dec n) (rest xs)) - xs))) - -(defn get - "Returns the value mapped to key, not-found or nil if key not present." - ([o k] - (when-not (nil? o) - (cond - (implements? ILookup o) - (-lookup ^not-native o k) - - (array? o) - (when (and (some? k) (< k (.-length o))) - (aget o (int k))) - - (string? o) - (when (and (some? k) (< k (.-length o))) - (.charAt o (int k))) - - (native-satisfies? ILookup o) - (-lookup o k) - - :else nil))) - ([o k not-found] - (if-not (nil? o) - (cond - (implements? ILookup o) - (-lookup ^not-native o k not-found) - - (array? o) - (if (and (some? k) (>= k 0) (< k (.-length o))) - (aget o (int k)) - not-found) - - (string? o) - (if (and (some? k) (>= k 0) (< k (.-length o))) - (.charAt o (int k)) - not-found) - - (native-satisfies? ILookup o) - (-lookup o k not-found) - - :else not-found) - not-found))) - -(declare PersistentHashMap PersistentArrayMap MapEntry) - -(defn assoc - "assoc[iate]. When applied to a map, returns a new map of the - same (hashed/sorted) type, that contains the mapping of key(s) to - val(s). When applied to a vector, returns a new vector that - contains val at index." - ([coll k v] - (if-not (nil? coll) - (-assoc coll k v) - (array-map k v))) - ([coll k v & kvs] - (let [ret (assoc coll k v)] - (if kvs - (recur ret (first kvs) (second kvs) (nnext kvs)) - ret)))) - -(defn dissoc - "dissoc[iate]. Returns a new map of the same (hashed/sorted) type, - that does not contain a mapping for key(s)." - ([coll] coll) - ([coll k] - (when-not (nil? coll) - (-dissoc coll k))) - ([coll k & ks] - (when-not (nil? coll) - (let [ret (dissoc coll k)] - (if ks - (recur ret (first ks) (next ks)) - ret))))) - -(defn ^boolean fn? - "Return true if f is a JavaScript function or satisfies the Fn protocol." - [f] - (or ^boolean (goog/isFunction f) (satisfies? Fn f))) - -(deftype MetaFn [afn meta] - IMeta - (-meta [_] meta) - IWithMeta - (-with-meta [_ new-meta] - (MetaFn. afn new-meta)) - Fn - IFn - (-invoke [_] - (afn)) - (-invoke [_ a] - (afn a)) - (-invoke [_ a b] - (afn a b)) - (-invoke [_ a b c] - (afn a b c)) - (-invoke [_ a b c d] - (afn a b c d)) - (-invoke [_ a b c d e] - (afn a b c d e)) - (-invoke [_ a b c d e f] - (afn a b c d e f)) - (-invoke [_ a b c d e f g] - (afn a b c d e f g)) - (-invoke [_ a b c d e f g h] - (afn a b c d e f g h)) - (-invoke [_ a b c d e f g h i] - (afn a b c d e f g h i)) - (-invoke [_ a b c d e f g h i j] - (afn a b c d e f g h i j)) - (-invoke [_ a b c d e f g h i j k] - (afn a b c d e f g h i j k)) - (-invoke [_ a b c d e f g h i j k l] - (afn a b c d e f g h i j k l)) - (-invoke [_ a b c d e f g h i j k l m] - (afn a b c d e f g h i j k l m)) - (-invoke [_ a b c d e f g h i j k l m n] - (afn a b c d e f g h i j k l m n)) - (-invoke [_ a b c d e f g h i j k l m n o] - (afn a b c d e f g h i j k l m n o)) - (-invoke [_ a b c d e f g h i j k l m n o p] - (afn a b c d e f g h i j k l m n o p)) - (-invoke [_ a b c d e f g h i j k l m n o p q] - (afn a b c d e f g h i j k l m n o p q)) - (-invoke [_ a b c d e f g h i j k l m n o p q r] - (afn a b c d e f g h i j k l m n o p q r)) - (-invoke [_ a b c d e f g h i j k l m n o p q r s] - (afn a b c d e f g h i j k l m n o p q r s)) - (-invoke [_ a b c d e f g h i j k l m n o p q r s t] - (afn a b c d e f g h i j k l m n o p q r s t)) - (-invoke [_ a b c d e f g h i j k l m n o p q r s t rest] - (apply afn a b c d e f g h i j k l m n o p q r s t rest))) - -(defn with-meta - "Returns an object of the same type and value as obj, with - map m as its metadata." - [o meta] - (if ^boolean (goog/isFunction o) - (MetaFn. o meta) - (when-not (nil? o) - (-with-meta o meta)))) - -(defn meta - "Returns the metadata of obj, returns nil if there is no metadata." - [o] - (when (and (not (nil? o)) - (satisfies? IMeta o)) - (-meta o))) - -(defn peek - "For a list or queue, same as first, for a vector, same as, but much - more efficient than, last. If the collection is empty, returns nil." - [coll] - (when-not (nil? coll) - (-peek coll))) - -(defn pop - "For a list or queue, returns a new list/queue without the first - item, for a vector, returns a new vector without the last item. - Note - not the same as next/butlast." - [coll] - (when-not (nil? coll) - (-pop coll))) - -(defn disj - "disj[oin]. Returns a new set of the same (hashed/sorted) type, that - does not contain key(s)." - ([coll] coll) - ([coll k] - (when-not (nil? coll) - (-disjoin coll k))) - ([coll k & ks] - (when-not (nil? coll) - (let [ret (disj coll k)] - (if ks - (recur ret (first ks) (next ks)) - ret))))) - -(defn ^boolean empty? - "Returns true if coll has no items - same as (not (seq coll)). - Please use the idiom (seq x) rather than (not (empty? x))" - [coll] (or (nil? coll) - (not (seq coll)))) - -(defn ^boolean coll? - "Returns true if x satisfies ICollection" - [x] - (if (nil? x) - false - (satisfies? ICollection x))) - -(defn ^boolean set? - "Returns true if x satisfies ISet" - [x] - (if (nil? x) - false - (satisfies? ISet x))) - -(defn ^boolean associative? - "Returns true if coll implements IAssociative" - [x] (satisfies? IAssociative x)) - -(defn ^boolean ifind? - "Returns true if coll implements IFind" - [x] (satisfies? IFind x)) - -(defn ^boolean sequential? - "Returns true if coll satisfies ISequential" - [x] (satisfies? ISequential x)) - -(defn ^boolean sorted? - "Returns true if coll satisfies ISorted" - [x] (satisfies? ISorted x)) - -(defn ^boolean reduceable? - "Returns true if coll satisfies IReduce" - [x] (satisfies? IReduce x)) - -(defn ^boolean map? - "Return true if x satisfies IMap" - [x] - (if (nil? x) - false - (satisfies? IMap x))) - -(defn ^boolean record? - "Return true if x satisfies IRecord" - [x] - (satisfies? IRecord x)) - -(defn ^boolean vector? - "Return true if x satisfies IVector" - [x] (satisfies? IVector x)) - -(declare ChunkedCons ChunkedSeq) - -(defn ^boolean chunked-seq? - "Return true if x is satisfies IChunkedSeq." - [x] (implements? IChunkedSeq x)) - -;;;;;;;;;;;;;;;;;;;; js primitives ;;;;;;;;;;;; -(defn js-obj - "Create JavaSript object from an even number arguments representing - interleaved keys and values." - ([] - (cljs.core/js-obj)) - ([& keyvals] - (apply gobject/create keyvals))) - -(defn js-keys - "Return the JavaScript keys for an object." - [obj] - (gobject/getKeys obj)) - -(defn js-delete - "Delete a property from a JavaScript object. - Returns true upon success, false otherwise." - [obj key] - (cljs.core/js-delete obj key)) - -(defn- array-copy - ([from i to j len] - (loop [i i j j len len] - (if (zero? len) - to - (do (aset to j (aget from i)) - (recur (inc i) (inc j) (dec len))))))) - -(defn- array-copy-downward - ([from i to j len] - (loop [i (+ i (dec len)) j (+ j (dec len)) len len] - (if (zero? len) - to - (do (aset to j (aget from i)) - (recur (dec i) (dec j) (dec len))))))) - -;;;;;;;;;;;;;;;; preds ;;;;;;;;;;;;;;;;;; - -(def ^:private lookup-sentinel (js-obj)) - -(defn ^boolean false? - "Returns true if x is the value false, false otherwise." - [x] (cljs.core/false? x)) - -(defn ^boolean true? - "Returns true if x is the value true, false otherwise." - [x] (cljs.core/true? x)) - -(defn ^boolean boolean? - "Return true if x is a Boolean" - [x] (or (cljs.core/true? x) (cljs.core/false? x))) - -(defn ^boolean undefined? - "Returns true if x identical to the JavaScript undefined value." - [x] - (cljs.core/undefined? x)) - -(defn ^boolean seq? - "Return true if s satisfies ISeq" - [s] - (if (nil? s) - false - (satisfies? ISeq s))) - -(defn ^boolean seqable? - "Return true if the seq function is supported for s" - [s] - (or - (nil? s) - (satisfies? ISeqable s) - (array? s) - (string? s))) - -(defn ^boolean boolean - "Coerce to boolean" - [x] - (cond - (nil? x) false - (false? x) false - :else true)) - -(defn ^boolean ifn? - "Returns true if f returns true for fn? or satisfies IFn." - [f] - (or (fn? f) (satisfies? IFn f))) - -(defn ^boolean integer? - "Returns true if n is a JavaScript number with no decimal part." - [n] - (and (number? n) - (not ^boolean (js/isNaN n)) - (not (identical? n js/Infinity)) - (== (js/parseFloat n) (js/parseInt n 10)))) - -(defn ^boolean int? - "Return true if x satisfies integer? or is an instance of goog.math.Integer - or goog.math.Long." - [x] - (or (integer? x) - (instance? goog.math.Integer x) - (instance? goog.math.Long x))) - -(defn ^boolean pos-int? - "Return true if x satisfies int? and is positive." - [x] - (cond - (integer? x) (pos? x) - - (instance? goog.math.Integer x) - (and (not (.isNegative x)) - (not (.isZero x))) - - (instance? goog.math.Long x) - (and (not (.isNegative x)) - (not (.isZero x))) - - :else false)) - -(defn ^boolean neg-int? - "Return true if x satisfies int? and is negative." - [x] - (cond - (integer? x) (neg? x) - - (instance? goog.math.Integer x) - (.isNegative x) - - (instance? goog.math.Long x) - (.isNegative x) - - :else false)) - -(defn ^boolean nat-int? - "Return true if x satisfies int? and is a natural integer value." - [x] - (cond - (integer? x) - (not (neg? x)) - - (instance? goog.math.Integer x) - (not (.isNegative x)) - - (instance? goog.math.Long x) - (not (.isNegative x)) - - :else false)) - -(defn ^boolean float? - "Returns true for JavaScript numbers, false otherwise." - [x] - (number? x)) - -(defn ^boolean double? - "Returns true for JavaScript numbers, false otherwise." - [x] - (number? x)) - -(defn ^boolean infinite? - "Returns true for Infinity and -Infinity values." - [x] - (or (identical? x js/Number.POSITIVE_INFINITY) - (identical? x js/Number.NEGATIVE_INFINITY))) - -(defn ^boolean contains? - "Returns true if key is present in the given collection, otherwise - returns false. Note that for numerically indexed collections like - vectors and arrays, this tests if the numeric key is within the - range of indexes. 'contains?' operates constant or logarithmic time; - it will not perform a linear search for a value. See also 'some'." - [coll v] - (if (identical? (get coll v lookup-sentinel) lookup-sentinel) - false - true)) - -(defn find - "Returns the map entry for key, or nil if key not present." - [coll k] - (if (ifind? coll) - (-find coll k) - (when (and (not (nil? coll)) - (associative? coll) - (contains? coll k)) - (MapEntry. k (get coll k) nil)))) - -(defn ^boolean distinct? - "Returns true if no two of the arguments are =" - ([x] true) - ([x y] (not (= x y))) - ([x y & more] - (if (not (= x y)) - (loop [s #{x y} xs more] - (let [x (first xs) - etc (next xs)] - (if xs - (if (contains? s x) - false - (recur (conj s x) etc)) - true))) - false))) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Seq fns ;;;;;;;;;;;;;;;; - -(defn ^number compare - "Comparator. Returns a negative number, zero, or a positive number - when x is logically 'less than', 'equal to', or 'greater than' - y. Uses IComparable if available and google.array.defaultCompare for objects - of the same type and special-cases nil to be less than any other object." - [x y] - (cond - (identical? x y) 0 - - (nil? x) -1 - - (nil? y) 1 - - (number? x) (if (number? y) - (garray/defaultCompare x y) - (throw (js/Error. (str "Cannot compare " x " to " y)))) - - (satisfies? IComparable x) - (-compare x y) - - :else - (if (and (or (string? x) (array? x) (true? x) (false? x)) - (identical? (type x) (type y))) - (garray/defaultCompare x y) - (throw (js/Error. (str "Cannot compare " x " to " y)))))) - -(defn ^:private compare-indexed - "Compare indexed collection." - ([xs ys] - (let [xl (count xs) - yl (count ys)] - (cond - (< xl yl) -1 - (> xl yl) 1 - (== xl 0) 0 - :else (compare-indexed xs ys xl 0)))) - ([xs ys len n] - (let [d (compare (nth xs n) (nth ys n))] - (if (and (zero? d) (< (+ n 1) len)) - (recur xs ys len (inc n)) - d)))) - -(defn ^:private fn->comparator - "Given a fn that might be boolean valued or a comparator, - return a fn that is a comparator." - [f] - (if (= f compare) - compare - (fn [x y] - (let [r (f x y)] - (if (number? r) - r - (if r - -1 - (if (f y x) 1 0))))))) - -(declare to-array) - -(defn sort - "Returns a sorted sequence of the items in coll. Comp can be - boolean-valued comparison function, or a -/0/+ valued comparator. - Comp defaults to compare." - ([coll] - (sort compare coll)) - ([comp coll] - (if (seq coll) - (let [a (to-array coll)] - ;; matching Clojure's stable sort, though docs don't promise it - (garray/stableSort a (fn->comparator comp)) - (seq a)) - ()))) - -(defn sort-by - "Returns a sorted sequence of the items in coll, where the sort - order is determined by comparing (keyfn item). Comp can be - boolean-valued comparison function, or a -/0/+ valued comparator. - Comp defaults to compare." - ([keyfn coll] - (sort-by keyfn compare coll)) - ([keyfn comp coll] - (sort (fn [x y] ((fn->comparator comp) (keyfn x) (keyfn y))) coll))) - -; simple reduce based on seqs, used as default -(defn- seq-reduce - ([f coll] - (if-let [s (seq coll)] - (reduce f (first s) (next s)) - (f))) - ([f val coll] - (loop [val val, coll (seq coll)] - (if coll - (let [nval (f val (first coll))] - (if (reduced? nval) - @nval - (recur nval (next coll)))) - val)))) - -(declare vec) - -(defn shuffle - "Return a random permutation of coll" - [coll] - (let [a (to-array coll)] - (garray/shuffle a) - (vec a))) - -(defn- iter-reduce - ([coll f] - (let [iter (-iterator coll)] - (if (.hasNext iter) - (let [init (.next iter)] - (loop [acc init] - (if ^boolean (.hasNext iter) - (let [nacc (f acc (.next iter))] - (if (reduced? nacc) - @nacc - (recur nacc))) - acc))) - (f)))) - ([coll f init] - (let [iter (-iterator coll)] - (loop [acc init] - (if ^boolean (.hasNext iter) - (let [nacc (f acc (.next iter))] - (if (reduced? nacc) - @nacc - (recur nacc))) - acc))))) - -(defn reduce - "f should be a function of 2 arguments. If val is not supplied, - returns the result of applying f to the first 2 items in coll, then - applying f to that result and the 3rd item, etc. If coll contains no - items, f must accept no arguments as well, and reduce returns the - result of calling f with no arguments. If coll has only 1 item, it - is returned and f is not called. If val is supplied, returns the - result of applying f to val and the first item in coll, then - applying f to that result and the 2nd item, etc. If coll contains no - items, returns val and f is not called." - ([f coll] - (cond - (implements? IReduce coll) - (-reduce ^not-native coll f) - - (array? coll) - (array-reduce coll f) - - (string? coll) - (array-reduce coll f) - - (native-satisfies? IReduce coll) - (-reduce coll f) - - (iterable? coll) - (iter-reduce coll f) - - :else - (seq-reduce f coll))) - ([f val coll] - (cond - (implements? IReduce coll) - (-reduce ^not-native coll f val) - - (array? coll) - (array-reduce coll f val) - - (string? coll) - (array-reduce coll f val) - - (native-satisfies? IReduce coll) - (-reduce coll f val) - - (iterable? coll) - (iter-reduce coll f val) - - :else - (seq-reduce f val coll)))) - -(defn reduce-kv - "Reduces an associative collection. f should be a function of 3 - arguments. Returns the result of applying f to init, the first key - and the first value in coll, then applying f to that result and the - 2nd key and value, etc. If coll contains no entries, returns init - and f is not called. Note that reduce-kv is supported on vectors, - where the keys will be the ordinals." - ([f init coll] - (if-not (nil? coll) - (-kv-reduce coll f init) - init))) - -(defn identity - "Returns its argument." - [x] x) - -(defn completing - "Takes a reducing function f of 2 args and returns a fn suitable for - transduce by adding an arity-1 signature that calls cf (default - - identity) on the result argument." - ([f] (completing f identity)) - ([f cf] - (fn - ([] (f)) - ([x] (cf x)) - ([x y] (f x y))))) - -(defn transduce - "reduce with a transformation of f (xf). If init is not - supplied, (f) will be called to produce it. f should be a reducing - step function that accepts both 1 and 2 arguments, if it accepts - only 2 you can add the arity-1 with 'completing'. Returns the result - of applying (the transformed) xf to init and the first item in coll, - then applying xf to that result and the 2nd item, etc. If coll - contains no items, returns init and f is not called. Note that - certain transforms may inject or skip items." - ([xform f coll] (transduce xform f (f) coll)) - ([xform f init coll] - (let [f (xform f) - ret (reduce f init coll)] - (f ret)))) - -;;; Math - variadic forms will not work until the following implemented: -;;; first, next, reduce - -(defn ^number + - "Returns the sum of nums. (+) returns 0." - ([] 0) - ([x] x) - ([x y] (cljs.core/+ x y)) - ([x y & more] - (reduce + (cljs.core/+ x y) more))) - -(defn ^number - - "If no ys are supplied, returns the negation of x, else subtracts - the ys from x and returns the result." - ([x] (cljs.core/- x)) - ([x y] (cljs.core/- x y)) - ([x y & more] (reduce - (cljs.core/- x y) more))) - -(defn ^number * - "Returns the product of nums. (*) returns 1." - ([] 1) - ([x] x) - ([x y] (cljs.core/* x y)) - ([x y & more] (reduce * (cljs.core/* x y) more))) - -(declare divide) - -(defn ^number / - "If no denominators are supplied, returns 1/numerator, - else returns numerator divided by all of the denominators." - ([x] (/ 1 x)) - ([x y] (cljs.core/divide x y)) ;; FIXME: waiting on cljs.core// - ([x y & more] (reduce / (/ x y) more))) - -(defn ^boolean < - "Returns non-nil if nums are in monotonically increasing order, - otherwise false." - ([x] true) - ([x y] (cljs.core/< x y)) - ([x y & more] - (if (cljs.core/< x y) - (if (next more) - (recur y (first more) (next more)) - (cljs.core/< y (first more))) - false))) - -(defn ^boolean <= - "Returns non-nil if nums are in monotonically non-decreasing order, - otherwise false." - ([x] true) - ([x y] (cljs.core/<= x y)) - ([x y & more] - (if (cljs.core/<= x y) - (if (next more) - (recur y (first more) (next more)) - (cljs.core/<= y (first more))) - false))) - -(defn ^boolean > - "Returns non-nil if nums are in monotonically decreasing order, - otherwise false." - ([x] true) - ([x y] (cljs.core/> x y)) - ([x y & more] - (if (cljs.core/> x y) - (if (next more) - (recur y (first more) (next more)) - (cljs.core/> y (first more))) - false))) - -(defn ^boolean >= - "Returns non-nil if nums are in monotonically non-increasing order, - otherwise false." - ([x] true) - ([x y] (cljs.core/>= x y)) - ([x y & more] - (if (cljs.core/>= x y) - (if (next more) - (recur y (first more) (next more)) - (cljs.core/>= y (first more))) - false))) - -(defn dec - "Returns a number one less than num." - [x] (- x 1)) - -(defn ^number max - "Returns the greatest of the nums." - ([x] x) - ([x y] (cljs.core/max x y)) - ([x y & more] - (reduce max (cljs.core/max x y) more))) - -(defn ^number min - "Returns the least of the nums." - ([x] x) - ([x y] (cljs.core/min x y)) - ([x y & more] - (reduce min (cljs.core/min x y) more))) - -(defn ^number byte [x] x) - -(defn char - "Coerce to char" - [x] - (cond - (number? x) (.fromCharCode js/String x) - (and (string? x) (== (.-length x) 1)) x - :else (throw (js/Error. "Argument to char must be a character or number")))) - -(defn ^number short [x] x) -(defn ^number float [x] x) -(defn ^number double [x] x) - -(defn ^number unchecked-byte [x] x) -(defn ^number unchecked-char [x] x) -(defn ^number unchecked-short [x] x) -(defn ^number unchecked-float [x] x) -(defn ^number unchecked-double [x] x) - -(defn ^number unchecked-add - "Returns the sum of nums. (+) returns 0." - ([] 0) - ([x] x) - ([x y] (cljs.core/unchecked-add x y)) - ([x y & more] (reduce unchecked-add (cljs.core/unchecked-add x y) more))) - -(defn ^number unchecked-add-int - "Returns the sum of nums. (+) returns 0." - ([] 0) - ([x] x) - ([x y] (cljs.core/unchecked-add-int x y)) - ([x y & more] (reduce unchecked-add-int (cljs.core/unchecked-add-int x y) more))) - -(defn unchecked-dec - "Returns a number one less than x, an int." - [x] - (cljs.core/unchecked-dec x)) - -(defn unchecked-dec-int - "Returns a number one less than x, an int." - [x] - (cljs.core/unchecked-dec-int x)) - -(defn ^number unchecked-divide-int - "If no denominators are supplied, returns 1/numerator, - else returns numerator divided by all of the denominators." - ([x] (unchecked-divide-int 1 x)) - ([x y] (cljs.core/divide x y)) ;; FIXME: waiting on cljs.core// - ([x y & more] (reduce unchecked-divide-int (unchecked-divide-int x y) more))) - -(defn unchecked-inc [x] - (cljs.core/unchecked-inc x)) - -(defn unchecked-inc-int [x] - (cljs.core/unchecked-inc-int x)) - -(defn ^number unchecked-multiply - "Returns the product of nums. (*) returns 1." - ([] 1) - ([x] x) - ([x y] (cljs.core/unchecked-multiply x y)) - ([x y & more] (reduce unchecked-multiply (cljs.core/unchecked-multiply x y) more))) - -(defn ^number unchecked-multiply-int - "Returns the product of nums. (*) returns 1." - ([] 1) - ([x] x) - ([x y] (cljs.core/unchecked-multiply-int x y)) - ([x y & more] (reduce unchecked-multiply-int (cljs.core/unchecked-multiply-int x y) more))) - -(defn unchecked-negate [x] - (cljs.core/unchecked-negate x)) - -(defn unchecked-negate-int [x] - (cljs.core/unchecked-negate-int x)) - -(declare mod) - -(defn unchecked-remainder-int [x n] - (cljs.core/unchecked-remainder-int x n)) - -(defn ^number unchecked-subtract - "If no ys are supplied, returns the negation of x, else subtracts - the ys from x and returns the result." - ([x] (cljs.core/unchecked-subtract x)) - ([x y] (cljs.core/unchecked-subtract x y)) - ([x y & more] (reduce unchecked-subtract (cljs.core/unchecked-subtract x y) more))) - -(defn ^number unchecked-subtract-int - "If no ys are supplied, returns the negation of x, else subtracts - the ys from x and returns the result." - ([x] (cljs.core/unchecked-subtract-int x)) - ([x y] (cljs.core/unchecked-subtract-int x y)) - ([x y & more] (reduce unchecked-subtract-int (cljs.core/unchecked-subtract-int x y) more))) - -(defn- ^number fix [q] - (if (>= q 0) - (Math/floor q) - (Math/ceil q))) - -(defn int - "Coerce to int by stripping decimal places." - [x] - (bit-or x 0)) - -(defn unchecked-int - "Coerce to int by stripping decimal places." - [x] - (fix x)) - -(defn long - "Coerce to long by stripping decimal places. Identical to `int'." - [x] - (fix x)) - -(defn unchecked-long - "Coerce to long by stripping decimal places. Identical to `int'." - [x] - (fix x)) - -(defn booleans [x] x) -(defn bytes [x] x) -(defn chars [x] x) -(defn shorts [x] x) -(defn ints [x] x) -(defn floats [x] x) -(defn doubles [x] x) -(defn longs [x] x) - -(defn js-mod - "Modulus of num and div with original javascript behavior. i.e. bug for negative numbers" - [n d] - (cljs.core/js-mod n d)) - -(defn mod - "Modulus of num and div. Truncates toward negative infinity." - [n d] - (js-mod (+ (js-mod n d) d) d)) - -(defn quot - "quot[ient] of dividing numerator by denominator." - [n d] - (let [rem (js-mod n d)] - (fix (/ (- n rem) d)))) - -(defn rem - "remainder of dividing numerator by denominator." - [n d] - (let [q (quot n d)] - (- n (* d q)))) - -(defn bit-xor - "Bitwise exclusive or" - ([x y] (cljs.core/bit-xor x y)) - ([x y & more] - (reduce bit-xor (cljs.core/bit-xor x y) more))) - -(defn bit-and - "Bitwise and" - ([x y] (cljs.core/bit-and x y)) - ([x y & more] - (reduce bit-and (cljs.core/bit-and x y) more))) - -(defn bit-or - "Bitwise or" - ([x y] (cljs.core/bit-or x y)) - ([x y & more] - (reduce bit-or (cljs.core/bit-or x y) more))) - -(defn bit-and-not - "Bitwise and with complement" - ([x y] (cljs.core/bit-and-not x y)) - ([x y & more] - (reduce bit-and-not (cljs.core/bit-and-not x y) more))) - -(defn bit-clear - "Clear bit at index n" - [x n] - (cljs.core/bit-clear x n)) - -(defn bit-flip - "Flip bit at index n" - [x n] - (cljs.core/bit-flip x n)) - -(defn bit-not - "Bitwise complement" - [x] (cljs.core/bit-not x)) - -(defn bit-set - "Set bit at index n" - [x n] - (cljs.core/bit-set x n)) - -(defn ^boolean bit-test - "Test bit at index n" - [x n] - (cljs.core/bit-test x n)) - -(defn bit-shift-left - "Bitwise shift left" - [x n] (cljs.core/bit-shift-left x n)) - -(defn bit-shift-right - "Bitwise shift right" - [x n] (cljs.core/bit-shift-right x n)) - -(defn bit-shift-right-zero-fill - "DEPRECATED: Bitwise shift right with zero fill" - [x n] (cljs.core/bit-shift-right-zero-fill x n)) - -(defn unsigned-bit-shift-right - "Bitwise shift right with zero fill" - [x n] (cljs.core/unsigned-bit-shift-right x n)) - -(defn bit-count - "Counts the number of bits set in n" - [v] - (let [v (- v (bit-and (bit-shift-right v 1) 0x55555555)) - v (+ (bit-and v 0x33333333) (bit-and (bit-shift-right v 2) 0x33333333))] - (bit-shift-right (* (bit-and (+ v (bit-shift-right v 4)) 0xF0F0F0F) 0x1010101) 24))) - -(defn ^boolean == - "Returns non-nil if nums all have the equivalent - value, otherwise false. Behavior on non nums is - undefined." - ([x] true) - ([x y] (-equiv x y)) - ([x y & more] - (if (== x y) - (if (next more) - (recur y (first more) (next more)) - (== y (first more))) - false))) - -(defn ^boolean pos? - "Returns true if num is greater than zero, else false" - [x] (cljs.core/pos? x)) - -(defn ^boolean zero? - "Returns true if num is zero, else false" - [x] - (cljs.core/zero? x)) - -(defn ^boolean neg? - "Returns true if num is less than zero, else false" - [x] (cljs.core/neg? x)) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; protocols for host types ;;;;;; - -(defn nthnext - "Returns the nth next of coll, (seq coll) when n is 0." - [coll n] - (loop [n n xs (seq coll)] - (if (and xs (pos? n)) - (recur (dec n) (next xs)) - xs))) - -;;;;;;;;;;;;;;;;;;;;;;;;;; basics ;;;;;;;;;;;;;;;;;; - -(defn str - "With no args, returns the empty string. With one arg x, returns - x.toString(). (str nil) returns the empty string. With more than - one arg, returns the concatenation of the str values of the args." - ([] "") - ([x] (if (nil? x) - "" - (.join #js [x] ""))) - ([x & ys] - (loop [sb (StringBuffer. (str x)) more ys] - (if more - (recur (. sb (append (str (first more)))) (next more)) - (.toString sb))))) - -(defn subs - "Returns the substring of s beginning at start inclusive, and ending - at end (defaults to length of string), exclusive." - ([s start] (.substring s start)) - ([s start end] (.substring s start end))) - -(declare map name) - -(defn- equiv-sequential - "Assumes x is sequential. Returns true if x equals y, otherwise - returns false." - [x y] - (boolean - (when (sequential? y) - (if (and (counted? x) (counted? y) - (not (== (count x) (count y)))) - false - (loop [xs (seq x) ys (seq y)] - (cond (nil? xs) (nil? ys) - (nil? ys) false - (= (first xs) (first ys)) (recur (next xs) (next ys)) - :else false)))))) - -(defn- hash-coll [coll] - (if (seq coll) - (loop [res (hash (first coll)) s (next coll)] - (if (nil? s) - res - (recur (hash-combine res (hash (first s))) (next s)))) - 0)) - -(declare key val) - -(defn- hash-imap [m] - ;; a la clojure.lang.APersistentMap - (loop [h 0 s (seq m)] - (if s - (let [e (first s)] - (recur (js-mod (+ h (bit-xor (hash (key e)) (hash (val e)))) - 4503599627370496) - (next s))) - h))) - -(defn- hash-iset [s] - ;; a la clojure.lang.APersistentSet - (loop [h 0 s (seq s)] - (if s - (let [e (first s)] - (recur (js-mod (+ h (hash e)) 4503599627370496) - (next s))) - h))) - -(declare name chunk-first chunk-rest) - -(defn- extend-object! - "Takes a JavaScript object and a map of names to functions and - attaches said functions as methods on the object. Any references to - JavaScript's implicit this (via the this-as macro) will resolve to the - object that the function is attached." - [obj fn-map] - (doseq [[key-name f] fn-map] - (let [str-name (name key-name)] - (gobject/set obj str-name f))) - obj) - -;;;;;;;;;;;;;;;; cons ;;;;;;;;;;;;;;;; -(deftype List [meta first rest count ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x count)) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IList - - ICloneable - (-clone [_] (List. meta first rest count __hash)) - - IWithMeta - (-with-meta [coll meta] (List. meta first rest count __hash)) - - IMeta - (-meta [coll] meta) - - ASeq - ISeq - (-first [coll] first) - (-rest [coll] - (if (== count 1) - () - rest)) - - INext - (-next [coll] - (if (== count 1) - nil - rest)) - - IStack - (-peek [coll] first) - (-pop [coll] (-rest coll)) - - ICollection - (-conj [coll o] (List. meta o coll (inc count) nil)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - ISeqable - (-seq [coll] coll) - - ICounted - (-count [coll] count) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(defn ^boolean list? - "Returns true if x implements IList" - [x] - (satisfies? IList x)) - -(es6-iterable List) - -(deftype EmptyList [meta] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IList - - ICloneable - (-clone [_] (EmptyList. meta)) - - IWithMeta - (-with-meta [coll meta] (EmptyList. meta)) - - IMeta - (-meta [coll] meta) - - ISeq - (-first [coll] nil) - (-rest [coll] ()) - - INext - (-next [coll] nil) - - IStack - (-peek [coll] nil) - (-pop [coll] (throw (js/Error. "Can't pop empty list"))) - - ICollection - (-conj [coll o] (List. meta o nil 1 nil)) - - IEmptyableCollection - (-empty [coll] coll) - - ISequential - IEquiv - (-equiv [coll other] - (if (or (list? other) - (sequential? other)) - (nil? (seq other)) - false)) - - IHash - (-hash [coll] empty-ordered-hash) - - ISeqable - (-seq [coll] nil) - - ICounted - (-count [coll] 0) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(set! (.-EMPTY List) (EmptyList. nil)) - -(es6-iterable EmptyList) - -(defn ^boolean reversible? - "Returns true if coll satisfies? IReversible." - [coll] - (satisfies? IReversible coll)) - -(defn ^seq rseq - "Returns, in constant time, a seq of the items in rev (which - can be a vector or sorted-map), in reverse order. If rev is empty returns nil" - [rev] - (-rseq rev)) - -(defn reverse - "Returns a seq of the items in coll in reverse order. Not lazy." - [coll] - (if (reversible? coll) - (or (rseq coll) ()) - (reduce conj () coll))) - -(defn list - "Creates a new list containing the items." - [& xs] - (let [arr (if (and (instance? IndexedSeq xs) (zero? (.-i xs))) - (.-arr xs) - (let [arr (array)] - (loop [^not-native xs xs] - (if-not (nil? xs) - (do - (.push arr (-first xs)) - (recur (-next xs))) - arr))))] - (loop [i (alength arr) ^not-native r ()] - (if (> i 0) - (recur (dec i) (-conj r (aget arr (dec i)))) - r)))) - -(deftype Cons [meta first rest ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IList - - ICloneable - (-clone [_] (Cons. meta first rest __hash)) - - IWithMeta - (-with-meta [coll meta] (Cons. meta first rest __hash)) - - IMeta - (-meta [coll] meta) - - ASeq - ISeq - (-first [coll] first) - (-rest [coll] (if (nil? rest) () rest)) - - INext - (-next [coll] - (if (nil? rest) nil (seq rest))) - - ICollection - (-conj [coll o] (Cons. nil o coll nil)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - ISeqable - (-seq [coll] coll) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(es6-iterable Cons) - -(defn cons - "Returns a new seq where x is the first element and coll is the rest." - [x coll] - (if (or (nil? coll) - (implements? ISeq coll)) - (Cons. nil x coll nil) - (Cons. nil x (seq coll) nil))) - -(defn hash-keyword [k] - (int (+ (hash-symbol k) 0x9e3779b9))) - -(defn- compare-keywords [a b] - (cond - (identical? (.-fqn a) (.-fqn b)) 0 - (and (not (.-ns a)) (.-ns b)) -1 - (.-ns a) (if-not (.-ns b) - 1 - (let [nsc (garray/defaultCompare (.-ns a) (.-ns b))] - (if (== 0 nsc) - (garray/defaultCompare (.-name a) (.-name b)) - nsc))) - :default (garray/defaultCompare (.-name a) (.-name b)))) - -(deftype Keyword [ns name fqn ^:mutable _hash] - Object - (toString [_] (str ":" fqn)) - (equiv [this other] - (-equiv this other)) - - IEquiv - (-equiv [_ other] - (if (instance? Keyword other) - (identical? fqn (.-fqn other)) - false)) - IFn - (-invoke [kw coll] - (get coll kw)) - (-invoke [kw coll not-found] - (get coll kw not-found)) - - IHash - (-hash [this] - (caching-hash this hash-keyword _hash)) - - INamed - (-name [_] name) - (-namespace [_] ns) - - IPrintWithWriter - (-pr-writer [o writer _] (-write writer (str ":" fqn)))) - -(defn ^boolean keyword? - "Return true if x is a Keyword" - [x] - (instance? Keyword x)) - -(defn ^boolean keyword-identical? - "Efficient test to determine that two keywords are identical." - [x y] - (if (identical? x y) - true - (if (and (keyword? x) (keyword? y)) - (identical? (.-fqn x) (.-fqn y)) - false))) - -(defn ^boolean symbol-identical? - "Efficient test to determine that two symbols are identical." - [x y] - (if (identical? x y) - true - (if (and (symbol? x) (symbol? y)) - (identical? (.-str x) (.-str y)) - false))) - -(defn namespace - "Returns the namespace String of a symbol or keyword, or nil if not present." - [x] - (if (implements? INamed x) - (-namespace ^not-native x) - (throw (js/Error. (str "Doesn't support namespace: " x))))) - -(defn ^boolean ident? - "Return true if x is a symbol or keyword" - [x] (or (keyword? x) (symbol? x))) - -(defn ^boolean simple-ident? - "Return true if x is a symbol or keyword without a namespace" - [x] (and (ident? x) (nil? (namespace x)))) - -(defn ^boolean qualified-ident? - "Return true if x is a symbol or keyword with a namespace" - [x] (boolean (and (ident? x) (namespace x) true))) - -(defn ^boolean simple-symbol? - "Return true if x is a symbol without a namespace" - [x] (and (symbol? x) (nil? (namespace x)))) - -(defn ^boolean qualified-symbol? - "Return true if x is a symbol with a namespace" - [x] (boolean (and (symbol? x) (namespace x) true))) - -(defn ^boolean simple-keyword? - "Return true if x is a keyword without a namespace" - [x] (and (keyword? x) (nil? (namespace x)))) - -(defn ^boolean qualified-keyword? - "Return true if x is a keyword with a namespace" - [x] (boolean (and (keyword? x) (namespace x) true))) - -(defn keyword - "Returns a Keyword with the given namespace and name. Do not use : - in the keyword strings, it will be added automatically." - ([name] (cond - (keyword? name) name - (symbol? name) (Keyword. - (cljs.core/namespace name) - (cljs.core/name name) (.-str name) nil) - (string? name) (let [parts (.split name "/")] - (if (== (alength parts) 2) - (Keyword. (aget parts 0) (aget parts 1) name nil) - (Keyword. nil (aget parts 0) name nil))))) - ([ns name] - (let [ns (cond - (keyword? ns) (cljs.core/name ns) - (symbol? ns) (cljs.core/name ns) - :else ns) - name (cond - (keyword? name) (cljs.core/name name) - (symbol? name) (cljs.core/name name) - :else name)] - (Keyword. ns name (str (when ns (str ns "/")) name) nil)))) - - -(deftype LazySeq [meta ^:mutable fn ^:mutable s ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (sval [coll] - (if (nil? fn) - s - (do - (set! s (fn)) - (set! fn nil) - s))) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IPending - (-realized? [coll] - (not fn)) - - IWithMeta - (-with-meta [coll meta] (LazySeq. meta #(-seq coll) nil __hash)) - - IMeta - (-meta [coll] meta) - - ISeq - (-first [coll] - (-seq coll) - (when-not (nil? s) - (first s))) - (-rest [coll] - (-seq coll) - (if-not (nil? s) - (rest s) - ())) - - INext - (-next [coll] - (-seq coll) - (when-not (nil? s) - (next s))) - - ICollection - (-conj [coll o] (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - ISeqable - (-seq [coll] - (.sval coll) - (when-not (nil? s) - (loop [ls s] - (if (instance? LazySeq ls) - (recur (.sval ls)) - (do (set! s ls) - (seq s)))))) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(es6-iterable LazySeq) - -(declare ArrayChunk) - -(deftype ChunkBuffer [^:mutable buf ^:mutable end] - Object - (add [_ o] - (aset buf end o) - (set! end (inc end))) - - (chunk [_] - (let [ret (ArrayChunk. buf 0 end)] - (set! buf nil) - ret)) - - ICounted - (-count [_] end)) - -(defn chunk-buffer [capacity] - (ChunkBuffer. (make-array capacity) 0)) - -(deftype ArrayChunk [arr off end] - ICounted - (-count [_] (- end off)) - - IIndexed - (-nth [coll i] - (aget arr (+ off i))) - (-nth [coll i not-found] - (if (and (>= i 0) (< i (- end off))) - (aget arr (+ off i)) - not-found)) - - IChunk - (-drop-first [coll] - (if (== off end) - (throw (js/Error. "-drop-first of empty chunk")) - (ArrayChunk. arr (inc off) end))) - - IReduce - (-reduce [coll f] - (array-reduce arr f (aget arr off) (inc off))) - (-reduce [coll f start] - (array-reduce arr f start off))) - -(defn array-chunk - ([arr] - (ArrayChunk. arr 0 (alength arr))) - ([arr off] - (ArrayChunk. arr off (alength arr))) - ([arr off end] - (ArrayChunk. arr off end))) - -(deftype ChunkedCons [chunk more meta ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IWithMeta - (-with-meta [coll m] - (ChunkedCons. chunk more m __hash)) - - IMeta - (-meta [coll] meta) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - ISeqable - (-seq [coll] coll) - - ASeq - ISeq - (-first [coll] (-nth chunk 0)) - (-rest [coll] - (if (> (-count chunk) 1) - (ChunkedCons. (-drop-first chunk) more meta nil) - (if (nil? more) - () - more))) - - INext - (-next [coll] - (if (> (-count chunk) 1) - (ChunkedCons. (-drop-first chunk) more meta nil) - (when-not (nil? more) - (-seq more)))) - - IChunkedSeq - (-chunked-first [coll] chunk) - (-chunked-rest [coll] - (if (nil? more) - () - more)) - - IChunkedNext - (-chunked-next [coll] - (if (nil? more) - nil - more)) - - ICollection - (-conj [this o] - (cons o this)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash))) - -(es6-iterable ChunkedCons) - -(defn chunk-cons [chunk rest] - (if (zero? (-count chunk)) - rest - (ChunkedCons. chunk rest nil nil))) - -(defn chunk-append [b x] - (.add b x)) - -(defn chunk [b] - (.chunk b)) - -(defn chunk-first [s] - (-chunked-first s)) - -(defn chunk-rest [s] - (-chunked-rest s)) - -(defn chunk-next [s] - (if (implements? IChunkedNext s) - (-chunked-next s) - (seq (-chunked-rest s)))) - -;;;;;;;;;;;;;;;; - -(defn to-array - "Returns an array containing the contents of coll." - [coll] - (let [ary (array)] - (loop [s (seq coll)] - (if-not (nil? s) - (do (. ary push (first s)) - (recur (next s))) - ary)))) - -(defn to-array-2d - "Returns a (potentially-ragged) 2-dimensional array - containing the contents of coll." - [coll] - (let [ret (make-array (count coll))] - (loop [i 0 xs (seq coll)] - (when-not (nil? xs) - (aset ret i (to-array (first xs))) - (recur (inc i) (next xs)))) - ret)) - -(defn int-array - "Creates an array of ints. Does not coerce array, provided for compatibility - with Clojure." - ([size-or-seq] - (if (number? size-or-seq) - (int-array size-or-seq nil) - (into-array size-or-seq))) - ([size init-val-or-seq] - (let [a (make-array size)] - (if (seq? init-val-or-seq) - (let [s (seq init-val-or-seq)] - (loop [i 0 s s] - (if (and s (< i size)) - (do - (aset a i (first s)) - (recur (inc i) (next s))) - a))) - (do - (dotimes [i size] - (aset a i init-val-or-seq)) - a))))) - -(defn long-array - "Creates an array of longs. Does not coerce array, provided for compatibility - with Clojure." - ([size-or-seq] - (if (number? size-or-seq) - (long-array size-or-seq nil) - (into-array size-or-seq))) - ([size init-val-or-seq] - (let [a (make-array size)] - (if (seq? init-val-or-seq) - (let [s (seq init-val-or-seq)] - (loop [i 0 s s] - (if (and s (< i size)) - (do - (aset a i (first s)) - (recur (inc i) (next s))) - a))) - (do - (dotimes [i size] - (aset a i init-val-or-seq)) - a))))) - -(defn double-array - "Creates an array of doubles. Does not coerce array, provided for compatibility - with Clojure." - ([size-or-seq] - (if (number? size-or-seq) - (double-array size-or-seq nil) - (into-array size-or-seq))) - ([size init-val-or-seq] - (let [a (make-array size)] - (if (seq? init-val-or-seq) - (let [s (seq init-val-or-seq)] - (loop [i 0 s s] - (if (and s (< i size)) - (do - (aset a i (first s)) - (recur (inc i) (next s))) - a))) - (do - (dotimes [i size] - (aset a i init-val-or-seq)) - a))))) - -(defn object-array - "Creates an array of objects. Does not coerce array, provided for compatibility - with Clojure." - ([size-or-seq] - (if (number? size-or-seq) - (object-array size-or-seq nil) - (into-array size-or-seq))) - ([size init-val-or-seq] - (let [a (make-array size)] - (if (seq? init-val-or-seq) - (let [s (seq init-val-or-seq)] - (loop [i 0 s s] - (if (and s (< i size)) - (do - (aset a i (first s)) - (recur (inc i) (next s))) - a))) - (do - (dotimes [i size] - (aset a i init-val-or-seq)) - a))))) - -(defn bounded-count - "If coll is counted? returns its count, else will count at most the first n - elements of coll using its seq" - {:added "1.9"} - [n coll] - (if (counted? coll) - (count coll) - (loop [i 0 s (seq coll)] - (if (and (not (nil? s)) (< i n)) - (recur (inc i) (next s)) - i)))) - -(defn spread - [arglist] - (when-not (nil? arglist) - (let [n (next arglist)] - (if (nil? n) - (seq (first arglist)) - (cons (first arglist) - (spread n)))))) - -(defn concat - "Returns a lazy seq representing the concatenation of the elements in the supplied colls." - ([] (lazy-seq nil)) - ([x] (lazy-seq x)) - ([x y] - (lazy-seq - (let [s (seq x)] - (if s - (if (chunked-seq? s) - (chunk-cons (chunk-first s) (concat (chunk-rest s) y)) - (cons (first s) (concat (rest s) y))) - y)))) - ([x y & zs] - (let [cat (fn cat [xys zs] - (lazy-seq - (let [xys (seq xys)] - (if xys - (if (chunked-seq? xys) - (chunk-cons (chunk-first xys) - (cat (chunk-rest xys) zs)) - (cons (first xys) (cat (rest xys) zs))) - (when zs - (cat (first zs) (next zs)))))))] - (cat (concat x y) zs)))) - -(defn list* - "Creates a new list containing the items prepended to the rest, the - last of which will be treated as a sequence." - ([args] (seq args)) - ([a args] (cons a args)) - ([a b args] (cons a (cons b args))) - ([a b c args] (cons a (cons b (cons c args)))) - ([a b c d & more] - (cons a (cons b (cons c (cons d (spread more))))))) - - -;;; Transients - -(defn transient - "Returns a new, transient version of the collection, in constant time." - [coll] - (-as-transient coll)) - -(defn persistent! - "Returns a new, persistent version of the transient collection, in - constant time. The transient collection cannot be used after this - call, any such use will throw an exception." - [tcoll] - (-persistent! tcoll)) - -(defn conj! - "Adds val to the transient collection, and return tcoll. The 'addition' - may happen at different 'places' depending on the concrete type." - ([] (transient [])) - ([tcoll] tcoll) - ([tcoll val] - (-conj! tcoll val)) - ([tcoll val & vals] - (let [ntcoll (-conj! tcoll val)] - (if vals - (recur ntcoll (first vals) (next vals)) - ntcoll)))) - -(defn assoc! - "When applied to a transient map, adds mapping of key(s) to - val(s). When applied to a transient vector, sets the val at index. - Note - index must be <= (count vector). Returns coll." - ([tcoll key val] - (-assoc! tcoll key val)) - ([tcoll key val & kvs] - (let [ntcoll (-assoc! tcoll key val)] - (if kvs - (recur ntcoll (first kvs) (second kvs) (nnext kvs)) - ntcoll)))) - -(defn dissoc! - "Returns a transient map that doesn't contain a mapping for key(s)." - ([tcoll key] - (-dissoc! tcoll key)) - ([tcoll key & ks] - (let [ntcoll (-dissoc! tcoll key)] - (if ks - (recur ntcoll (first ks) (next ks)) - ntcoll)))) - -(defn pop! - "Removes the last item from a transient vector. If - the collection is empty, throws an exception. Returns tcoll" - [tcoll] - (-pop! tcoll)) - -(defn disj! - "disj[oin]. Returns a transient set of the same (hashed/sorted) type, that - does not contain key(s)." - ([tcoll val] - (-disjoin! tcoll val)) - ([tcoll val & vals] - (let [ntcoll (-disjoin! tcoll val)] - (if vals - (recur ntcoll (first vals) (next vals)) - ntcoll)))) - - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; apply ;;;;;;;;;;;;;;;; - -;; see core.clj -(gen-apply-to) - -(set! *unchecked-if* true) - -(defn- apply-to-simple - "Internal. DO NOT USE! - Assumes args was already called with seq beforehand!" - ([f ^seq args] - (if (nil? args) - (if (.-cljs$core$IFn$_invoke$arity$0 f) - (.cljs$core$IFn$_invoke$arity$0 f) - (.call f f)) - (apply-to-simple f (-first args) (next args)))) - ([f a0 ^seq args] - (if (nil? args) - (if (.-cljs$core$IFn$_invoke$arity$1 f) - (.cljs$core$IFn$_invoke$arity$1 f a0) - (.call f f a0)) - (apply-to-simple f a0 (-first args) (next args)))) - ([f a0 a1 ^seq args] - (if (nil? args) - (if (.-cljs$core$IFn$_invoke$arity$2 f) - (.cljs$core$IFn$_invoke$arity$2 f a0 a1) - (.call f f a0 a1)) - (apply-to-simple f a0 a1 (-first args) (next args)))) - ([f a0 a1 a2 ^seq args] - (if (nil? args) - (if (.-cljs$core$IFn$_invoke$arity$3 f) - (.cljs$core$IFn$_invoke$arity$3 f a0 a1 a2) - (.call f f a0 a1 a2)) - (apply-to-simple f a0 a1 a2 (-first args) (next args)))) - ([f a0 a1 a2 a3 ^seq args] - (if (nil? args) - (if (.-cljs$core$IFn$_invoke$arity$4 f) - (.cljs$core$IFn$_invoke$arity$4 f a0 a1 a2 a3) - (.call f f a0 a1 a2 a3)) - (gen-apply-to-simple f 4 args)))) - -(defn apply - "Applies fn f to the argument list formed by prepending intervening arguments to args." - ([f args] - (if (.-cljs$lang$applyTo f) - (let [fixed-arity (.-cljs$lang$maxFixedArity f) - bc (bounded-count (inc fixed-arity) args)] - (if (<= bc fixed-arity) - (apply-to f bc args) - (.cljs$lang$applyTo f args))) - (apply-to-simple f (seq args)))) - ([f x args] - (if (.-cljs$lang$applyTo f) - (let [arglist (list* x args) - fixed-arity (.-cljs$lang$maxFixedArity f) - bc (inc (bounded-count fixed-arity args))] - (if (<= bc fixed-arity) - (apply-to f bc arglist) - (.cljs$lang$applyTo f arglist))) - (apply-to-simple f x (seq args)))) - ([f x y args] - (if (.-cljs$lang$applyTo f) - (let [arglist (list* x y args) - fixed-arity (.-cljs$lang$maxFixedArity f) - bc (+ 2 (bounded-count (dec fixed-arity) args))] - (if (<= bc fixed-arity) - (apply-to f bc arglist) - (.cljs$lang$applyTo f arglist))) - (apply-to-simple f x y (seq args)))) - ([f x y z args] - (if (.-cljs$lang$applyTo f) - (let [arglist (list* x y z args) - fixed-arity (.-cljs$lang$maxFixedArity f) - bc (+ 3 (bounded-count (- fixed-arity 2) args))] - (if (<= bc fixed-arity) - (apply-to f bc arglist) - (.cljs$lang$applyTo f arglist))) - (apply-to-simple f x y z (seq args)))) - ([f a b c d & args] - (if (.-cljs$lang$applyTo f) - (let [spread-args (spread args) - arglist (cons a (cons b (cons c (cons d spread-args)))) - fixed-arity (.-cljs$lang$maxFixedArity f) - bc (+ 4 (bounded-count (- fixed-arity 3) spread-args))] - (if (<= bc fixed-arity) - (apply-to f bc arglist) - (.cljs$lang$applyTo f arglist))) - (apply-to-simple f a b c d (spread args))))) - -(set! *unchecked-if* false) - -(defn vary-meta - "Returns an object of the same type and value as obj, with - (apply f (meta obj) args) as its metadata." - ([obj f] - (with-meta obj (f (meta obj)))) - ([obj f a] - (with-meta obj (f (meta obj) a))) - ([obj f a b] - (with-meta obj (f (meta obj) a b))) - ([obj f a b c] - (with-meta obj (f (meta obj) a b c))) - ([obj f a b c d] - (with-meta obj (f (meta obj) a b c d))) - ([obj f a b c d & args] - (with-meta obj (apply f (meta obj) a b c d args)))) - -(defn ^boolean not= - "Same as (not (= obj1 obj2))" - ([x] false) - ([x y] (not (= x y))) - ([x y & more] - (not (apply = x y more)))) - -(defn not-empty - "If coll is empty, returns nil, else coll" - [coll] (when (seq coll) coll)) - -(defn nil-iter [] - (reify - Object - (hasNext [_] false) - (next [_] (js/Error. "No such element")) - (remove [_] (js/Error. "Unsupported operation")))) - -(deftype StringIter [s ^:mutable i] - Object - (hasNext [_] (< i (.-length s))) - (next [_] - (let [ret (.charAt s i)] - (set! i (inc i)) - ret)) - (remove [_] (js/Error. "Unsupported operation"))) - -(defn string-iter [x] - (StringIter. x 0)) - -(deftype ArrayIter [arr ^:mutable i] - Object - (hasNext [_] (< i (alength arr))) - (next [_] - (let [ret (aget arr i)] - (set! i (inc i)) - ret)) - (remove [_] (js/Error. "Unsupported operation"))) - -(defn array-iter [x] - (ArrayIter. x 0)) - -(def INIT #js {}) -(def START #js {}) - -(deftype SeqIter [^:mutable _seq ^:mutable _next] - Object - (hasNext [_] - (if (identical? _seq INIT) - (do - (set! _seq START) - (set! _next (seq _next))) - (if (identical? _seq _next) - (set! _next (next _seq)))) - (not (nil? _next))) - (next [this] - (if-not ^boolean (.hasNext this) - (throw (js/Error. "No such element")) - (do - (set! _seq _next) - (first _next)))) - (remove [_] (js/Error. "Unsupported operation"))) - -(defn seq-iter [coll] - (SeqIter. INIT coll)) - -(defn iter [coll] - (cond - (iterable? coll) (-iterator coll) - (nil? coll) (nil-iter) - (string? coll) (string-iter coll) - (array? coll) (array-iter coll) - (seqable? coll) (seq-iter coll) - :else (throw (js/Error. (str "Cannot create iterator from " coll))))) - -(deftype Many [vals] - Object - (add [this o] - (.push vals o) - this) - (remove [this] - (.shift vals)) - (isEmpty [this] - (zero? (.-length vals))) - (toString [this] - (str "Many: " vals))) - -(def ^:private NONE #js {}) - -(deftype Single [^:mutable val] - Object - (add [this o] - (if (identical? val NONE) - (do - (set! val o) - this) - (Many. #js [val o]))) - (remove [this] - (if (identical? val NONE) - (throw (js/Error. (str "Removing object from empty buffer"))) - (let [ret val] - (set! val NONE) - ret))) - (isEmpty [this] - (identical? val NONE)) - (toString [this] - (str "Single: " val))) - -(deftype Empty [] - Object - (add [this o] - (Single. o)) - (remove [this] - (throw (js/Error. (str "Removing object from empty buffer")))) - (isEmpty [this] - true) - (toString [this] - "Empty")) - -(def ^:private EMPTY (Empty.)) - -(deftype MultiIterator [iters] - Object - (hasNext [_] - (loop [iters (seq iters)] - (if-not (nil? iters) - (let [iter (first iters)] - (if-not ^boolean (.hasNext iter) - false - (recur (next iters)))) - true))) - (next [_] - (let [nexts (array)] - (dotimes [i (alength iters)] - (aset nexts i (.next (aget iters i)))) - (prim-seq nexts 0)))) - -(defn- chunkIteratorSeq [iter] - (lazy-seq - (when ^boolean (.hasNext iter) - (let [arr (array)] - (loop [n 0] - (if (and (.hasNext iter) (< n 32)) - (do - (aset arr n (.next iter)) - (recur (inc n))) - (chunk-cons (array-chunk arr 0 n) (chunkIteratorSeq iter)))))))) - -(deftype TransformerIterator [^:mutable buffer ^:mutable _next ^:mutable completed ^:mutable xf sourceIter multi] - Object - (step [this] - (if-not (identical? _next NONE) - true - (loop [] - (if (identical? _next NONE) - (if ^boolean (.isEmpty buffer) - (if ^boolean completed - false - (if ^boolean (.hasNext sourceIter) - (let [iter (if ^boolean multi - (apply xf (cons nil (.next sourceIter))) - (xf nil (.next sourceIter)))] - (when (reduced? iter) - (xf nil) - (set! completed true)) - (recur)) - (do - (xf nil) - (set! completed true) - (recur)))) - (do - (set! _next (.remove buffer)) - (recur))) - true)))) - (hasNext [this] - (.step this)) - (next [this] - (if ^boolean (.hasNext this) - (let [ret _next] - (set! _next NONE) - ret) - (throw (js/Error. "No such element")))) - (remove [_] - (js/Error. "Unsupported operation"))) - -(es6-iterable TransformerIterator) - -(defn transformer-iterator - [xform sourceIter multi] - (let [iterator (TransformerIterator. EMPTY NONE false nil sourceIter multi)] - (set! (.-xf iterator) - (xform (fn - ([] nil) - ([acc] acc) - ([acc o] - (set! (.-buffer iterator) (.add (.-buffer iterator) o)) - acc)))) - iterator)) - -(set! (.-create TransformerIterator) - (fn [xform source] - (transformer-iterator xform source false))) - -(set! (.-createMulti TransformerIterator) - (fn [xform sources] - (transformer-iterator xform (MultiIterator. (to-array sources)) true))) - -(defn sequence - "Coerces coll to a (possibly empty) sequence, if it is not already - one. Will not force a lazy seq. (sequence nil) yields (), When a - transducer is supplied, returns a lazy sequence of applications of - the transform to the items in coll(s), i.e. to the set of first - items of each coll, followed by the set of second - items in each coll, until any one of the colls is exhausted. Any - remaining items in other colls are ignored. The transform should accept - number-of-colls arguments" - ([coll] - (if (seq? coll) - coll - (or (seq coll) ()))) - ([xform coll] - (or (chunkIteratorSeq - (.create TransformerIterator xform (iter coll))) - ())) - ([xform coll & colls] - (or (chunkIteratorSeq - (.createMulti TransformerIterator xform (map iter (cons coll colls)))) - ()))) - -(defn ^boolean every? - "Returns true if (pred x) is logical true for every x in coll, else - false." - [pred coll] - (cond - (nil? (seq coll)) true - (pred (first coll)) (recur pred (next coll)) - :else false)) - -(defn ^boolean not-every? - "Returns false if (pred x) is logical true for every x in - coll, else true." - [pred coll] (not (every? pred coll))) - -(defn some - "Returns the first logical true value of (pred x) for any x in coll, - else nil. One common idiom is to use a set as pred, for example - this will return :fred if :fred is in the sequence, otherwise nil: - (some #{:fred} coll)" - [pred coll] - (when (seq coll) - (or (pred (first coll)) (recur pred (next coll))))) - -(defn ^boolean not-any? - "Returns false if (pred x) is logical true for any x in coll, - else true." - [pred coll] (not (some pred coll))) - -(defn ^boolean even? - "Returns true if n is even, throws an exception if n is not an integer" - [n] (if (integer? n) - (zero? (bit-and n 1)) - (throw (js/Error. (str "Argument must be an integer: " n))))) - -(defn ^boolean odd? - "Returns true if n is odd, throws an exception if n is not an integer" - [n] (not (even? n))) - -(defn complement - "Takes a fn f and returns a fn that takes the same arguments as f, - has the same effects, if any, and returns the opposite truth value." - [f] - (fn - ([] (not (f))) - ([x] (not (f x))) - ([x y] (not (f x y))) - ([x y & zs] (not (apply f x y zs))))) - -(defn constantly - "Returns a function that takes any number of arguments and returns x." - [x] (fn [& args] x)) - -(defn comp - "Takes a set of functions and returns a fn that is the composition - of those fns. The returned fn takes a variable number of args, - applies the rightmost of fns to the args, the next - fn (right-to-left) to the result, etc." - ([] identity) - ([f] f) - ([f g] - (fn - ([] (f (g))) - ([x] (f (g x))) - ([x y] (f (g x y))) - ([x y z] (f (g x y z))) - ([x y z & args] (f (apply g x y z args))))) - ([f g h] - (fn - ([] (f (g (h)))) - ([x] (f (g (h x)))) - ([x y] (f (g (h x y)))) - ([x y z] (f (g (h x y z)))) - ([x y z & args] (f (g (apply h x y z args)))))) - ([f1 f2 f3 & fs] - (let [fs (reverse (list* f1 f2 f3 fs))] - (fn [& args] - (loop [ret (apply (first fs) args) fs (next fs)] - (if fs - (recur ((first fs) ret) (next fs)) - ret)))))) - -(defn partial - "Takes a function f and fewer than the normal arguments to f, and - returns a fn that takes a variable number of additional args. When - called, the returned function calls f with args + additional args." - ([f] f) - ([f arg1] - (fn - ([] (f arg1)) - ([x] (f arg1 x)) - ([x y] (f arg1 x y)) - ([x y z] (f arg1 x y z)) - ([x y z & args] (apply f arg1 x y z args)))) - ([f arg1 arg2] - (fn - ([] (f arg1 arg2)) - ([x] (f arg1 arg2 x)) - ([x y] (f arg1 arg2 x y)) - ([x y z] (f arg1 arg2 x y z)) - ([x y z & args] (apply f arg1 arg2 x y z args)))) - ([f arg1 arg2 arg3] - (fn - ([] (f arg1 arg2 arg3)) - ([x] (f arg1 arg2 arg3 x)) - ([x y] (f arg1 arg2 arg3 x y)) - ([x y z] (f arg1 arg2 arg3 x y z)) - ([x y z & args] (apply f arg1 arg2 arg3 x y z args)))) - ([f arg1 arg2 arg3 & more] - (fn [& args] (apply f arg1 arg2 arg3 (concat more args))))) - -(defn fnil - "Takes a function f, and returns a function that calls f, replacing - a nil first argument to f with the supplied value x. Higher arity - versions can replace arguments in the second and third - positions (y, z). Note that the function f can take any number of - arguments, not just the one(s) being nil-patched." - ([f x] - (fn - ([a] (f (if (nil? a) x a))) - ([a b] (f (if (nil? a) x a) b)) - ([a b c] (f (if (nil? a) x a) b c)) - ([a b c & ds] (apply f (if (nil? a) x a) b c ds)))) - ([f x y] - (fn - ([a b] (f (if (nil? a) x a) (if (nil? b) y b))) - ([a b c] (f (if (nil? a) x a) (if (nil? b) y b) c)) - ([a b c & ds] (apply f (if (nil? a) x a) (if (nil? b) y b) c ds)))) - ([f x y z] - (fn - ([a b] (f (if (nil? a) x a) (if (nil? b) y b))) - ([a b c] (f (if (nil? a) x a) (if (nil? b) y b) (if (nil? c) z c))) - ([a b c & ds] (apply f (if (nil? a) x a) (if (nil? b) y b) (if (nil? c) z c) ds))))) - -(declare volatile!) - -(defn map-indexed - "Returns a lazy sequence consisting of the result of applying f to 0 - and the first item of coll, followed by applying f to 1 and the second - item in coll, etc, until coll is exhausted. Thus function f should - accept 2 arguments, index and item. Returns a stateful transducer when - no collection is provided." - ([f] - (fn [rf] - (let [i (volatile! -1)] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (rf result (f (vswap! i inc) input))))))) - ([f coll] - (letfn [(mapi [idx coll] - (lazy-seq - (when-let [s (seq coll)] - (if (chunked-seq? s) - (let [c (chunk-first s) - size (count c) - b (chunk-buffer size)] - (dotimes [i size] - (chunk-append b (f (+ idx i) (-nth c i)))) - (chunk-cons (chunk b) (mapi (+ idx size) (chunk-rest s)))) - (cons (f idx (first s)) (mapi (inc idx) (rest s)))))))] - (mapi 0 coll)))) - -(defn keep - "Returns a lazy sequence of the non-nil results of (f item). Note, - this means false return values will be included. f must be free of - side-effects. Returns a transducer when no collection is provided." - ([f] - (fn [rf] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (let [v (f input)] - (if (nil? v) - result - (rf result v))))))) - ([f coll] - (lazy-seq - (when-let [s (seq coll)] - (if (chunked-seq? s) - (let [c (chunk-first s) - size (count c) - b (chunk-buffer size)] - (dotimes [i size] - (let [x (f (-nth c i))] - (when-not (nil? x) - (chunk-append b x)))) - (chunk-cons (chunk b) (keep f (chunk-rest s)))) - (let [x (f (first s))] - (if (nil? x) - (keep f (rest s)) - (cons x (keep f (rest s)))))))))) - -;; ============================================================================= -;; Atom - -(deftype Atom [state meta validator watches] - Object - (equiv [this other] - (-equiv this other)) - - IAtom - - IEquiv - (-equiv [o other] (identical? o other)) - - IDeref - (-deref [_] state) - - IMeta - (-meta [_] meta) - - IWatchable - (-notify-watches [this oldval newval] - (doseq [[key f] watches] - (f key this oldval newval))) - (-add-watch [this key f] - (set! (.-watches this) (assoc watches key f)) - this) - (-remove-watch [this key] - (set! (.-watches this) (dissoc watches key))) - - IHash - (-hash [this] (goog/getUid this))) - -(defn atom - "Creates and returns an Atom with an initial value of x and zero or - more options (in any order): - - :meta metadata-map - - :validator validate-fn - - If metadata-map is supplied, it will be come the metadata on the - atom. validate-fn must be nil or a side-effect-free fn of one - argument, which will be passed the intended new state on any state - change. If the new state is unacceptable, the validate-fn should - return false or throw an Error. If either of these error conditions - occur, then the value of the atom will not change." - ([x] (Atom. x nil nil nil)) - ([x & {:keys [meta validator]}] (Atom. x meta validator nil))) - -(declare pr-str) - -(defn reset! - "Sets the value of atom to newval without regard for the - current value. Returns new-value." - [a new-value] - (if (instance? Atom a) - (let [validate (.-validator a)] - (when-not (nil? validate) - (when-not (validate new-value) - (throw (js/Error. "Validator rejected reference state")))) - (let [old-value (.-state a)] - (set! (.-state a) new-value) - (when-not (nil? (.-watches a)) - (-notify-watches a old-value new-value)) - new-value)) - (-reset! a new-value))) - -(defn reset-vals! - "Sets the value of atom to newval. Returns [old new], the value of the - atom before and after the reset." - {:added "1.9"} - [a new-value] - (let [validate (.-validator a)] - (when-not (nil? validate) - (when-not (validate new-value) - (throw (js/Error. "Validator rejected reference state")))) - (let [old-value (.-state a)] - (set! (.-state a) new-value) - (when-not (nil? (.-watches a)) - (-notify-watches a old-value new-value)) - [old-value new-value]))) - -(defn swap! - "Atomically swaps the value of atom to be: - (apply f current-value-of-atom args). Note that f may be called - multiple times, and thus should be free of side effects. Returns - the value that was swapped in." - ([a f] - (if (instance? Atom a) - (reset! a (f (.-state a))) - (-swap! a f))) - ([a f x] - (if (instance? Atom a) - (reset! a (f (.-state a) x)) - (-swap! a f x))) - ([a f x y] - (if (instance? Atom a) - (reset! a (f (.-state a) x y)) - (-swap! a f x y))) - ([a f x y & more] - (if (instance? Atom a) - (reset! a (apply f (.-state a) x y more)) - (-swap! a f x y more)))) - -(defn swap-vals! - "Atomically swaps the value of atom to be: - (apply f current-value-of-atom args). Note that f may be called - multiple times, and thus should be free of side effects. - Returns [old new], the value of the atom before and after the swap." - {:added "1.9"} - ([a f] - (reset-vals! a (f (.-state a)))) - ([a f x] - (reset-vals! a (f (.-state a) x))) - ([a f x y] - (reset-vals! a (f (.-state a) x y))) - ([a f x y & more] - (reset-vals! a (apply f (.-state a) x y more)))) - -(defn compare-and-set! - "Atomically sets the value of atom to newval if and only if the - current value of the atom is equal to oldval. Returns true if - set happened, else false." - [^not-native a oldval newval] - (if (= (-deref a) oldval) - (do (reset! a newval) true) - false)) - -(defn set-validator! - "Sets the validator-fn for an atom. validator-fn must be nil or a - side-effect-free fn of one argument, which will be passed the intended - new state on any state change. If the new state is unacceptable, the - validator-fn should return false or throw an Error. If the current state - is not acceptable to the new validator, an Error will be thrown and the - validator will not be changed." - [iref val] - (when (and (some? val) - (not (val (-deref iref)))) - (throw (js/Error. "Validator rejected reference state"))) - (set! (.-validator iref) val)) - -(defn get-validator - "Gets the validator-fn for a var/ref/agent/atom." - [iref] - (.-validator iref)) - -(deftype Volatile [^:mutable state] - IVolatile - (-vreset! [_ new-state] - (set! state new-state)) - - IDeref - (-deref [_] state)) - -(defn volatile! - "Creates and returns a Volatile with an initial value of val." - [val] - (Volatile. val)) - -(defn ^boolean volatile? - "Returns true if x is a volatile." - [x] (instance? Volatile x)) - -(defn vreset! - "Sets the value of volatile to newval without regard for the - current value. Returns newval." - [vol newval] (-vreset! vol newval)) - -(defn keep-indexed - "Returns a lazy sequence of the non-nil results of (f index item). Note, - this means false return values will be included. f must be free of - side-effects. Returns a stateful transducer when no collection is - provided." - ([f] - (fn [rf] - (let [ia (volatile! -1)] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (let [i (vswap! ia inc) - v (f i input)] - (if (nil? v) - result - (rf result v)))))))) - ([f coll] - (letfn [(keepi [idx coll] - (lazy-seq - (when-let [s (seq coll)] - (if (chunked-seq? s) - (let [c (chunk-first s) - size (count c) - b (chunk-buffer size)] - (dotimes [i size] - (let [x (f (+ idx i) (-nth c i))] - (when-not (nil? x) - (chunk-append b x)))) - (chunk-cons (chunk b) (keepi (+ idx size) (chunk-rest s)))) - (let [x (f idx (first s))] - (if (nil? x) - (keepi (inc idx) (rest s)) - (cons x (keepi (inc idx) (rest s)))))))))] - (keepi 0 coll)))) - -(defn every-pred - "Takes a set of predicates and returns a function f that returns true if all of its - composing predicates return a logical true value against all of its arguments, else it returns - false. Note that f is short-circuiting in that it will stop execution on the first - argument that triggers a logical false result against the original predicates." - ([p] - (fn ep1 - ([] true) - ([x] (boolean (p x))) - ([x y] (boolean (and (p x) (p y)))) - ([x y z] (boolean (and (p x) (p y) (p z)))) - ([x y z & args] (boolean (and (ep1 x y z) - (every? p args)))))) - ([p1 p2] - (fn ep2 - ([] true) - ([x] (boolean (and (p1 x) (p2 x)))) - ([x y] (boolean (and (p1 x) (p1 y) (p2 x) (p2 y)))) - ([x y z] (boolean (and (p1 x) (p1 y) (p1 z) (p2 x) (p2 y) (p2 z)))) - ([x y z & args] (boolean (and (ep2 x y z) - (every? #(and (p1 %) (p2 %)) args)))))) - ([p1 p2 p3] - (fn ep3 - ([] true) - ([x] (boolean (and (p1 x) (p2 x) (p3 x)))) - ([x y] (boolean (and (p1 x) (p2 x) (p3 x) (p1 y) (p2 y) (p3 y)))) - ([x y z] (boolean (and (p1 x) (p2 x) (p3 x) (p1 y) (p2 y) (p3 y) (p1 z) (p2 z) (p3 z)))) - ([x y z & args] (boolean (and (ep3 x y z) - (every? #(and (p1 %) (p2 %) (p3 %)) args)))))) - ([p1 p2 p3 & ps] - (let [ps (list* p1 p2 p3 ps)] - (fn epn - ([] true) - ([x] (every? #(% x) ps)) - ([x y] (every? #(and (% x) (% y)) ps)) - ([x y z] (every? #(and (% x) (% y) (% z)) ps)) - ([x y z & args] (boolean (and (epn x y z) - (every? #(every? % args) ps)))))))) - -(defn some-fn - "Takes a set of predicates and returns a function f that returns the first logical true value - returned by one of its composing predicates against any of its arguments, else it returns - logical false. Note that f is short-circuiting in that it will stop execution on the first - argument that triggers a logical true result against the original predicates." - ([p] - (fn sp1 - ([] nil) - ([x] (p x)) - ([x y] (or (p x) (p y))) - ([x y z] (or (p x) (p y) (p z))) - ([x y z & args] (or (sp1 x y z) - (some p args))))) - ([p1 p2] - (fn sp2 - ([] nil) - ([x] (or (p1 x) (p2 x))) - ([x y] (or (p1 x) (p1 y) (p2 x) (p2 y))) - ([x y z] (or (p1 x) (p1 y) (p1 z) (p2 x) (p2 y) (p2 z))) - ([x y z & args] (or (sp2 x y z) - (some #(or (p1 %) (p2 %)) args))))) - ([p1 p2 p3] - (fn sp3 - ([] nil) - ([x] (or (p1 x) (p2 x) (p3 x))) - ([x y] (or (p1 x) (p2 x) (p3 x) (p1 y) (p2 y) (p3 y))) - ([x y z] (or (p1 x) (p2 x) (p3 x) (p1 y) (p2 y) (p3 y) (p1 z) (p2 z) (p3 z))) - ([x y z & args] (or (sp3 x y z) - (some #(or (p1 %) (p2 %) (p3 %)) args))))) - ([p1 p2 p3 & ps] - (let [ps (list* p1 p2 p3 ps)] - (fn spn - ([] nil) - ([x] (some #(% x) ps)) - ([x y] (some #(or (% x) (% y)) ps)) - ([x y z] (some #(or (% x) (% y) (% z)) ps)) - ([x y z & args] (or (spn x y z) - (some #(some % args) ps))))))) - -(defn map - "Returns a lazy sequence consisting of the result of applying f to - the set of first items of each coll, followed by applying f to the - set of second items in each coll, until any one of the colls is - exhausted. Any remaining items in other colls are ignored. Function - f should accept number-of-colls arguments. Returns a transducer when - no collection is provided." - ([f] - (fn [rf] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (rf result (f input))) - ([result input & inputs] - (rf result (apply f input inputs)))))) - ([f coll] - (lazy-seq - (when-let [s (seq coll)] - (if (chunked-seq? s) - (let [c (chunk-first s) - size (count c) - b (chunk-buffer size)] - (dotimes [i size] - (chunk-append b (f (-nth c i)))) - (chunk-cons (chunk b) (map f (chunk-rest s)))) - (cons (f (first s)) (map f (rest s))))))) - ([f c1 c2] - (lazy-seq - (let [s1 (seq c1) s2 (seq c2)] - (when (and s1 s2) - (cons (f (first s1) (first s2)) - (map f (rest s1) (rest s2))))))) - ([f c1 c2 c3] - (lazy-seq - (let [s1 (seq c1) s2 (seq c2) s3 (seq c3)] - (when (and s1 s2 s3) - (cons (f (first s1) (first s2) (first s3)) - (map f (rest s1) (rest s2) (rest s3))))))) - ([f c1 c2 c3 & colls] - (let [step (fn step [cs] - (lazy-seq - (let [ss (map seq cs)] - (when (every? identity ss) - (cons (map first ss) (step (map rest ss)))))))] - (map #(apply f %) (step (conj colls c3 c2 c1)))))) - -(defn take - "Returns a lazy sequence of the first n items in coll, or all items if - there are fewer than n. Returns a stateful transducer when - no collection is provided." - ([n] - {:pre [(number? n)]} - (fn [rf] - (let [na (volatile! n)] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (let [n @na - nn (vswap! na dec) - result (if (pos? n) - (rf result input) - result)] - (if (not (pos? nn)) - (ensure-reduced result) - result))))))) - ([n coll] - {:pre [(number? n)]} - (lazy-seq - (when (pos? n) - (when-let [s (seq coll)] - (cons (first s) (take (dec n) (rest s)))))))) - -(defn drop - "Returns a lazy sequence of all but the first n items in coll. - Returns a stateful transducer when no collection is provided." - ([n] - {:pre [(number? n)]} - (fn [rf] - (let [na (volatile! n)] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (let [n @na] - (vswap! na dec) - (if (pos? n) - result - (rf result input)))))))) - ([n coll] - {:pre [(number? n)]} - (let [step (fn [n coll] - (let [s (seq coll)] - (if (and (pos? n) s) - (recur (dec n) (rest s)) - s)))] - (lazy-seq (step n coll))))) - -(defn drop-last - "Return a lazy sequence of all but the last n (default 1) items in coll" - ([s] (drop-last 1 s)) - ([n s] (map (fn [x _] x) s (drop n s)))) - -(defn take-last - "Returns a seq of the last n items in coll. Depending on the type - of coll may be no better than linear time. For vectors, see also subvec." - [n coll] - (loop [s (seq coll), lead (seq (drop n coll))] - (if lead - (recur (next s) (next lead)) - s))) - -(defn drop-while - "Returns a lazy sequence of the items in coll starting from the - first item for which (pred item) returns logical false. Returns a - stateful transducer when no collection is provided." - ([pred] - (fn [rf] - (let [da (volatile! true)] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (let [drop? @da] - (if (and drop? (pred input)) - result - (do - (vreset! da nil) - (rf result input))))))))) - ([pred coll] - (let [step (fn [pred coll] - (let [s (seq coll)] - (if (and s (pred (first s))) - (recur pred (rest s)) - s)))] - (lazy-seq (step pred coll))))) - -(deftype Cycle [meta all prev ^:mutable current ^:mutable _next] - Object - (toString [coll] - (pr-str* coll)) - (currentval [coll] - (when-not ^seq current - (if-let [c (next prev)] - (set! current c) - (set! current all))) - current) - - IPending - (-realized? [coll] - (some? current)) - - IWithMeta - (-with-meta [coll meta] (Cycle. meta all prev current _next)) - - IMeta - (-meta [coll] meta) - - ISeq - (-first [coll] - (first (.currentval coll))) - (-rest [coll] - (when (nil? _next) - (set! _next (Cycle. nil all (.currentval coll) nil nil))) - _next) - - INext - (-next [coll] - (-rest coll)) - - ICollection - (-conj [coll o] (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - ISequential - ISeqable - (-seq [coll] coll) - - IReduce - (-reduce [coll f] - (loop [s (.currentval coll) ret (first s)] - (let [s (or (next s) all) - ret (f ret (first s))] - (if (reduced? ret) - @ret - (recur s ret))))) - (-reduce [coll f start] - (loop [s (.currentval coll) ret start] - (let [ret (f ret (first s))] - (if (reduced? ret) - @ret - (recur (or (next s) all) ret)))))) - -(defn cycle - "Returns a lazy (infinite!) sequence of repetitions of the items in coll." - [coll] (if-let [vals (seq coll)] - (Cycle. nil vals nil vals nil) - (.-EMPTY List))) - -(defn split-at - "Returns a vector of [(take n coll) (drop n coll)]" - [n coll] - [(take n coll) (drop n coll)]) - -(deftype Repeat [meta count val ^:mutable next ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x count)) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IPending - (-realized? [coll] false) - - IWithMeta - (-with-meta [coll meta] (Repeat. meta count val next nil)) - - IMeta - (-meta [coll] meta) - - ISeq - (-first [coll] - val) - (-rest [coll] - (if (nil? next) - (if (> count 1) - (do - (set! next (Repeat. nil (dec count) val nil nil)) - next) - (if (== -1 count) - coll - ())) - next)) - - INext - (-next [coll] - (if (nil? next) - (if (> count 1) - (do - (set! next (Repeat. nil (dec count) val nil nil)) - next) - (if (== -1 count) - coll - nil)) - next)) - - ICollection - (-conj [coll o] (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - ISequential - ISeqable - (-seq [coll] coll) - - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IReduce - (-reduce [coll f] - (if (== count -1) - (loop [ret (f val val)] - (if (reduced? ret) - @ret - (recur (f ret val)))) - (loop [i 1 ret val] - (if (< i count) - (let [ret (f ret val)] - (if (reduced? ret) - @ret - (recur (inc i) ret))) - ret)))) - (-reduce [coll f start] - (if (== count -1) - (loop [ret (f start val)] - (if (reduced? ret) - @ret - (recur (f ret val)))) - (loop [i 0 ret start] - (if (< i count) - (let [ret (f ret val)] - (if (reduced? ret) - @ret - (recur (inc i) ret))) - ret))))) - -(defn repeat - "Returns a lazy (infinite!, or length n if supplied) sequence of xs." - ([x] (Repeat. nil -1 x nil nil)) - ([n x] (if (pos? n) - (Repeat. nil n x nil nil) - (.-EMPTY List)))) - -(defn replicate - "DEPRECATED: Use 'repeat' instead. - Returns a lazy seq of n xs." - [n x] (take n (repeat x))) - -(defn repeatedly - "Takes a function of no args, presumably with side effects, and - returns an infinite (or length n if supplied) lazy sequence of calls - to it" - ([f] (lazy-seq (cons (f) (repeatedly f)))) - ([n f] (take n (repeatedly f)))) - -(def ^:private UNREALIZED-SEED #js {}) - -(deftype Iterate [meta f prev-seed ^:mutable seed ^:mutable next] - Object - (toString [coll] - (pr-str* coll)) - - IPending - (-realized? [coll] - (not (identical? seed UNREALIZED-SEED))) - - IWithMeta - (-with-meta [coll meta] (Iterate. meta f prev-seed seed next)) - - IMeta - (-meta [coll] meta) - - ISeq - (-first [coll] - (when (identical? UNREALIZED-SEED seed) - (set! seed (f prev-seed))) - seed) - (-rest [coll] - (when (nil? next) - (set! next (Iterate. nil f (-first coll) UNREALIZED-SEED nil))) - next) - - INext - (-next [coll] - (-rest coll)) - - ICollection - (-conj [coll o] (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - ISequential - ISeqable - (-seq [coll] coll) - - IReduce - (-reduce [coll rf] - (let [first (-first coll) - v (f first)] - (loop [ret (rf first v) v v] - (if (reduced? ret) - @ret - (let [v (f v)] - (recur (rf ret v) v)))))) - (-reduce [coll rf start] - (let [v (-first coll)] - (loop [ret (rf start v) v v] - (if (reduced? ret) - @ret - (let [v (f v)] - (recur (rf ret v) v))))))) - -(defn iterate - "Returns a lazy sequence of x, (f x), (f (f x)) etc. f must be free of side-effects" - {:added "1.0"} - [f x] (Iterate. nil f nil x nil)) - -(defn interleave - "Returns a lazy seq of the first item in each coll, then the second etc." - ([] ()) - ([c1] (lazy-seq c1)) - ([c1 c2] - (lazy-seq - (let [s1 (seq c1) s2 (seq c2)] - (when (and s1 s2) - (cons (first s1) (cons (first s2) - (interleave (rest s1) (rest s2)))))))) - ([c1 c2 & colls] - (lazy-seq - (let [ss (map seq (conj colls c2 c1))] - (when (every? identity ss) - (concat (map first ss) (apply interleave (map rest ss)))))))) - -(defn interpose - "Returns a lazy seq of the elements of coll separated by sep. - Returns a stateful transducer when no collection is provided." - ([sep] - (fn [rf] - (let [started (volatile! false)] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (if @started - (let [sepr (rf result sep)] - (if (reduced? sepr) - sepr - (rf sepr input))) - (do - (vreset! started true) - (rf result input)))))))) - ([sep coll] (drop 1 (interleave (repeat sep) coll)))) - - - -(defn- flatten1 - "Take a collection of collections, and return a lazy seq - of items from the inner collection" - [colls] - (let [cat (fn cat [coll colls] - (lazy-seq - (if-let [coll (seq coll)] - (cons (first coll) (cat (rest coll) colls)) - (when (seq colls) - (cat (first colls) (rest colls))))))] - (cat nil colls))) - -(declare cat) - -(defn mapcat - "Returns the result of applying concat to the result of applying map - to f and colls. Thus function f should return a collection. Returns - a transducer when no collections are provided" - {:added "1.0" - :static true} - ([f] (comp (map f) cat)) - ([f & colls] - (apply concat (apply map f colls)))) - -(defn filter - "Returns a lazy sequence of the items in coll for which - (pred item) returns logical true. pred must be free of side-effects. - Returns a transducer when no collection is provided." - ([pred] - (fn [rf] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (if (pred input) - (rf result input) - result))))) - ([pred coll] - (lazy-seq - (when-let [s (seq coll)] - (if (chunked-seq? s) - (let [c (chunk-first s) - size (count c) - b (chunk-buffer size)] - (dotimes [i size] - (when (pred (-nth c i)) - (chunk-append b (-nth c i)))) - (chunk-cons (chunk b) (filter pred (chunk-rest s)))) - (let [f (first s) r (rest s)] - (if (pred f) - (cons f (filter pred r)) - (filter pred r)))))))) - -(defn remove - "Returns a lazy sequence of the items in coll for which - (pred item) returns logical false. pred must be free of side-effects. - Returns a transducer when no collection is provided." - ([pred] (filter (complement pred))) - ([pred coll] - (filter (complement pred) coll))) - -(defn tree-seq - "Returns a lazy sequence of the nodes in a tree, via a depth-first walk. - branch? must be a fn of one arg that returns true if passed a node - that can have children (but may not). children must be a fn of one - arg that returns a sequence of the children. Will only be called on - nodes for which branch? returns true. Root is the root node of the - tree." - [branch? children root] - (let [walk (fn walk [node] - (lazy-seq - (cons node - (when (branch? node) - (mapcat walk (children node))))))] - (walk root))) - -(defn flatten - "Takes any nested combination of sequential things (lists, vectors, - etc.) and returns their contents as a single, flat sequence. - (flatten nil) returns nil." - [x] - (filter #(not (sequential? %)) - (rest (tree-seq sequential? seq x)))) - -(defn into - "Returns a new coll consisting of to-coll with all of the items of - from-coll conjoined. A transducer may be supplied." - ([] []) - ([to] to) - ([to from] - (if-not (nil? to) - (if (implements? IEditableCollection to) - (-with-meta (persistent! (reduce -conj! (transient to) from)) (meta to)) - (reduce -conj to from)) - (reduce conj () from))) - ([to xform from] - (if (implements? IEditableCollection to) - (-with-meta (persistent! (transduce xform conj! (transient to) from)) (meta to)) - (transduce xform conj to from)))) - -(defn mapv - "Returns a vector consisting of the result of applying f to the - set of first items of each coll, followed by applying f to the set - of second items in each coll, until any one of the colls is - exhausted. Any remaining items in other colls are ignored. Function - f should accept number-of-colls arguments." - ([f coll] - (-> (reduce (fn [v o] (conj! v (f o))) (transient []) coll) - persistent!)) - ([f c1 c2] - (into [] (map f c1 c2))) - ([f c1 c2 c3] - (into [] (map f c1 c2 c3))) - ([f c1 c2 c3 & colls] - (into [] (apply map f c1 c2 c3 colls)))) - -(defn filterv - "Returns a vector of the items in coll for which - (pred item) returns logical true. pred must be free of side-effects." - [pred coll] - (-> (reduce (fn [v o] (if (pred o) (conj! v o) v)) - (transient []) - coll) - persistent!)) - -(defn partition - "Returns a lazy sequence of lists of n items each, at offsets step - apart. If step is not supplied, defaults to n, i.e. the partitions - do not overlap. If a pad collection is supplied, use its elements as - necessary to complete last partition up to n items. In case there are - not enough padding elements, return a partition with less than n items." - ([n coll] - (partition n n coll)) - ([n step coll] - (lazy-seq - (when-let [s (seq coll)] - (let [p (take n s)] - (when (== n (count p)) - (cons p (partition n step (drop step s)))))))) - ([n step pad coll] - (lazy-seq - (when-let [s (seq coll)] - (let [p (take n s)] - (if (== n (count p)) - (cons p (partition n step pad (drop step s))) - (list (take n (concat p pad))))))))) - -(defn get-in - "Returns the value in a nested associative structure, - where ks is a sequence of keys. Returns nil if the key is not present, - or the not-found value if supplied." - {:added "1.2" - :static true} - ([m ks] - (reduce get m ks)) - ([m ks not-found] - (loop [sentinel lookup-sentinel - m m - ks (seq ks)] - (if-not (nil? ks) - (let [m (get m (first ks) sentinel)] - (if (identical? sentinel m) - not-found - (recur sentinel m (next ks)))) - m)))) - -(defn assoc-in - "Associates a value in a nested associative structure, where ks is a - sequence of keys and v is the new value and returns a new nested structure. - If any levels do not exist, hash-maps will be created." - [m [k & ks] v] - (if ks - (assoc m k (assoc-in (get m k) ks v)) - (assoc m k v))) - -(defn update-in - "'Updates' a value in a nested associative structure, where ks is a - sequence of keys and f is a function that will take the old value - and any supplied args and return the new value, and returns a new - nested structure. If any levels do not exist, hash-maps will be - created." - ([m [k & ks] f] - (if ks - (assoc m k (update-in (get m k) ks f)) - (assoc m k (f (get m k))))) - ([m [k & ks] f a] - (if ks - (assoc m k (update-in (get m k) ks f a)) - (assoc m k (f (get m k) a)))) - ([m [k & ks] f a b] - (if ks - (assoc m k (update-in (get m k) ks f a b)) - (assoc m k (f (get m k) a b)))) - ([m [k & ks] f a b c] - (if ks - (assoc m k (update-in (get m k) ks f a b c)) - (assoc m k (f (get m k) a b c)))) - ([m [k & ks] f a b c & args] - (if ks - (assoc m k (apply update-in (get m k) ks f a b c args)) - (assoc m k (apply f (get m k) a b c args))))) - -(defn update - "'Updates' a value in an associative structure, where k is a - key and f is a function that will take the old value - and any supplied args and return the new value, and returns a new - structure. If the key does not exist, nil is passed as the old value." - ([m k f] - (assoc m k (f (get m k)))) - ([m k f x] - (assoc m k (f (get m k) x))) - ([m k f x y] - (assoc m k (f (get m k) x y))) - ([m k f x y z] - (assoc m k (f (get m k) x y z))) - ([m k f x y z & more] - (assoc m k (apply f (get m k) x y z more)))) - -;;; PersistentVector - -(deftype VectorNode [edit arr]) - -(defn- pv-fresh-node [edit] - (VectorNode. edit (make-array 32))) - -(defn- pv-aget [node idx] - (aget (.-arr node) idx)) - -(defn- pv-aset [node idx val] - (aset (.-arr node) idx val)) - -(defn- pv-clone-node [node] - (VectorNode. (.-edit node) (aclone (.-arr node)))) - -(defn- tail-off [pv] - (let [cnt (.-cnt pv)] - (if (< cnt 32) - 0 - (bit-shift-left (bit-shift-right-zero-fill (dec cnt) 5) 5)))) - -(defn- new-path [edit level node] - (loop [ll level - ret node] - (if (zero? ll) - ret - (let [embed ret - r (pv-fresh-node edit) - _ (pv-aset r 0 embed)] - (recur (- ll 5) r))))) - -(defn- push-tail [pv level parent tailnode] - (let [ret (pv-clone-node parent) - subidx (bit-and (bit-shift-right-zero-fill (dec (.-cnt pv)) level) 0x01f)] - (if (== 5 level) - (do - (pv-aset ret subidx tailnode) - ret) - (let [child (pv-aget parent subidx)] - (if-not (nil? child) - (let [node-to-insert (push-tail pv (- level 5) child tailnode)] - (pv-aset ret subidx node-to-insert) - ret) - (let [node-to-insert (new-path nil (- level 5) tailnode)] - (pv-aset ret subidx node-to-insert) - ret)))))) - -(defn- vector-index-out-of-bounds [i cnt] - (throw (js/Error. (str "No item " i " in vector of length " cnt)))) - -(defn- first-array-for-longvec [pv] - ;; invariants: (count pv) > 32. - (loop [node (.-root pv) - level (.-shift pv)] - (if (pos? level) - (recur (pv-aget node 0) (- level 5)) - (.-arr node)))) - -(defn- unchecked-array-for [pv i] - ;; invariant: i is a valid index of pv (use array-for if unknown). - (if (>= i (tail-off pv)) - (.-tail pv) - (loop [node (.-root pv) - level (.-shift pv)] - (if (pos? level) - (recur (pv-aget node (bit-and (bit-shift-right-zero-fill i level) 0x01f)) - (- level 5)) - (.-arr node))))) - -(defn- array-for [pv i] - (if (and (<= 0 i) (< i (.-cnt pv))) - (unchecked-array-for pv i) - (vector-index-out-of-bounds i (.-cnt pv)))) - -(defn- do-assoc [pv level node i val] - (let [ret (pv-clone-node node)] - (if (zero? level) - (do - (pv-aset ret (bit-and i 0x01f) val) - ret) - (let [subidx (bit-and (bit-shift-right-zero-fill i level) 0x01f)] - (pv-aset ret subidx (do-assoc pv (- level 5) (pv-aget node subidx) i val)) - ret)))) - -(defn- pop-tail [pv level node] - (let [subidx (bit-and (bit-shift-right-zero-fill (- (.-cnt pv) 2) level) 0x01f)] - (cond - (> level 5) (let [new-child (pop-tail pv (- level 5) (pv-aget node subidx))] - (if (and (nil? new-child) (zero? subidx)) - nil - (let [ret (pv-clone-node node)] - (pv-aset ret subidx new-child) - ret))) - (zero? subidx) nil - :else (let [ret (pv-clone-node node)] - (pv-aset ret subidx nil) - ret)))) - -(deftype RangedIterator [^:mutable i ^:mutable base ^:mutable arr v start end] - Object - (hasNext [this] - (< i end)) - (next [this] - (when (== (- i base) 32) - (set! arr (unchecked-array-for v i)) - (set! base (+ base 32))) - (let [ret (aget arr (bit-and i 0x01f))] - (set! i (inc i)) - ret))) - -(defn ranged-iterator [v start end] - (let [i start] - (RangedIterator. i (- i (js-mod i 32)) - (when (< start (count v)) - (unchecked-array-for v i)) - v start end))) - -(defn- pv-reduce - ([pv f start end] - (if (< start end) - (pv-reduce pv f (nth pv start) (inc start) end) - (f))) - ([pv f init start end] - (loop [acc init i start arr (unchecked-array-for pv start)] - (if (< i end) - (let [j (bit-and i 0x01f) - arr (if (zero? j) (unchecked-array-for pv i) arr) - nacc (f acc (aget arr j))] - (if (reduced? nacc) - @nacc - (recur nacc (inc i) arr))) - acc)))) - -(declare tv-editable-root tv-editable-tail TransientVector deref - pr-sequential-writer pr-writer chunked-seq) - -(defprotocol APersistentVector - "Marker protocol") - -(deftype PersistentVector [meta cnt shift root tail ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - ICloneable - (-clone [_] (PersistentVector. meta cnt shift root tail __hash)) - - IWithMeta - (-with-meta [coll meta] (PersistentVector. meta cnt shift root tail __hash)) - - IMeta - (-meta [coll] meta) - - IStack - (-peek [coll] - (when (> cnt 0) - (-nth coll (dec cnt)))) - (-pop [coll] - (cond - (zero? cnt) (throw (js/Error. "Can't pop empty vector")) - (== 1 cnt) (-with-meta (.-EMPTY PersistentVector) meta) - (< 1 (- cnt (tail-off coll))) - (PersistentVector. meta (dec cnt) shift root (.slice tail 0 -1) nil) - :else (let [new-tail (unchecked-array-for coll (- cnt 2)) - nr (pop-tail coll shift root) - new-root (if (nil? nr) (.-EMPTY-NODE PersistentVector) nr) - cnt-1 (dec cnt)] - (if (and (< 5 shift) (nil? (pv-aget new-root 1))) - (PersistentVector. meta cnt-1 (- shift 5) (pv-aget new-root 0) new-tail nil) - (PersistentVector. meta cnt-1 shift new-root new-tail nil))))) - - ICollection - (-conj [coll o] - (if (< (- cnt (tail-off coll)) 32) - (let [len (alength tail) - new-tail (make-array (inc len))] - (dotimes [i len] - (aset new-tail i (aget tail i))) - (aset new-tail len o) - (PersistentVector. meta (inc cnt) shift root new-tail nil)) - (let [root-overflow? (> (bit-shift-right-zero-fill cnt 5) (bit-shift-left 1 shift)) - new-shift (if root-overflow? (+ shift 5) shift) - new-root (if root-overflow? - (let [n-r (pv-fresh-node nil)] - (pv-aset n-r 0 root) - (pv-aset n-r 1 (new-path nil shift (VectorNode. nil tail))) - n-r) - (push-tail coll shift root (VectorNode. nil tail)))] - (PersistentVector. meta (inc cnt) new-shift new-root (array o) nil)))) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY PersistentVector) meta)) - - ISequential - IEquiv - (-equiv [coll other] - (if (instance? PersistentVector other) - (if (== cnt (count other)) - (let [me-iter (-iterator coll) - you-iter (-iterator other)] - (loop [] - (if ^boolean (.hasNext me-iter) - (let [x (.next me-iter) - y (.next you-iter)] - (if (= x y) - (recur) - false)) - true))) - false) - (equiv-sequential coll other))) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - ISeqable - (-seq [coll] - (cond - (zero? cnt) nil - (<= cnt 32) (IndexedSeq. tail 0 nil) - :else (chunked-seq coll (first-array-for-longvec coll) 0 0))) - - ICounted - (-count [coll] cnt) - - IIndexed - (-nth [coll n] - (aget (array-for coll n) (bit-and n 0x01f))) - (-nth [coll n not-found] - (if (and (<= 0 n) (< n cnt)) - (aget (unchecked-array-for coll n) (bit-and n 0x01f)) - not-found)) - - ILookup - (-lookup [coll k] (-lookup coll k nil)) - (-lookup [coll k not-found] (if (number? k) - (-nth coll k not-found) - not-found)) - - IAssociative - (-assoc [coll k v] - (if (number? k) - (-assoc-n coll k v) - (throw (js/Error. "Vector's key for assoc must be a number.")))) - (-contains-key? [coll k] - (if (integer? k) - (and (<= 0 k) (< k cnt)) - false)) - - IFind - (-find [coll n] - (when (and (<= 0 n) (< n cnt)) - (MapEntry. n (aget (unchecked-array-for coll n) (bit-and n 0x01f)) nil))) - - APersistentVector - IVector - (-assoc-n [coll n val] - (cond - (and (<= 0 n) (< n cnt)) - (if (<= (tail-off coll) n) - (let [new-tail (aclone tail)] - (aset new-tail (bit-and n 0x01f) val) - (PersistentVector. meta cnt shift root new-tail nil)) - (PersistentVector. meta cnt shift (do-assoc coll shift root n val) tail nil)) - (== n cnt) (-conj coll val) - :else (throw (js/Error. (str "Index " n " out of bounds [0," cnt "]"))))) - - IReduce - (-reduce [v f] - (pv-reduce v f 0 cnt)) - (-reduce [v f init] - (loop [i 0 init init] - (if (< i cnt) - (let [arr (unchecked-array-for v i) - len (alength arr) - init (loop [j 0 init init] - (if (< j len) - (let [init (f init (aget arr j))] - (if (reduced? init) - init - (recur (inc j) init))) - init))] - (if (reduced? init) - @init - (recur (+ i len) init))) - init))) - - IKVReduce - (-kv-reduce [v f init] - (loop [i 0 init init] - (if (< i cnt) - (let [arr (unchecked-array-for v i) - len (alength arr) - init (loop [j 0 init init] - (if (< j len) - (let [init (f init (+ j i) (aget arr j))] - (if (reduced? init) - init - (recur (inc j) init))) - init))] - (if (reduced? init) - @init - (recur (+ i len) init))) - init))) - - IFn - (-invoke [coll k] - (-nth coll k)) - (-invoke [coll k not-found] - (-nth coll k not-found)) - - IEditableCollection - (-as-transient [coll] - (TransientVector. cnt shift (tv-editable-root root) (tv-editable-tail tail))) - - IReversible - (-rseq [coll] - (when (pos? cnt) - (RSeq. coll (dec cnt) nil))) - - IIterable - (-iterator [this] - (ranged-iterator this 0 cnt))) - -(set! (.-EMPTY-NODE PersistentVector) (VectorNode. nil (make-array 32))) - -(set! (.-EMPTY PersistentVector) - (PersistentVector. nil 0 5 (.-EMPTY-NODE PersistentVector) (array) empty-ordered-hash)) - -(set! (.-fromArray PersistentVector) - (fn [xs ^boolean no-clone] - (let [l (alength xs) - xs (if no-clone xs (aclone xs))] - (if (< l 32) - (PersistentVector. nil l 5 (.-EMPTY-NODE PersistentVector) xs nil) - (let [node (.slice xs 0 32) - v (PersistentVector. nil 32 5 (.-EMPTY-NODE PersistentVector) node nil)] - (loop [i 32 out (-as-transient v)] - (if (< i l) - (recur (inc i) (conj! out (aget xs i))) - (persistent! out)))))))) - -(es6-iterable PersistentVector) - -(declare map-entry?) - -(defn vec - "Creates a new vector containing the contents of coll. JavaScript arrays - will be aliased and should not be modified." - [coll] - (cond - (map-entry? coll) - [(key coll) (val coll)] - - (vector? coll) - (with-meta coll nil) - - (array? coll) - (.fromArray PersistentVector coll true) - - :else - (-persistent! - (reduce -conj! - (-as-transient (.-EMPTY PersistentVector)) - coll)))) - -(defn vector - "Creates a new vector containing the args." - [& args] - (if (and (instance? IndexedSeq args) (zero? (.-i args))) - (.fromArray PersistentVector (.-arr args) true) - (vec args))) - -(declare subvec) - -(deftype ChunkedSeq [vec node i off meta ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IWithMeta - (-with-meta [coll m] - (chunked-seq vec node i off m)) - IMeta - (-meta [coll] meta) - - ISeqable - (-seq [coll] coll) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - ASeq - ISeq - (-first [coll] - (aget node off)) - (-rest [coll] - (if (< (inc off) (alength node)) - (let [s (chunked-seq vec node i (inc off))] - (if (nil? s) - () - s)) - (-chunked-rest coll))) - - INext - (-next [coll] - (if (< (inc off) (alength node)) - (let [s (chunked-seq vec node i (inc off))] - (if (nil? s) - nil - s)) - (-chunked-next coll))) - - ICollection - (-conj [coll o] - (cons o coll)) - - IEmptyableCollection - (-empty [coll] - ()) - - IChunkedSeq - (-chunked-first [coll] - (array-chunk node off)) - (-chunked-rest [coll] - (let [end (+ i (alength node))] - (if (< end (-count vec)) - (chunked-seq vec (unchecked-array-for vec end) end 0) - ()))) - - IChunkedNext - (-chunked-next [coll] - (let [end (+ i (alength node))] - (when (< end (-count vec)) - (chunked-seq vec (unchecked-array-for vec end) end 0)))) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - IReduce - (-reduce [coll f] - (pv-reduce vec f (+ i off) (count vec))) - - (-reduce [coll f start] - (pv-reduce vec f start (+ i off) (count vec)))) - -(es6-iterable ChunkedSeq) - -(defn chunked-seq - ([vec i off] (ChunkedSeq. vec (array-for vec i) i off nil nil)) - ([vec node i off] (ChunkedSeq. vec node i off nil nil)) - ([vec node i off meta] - (ChunkedSeq. vec node i off meta nil))) - -(declare build-subvec) - -(deftype Subvec [meta v start end ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - ICloneable - (-clone [_] (Subvec. meta v start end __hash)) - - IWithMeta - (-with-meta [coll meta] (build-subvec meta v start end __hash)) - - IMeta - (-meta [coll] meta) - - IStack - (-peek [coll] - (-nth v (dec end))) - (-pop [coll] - (if (== start end) - (throw (js/Error. "Can't pop empty vector")) - (build-subvec meta v start (dec end) nil))) - - ICollection - (-conj [coll o] - (build-subvec meta (-assoc-n v end o) start (inc end) nil)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY PersistentVector) meta)) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - ISeqable - (-seq [coll] - (let [subvec-seq (fn subvec-seq [i] - (when-not (== i end) - (cons (-nth v i) - (lazy-seq - (subvec-seq (inc i))))))] - (subvec-seq start))) - - IReversible - (-rseq [coll] - (if-not (== start end) - (RSeq. coll (dec (- end start)) nil))) - - ICounted - (-count [coll] (- end start)) - - IIndexed - (-nth [coll n] - (if (or (neg? n) (<= end (+ start n))) - (vector-index-out-of-bounds n (- end start)) - (-nth v (+ start n)))) - (-nth [coll n not-found] - (if (or (neg? n) (<= end (+ start n))) - not-found - (-nth v (+ start n) not-found))) - - ILookup - (-lookup [coll k] (-lookup coll k nil)) - (-lookup [coll k not-found] (if (number? k) - (-nth coll k not-found) - not-found)) - - IAssociative - (-assoc [coll key val] - (if (number? key) - (-assoc-n coll key val) - (throw (js/Error. "Subvec's key for assoc must be a number.")))) - - IFind - (-find [coll n] - (when-not (neg? n) - (let [idx (+ start n)] - (when (< idx end) - (MapEntry. n (-lookup v idx) nil))))) - - IVector - (-assoc-n [coll n val] - (let [v-pos (+ start n)] - (if (or (neg? n) (<= (inc end) v-pos)) - (throw (js/Error. (str "Index " n " out of bounds [0," (-count coll) "]"))) - (build-subvec meta (assoc v v-pos val) start (max end (inc v-pos)) nil)))) - - IReduce - (-reduce [coll f] - (if (implements? APersistentVector v) - (pv-reduce v f start end) - (ci-reduce coll f))) - (-reduce [coll f init] - (if (implements? APersistentVector v) - (pv-reduce v f init start end) - (ci-reduce coll f init))) - - IKVReduce - (-kv-reduce [coll f init] - (loop [i start j 0 init init] - (if (< i end) - (let [init (f init j (-nth v i))] - (if (reduced? init) - @init - (recur (inc i) (inc j) init))) - init))) - - IFn - (-invoke [coll k] - (-nth coll k)) - (-invoke [coll k not-found] - (-nth coll k not-found)) - - IIterable - (-iterator [coll] - (if (implements? APersistentVector v) - (ranged-iterator v start end) - (seq-iter coll)))) - -(es6-iterable Subvec) - -(defn- build-subvec [meta v start end __hash] - (if (instance? Subvec v) - (recur meta (.-v v) (+ (.-start v) start) (+ (.-start v) end) __hash) - (do - (when-not (vector? v) - (throw (js/Error. "v must satisfy IVector"))) - (let [c (count v)] - (when (or (neg? start) - (neg? end) - (> start c) - (> end c)) - (throw (js/Error. "Index out of bounds")))) - (Subvec. meta v start end __hash)))) - -(defn subvec - "Returns a persistent vector of the items in vector from - start (inclusive) to end (exclusive). If end is not supplied, - defaults to (count vector). This operation is O(1) and very fast, as - the resulting vector shares structure with the original and no - trimming is done." - ([v start] - (subvec v start (count v))) - ([v start end] - (assert (and (not (nil? start)) (not (nil? end)))) - (build-subvec nil v (int start) (int end) nil))) - -(defn- tv-ensure-editable [edit node] - (if (identical? edit (.-edit node)) - node - (VectorNode. edit (aclone (.-arr node))))) - -(defn- tv-editable-root [node] - (VectorNode. (js-obj) (aclone (.-arr node)))) - -(defn- tv-editable-tail [tl] - (let [ret (make-array 32)] - (array-copy tl 0 ret 0 (alength tl)) - ret)) - -(defn- tv-push-tail [tv level parent tail-node] - (let [ret (tv-ensure-editable (.. tv -root -edit) parent) - subidx (bit-and (bit-shift-right-zero-fill (dec (.-cnt tv)) level) 0x01f)] - (pv-aset ret subidx - (if (== level 5) - tail-node - (let [child (pv-aget ret subidx)] - (if-not (nil? child) - (tv-push-tail tv (- level 5) child tail-node) - (new-path (.. tv -root -edit) (- level 5) tail-node))))) - ret)) - -(defn- tv-pop-tail [tv level node] - (let [node (tv-ensure-editable (.. tv -root -edit) node) - subidx (bit-and (bit-shift-right-zero-fill (- (.-cnt tv) 2) level) 0x01f)] - (cond - (> level 5) (let [new-child (tv-pop-tail - tv (- level 5) (pv-aget node subidx))] - (if (and (nil? new-child) (zero? subidx)) - nil - (do (pv-aset node subidx new-child) - node))) - (zero? subidx) nil - :else (do (pv-aset node subidx nil) - node)))) - -(defn- unchecked-editable-array-for [tv i] - ;; invariant: i is a valid index of tv. - (if (>= i (tail-off tv)) - (.-tail tv) - (let [root (.-root tv)] - (loop [node root - level (.-shift tv)] - (if (pos? level) - (recur (tv-ensure-editable - (.-edit root) - (pv-aget node - (bit-and (bit-shift-right-zero-fill i level) - 0x01f))) - (- level 5)) - (.-arr node)))))) - -(deftype TransientVector [^:mutable cnt - ^:mutable shift - ^:mutable root - ^:mutable tail] - ITransientCollection - (-conj! [tcoll o] - (if ^boolean (.-edit root) - (if (< (- cnt (tail-off tcoll)) 32) - (do (aset tail (bit-and cnt 0x01f) o) - (set! cnt (inc cnt)) - tcoll) - (let [tail-node (VectorNode. (.-edit root) tail) - new-tail (make-array 32)] - (aset new-tail 0 o) - (set! tail new-tail) - (if (> (bit-shift-right-zero-fill cnt 5) - (bit-shift-left 1 shift)) - (let [new-root-array (make-array 32) - new-shift (+ shift 5)] - (aset new-root-array 0 root) - (aset new-root-array 1 (new-path (.-edit root) shift tail-node)) - (set! root (VectorNode. (.-edit root) new-root-array)) - (set! shift new-shift) - (set! cnt (inc cnt)) - tcoll) - (let [new-root (tv-push-tail tcoll shift root tail-node)] - (set! root new-root) - (set! cnt (inc cnt)) - tcoll)))) - (throw (js/Error. "conj! after persistent!")))) - - (-persistent! [tcoll] - (if ^boolean (.-edit root) - (do (set! (.-edit root) nil) - (let [len (- cnt (tail-off tcoll)) - trimmed-tail (make-array len)] - (array-copy tail 0 trimmed-tail 0 len) - (PersistentVector. nil cnt shift root trimmed-tail nil))) - (throw (js/Error. "persistent! called twice")))) - - ITransientAssociative - (-assoc! [tcoll key val] - (if (number? key) - (-assoc-n! tcoll key val) - (throw (js/Error. "TransientVector's key for assoc! must be a number.")))) - - ITransientVector - (-assoc-n! [tcoll n val] - (if ^boolean (.-edit root) - (cond - (and (<= 0 n) (< n cnt)) - (if (<= (tail-off tcoll) n) - (do (aset tail (bit-and n 0x01f) val) - tcoll) - (let [new-root - ((fn go [level node] - (let [node (tv-ensure-editable (.-edit root) node)] - (if (zero? level) - (do (pv-aset node (bit-and n 0x01f) val) - node) - (let [subidx (bit-and (bit-shift-right-zero-fill n level) - 0x01f)] - (pv-aset node subidx - (go (- level 5) (pv-aget node subidx))) - node)))) - shift root)] - (set! root new-root) - tcoll)) - (== n cnt) (-conj! tcoll val) - :else - (throw - (js/Error. - (str "Index " n " out of bounds for TransientVector of length" cnt)))) - (throw (js/Error. "assoc! after persistent!")))) - - (-pop! [tcoll] - (if ^boolean (.-edit root) - (cond - (zero? cnt) (throw (js/Error. "Can't pop empty vector")) - (== 1 cnt) (do (set! cnt 0) tcoll) - (pos? (bit-and (dec cnt) 0x01f)) (do (set! cnt (dec cnt)) tcoll) - :else - (let [new-tail (unchecked-editable-array-for tcoll (- cnt 2)) - new-root (let [nr (tv-pop-tail tcoll shift root)] - (if-not (nil? nr) - nr - (VectorNode. (.-edit root) (make-array 32))))] - (if (and (< 5 shift) (nil? (pv-aget new-root 1))) - (let [new-root (tv-ensure-editable (.-edit root) (pv-aget new-root 0))] - (set! root new-root) - (set! shift (- shift 5)) - (set! cnt (dec cnt)) - (set! tail new-tail) - tcoll) - (do (set! root new-root) - (set! cnt (dec cnt)) - (set! tail new-tail) - tcoll)))) - (throw (js/Error. "pop! after persistent!")))) - - ICounted - (-count [coll] - (if ^boolean (.-edit root) - cnt - (throw (js/Error. "count after persistent!")))) - - IIndexed - (-nth [coll n] - (if ^boolean (.-edit root) - (aget (array-for coll n) (bit-and n 0x01f)) - (throw (js/Error. "nth after persistent!")))) - - (-nth [coll n not-found] - (if (and (<= 0 n) (< n cnt)) - (-nth coll n) - not-found)) - - ILookup - (-lookup [coll k] (-lookup coll k nil)) - - (-lookup [coll k not-found] (if (number? k) - (-nth coll k not-found) - not-found)) - - IFn - (-invoke [coll k] - (-lookup coll k)) - - (-invoke [coll k not-found] - (-lookup coll k not-found))) - -;;; PersistentQueue ;;; - -(deftype PersistentQueueIter [^:mutable fseq riter] - Object - (hasNext [_] - (or (and (some? fseq) (seq fseq)) (and (some? riter) (.hasNext riter)))) - (next [_] - (cond - (some? fseq) - (let [ret (first fseq)] - (set! fseq (next fseq)) - ret) - (and (some? riter) ^boolean (.hasNext riter)) - (.next riter) - :else (throw (js/Error. "No such element")))) - (remove [_] (js/Error. "Unsupported operation"))) - -(deftype PersistentQueueSeq [meta front rear ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IWithMeta - (-with-meta [coll meta] (PersistentQueueSeq. meta front rear __hash)) - - IMeta - (-meta [coll] meta) - - ISeq - (-first [coll] (first front)) - (-rest [coll] - (if-let [f1 (next front)] - (PersistentQueueSeq. meta f1 rear nil) - (if (nil? rear) - (-empty coll) - (PersistentQueueSeq. meta rear nil nil)))) - - INext - (-next [coll] - (if-let [f1 (next front)] - (PersistentQueueSeq. meta f1 rear nil) - (when (some? rear) - (PersistentQueueSeq. meta rear nil nil)))) - - ICollection - (-conj [coll o] (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - ISeqable - (-seq [coll] coll)) - -(es6-iterable PersistentQueueSeq) - -(deftype PersistentQueue [meta count front rear ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - ICloneable - (-clone [coll] (PersistentQueue. meta count front rear __hash)) - - IIterable - (-iterator [coll] - (PersistentQueueIter. front (-iterator rear))) - - IWithMeta - (-with-meta [coll meta] (PersistentQueue. meta count front rear __hash)) - - IMeta - (-meta [coll] meta) - - ISeq - (-first [coll] (first front)) - (-rest [coll] (rest (seq coll))) - - IStack - (-peek [coll] (first front)) - (-pop [coll] - (if front - (if-let [f1 (next front)] - (PersistentQueue. meta (dec count) f1 rear nil) - (PersistentQueue. meta (dec count) (seq rear) [] nil)) - coll)) - - ICollection - (-conj [coll o] - (if front - (PersistentQueue. meta (inc count) front (conj (or rear []) o) nil) - (PersistentQueue. meta (inc count) (conj front o) [] nil))) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY PersistentQueue) meta)) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - ISeqable - (-seq [coll] - (let [rear (seq rear)] - (if (or front rear) - (PersistentQueueSeq. nil front (seq rear) nil)))) - - ICounted - (-count [coll] count)) - -(set! (.-EMPTY PersistentQueue) (PersistentQueue. nil 0 nil [] empty-ordered-hash)) - -(es6-iterable PersistentQueue) - -(deftype NeverEquiv [] - Object - (equiv [this other] - (-equiv this other)) - IEquiv - (-equiv [o other] false)) - -(def ^:private never-equiv (NeverEquiv.)) - -(defn ^boolean equiv-map - "Test map equivalence. Returns true if x equals y, otherwise returns false." - [x y] - (boolean - (when (and (map? y) (not (record? y))) - ; assume all maps are counted - (when (== (count x) (count y)) - (if (satisfies? IKVReduce x) - (reduce-kv - (fn [_ k v] - (if (= (get y k never-equiv) v) - true - (reduced false))) - true x) - (every? - (fn [xkv] - (= (get y (first xkv) never-equiv) (second xkv))) - x)))))) - - -(defn- scan-array [incr k array] - (let [len (alength array)] - (loop [i 0] - (when (< i len) - (if (identical? k (aget array i)) - i - (recur (+ i incr))))))) - -; The keys field is an array of all keys of this map, in no particular -; order. Any string, keyword, or symbol key is used as a property name -; to store the value in strobj. If a key is assoc'ed when that same -; key already exists in strobj, the old value is overwritten. If a -; non-string key is assoc'ed, return a HashMap object instead. - -(defn- obj-map-compare-keys [a b] - (let [a (hash a) - b (hash b)] - (cond - (< a b) -1 - (> a b) 1 - :else 0))) - -(defn- obj-map->hash-map [m k v] - (let [ks (.-keys m) - len (alength ks) - so (.-strobj m) - mm (meta m)] - (loop [i 0 - out (transient (.-EMPTY PersistentHashMap))] - (if (< i len) - (let [k (aget ks i)] - (recur (inc i) (assoc! out k (gobject/get so k)))) - (-with-meta (persistent! (assoc! out k v)) mm))))) - -;;; ObjMap - DEPRECATED - -(defn- obj-clone [obj ks] - (let [new-obj (js-obj) - l (alength ks)] - (loop [i 0] - (when (< i l) - (let [k (aget ks i)] - (gobject/set new-obj k (gobject/get obj k)) - (recur (inc i))))) - new-obj)) - -(deftype ObjMap [meta keys strobj update-count ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - - IWithMeta - (-with-meta [coll meta] (ObjMap. meta keys strobj update-count __hash)) - - IMeta - (-meta [coll] meta) - - ICollection - (-conj [coll entry] - (if (vector? entry) - (-assoc coll (-nth entry 0) (-nth entry 1)) - (reduce -conj - coll - entry))) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY ObjMap) meta)) - - IEquiv - (-equiv [coll other] (equiv-map coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) - - ISeqable - (-seq [coll] - (when (pos? (alength keys)) - (map #(vector % (unchecked-get strobj %)) - (.sort keys obj-map-compare-keys)))) - - ICounted - (-count [coll] (alength keys)) - - ILookup - (-lookup [coll k] (-lookup coll k nil)) - (-lookup [coll k not-found] - (if (and ^boolean (goog/isString k) - (not (nil? (scan-array 1 k keys)))) - (unchecked-get strobj k) - not-found)) - - IAssociative - (-assoc [coll k v] - (if ^boolean (goog/isString k) - (if (or (> update-count (.-HASHMAP_THRESHOLD ObjMap)) - (>= (alength keys) (.-HASHMAP_THRESHOLD ObjMap))) - (obj-map->hash-map coll k v) - (if-not (nil? (scan-array 1 k keys)) - (let [new-strobj (obj-clone strobj keys)] - (gobject/set new-strobj k v) - (ObjMap. meta keys new-strobj (inc update-count) nil)) ; overwrite - (let [new-strobj (obj-clone strobj keys) ; append - new-keys (aclone keys)] - (gobject/set new-strobj k v) - (.push new-keys k) - (ObjMap. meta new-keys new-strobj (inc update-count) nil)))) - ;; non-string key. game over. - (obj-map->hash-map coll k v))) - (-contains-key? [coll k] - (if (and ^boolean (goog/isString k) - (not (nil? (scan-array 1 k keys)))) - true - false)) - - IFind - (-find [coll k] - (when (and ^boolean (goog/isString k) - (not (nil? (scan-array 1 k keys)))) - (MapEntry. k (unchecked-get strobj k) nil))) - - IKVReduce - (-kv-reduce [coll f init] - (let [len (alength keys)] - (loop [keys (.sort keys obj-map-compare-keys) - init init] - (if (seq keys) - (let [k (first keys) - init (f init k (unchecked-get strobj k))] - (if (reduced? init) - @init - (recur (rest keys) init))) - init)))) - - IMap - (-dissoc [coll k] - (if (and ^boolean (goog/isString k) - (not (nil? (scan-array 1 k keys)))) - (let [new-keys (aclone keys) - new-strobj (obj-clone strobj keys)] - (.splice new-keys (scan-array 1 k new-keys) 1) - (js-delete new-strobj k) - (ObjMap. meta new-keys new-strobj (inc update-count) nil)) - coll)) ; key not found, return coll unchanged - - IFn - (-invoke [coll k] - (-lookup coll k)) - (-invoke [coll k not-found] - (-lookup coll k not-found)) - - IEditableCollection - (-as-transient [coll] - (transient (into (hash-map) coll)))) - -(set! (.-EMPTY ObjMap) (ObjMap. nil (array) (js-obj) 0 empty-unordered-hash)) - -(set! (.-HASHMAP_THRESHOLD ObjMap) 8) - -(set! (.-fromObject ObjMap) (fn [ks obj] (ObjMap. nil ks obj 0 nil))) - -;; Record Iterator -(deftype RecordIter [^:mutable i record base-count fields ext-map-iter] - Object - (hasNext [_] - (or (< i base-count) (.hasNext ext-map-iter))) - (next [_] - (if (< i base-count) - (let [k (nth fields i)] - (set! i (inc i)) - (MapEntry. k (-lookup record k) nil)) - (.next ext-map-iter))) - (remove [_] (js/Error. "Unsupported operation"))) - -;; EXPERIMENTAL: subject to change -(deftype ES6EntriesIterator [^:mutable s] - Object - (next [_] - (if-not (nil? s) - (let [[k v] (first s)] - (set! s (next s)) - #js {:value #js [k v] :done false}) - #js {:value nil :done true}))) - -(defn es6-entries-iterator [coll] - (ES6EntriesIterator. (seq coll))) - -;; EXPERIMENTAL: subject to change -(deftype ES6SetEntriesIterator [^:mutable s] - Object - (next [_] - (if-not (nil? s) - (let [x (first s)] - (set! s (next s)) - #js {:value #js [x x] :done false}) - #js {:value nil :done true}))) - -(defn es6-set-entries-iterator [coll] - (ES6SetEntriesIterator. (seq coll))) - -;;; PersistentArrayMap - -(defn- array-index-of-nil? [arr] - (let [len (alength arr)] - (loop [i 0] - (cond - (<= len i) -1 - (nil? (aget arr i)) i - :else (recur (+ i 2)))))) - -(defn- array-index-of-keyword? [arr k] - (let [len (alength arr) - kstr (.-fqn k)] - (loop [i 0] - (cond - (<= len i) -1 - (and (keyword? (aget arr i)) - (identical? kstr (.-fqn (aget arr i)))) i - :else (recur (+ i 2)))))) - -(defn- array-index-of-symbol? [arr k] - (let [len (alength arr) - kstr (.-str k)] - (loop [i 0] - (cond - (<= len i) -1 - (and (symbol? (aget arr i)) - (identical? kstr (.-str (aget arr i)))) i - :else (recur (+ i 2)))))) - -(defn- array-index-of-identical? [arr k] - (let [len (alength arr)] - (loop [i 0] - (cond - (<= len i) -1 - (identical? k (aget arr i)) i - :else (recur (+ i 2)))))) - -(defn- array-index-of-equiv? [arr k] - (let [len (alength arr)] - (loop [i 0] - (cond - (<= len i) -1 - (= k (aget arr i)) i - :else (recur (+ i 2)))))) - -(defn array-index-of [arr k] - (cond - (keyword? k) (array-index-of-keyword? arr k) - - (or ^boolean (goog/isString k) (number? k)) - (array-index-of-identical? arr k) - - (symbol? k) (array-index-of-symbol? arr k) - - (nil? k) - (array-index-of-nil? arr) - - :else (array-index-of-equiv? arr k))) - -(defn- array-map-index-of [m k] - (array-index-of (.-arr m) k)) - -(defn- array-extend-kv [arr k v] - (let [l (alength arr) - narr (make-array (+ l 2))] - (loop [i 0] - (when (< i l) - (aset narr i (aget arr i)) - (recur (inc i)))) - (aset narr l k) - (aset narr (inc l) v) - narr)) - -(defn- array-map-extend-kv [m k v] - (array-extend-kv (.-arr m) k v)) - -(declare TransientArrayMap) - -(deftype MapEntry [key val ^:mutable __hash] - Object - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IMapEntry - (-key [node] key) - (-val [node] val) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IMeta - (-meta [node] nil) - - IWithMeta - (-with-meta [node meta] - (with-meta [key val] meta)) - - IStack - (-peek [node] val) - - (-pop [node] [key]) - - ICollection - (-conj [node o] [key val o]) - - IEmptyableCollection - (-empty [node] nil) - - ISequential - ISeqable - (-seq [node] (IndexedSeq. #js [key val] 0 nil)) - - IReversible - (-rseq [node] (IndexedSeq. #js [val key] 0 nil)) - - ICounted - (-count [node] 2) - - IIndexed - (-nth [node n] - (cond (== n 0) key - (== n 1) val - :else (throw (js/Error. "Index out of bounds")))) - - (-nth [node n not-found] - (cond (== n 0) key - (== n 1) val - :else not-found)) - - ILookup - (-lookup [node k] (-nth node k nil)) - (-lookup [node k not-found] (-nth node k not-found)) - - IAssociative - (-assoc [node k v] - (assoc [key val] k v)) - (-contains-key? [node k] - (or (== k 0) (== k 1))) - - IFind - (-find [node k] - (case k - 0 (MapEntry. 0 key nil) - 1 (MapEntry. 1 val nil) - nil)) - - IVector - (-assoc-n [node n v] - (-assoc-n [key val] n v)) - - IReduce - (-reduce [node f] - (ci-reduce node f)) - - (-reduce [node f start] - (ci-reduce node f start)) - - IFn - (-invoke [node k] - (-nth node k)) - - (-invoke [node k not-found] - (-nth node k not-found))) - -(defn ^boolean map-entry? - "Returns true if x satisfies IMapEntry" - [x] - (implements? IMapEntry x)) - -(deftype PersistentArrayMapSeq [arr i _meta] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IMeta - (-meta [coll] _meta) - - IWithMeta - (-with-meta [coll new-meta] - (PersistentArrayMapSeq. arr i new-meta)) - - ICounted - (-count [coll] - (/ (- (alength arr) i) 2)) - - ISeqable - (-seq [coll] coll) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - ICollection - (-conj [coll o] - (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) _meta)) - - IHash - (-hash [coll] (hash-ordered-coll coll)) - - ISeq - (-first [coll] - (MapEntry. (aget arr i) (aget arr (inc i)) nil)) - - (-rest [coll] - (if (< i (- (alength arr) 2)) - (PersistentArrayMapSeq. arr (+ i 2) _meta) - ())) - - INext - (-next [coll] - (when (< i (- (alength arr) 2)) - (PersistentArrayMapSeq. arr (+ i 2) _meta))) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(es6-iterable PersistentArrayMapSeq) - -(defn persistent-array-map-seq [arr i _meta] - (when (<= i (- (alength arr) 2)) - (PersistentArrayMapSeq. arr i _meta))) - -(declare keys vals) - -(deftype PersistentArrayMapIterator [arr ^:mutable i cnt] - Object - (hasNext [_] - (< i cnt)) - (next [_] - (let [ret (MapEntry. (aget arr i) (aget arr (inc i)) nil)] - (set! i (+ i 2)) - ret))) - -(deftype PersistentArrayMap [meta cnt arr ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - - ;; EXPERIMENTAL: subject to change - (keys [coll] - (es6-iterator (keys coll))) - (entries [coll] - (es6-entries-iterator (seq coll))) - (values [coll] - (es6-iterator (vals coll))) - (has [coll k] - (contains? coll k)) - (get [coll k not-found] - (-lookup coll k not-found)) - (forEach [coll f] - (doseq [[k v] coll] - (f v k))) - - ICloneable - (-clone [_] (PersistentArrayMap. meta cnt arr __hash)) - - IWithMeta - (-with-meta [coll meta] (PersistentArrayMap. meta cnt arr __hash)) - - IMeta - (-meta [coll] meta) - - ICollection - (-conj [coll entry] - (if (vector? entry) - (-assoc coll (-nth entry 0) (-nth entry 1)) - (loop [ret coll es (seq entry)] - (if (nil? es) - ret - (let [e (first es)] - (if (vector? e) - (recur (-assoc ret (-nth e 0) (-nth e 1)) - (next es)) - (throw (js/Error. "conj on a map takes map entries or seqables of map entries")))))))) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY PersistentArrayMap) meta)) - - IEquiv - (-equiv [coll other] - (if (and (map? other) (not (record? other))) - (let [alen (alength arr) - ^not-native other other] - (if (== cnt (-count other)) - (loop [i 0] - (if (< i alen) - (let [v (-lookup other (aget arr i) lookup-sentinel)] - (if-not (identical? v lookup-sentinel) - (if (= (aget arr (inc i)) v) - (recur (+ i 2)) - false) - false)) - true)) - false)) - false)) - - IHash - (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) - - IIterable - (-iterator [this] - (PersistentArrayMapIterator. arr 0 (* cnt 2))) - - ISeqable - (-seq [coll] - (persistent-array-map-seq arr 0 nil)) - - ICounted - (-count [coll] cnt) - - ILookup - (-lookup [coll k] - (-lookup coll k nil)) - - (-lookup [coll k not-found] - (let [idx (array-map-index-of coll k)] - (if (== idx -1) - not-found - (aget arr (inc idx))))) - - IAssociative - (-assoc [coll k v] - (let [idx (array-map-index-of coll k)] - (cond - (== idx -1) - (if (< cnt (.-HASHMAP-THRESHOLD PersistentArrayMap)) - (let [arr (array-map-extend-kv coll k v)] - (PersistentArrayMap. meta (inc cnt) arr nil)) - (-> (into (.-EMPTY PersistentHashMap) coll) - (-assoc k v) - (-with-meta meta))) - - (identical? v (aget arr (inc idx))) - coll - - :else - (let [arr (doto (aclone arr) - (aset (inc idx) v))] - (PersistentArrayMap. meta cnt arr nil))))) - - (-contains-key? [coll k] - (not (== (array-map-index-of coll k) -1))) - - IFind - (-find [coll k] - (let [idx (array-map-index-of coll k)] - (when-not (== idx -1) - (MapEntry. (aget arr idx) (aget arr (inc idx)) nil)))) - - IMap - (-dissoc [coll k] - (let [idx (array-map-index-of coll k)] - (if (>= idx 0) - (let [len (alength arr) - new-len (- len 2)] - (if (zero? new-len) - (-empty coll) - (let [new-arr (make-array new-len)] - (loop [s 0 d 0] - (cond - (>= s len) (PersistentArrayMap. meta (dec cnt) new-arr nil) - (= k (aget arr s)) (recur (+ s 2) d) - :else (do (aset new-arr d (aget arr s)) - (aset new-arr (inc d) (aget arr (inc s))) - (recur (+ s 2) (+ d 2)))))))) - coll))) - - IKVReduce - (-kv-reduce [coll f init] - (let [len (alength arr)] - (loop [i 0 init init] - (if (< i len) - (let [init (f init (aget arr i) (aget arr (inc i)))] - (if (reduced? init) - @init - (recur (+ i 2) init))) - init)))) - - IReduce - (-reduce [coll f] - (iter-reduce coll f)) - (-reduce [coll f start] - (iter-reduce coll f start)) - - IFn - (-invoke [coll k] - (-lookup coll k)) - - (-invoke [coll k not-found] - (-lookup coll k not-found)) - - IEditableCollection - (-as-transient [coll] - (TransientArrayMap. (js-obj) (alength arr) (aclone arr)))) - -(set! (.-EMPTY PersistentArrayMap) (PersistentArrayMap. nil 0 (array) empty-unordered-hash)) - -(set! (.-HASHMAP-THRESHOLD PersistentArrayMap) 8) - -(set! (.-fromArray PersistentArrayMap) - (fn [arr ^boolean no-clone ^boolean no-check] - (as-> (if no-clone arr (aclone arr)) arr - (if no-check - arr - (let [ret (array)] - (loop [i 0] - (when (< i (alength arr)) - (let [k (aget arr i) - v (aget arr (inc i)) - idx (array-index-of ret k)] - (when (== idx -1) - (.push ret k) - (.push ret v))) - (recur (+ i 2)))) - ret)) - (let [cnt (/ (alength arr) 2)] - (PersistentArrayMap. nil cnt arr nil))))) - -(set! (.-createWithCheck PersistentArrayMap) - (fn [arr] - (let [ret (array)] - (loop [i 0] - (when (< i (alength arr)) - (let [k (aget arr i) - v (aget arr (inc i)) - idx (array-index-of ret k)] - (if (== idx -1) - (doto ret (.push k) (.push v)) - (throw (js/Error. (str "Duplicate key: " k))))) - (recur (+ i 2)))) - (let [cnt (/ (alength arr) 2)] - (PersistentArrayMap. nil cnt arr nil))))) - -(set! (.-createAsIfByAssoc PersistentArrayMap) - (fn [arr] - (let [ret (array)] - (loop [i 0] - (when (< i (alength arr)) - (let [k (aget arr i) - v (aget arr (inc i)) - idx (array-index-of ret k)] - (if (== idx -1) - (doto ret (.push k) (.push v)) - (aset ret (inc idx) v))) - (recur (+ i 2)))) - (PersistentArrayMap. nil (/ (alength ret) 2) ret nil)))) - -(es6-iterable PersistentArrayMap) - -(declare array->transient-hash-map) - -(deftype TransientArrayMap [^:mutable editable? - ^:mutable len - arr] - ICounted - (-count [tcoll] - (if editable? - (quot len 2) - (throw (js/Error. "count after persistent!")))) - - ILookup - (-lookup [tcoll k] - (-lookup tcoll k nil)) - - (-lookup [tcoll k not-found] - (if editable? - (let [idx (array-map-index-of tcoll k)] - (if (== idx -1) - not-found - (aget arr (inc idx)))) - (throw (js/Error. "lookup after persistent!")))) - - ITransientCollection - (-conj! [tcoll o] - (if editable? - (cond - (map-entry? o) - (-assoc! tcoll (key o) (val o)) - - (vector? o) - (-assoc! tcoll (o 0) (o 1)) - - :else - (loop [es (seq o) tcoll tcoll] - (if-let [e (first es)] - (recur (next es) - (-assoc! tcoll (key e) (val e))) - tcoll))) - (throw (js/Error. "conj! after persistent!")))) - - (-persistent! [tcoll] - (if editable? - (do (set! editable? false) - (PersistentArrayMap. nil (quot len 2) arr nil)) - (throw (js/Error. "persistent! called twice")))) - - ITransientAssociative - (-assoc! [tcoll key val] - (if editable? - (let [idx (array-map-index-of tcoll key)] - (if (== idx -1) - (if (<= (+ len 2) (* 2 (.-HASHMAP-THRESHOLD PersistentArrayMap))) - (do (set! len (+ len 2)) - (.push arr key) - (.push arr val) - tcoll) - (assoc! (array->transient-hash-map len arr) key val)) - (if (identical? val (aget arr (inc idx))) - tcoll - (do (aset arr (inc idx) val) - tcoll)))) - (throw (js/Error. "assoc! after persistent!")))) - - ITransientMap - (-dissoc! [tcoll key] - (if editable? - (let [idx (array-map-index-of tcoll key)] - (when (>= idx 0) - (aset arr idx (aget arr (- len 2))) - (aset arr (inc idx) (aget arr (dec len))) - (doto arr .pop .pop) - (set! len (- len 2))) - tcoll) - (throw (js/Error. "dissoc! after persistent!")))) - - IFn - (-invoke [tcoll key] - (-lookup tcoll key nil)) - (-invoke [tcoll key not-found] - (-lookup tcoll key not-found))) - -(declare TransientHashMap) - -(defn- array->transient-hash-map [len arr] - (loop [out (transient (.-EMPTY PersistentHashMap)) - i 0] - (if (< i len) - (recur (assoc! out (aget arr i) (aget arr (inc i))) (+ i 2)) - out))) - -;;; PersistentHashMap - -(deftype Box [^:mutable val]) - -(declare create-inode-seq create-array-node-seq reset! create-node atom deref) - -(defn ^boolean key-test [key other] - (cond - (identical? key other) true - (keyword-identical? key other) true - :else (= key other))) - -(defn- mask [hash shift] - (bit-and (bit-shift-right-zero-fill hash shift) 0x01f)) - -(defn- clone-and-set - ([arr i a] - (doto (aclone arr) - (aset i a))) - ([arr i a j b] - (doto (aclone arr) - (aset i a) - (aset j b)))) - -(defn- remove-pair [arr i] - (let [new-arr (make-array (- (alength arr) 2))] - (array-copy arr 0 new-arr 0 (* 2 i)) - (array-copy arr (* 2 (inc i)) new-arr (* 2 i) (- (alength new-arr) (* 2 i))) - new-arr)) - -(defn- bitmap-indexed-node-index [bitmap bit] - (bit-count (bit-and bitmap (dec bit)))) - -(defn- bitpos [hash shift] - (bit-shift-left 1 (mask hash shift))) - -(defn- edit-and-set - ([inode edit i a] - (let [editable (.ensure-editable inode edit)] - (aset (.-arr editable) i a) - editable)) - ([inode edit i a j b] - (let [editable (.ensure-editable inode edit)] - (aset (.-arr editable) i a) - (aset (.-arr editable) j b) - editable))) - -(defn- inode-kv-reduce [arr f init] - (let [len (alength arr)] - (loop [i 0 init init] - (if (< i len) - (let [init (let [k (aget arr i)] - (if-not (nil? k) - (f init k (aget arr (inc i))) - (let [node (aget arr (inc i))] - (if-not (nil? node) - (.kv-reduce node f init) - init))))] - (if (reduced? init) - init - (recur (+ i 2) init))) - init)))) - -(declare ArrayNode) - - (deftype NodeIterator [arr ^:mutable i ^:mutable next-entry ^:mutable next-iter] - Object - (advance [this] - (let [len (alength arr)] - (loop [] - (if (< i len) - (let [key (aget arr i) - node-or-val (aget arr (inc i)) - ^boolean found - (cond (some? key) - (set! next-entry (MapEntry. key node-or-val nil)) - (some? node-or-val) - (let [new-iter (-iterator node-or-val)] - (if ^boolean (.hasNext new-iter) - (set! next-iter new-iter) - false)) - :else false)] - (set! i (+ i 2)) - (if found true (recur))) - false)))) - (hasNext [this] - (or (some? next-entry) (some? next-iter) (.advance this))) - (next [this] - (cond - (some? next-entry) - (let [ret next-entry] - (set! next-entry nil) - ret) - (some? next-iter) - (let [ret (.next next-iter)] - (when-not ^boolean (.hasNext next-iter) - (set! next-iter nil)) - ret) - ^boolean (.advance this) - (.next this) - :else (throw (js/Error. "No such element")))) - (remove [_] (js/Error. "Unsupported operation"))) - -(deftype BitmapIndexedNode [edit ^:mutable bitmap ^:mutable arr] - Object - (inode-assoc [inode shift hash key val added-leaf?] - (let [bit (bitpos hash shift) - idx (bitmap-indexed-node-index bitmap bit)] - (if (zero? (bit-and bitmap bit)) - (let [n (bit-count bitmap)] - (if (>= n 16) - (let [nodes (make-array 32) - jdx (mask hash shift)] - (aset nodes jdx (.inode-assoc (.-EMPTY BitmapIndexedNode) (+ shift 5) hash key val added-leaf?)) - (loop [i 0 j 0] - (if (< i 32) - (if (zero? (bit-and (bit-shift-right-zero-fill bitmap i) 1)) - (recur (inc i) j) - (do (aset nodes i - (if-not (nil? (aget arr j)) - (.inode-assoc (.-EMPTY BitmapIndexedNode) - (+ shift 5) (cljs.core/hash (aget arr j)) (aget arr j) (aget arr (inc j)) added-leaf?) - (aget arr (inc j)))) - (recur (inc i) (+ j 2)))))) - (ArrayNode. nil (inc n) nodes)) - (let [new-arr (make-array (* 2 (inc n)))] - (array-copy arr 0 new-arr 0 (* 2 idx)) - (aset new-arr (* 2 idx) key) - (aset new-arr (inc (* 2 idx)) val) - (array-copy arr (* 2 idx) new-arr (* 2 (inc idx)) (* 2 (- n idx))) - (set! (.-val added-leaf?) true) - (BitmapIndexedNode. nil (bit-or bitmap bit) new-arr)))) - (let [key-or-nil (aget arr (* 2 idx)) - val-or-node (aget arr (inc (* 2 idx)))] - (cond (nil? key-or-nil) - (let [n (.inode-assoc val-or-node (+ shift 5) hash key val added-leaf?)] - (if (identical? n val-or-node) - inode - (BitmapIndexedNode. nil bitmap (clone-and-set arr (inc (* 2 idx)) n)))) - - (key-test key key-or-nil) - (if (identical? val val-or-node) - inode - (BitmapIndexedNode. nil bitmap (clone-and-set arr (inc (* 2 idx)) val))) - - :else - (do (set! (.-val added-leaf?) true) - (BitmapIndexedNode. nil bitmap - (clone-and-set arr (* 2 idx) nil (inc (* 2 idx)) - (create-node (+ shift 5) key-or-nil val-or-node hash key val))))))))) - - (inode-without [inode shift hash key] - (let [bit (bitpos hash shift)] - (if (zero? (bit-and bitmap bit)) - inode - (let [idx (bitmap-indexed-node-index bitmap bit) - key-or-nil (aget arr (* 2 idx)) - val-or-node (aget arr (inc (* 2 idx)))] - (cond (nil? key-or-nil) - (let [n (.inode-without val-or-node (+ shift 5) hash key)] - (cond (identical? n val-or-node) inode - (not (nil? n)) (BitmapIndexedNode. nil bitmap (clone-and-set arr (inc (* 2 idx)) n)) - (== bitmap bit) nil - :else (BitmapIndexedNode. nil (bit-xor bitmap bit) (remove-pair arr idx)))) - (key-test key key-or-nil) - (BitmapIndexedNode. nil (bit-xor bitmap bit) (remove-pair arr idx)) - :else inode))))) - - (inode-lookup [inode shift hash key not-found] - (let [bit (bitpos hash shift)] - (if (zero? (bit-and bitmap bit)) - not-found - (let [idx (bitmap-indexed-node-index bitmap bit) - key-or-nil (aget arr (* 2 idx)) - val-or-node (aget arr (inc (* 2 idx)))] - (cond (nil? key-or-nil) (.inode-lookup val-or-node (+ shift 5) hash key not-found) - (key-test key key-or-nil) val-or-node - :else not-found))))) - - (inode-find [inode shift hash key not-found] - (let [bit (bitpos hash shift)] - (if (zero? (bit-and bitmap bit)) - not-found - (let [idx (bitmap-indexed-node-index bitmap bit) - key-or-nil (aget arr (* 2 idx)) - val-or-node (aget arr (inc (* 2 idx)))] - (cond (nil? key-or-nil) (.inode-find val-or-node (+ shift 5) hash key not-found) - (key-test key key-or-nil) (MapEntry. key-or-nil val-or-node nil) - :else not-found))))) - - (inode-seq [inode] - (create-inode-seq arr)) - - (ensure-editable [inode e] - (if (identical? e edit) - inode - (let [n (bit-count bitmap) - new-arr (make-array (if (neg? n) 4 (* 2 (inc n))))] - (array-copy arr 0 new-arr 0 (* 2 n)) - (BitmapIndexedNode. e bitmap new-arr)))) - - (edit-and-remove-pair [inode e bit i] - (if (== bitmap bit) - nil - (let [editable (.ensure-editable inode e) - earr (.-arr editable) - len (alength earr)] - (set! (.-bitmap editable) (bit-xor bit (.-bitmap editable))) - (array-copy earr (* 2 (inc i)) - earr (* 2 i) - (- len (* 2 (inc i)))) - (aset earr (- len 2) nil) - (aset earr (dec len) nil) - editable))) - - (inode-assoc! [inode edit shift hash key val added-leaf?] - (let [bit (bitpos hash shift) - idx (bitmap-indexed-node-index bitmap bit)] - (if (zero? (bit-and bitmap bit)) - (let [n (bit-count bitmap)] - (cond - (< (* 2 n) (alength arr)) - (let [editable (.ensure-editable inode edit) - earr (.-arr editable)] - (set! (.-val added-leaf?) true) - (array-copy-downward earr (* 2 idx) - earr (* 2 (inc idx)) - (* 2 (- n idx))) - (aset earr (* 2 idx) key) - (aset earr (inc (* 2 idx)) val) - (set! (.-bitmap editable) (bit-or (.-bitmap editable) bit)) - editable) - - (>= n 16) - (let [nodes (make-array 32) - jdx (mask hash shift)] - (aset nodes jdx (.inode-assoc! (.-EMPTY BitmapIndexedNode) edit (+ shift 5) hash key val added-leaf?)) - (loop [i 0 j 0] - (if (< i 32) - (if (zero? (bit-and (bit-shift-right-zero-fill bitmap i) 1)) - (recur (inc i) j) - (do (aset nodes i - (if-not (nil? (aget arr j)) - (.inode-assoc! (.-EMPTY BitmapIndexedNode) - edit (+ shift 5) (cljs.core/hash (aget arr j)) (aget arr j) (aget arr (inc j)) added-leaf?) - (aget arr (inc j)))) - (recur (inc i) (+ j 2)))))) - (ArrayNode. edit (inc n) nodes)) - - :else - (let [new-arr (make-array (* 2 (+ n 4)))] - (array-copy arr 0 new-arr 0 (* 2 idx)) - (aset new-arr (* 2 idx) key) - (aset new-arr (inc (* 2 idx)) val) - (array-copy arr (* 2 idx) new-arr (* 2 (inc idx)) (* 2 (- n idx))) - (set! (.-val added-leaf?) true) - (let [editable (.ensure-editable inode edit)] - (set! (.-arr editable) new-arr) - (set! (.-bitmap editable) (bit-or (.-bitmap editable) bit)) - editable)))) - (let [key-or-nil (aget arr (* 2 idx)) - val-or-node (aget arr (inc (* 2 idx)))] - (cond (nil? key-or-nil) - (let [n (.inode-assoc! val-or-node edit (+ shift 5) hash key val added-leaf?)] - (if (identical? n val-or-node) - inode - (edit-and-set inode edit (inc (* 2 idx)) n))) - - (key-test key key-or-nil) - (if (identical? val val-or-node) - inode - (edit-and-set inode edit (inc (* 2 idx)) val)) - - :else - (do (set! (.-val added-leaf?) true) - (edit-and-set inode edit (* 2 idx) nil (inc (* 2 idx)) - (create-node edit (+ shift 5) key-or-nil val-or-node hash key val)))))))) - - (inode-without! [inode edit shift hash key removed-leaf?] - (let [bit (bitpos hash shift)] - (if (zero? (bit-and bitmap bit)) - inode - (let [idx (bitmap-indexed-node-index bitmap bit) - key-or-nil (aget arr (* 2 idx)) - val-or-node (aget arr (inc (* 2 idx)))] - (cond (nil? key-or-nil) - (let [n (.inode-without! val-or-node edit (+ shift 5) hash key removed-leaf?)] - (cond (identical? n val-or-node) inode - (not (nil? n)) (edit-and-set inode edit (inc (* 2 idx)) n) - (== bitmap bit) nil - :else (.edit-and-remove-pair inode edit bit idx))) - (key-test key key-or-nil) - (do (set! (.-val removed-leaf?) true) - (.edit-and-remove-pair inode edit bit idx)) - :else inode))))) - - (kv-reduce [inode f init] - (inode-kv-reduce arr f init)) - - IIterable - (-iterator [coll] - (NodeIterator. arr 0 nil nil))) - -(set! (.-EMPTY BitmapIndexedNode) (BitmapIndexedNode. nil 0 (make-array 0))) - -(defn- pack-array-node [array-node edit idx] - (let [arr (.-arr array-node) - len (alength arr) - new-arr (make-array (* 2 (dec (.-cnt array-node))))] - (loop [i 0 j 1 bitmap 0] - (if (< i len) - (if (and (not (== i idx)) - (not (nil? (aget arr i)))) - (do (aset new-arr j (aget arr i)) - (recur (inc i) (+ j 2) (bit-or bitmap (bit-shift-left 1 i)))) - (recur (inc i) j bitmap)) - (BitmapIndexedNode. edit bitmap new-arr))))) - -(deftype ArrayNodeIterator [arr ^:mutable i ^:mutable next-iter] - Object - (hasNext [this] - (let [len (alength arr)] - (loop [] - (if-not (and (some? next-iter) ^boolean (.hasNext next-iter)) - (if (< i len) - (let [node (aget arr i)] - (set! i (inc i)) - (when (some? node) - (set! next-iter (-iterator node))) - (recur)) - false) - true)))) - (next [this] - (if ^boolean (.hasNext this) - (.next next-iter) - (throw (js/Error. "No such element")))) - (remove [_] (js/Error. "Unsupported operation"))) - -(deftype ArrayNode [edit ^:mutable cnt ^:mutable arr] - Object - (inode-assoc [inode shift hash key val added-leaf?] - (let [idx (mask hash shift) - node (aget arr idx)] - (if (nil? node) - (ArrayNode. nil (inc cnt) (clone-and-set arr idx (.inode-assoc (.-EMPTY BitmapIndexedNode) (+ shift 5) hash key val added-leaf?))) - (let [n (.inode-assoc node (+ shift 5) hash key val added-leaf?)] - (if (identical? n node) - inode - (ArrayNode. nil cnt (clone-and-set arr idx n))))))) - - (inode-without [inode shift hash key] - (let [idx (mask hash shift) - node (aget arr idx)] - (if-not (nil? node) - (let [n (.inode-without node (+ shift 5) hash key)] - (cond - (identical? n node) - inode - - (nil? n) - (if (<= cnt 8) - (pack-array-node inode nil idx) - (ArrayNode. nil (dec cnt) (clone-and-set arr idx n))) - - :else - (ArrayNode. nil cnt (clone-and-set arr idx n)))) - inode))) - - (inode-lookup [inode shift hash key not-found] - (let [idx (mask hash shift) - node (aget arr idx)] - (if-not (nil? node) - (.inode-lookup node (+ shift 5) hash key not-found) - not-found))) - - (inode-find [inode shift hash key not-found] - (let [idx (mask hash shift) - node (aget arr idx)] - (if-not (nil? node) - (.inode-find node (+ shift 5) hash key not-found) - not-found))) - - (inode-seq [inode] - (create-array-node-seq arr)) - - (ensure-editable [inode e] - (if (identical? e edit) - inode - (ArrayNode. e cnt (aclone arr)))) - - (inode-assoc! [inode edit shift hash key val added-leaf?] - (let [idx (mask hash shift) - node (aget arr idx)] - (if (nil? node) - (let [editable (edit-and-set inode edit idx (.inode-assoc! (.-EMPTY BitmapIndexedNode) edit (+ shift 5) hash key val added-leaf?))] - (set! (.-cnt editable) (inc (.-cnt editable))) - editable) - (let [n (.inode-assoc! node edit (+ shift 5) hash key val added-leaf?)] - (if (identical? n node) - inode - (edit-and-set inode edit idx n)))))) - - (inode-without! [inode edit shift hash key removed-leaf?] - (let [idx (mask hash shift) - node (aget arr idx)] - (if (nil? node) - inode - (let [n (.inode-without! node edit (+ shift 5) hash key removed-leaf?)] - (cond - (identical? n node) - inode - - (nil? n) - (if (<= cnt 8) - (pack-array-node inode edit idx) - (let [editable (edit-and-set inode edit idx n)] - (set! (.-cnt editable) (dec (.-cnt editable))) - editable)) - - :else - (edit-and-set inode edit idx n)))))) - - (kv-reduce [inode f init] - (let [len (alength arr)] ; actually 32 - (loop [i 0 init init] - (if (< i len) - (let [node (aget arr i)] - (if-not (nil? node) - (let [init (.kv-reduce node f init)] - (if (reduced? init) - init - (recur (inc i) init))) - (recur (inc i) init))) - init)))) - - IIterable - (-iterator [coll] - (ArrayNodeIterator. arr 0 nil))) - -(defn- hash-collision-node-find-index [arr cnt key] - (let [lim (* 2 cnt)] - (loop [i 0] - (if (< i lim) - (if (key-test key (aget arr i)) - i - (recur (+ i 2))) - -1)))) - -(deftype HashCollisionNode [edit - ^:mutable collision-hash - ^:mutable cnt - ^:mutable arr] - Object - (inode-assoc [inode shift hash key val added-leaf?] - (if (== hash collision-hash) - (let [idx (hash-collision-node-find-index arr cnt key)] - (if (== idx -1) - (let [len (* 2 cnt) - new-arr (make-array (+ len 2))] - (array-copy arr 0 new-arr 0 len) - (aset new-arr len key) - (aset new-arr (inc len) val) - (set! (.-val added-leaf?) true) - (HashCollisionNode. nil collision-hash (inc cnt) new-arr)) - (if (= (aget arr (inc idx)) val) - inode - (HashCollisionNode. nil collision-hash cnt (clone-and-set arr (inc idx) val))))) - (.inode-assoc (BitmapIndexedNode. nil (bitpos collision-hash shift) (array nil inode)) - shift hash key val added-leaf?))) - - (inode-without [inode shift hash key] - (let [idx (hash-collision-node-find-index arr cnt key)] - (cond (== idx -1) inode - (== cnt 1) nil - :else (HashCollisionNode. nil collision-hash (dec cnt) (remove-pair arr (quot idx 2)))))) - - (inode-lookup [inode shift hash key not-found] - (let [idx (hash-collision-node-find-index arr cnt key)] - (cond (< idx 0) not-found - (key-test key (aget arr idx)) (aget arr (inc idx)) - :else not-found))) - - (inode-find [inode shift hash key not-found] - (let [idx (hash-collision-node-find-index arr cnt key)] - (cond (< idx 0) not-found - (key-test key (aget arr idx)) (MapEntry. (aget arr idx) (aget arr (inc idx)) nil) - :else not-found))) - - (inode-seq [inode] - (create-inode-seq arr)) - - (ensure-editable [inode e] - (if (identical? e edit) - inode - (let [new-arr (make-array (* 2 (inc cnt)))] - (array-copy arr 0 new-arr 0 (* 2 cnt)) - (HashCollisionNode. e collision-hash cnt new-arr)))) - - (ensure-editable-array [inode e count array] - (if (identical? e edit) - (do (set! arr array) - (set! cnt count) - inode) - (HashCollisionNode. edit collision-hash count array))) - - (inode-assoc! [inode edit shift hash key val added-leaf?] - (if (== hash collision-hash) - (let [idx (hash-collision-node-find-index arr cnt key)] - (if (== idx -1) - (if (> (alength arr) (* 2 cnt)) - (let [editable (edit-and-set inode edit (* 2 cnt) key (inc (* 2 cnt)) val)] - (set! (.-val added-leaf?) true) - (set! (.-cnt editable) (inc (.-cnt editable))) - editable) - (let [len (alength arr) - new-arr (make-array (+ len 2))] - (array-copy arr 0 new-arr 0 len) - (aset new-arr len key) - (aset new-arr (inc len) val) - (set! (.-val added-leaf?) true) - (.ensure-editable-array inode edit (inc cnt) new-arr))) - (if (identical? (aget arr (inc idx)) val) - inode - (edit-and-set inode edit (inc idx) val)))) - (.inode-assoc! (BitmapIndexedNode. edit (bitpos collision-hash shift) (array nil inode nil nil)) - edit shift hash key val added-leaf?))) - - (inode-without! [inode edit shift hash key removed-leaf?] - (let [idx (hash-collision-node-find-index arr cnt key)] - (if (== idx -1) - inode - (do (set! (.-val removed-leaf?) true) - (if (== cnt 1) - nil - (let [editable (.ensure-editable inode edit) - earr (.-arr editable)] - (aset earr idx (aget earr (- (* 2 cnt) 2))) - (aset earr (inc idx) (aget earr (dec (* 2 cnt)))) - (aset earr (dec (* 2 cnt)) nil) - (aset earr (- (* 2 cnt) 2) nil) - (set! (.-cnt editable) (dec (.-cnt editable))) - editable)))))) - - (kv-reduce [inode f init] - (inode-kv-reduce arr f init)) - - IIterable - (-iterator [coll] - (NodeIterator. arr 0 nil nil))) - -(defn- create-node - ([shift key1 val1 key2hash key2 val2] - (let [key1hash (hash key1)] - (if (== key1hash key2hash) - (HashCollisionNode. nil key1hash 2 (array key1 val1 key2 val2)) - (let [added-leaf? (Box. false)] - (-> (.-EMPTY BitmapIndexedNode) - (.inode-assoc shift key1hash key1 val1 added-leaf?) - (.inode-assoc shift key2hash key2 val2 added-leaf?)))))) - ([edit shift key1 val1 key2hash key2 val2] - (let [key1hash (hash key1)] - (if (== key1hash key2hash) - (HashCollisionNode. nil key1hash 2 (array key1 val1 key2 val2)) - (let [added-leaf? (Box. false)] - (-> (.-EMPTY BitmapIndexedNode) - (.inode-assoc! edit shift key1hash key1 val1 added-leaf?) - (.inode-assoc! edit shift key2hash key2 val2 added-leaf?))))))) - -(deftype NodeSeq [meta nodes i s ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IMeta - (-meta [coll] meta) - - IWithMeta - (-with-meta [coll meta] (NodeSeq. meta nodes i s __hash)) - - ICollection - (-conj [coll o] (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - ISequential - ISeq - (-first [coll] - (if (nil? s) - (MapEntry. (aget nodes i) (aget nodes (inc i)) nil) - (first s))) - - (-rest [coll] - (let [ret (if (nil? s) - (create-inode-seq nodes (+ i 2) nil) - (create-inode-seq nodes i (next s)))] - (if-not (nil? ret) ret ()))) - - INext - (-next [coll] - (if (nil? s) - (create-inode-seq nodes (+ i 2) nil) - (create-inode-seq nodes i (next s)))) - - ISeqable - (-seq [this] this) - - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(es6-iterable NodeSeq) - -(defn- create-inode-seq - ([nodes] - (create-inode-seq nodes 0 nil)) - ([nodes i s] - (if (nil? s) - (let [len (alength nodes)] - (loop [j i] - (if (< j len) - (if-not (nil? (aget nodes j)) - (NodeSeq. nil nodes j nil nil) - (if-let [node (aget nodes (inc j))] - (if-let [node-seq (.inode-seq node)] - (NodeSeq. nil nodes (+ j 2) node-seq nil) - (recur (+ j 2))) - (recur (+ j 2))))))) - (NodeSeq. nil nodes i s nil)))) - -(deftype ArrayNodeSeq [meta nodes i s ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IMeta - (-meta [coll] meta) - - IWithMeta - (-with-meta [coll meta] (ArrayNodeSeq. meta nodes i s __hash)) - - ICollection - (-conj [coll o] (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - ISequential - ISeq - (-first [coll] (first s)) - (-rest [coll] - (let [ret (create-array-node-seq nil nodes i (next s))] - (if-not (nil? ret) ret ()))) - - INext - (-next [coll] - (create-array-node-seq nil nodes i (next s))) - - ISeqable - (-seq [this] this) - - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(es6-iterable ArrayNodeSeq) - -(defn- create-array-node-seq - ([nodes] (create-array-node-seq nil nodes 0 nil)) - ([meta nodes i s] - (if (nil? s) - (let [len (alength nodes)] - (loop [j i] - (if (< j len) - (if-let [nj (aget nodes j)] - (if-let [ns (.inode-seq nj)] - (ArrayNodeSeq. meta nodes (inc j) ns nil) - (recur (inc j))) - (recur (inc j)))))) - (ArrayNodeSeq. meta nodes i s nil)))) - -(deftype HashMapIter [nil-val root-iter ^:mutable seen] - Object - (hasNext [_] - (or (not ^boolean seen) ^boolean (.hasNext root-iter))) - (next [_] - (if-not ^boolean seen - (do - (set! seen true) - (MapEntry. nil nil-val nil)) - (.next root-iter))) - (remove [_] (js/Error. "Unsupported operation"))) - -(deftype PersistentHashMap [meta cnt root ^boolean has-nil? nil-val ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - - ;; EXPERIMENTAL: subject to change - (keys [coll] - (es6-iterator (keys coll))) - (entries [coll] - (es6-entries-iterator (seq coll))) - (values [coll] - (es6-iterator (vals coll))) - (has [coll k] - (contains? coll k)) - (get [coll k not-found] - (-lookup coll k not-found)) - (forEach [coll f] - (doseq [[k v] coll] - (f v k))) - - ICloneable - (-clone [_] (PersistentHashMap. meta cnt root has-nil? nil-val __hash)) - - IIterable - (-iterator [coll] - (let [root-iter (if ^boolean root (-iterator root) (nil-iter))] - (if has-nil? - (HashMapIter. nil-val root-iter false) - root-iter))) - - IWithMeta - (-with-meta [coll meta] (PersistentHashMap. meta cnt root has-nil? nil-val __hash)) - - IMeta - (-meta [coll] meta) - - ICollection - (-conj [coll entry] - (if (vector? entry) - (-assoc coll (-nth entry 0) (-nth entry 1)) - (loop [ret coll es (seq entry)] - (if (nil? es) - ret - (let [e (first es)] - (if (vector? e) - (recur (-assoc ret (-nth e 0) (-nth e 1)) - (next es)) - (throw (js/Error. "conj on a map takes map entries or seqables of map entries")))))))) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY PersistentHashMap) meta)) - - IEquiv - (-equiv [coll other] (equiv-map coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) - - ISeqable - (-seq [coll] - (when (pos? cnt) - (let [s (if-not (nil? root) (.inode-seq root))] - (if has-nil? - (cons (MapEntry. nil nil-val nil) s) - s)))) - - ICounted - (-count [coll] cnt) - - ILookup - (-lookup [coll k] - (-lookup coll k nil)) - - (-lookup [coll k not-found] - (cond (nil? k) (if has-nil? - nil-val - not-found) - (nil? root) not-found - :else (.inode-lookup root 0 (hash k) k not-found))) - - IAssociative - (-assoc [coll k v] - (if (nil? k) - (if (and has-nil? (identical? v nil-val)) - coll - (PersistentHashMap. meta (if has-nil? cnt (inc cnt)) root true v nil)) - (let [added-leaf? (Box. false) - new-root (-> (if (nil? root) - (.-EMPTY BitmapIndexedNode) - root) - (.inode-assoc 0 (hash k) k v added-leaf?))] - (if (identical? new-root root) - coll - (PersistentHashMap. meta (if ^boolean (.-val added-leaf?) (inc cnt) cnt) new-root has-nil? nil-val nil))))) - - (-contains-key? [coll k] - (cond (nil? k) has-nil? - (nil? root) false - :else (not (identical? (.inode-lookup root 0 (hash k) k lookup-sentinel) - lookup-sentinel)))) - - IFind - (-find [coll k] - (cond - (nil? k) (when has-nil? (MapEntry. nil nil-val nil)) - (nil? root) nil - :else (.inode-find root 0 (hash k) k nil))) - - IMap - (-dissoc [coll k] - (cond (nil? k) (if has-nil? - (PersistentHashMap. meta (dec cnt) root false nil nil) - coll) - (nil? root) coll - :else - (let [new-root (.inode-without root 0 (hash k) k)] - (if (identical? new-root root) - coll - (PersistentHashMap. meta (dec cnt) new-root has-nil? nil-val nil))))) - - IKVReduce - (-kv-reduce [coll f init] - (let [init (if has-nil? (f init nil nil-val) init)] - (cond - (reduced? init) @init - (not (nil? root)) (unreduced (.kv-reduce root f init)) - :else init))) - - IFn - (-invoke [coll k] - (-lookup coll k)) - - (-invoke [coll k not-found] - (-lookup coll k not-found)) - - IEditableCollection - (-as-transient [coll] - (TransientHashMap. (js-obj) root cnt has-nil? nil-val))) - -(set! (.-EMPTY PersistentHashMap) (PersistentHashMap. nil 0 nil false nil empty-unordered-hash)) - -(set! (.-fromArray PersistentHashMap) - (fn [arr ^boolean no-clone] - (let [arr (if no-clone arr (aclone arr)) - len (alength arr)] - (loop [i 0 ret (transient (.-EMPTY PersistentHashMap))] - (if (< i len) - (recur (+ i 2) - (-assoc! ret (aget arr i) (aget arr (inc i)))) - (-persistent! ret)))))) - -(set! (.-fromArrays PersistentHashMap) - (fn [ks vs] - (let [len (alength ks)] - (loop [i 0 ^not-native out (transient (.-EMPTY PersistentHashMap))] - (if (< i len) - (recur (inc i) (-assoc! out (aget ks i) (aget vs i))) - (persistent! out)))))) - -(set! (.-createWithCheck PersistentHashMap) - (fn [arr] - (let [len (alength arr) - ret (transient (.-EMPTY PersistentHashMap))] - (loop [i 0] - (when (< i len) - (-assoc! ret (aget arr i) (aget arr (inc i))) - (if (not= (-count ret) (inc (/ i 2))) - (throw (js/Error. (str "Duplicate key: " (aget arr i)))) - (recur (+ i 2))))) - (-persistent! ret)))) - -(es6-iterable PersistentHashMap) - -(deftype TransientHashMap [^:mutable ^boolean edit - ^:mutable root - ^:mutable count - ^:mutable ^boolean has-nil? - ^:mutable nil-val] - Object - (conj! [tcoll o] - (if edit - (cond - (map-entry? o) - (.assoc! tcoll (key o) (val o)) - - (vector? o) - (.assoc! tcoll (o 0) (o 1)) - - :else - (loop [es (seq o) tcoll tcoll] - (if-let [e (first es)] - (recur (next es) - (.assoc! tcoll (key e) (val e))) - tcoll))) - (throw (js/Error. "conj! after persistent")))) - - (assoc! [tcoll k v] - (if edit - (if (nil? k) - (do (if (identical? nil-val v) - nil - (set! nil-val v)) - (if has-nil? - nil - (do (set! count (inc count)) - (set! has-nil? true))) - tcoll) - (let [added-leaf? (Box. false) - node (-> (if (nil? root) - (.-EMPTY BitmapIndexedNode) - root) - (.inode-assoc! edit 0 (hash k) k v added-leaf?))] - (if (identical? node root) - nil - (set! root node)) - (if ^boolean (.-val added-leaf?) - (set! count (inc count))) - tcoll)) - (throw (js/Error. "assoc! after persistent!")))) - - (without! [tcoll k] - (if edit - (if (nil? k) - (if has-nil? - (do (set! has-nil? false) - (set! nil-val nil) - (set! count (dec count)) - tcoll) - tcoll) - (if (nil? root) - tcoll - (let [removed-leaf? (Box. false) - node (.inode-without! root edit 0 (hash k) k removed-leaf?)] - (if (identical? node root) - nil - (set! root node)) - (if ^boolean (.-val removed-leaf?) - (set! count (dec count))) - tcoll))) - (throw (js/Error. "dissoc! after persistent!")))) - - (persistent! [tcoll] - (if edit - (do (set! edit nil) - (PersistentHashMap. nil count root has-nil? nil-val nil)) - (throw (js/Error. "persistent! called twice")))) - - ICounted - (-count [coll] - (if edit - count - (throw (js/Error. "count after persistent!")))) - - ILookup - (-lookup [tcoll k] - (if (nil? k) - (if has-nil? - nil-val) - (if (nil? root) - nil - (.inode-lookup root 0 (hash k) k)))) - - (-lookup [tcoll k not-found] - (if (nil? k) - (if has-nil? - nil-val - not-found) - (if (nil? root) - not-found - (.inode-lookup root 0 (hash k) k not-found)))) - - ITransientCollection - (-conj! [tcoll val] (.conj! tcoll val)) - - (-persistent! [tcoll] (.persistent! tcoll)) - - ITransientAssociative - (-assoc! [tcoll key val] (.assoc! tcoll key val)) - - ITransientMap - (-dissoc! [tcoll key] (.without! tcoll key)) - - IFn - (-invoke [tcoll key] - (-lookup tcoll key)) - (-invoke [tcoll key not-found] - (-lookup tcoll key not-found))) - -;;; PersistentTreeMap - -(defn- tree-map-seq-push [node stack ^boolean ascending?] - (loop [t node stack stack] - (if-not (nil? t) - (recur (if ascending? (.-left t) (.-right t)) - (conj stack t)) - stack))) - -(deftype PersistentTreeMapSeq [meta stack ^boolean ascending? cnt ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - ISeqable - (-seq [this] this) - - ISequential - ISeq - (-first [this] (peek stack)) - (-rest [this] - (let [t (first stack) - next-stack (tree-map-seq-push (if ascending? (.-right t) (.-left t)) - (next stack) - ascending?)] - (if-not (nil? next-stack) - (PersistentTreeMapSeq. nil next-stack ascending? (dec cnt) nil) - ()))) - INext - (-next [this] - (let [t (first stack) - next-stack (tree-map-seq-push (if ascending? (.-right t) (.-left t)) - (next stack) - ascending?)] - (when-not (nil? next-stack) - (PersistentTreeMapSeq. nil next-stack ascending? (dec cnt) nil)))) - - ICounted - (-count [coll] - (if (neg? cnt) - (inc (count (next coll))) - cnt)) - - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - ICollection - (-conj [coll o] (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) meta)) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - IMeta - (-meta [coll] meta) - - IWithMeta - (-with-meta [coll meta] - (PersistentTreeMapSeq. meta stack ascending? cnt __hash)) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(es6-iterable PersistentTreeMapSeq) - -(defn- create-tree-map-seq [tree ascending? cnt] - (PersistentTreeMapSeq. nil (tree-map-seq-push tree nil ascending?) ascending? cnt nil)) - -(declare RedNode BlackNode) - -(defn- balance-left [key val ins right] - (if (instance? RedNode ins) - (cond - (instance? RedNode (.-left ins)) - (RedNode. (.-key ins) (.-val ins) - (.blacken (.-left ins)) - (BlackNode. key val (.-right ins) right nil) - nil) - - (instance? RedNode (.-right ins)) - (RedNode. (.. ins -right -key) (.. ins -right -val) - (BlackNode. (.-key ins) (.-val ins) - (.-left ins) - (.. ins -right -left) - nil) - (BlackNode. key val - (.. ins -right -right) - right - nil) - nil) - - :else - (BlackNode. key val ins right nil)) - (BlackNode. key val ins right nil))) - -(defn- balance-right [key val left ins] - (if (instance? RedNode ins) - (cond - (instance? RedNode (.-right ins)) - (RedNode. (.-key ins) (.-val ins) - (BlackNode. key val left (.-left ins) nil) - (.blacken (.-right ins)) - nil) - - (instance? RedNode (.-left ins)) - (RedNode. (.. ins -left -key) (.. ins -left -val) - (BlackNode. key val left (.. ins -left -left) nil) - (BlackNode. (.-key ins) (.-val ins) - (.. ins -left -right) - (.-right ins) - nil) - nil) - - :else - (BlackNode. key val left ins nil)) - (BlackNode. key val left ins nil))) - -(defn- balance-left-del [key val del right] - (cond - (instance? RedNode del) - (RedNode. key val (.blacken del) right nil) - - (instance? BlackNode right) - (balance-right key val del (.redden right)) - - (and (instance? RedNode right) (instance? BlackNode (.-left right))) - (RedNode. (.. right -left -key) (.. right -left -val) - (BlackNode. key val del (.. right -left -left) nil) - (balance-right (.-key right) (.-val right) - (.. right -left -right) - (.redden (.-right right))) - nil) - - :else - (throw (js/Error. "red-black tree invariant violation")))) - -(defn- balance-right-del [key val left del] - (cond - (instance? RedNode del) - (RedNode. key val left (.blacken del) nil) - - (instance? BlackNode left) - (balance-left key val (.redden left) del) - - (and (instance? RedNode left) (instance? BlackNode (.-right left))) - (RedNode. (.. left -right -key) (.. left -right -val) - (balance-left (.-key left) (.-val left) - (.redden (.-left left)) - (.. left -right -left)) - (BlackNode. key val (.. left -right -right) del nil) - nil) - - :else - (throw (js/Error. "red-black tree invariant violation")))) - -(defn- tree-map-kv-reduce [node f init] - (let [init (if-not (nil? (.-left node)) - (tree-map-kv-reduce (.-left node) f init) - init)] - (if (reduced? init) - init - (let [init (f init (.-key node) (.-val node))] - (if (reduced? init) - init - (if-not (nil? (.-right node)) - (tree-map-kv-reduce (.-right node) f init) - init)))))) - -(deftype BlackNode [key val left right ^:mutable __hash] - Object - (add-left [node ins] - (.balance-left ins node)) - - (add-right [node ins] - (.balance-right ins node)) - - (remove-left [node del] - (balance-left-del key val del right)) - - (remove-right [node del] - (balance-right-del key val left del)) - - (blacken [node] node) - - (redden [node] (RedNode. key val left right nil)) - - (balance-left [node parent] - (BlackNode. (.-key parent) (.-val parent) node (.-right parent) nil)) - - (balance-right [node parent] - (BlackNode. (.-key parent) (.-val parent) (.-left parent) node nil)) - - (replace [node key val left right] - (BlackNode. key val left right nil)) - - (kv-reduce [node f init] - (tree-map-kv-reduce node f init)) - - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IMapEntry - (-key [node] key) - (-val [node] val) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IMeta - (-meta [node] nil) - - IWithMeta - (-with-meta [node meta] - (-with-meta [key val] meta)) - - IStack - (-peek [node] val) - - (-pop [node] [key]) - - ICollection - (-conj [node o] [key val o]) - - IEmptyableCollection - (-empty [node] nil) - - ISequential - ISeqable - (-seq [node] (IndexedSeq. #js [key val] 0 nil)) - - IReversible - (-rseq [node] (IndexedSeq. #js [val key] 0 nil)) - - ICounted - (-count [node] 2) - - IIndexed - (-nth [node n] - (cond (== n 0) key - (== n 1) val - :else (throw (js/Error. "Index out of bounds")))) - - (-nth [node n not-found] - (cond (== n 0) key - (== n 1) val - :else not-found)) - - ILookup - (-lookup [node k] (-nth node k nil)) - (-lookup [node k not-found] (-nth node k not-found)) - - IAssociative - (-assoc [node k v] - (assoc [key val] k v)) - (-contains-key? [node k] - (or (== k 0) (== k 1))) - - IFind - (-find [node k] - (case k - 0 (MapEntry. 0 key nil) - 1 (MapEntry. 1 val nil) - nil)) - - IVector - (-assoc-n [node n v] - (-assoc-n [key val] n v)) - - IReduce - (-reduce [node f] - (ci-reduce node f)) - - (-reduce [node f start] - (ci-reduce node f start)) - - IFn - (-invoke [node k] - (-nth node k)) - - (-invoke [node k not-found] - (-nth node k not-found))) - -(es6-iterable BlackNode) - -(deftype RedNode [key val left right ^:mutable __hash] - Object - (add-left [node ins] - (RedNode. key val ins right nil)) - - (add-right [node ins] - (RedNode. key val left ins nil)) - - (remove-left [node del] - (RedNode. key val del right nil)) - - (remove-right [node del] - (RedNode. key val left del nil)) - - (blacken [node] - (BlackNode. key val left right nil)) - - (redden [node] - (throw (js/Error. "red-black tree invariant violation"))) - - (balance-left [node parent] - (cond - (instance? RedNode left) - (RedNode. key val - (.blacken left) - (BlackNode. (.-key parent) (.-val parent) right (.-right parent) nil) - nil) - - (instance? RedNode right) - (RedNode. (.-key right) (.-val right) - (BlackNode. key val left (.-left right) nil) - (BlackNode. (.-key parent) (.-val parent) - (.-right right) - (.-right parent) - nil) - nil) - - :else - (BlackNode. (.-key parent) (.-val parent) node (.-right parent) nil))) - - (balance-right [node parent] - (cond - (instance? RedNode right) - (RedNode. key val - (BlackNode. (.-key parent) (.-val parent) - (.-left parent) - left - nil) - (.blacken right) - nil) - - (instance? RedNode left) - (RedNode. (.-key left) (.-val left) - (BlackNode. (.-key parent) (.-val parent) - (.-left parent) - (.-left left) - nil) - (BlackNode. key val (.-right left) right nil) - nil) - - :else - (BlackNode. (.-key parent) (.-val parent) (.-left parent) node nil))) - - (replace [node key val left right] - (RedNode. key val left right nil)) - - (kv-reduce [node f init] - (tree-map-kv-reduce node f init)) - - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IMapEntry - (-key [node] key) - (-val [node] val) - - IHash - (-hash [coll] (caching-hash coll hash-ordered-coll __hash)) - - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - IMeta - (-meta [node] nil) - - IWithMeta - (-with-meta [node meta] - (-with-meta [key val] meta)) - - IStack - (-peek [node] val) - - (-pop [node] [key]) - - ICollection - (-conj [node o] [key val o]) - - IEmptyableCollection - (-empty [node] nil) - - ISequential - ISeqable - (-seq [node] (IndexedSeq. #js [key val] 0 nil)) - - IReversible - (-rseq [node] (IndexedSeq. #js [val key] 0 nil)) - - ICounted - (-count [node] 2) - - IIndexed - (-nth [node n] - (cond (== n 0) key - (== n 1) val - :else (throw (js/Error. "Index out of bounds")))) - - (-nth [node n not-found] - (cond (== n 0) key - (== n 1) val - :else not-found)) - - ILookup - (-lookup [node k] (-nth node k nil)) - (-lookup [node k not-found] (-nth node k not-found)) - - IAssociative - (-assoc [node k v] - (assoc [key val] k v)) - (-contains-key? [node k] - (or (== k 0) (== k 1))) - - IFind - (-find [node k] - (case k - 0 (MapEntry. 0 key nil) - 1 (MapEntry. 1 val nil) - nil)) - - IVector - (-assoc-n [node n v] - (-assoc-n [key val] n v)) - - IReduce - (-reduce [node f] - (ci-reduce node f)) - - (-reduce [node f start] - (ci-reduce node f start)) - - IFn - (-invoke [node k] - (-nth node k)) - - (-invoke [node k not-found] - (-nth node k not-found))) - -(es6-iterable RedNode) - -(defn- tree-map-add [comp tree k v found] - (if (nil? tree) - (RedNode. k v nil nil nil) - (let [c (comp k (.-key tree))] - (cond - (zero? c) - (do (aset found 0 tree) - nil) - - (neg? c) - (let [ins (tree-map-add comp (.-left tree) k v found)] - (if-not (nil? ins) - (.add-left tree ins))) - - :else - (let [ins (tree-map-add comp (.-right tree) k v found)] - (if-not (nil? ins) - (.add-right tree ins))))))) - -(defn- tree-map-append [left right] - (cond - (nil? left) - right - - (nil? right) - left - - (instance? RedNode left) - (if (instance? RedNode right) - (let [app (tree-map-append (.-right left) (.-left right))] - (if (instance? RedNode app) - (RedNode. (.-key app) (.-val app) - (RedNode. (.-key left) (.-val left) - (.-left left) - (.-left app) - nil) - (RedNode. (.-key right) (.-val right) - (.-right app) - (.-right right) - nil) - nil) - (RedNode. (.-key left) (.-val left) - (.-left left) - (RedNode. (.-key right) (.-val right) app (.-right right) nil) - nil))) - (RedNode. (.-key left) (.-val left) - (.-left left) - (tree-map-append (.-right left) right) - nil)) - - (instance? RedNode right) - (RedNode. (.-key right) (.-val right) - (tree-map-append left (.-left right)) - (.-right right) - nil) - - :else - (let [app (tree-map-append (.-right left) (.-left right))] - (if (instance? RedNode app) - (RedNode. (.-key app) (.-val app) - (BlackNode. (.-key left) (.-val left) - (.-left left) - (.-left app) - nil) - (BlackNode. (.-key right) (.-val right) - (.-right app) - (.-right right) - nil) - nil) - (balance-left-del (.-key left) (.-val left) - (.-left left) - (BlackNode. (.-key right) (.-val right) - app - (.-right right) - nil)))))) - -(defn- tree-map-remove [comp tree k found] - (if-not (nil? tree) - (let [c (comp k (.-key tree))] - (cond - (zero? c) - (do (aset found 0 tree) - (tree-map-append (.-left tree) (.-right tree))) - - (neg? c) - (let [del (tree-map-remove comp (.-left tree) k found)] - (if (or (not (nil? del)) (not (nil? (aget found 0)))) - (if (instance? BlackNode (.-left tree)) - (balance-left-del (.-key tree) (.-val tree) del (.-right tree)) - (RedNode. (.-key tree) (.-val tree) del (.-right tree) nil)))) - - :else - (let [del (tree-map-remove comp (.-right tree) k found)] - (if (or (not (nil? del)) (not (nil? (aget found 0)))) - (if (instance? BlackNode (.-right tree)) - (balance-right-del (.-key tree) (.-val tree) (.-left tree) del) - (RedNode. (.-key tree) (.-val tree) (.-left tree) del nil)))))))) - -(defn- tree-map-replace [comp tree k v] - (let [tk (.-key tree) - c (comp k tk)] - (cond (zero? c) (.replace tree tk v (.-left tree) (.-right tree)) - (neg? c) (.replace tree tk (.-val tree) (tree-map-replace comp (.-left tree) k v) (.-right tree)) - :else (.replace tree tk (.-val tree) (.-left tree) (tree-map-replace comp (.-right tree) k v))))) - -(declare key) - -(deftype PersistentTreeMap [comp tree cnt meta ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - - ;; EXPERIMENTAL: subject to change - (keys [coll] - (es6-iterator (keys coll))) - (entries [coll] - (es6-entries-iterator (seq coll))) - (values [coll] - (es6-iterator (vals coll))) - (has [coll k] - (contains? coll k)) - (get [coll k not-found] - (-lookup coll k not-found)) - (forEach [coll f] - (doseq [[k v] coll] - (f v k))) - - (entry-at [coll k] - (loop [t tree] - (if-not (nil? t) - (let [c (comp k (.-key t))] - (cond (zero? c) t - (neg? c) (recur (.-left t)) - :else (recur (.-right t))))))) - - ICloneable - (-clone [_] (PersistentTreeMap. comp tree cnt meta __hash)) - - IWithMeta - (-with-meta [coll meta] (PersistentTreeMap. comp tree cnt meta __hash)) - - IMeta - (-meta [coll] meta) - - ICollection - (-conj [coll entry] - (if (vector? entry) - (-assoc coll (-nth entry 0) (-nth entry 1)) - (loop [ret coll es (seq entry)] - (if (nil? es) - ret - (let [e (first es)] - (if (vector? e) - (recur (-assoc ret (-nth e 0) (-nth e 1)) - (next es)) - (throw (js/Error. "conj on a map takes map entries or seqables of map entries")))))))) - - IEmptyableCollection - (-empty [coll] (PersistentTreeMap. comp nil 0 meta 0)) - - IEquiv - (-equiv [coll other] (equiv-map coll other)) - - IHash - (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) - - ICounted - (-count [coll] cnt) - - IKVReduce - (-kv-reduce [coll f init] - (if-not (nil? tree) - (unreduced (tree-map-kv-reduce tree f init)) - init)) - - IFn - (-invoke [coll k] - (-lookup coll k)) - - (-invoke [coll k not-found] - (-lookup coll k not-found)) - - ISeqable - (-seq [coll] - (if (pos? cnt) - (create-tree-map-seq tree true cnt))) - - IReversible - (-rseq [coll] - (if (pos? cnt) - (create-tree-map-seq tree false cnt))) - - ILookup - (-lookup [coll k] - (-lookup coll k nil)) - - (-lookup [coll k not-found] - (let [n (.entry-at coll k)] - (if-not (nil? n) - (.-val n) - not-found))) - - IAssociative - (-assoc [coll k v] - (let [found (array nil) - t (tree-map-add comp tree k v found)] - (if (nil? t) - (let [found-node (nth found 0)] - (if (= v (.-val found-node)) - coll - (PersistentTreeMap. comp (tree-map-replace comp tree k v) cnt meta nil))) - (PersistentTreeMap. comp (.blacken t) (inc cnt) meta nil)))) - - (-contains-key? [coll k] - (not (nil? (.entry-at coll k)))) - - IFind - (-find [coll k] - (.entry-at coll k)) - - IMap - (-dissoc [coll k] - (let [found (array nil) - t (tree-map-remove comp tree k found)] - (if (nil? t) - (if (nil? (nth found 0)) - coll - (PersistentTreeMap. comp nil 0 meta nil)) - (PersistentTreeMap. comp (.blacken t) (dec cnt) meta nil)))) - - ISorted - (-sorted-seq [coll ascending?] - (if (pos? cnt) - (create-tree-map-seq tree ascending? cnt))) - - (-sorted-seq-from [coll k ascending?] - (if (pos? cnt) - (loop [stack nil t tree] - (if-not (nil? t) - (let [c (comp k (.-key t))] - (cond - (zero? c) (PersistentTreeMapSeq. nil (conj stack t) ascending? -1 nil) - ascending? (if (neg? c) - (recur (conj stack t) (.-left t)) - (recur stack (.-right t))) - :else (if (pos? c) - (recur (conj stack t) (.-right t)) - (recur stack (.-left t))))) - (when-not (nil? stack) - (PersistentTreeMapSeq. nil stack ascending? -1 nil)))))) - - (-entry-key [coll entry] (key entry)) - - (-comparator [coll] comp)) - -(set! (.-EMPTY PersistentTreeMap) (PersistentTreeMap. compare nil 0 nil empty-unordered-hash)) - -(es6-iterable PersistentTreeMap) - -(defn hash-map - "keyval => key val - Returns a new hash map with supplied mappings." - [& keyvals] - (loop [in (seq keyvals), out (transient (.-EMPTY PersistentHashMap))] - (if in - (recur (nnext in) (assoc! out (first in) (second in))) - (persistent! out)))) - -(defn array-map - "keyval => key val - Returns a new array map with supplied mappings." - [& keyvals] - (let [arr (if (and (instance? IndexedSeq keyvals) (zero? (.-i keyvals))) - (.-arr keyvals) - (into-array keyvals))] - (.createAsIfByAssoc PersistentArrayMap arr))) - -(defn obj-map - "keyval => key val - Returns a new object map with supplied mappings." - [& keyvals] - (let [ks (array) - obj (js-obj)] - (loop [kvs (seq keyvals)] - (if kvs - (do (.push ks (first kvs)) - (gobject/set obj (first kvs) (second kvs)) - (recur (nnext kvs))) - (.fromObject ObjMap ks obj))))) - -(defn sorted-map - "keyval => key val - Returns a new sorted map with supplied mappings." - ([& keyvals] - (loop [in (seq keyvals) out (.-EMPTY PersistentTreeMap)] - (if in - (recur (nnext in) (assoc out (first in) (second in))) - out)))) - -(defn sorted-map-by - "keyval => key val - Returns a new sorted map with supplied mappings, using the supplied comparator." - ([comparator & keyvals] - (loop [in (seq keyvals) - out (PersistentTreeMap. (fn->comparator comparator) nil 0 nil 0)] - (if in - (recur (nnext in) (assoc out (first in) (second in))) - out)))) - -(deftype KeySeq [^not-native mseq _meta] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IMeta - (-meta [coll] _meta) - - IWithMeta - (-with-meta [coll new-meta] (KeySeq. mseq new-meta)) - - ISeqable - (-seq [coll] coll) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - ICollection - (-conj [coll o] - (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) _meta)) - - IHash - (-hash [coll] (hash-ordered-coll coll)) - - ISeq - (-first [coll] - (let [^not-native me (-first mseq)] - (-key me))) - - (-rest [coll] - (let [nseq (if (satisfies? INext mseq) - (-next mseq) - (next mseq))] - (if-not (nil? nseq) - (KeySeq. nseq _meta) - ()))) - - INext - (-next [coll] - (let [nseq (if (satisfies? INext mseq) - (-next mseq) - (next mseq))] - (when-not (nil? nseq) - (KeySeq. nseq _meta)))) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(es6-iterable KeySeq) - -(defn keys - "Returns a sequence of the map's keys." - [hash-map] - (when-let [mseq (seq hash-map)] - (KeySeq. mseq nil))) - -(defn key - "Returns the key of the map entry." - [map-entry] - (-key map-entry)) - -(deftype ValSeq [^not-native mseq _meta] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - IMeta - (-meta [coll] _meta) - - IWithMeta - (-with-meta [coll new-meta] (ValSeq. mseq new-meta)) - - ISeqable - (-seq [coll] coll) - - ISequential - IEquiv - (-equiv [coll other] (equiv-sequential coll other)) - - ICollection - (-conj [coll o] - (cons o coll)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY List) _meta)) - - IHash - (-hash [coll] (hash-ordered-coll coll)) - - ISeq - (-first [coll] - (let [^not-native me (-first mseq)] - (-val me))) - - (-rest [coll] - (let [nseq (if (satisfies? INext mseq) - (-next mseq) - (next mseq))] - (if-not (nil? nseq) - (ValSeq. nseq _meta) - ()))) - - INext - (-next [coll] - (let [nseq (if (satisfies? INext mseq) - (-next mseq) - (next mseq))] - (when-not (nil? nseq) - (ValSeq. nseq _meta)))) - - IReduce - (-reduce [coll f] (seq-reduce f coll)) - (-reduce [coll f start] (seq-reduce f start coll))) - -(es6-iterable ValSeq) - -(defn vals - "Returns a sequence of the map's values." - [hash-map] - (when-let [mseq (seq hash-map)] - (ValSeq. mseq nil))) - -(defn val - "Returns the value in the map entry." - [map-entry] - (-val map-entry)) - -(defn merge - "Returns a map that consists of the rest of the maps conj-ed onto - the first. If a key occurs in more than one map, the mapping from - the latter (left-to-right) will be the mapping in the result." - [& maps] - (when (some identity maps) - (reduce #(conj (or %1 {}) %2) maps))) - -(defn merge-with - "Returns a map that consists of the rest of the maps conj-ed onto - the first. If a key occurs in more than one map, the mapping(s) - from the latter (left-to-right) will be combined with the mapping in - the result by calling (f val-in-result val-in-latter)." - [f & maps] - (when (some identity maps) - (let [merge-entry (fn [m e] - (let [k (key e) v (val e)] - (if (contains? m k) - (assoc m k (f (get m k) v)) - (assoc m k v)))) - merge2 (fn [m1 m2] - (reduce merge-entry (or m1 {}) (seq m2)))] - (reduce merge2 maps)))) - -(defn select-keys - "Returns a map containing only those entries in map whose key is in keys" - [map keyseq] - (loop [ret {} keys (seq keyseq)] - (if keys - (let [key (first keys) - entry (get map key ::not-found)] - (recur - (if (not= entry ::not-found) - (assoc ret key entry) - ret) - (next keys))) - (-with-meta ret (meta map))))) - -;;; PersistentHashSet - -(declare TransientHashSet) - -(deftype HashSetIter [iter] - Object - (hasNext [_] - (.hasNext iter)) - (next [_] - (if ^boolean (.hasNext iter) - (.-key (.next iter)) - (throw (js/Error. "No such element")))) - (remove [_] (js/Error. "Unsupported operation"))) - -(deftype PersistentHashSet [meta hash-map ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - - ;; EXPERIMENTAL: subject to change - (keys [coll] - (es6-iterator (seq coll))) - (entries [coll] - (es6-set-entries-iterator (seq coll))) - (values [coll] - (es6-iterator (seq coll))) - (has [coll k] - (contains? coll k)) - (forEach [coll f] - (doseq [[k v] coll] - (f v k))) - - ICloneable - (-clone [_] (PersistentHashSet. meta hash-map __hash)) - - IIterable - (-iterator [coll] - (HashSetIter. (-iterator hash-map))) - - IWithMeta - (-with-meta [coll meta] (PersistentHashSet. meta hash-map __hash)) - - IMeta - (-meta [coll] meta) - - ICollection - (-conj [coll o] - (PersistentHashSet. meta (assoc hash-map o nil) nil)) - - IEmptyableCollection - (-empty [coll] (-with-meta (.-EMPTY PersistentHashSet) meta)) - - IEquiv - (-equiv [coll other] - (and - (set? other) - (== (count coll) (count other)) - ^boolean - (try - (reduce-kv - #(or (contains? other %2) (reduced false)) - true hash-map) - (catch js/Error ex - false)))) - - IHash - (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) - - ISeqable - (-seq [coll] (keys hash-map)) - - ICounted - (-count [coll] (-count hash-map)) - - ILookup - (-lookup [coll v] - (-lookup coll v nil)) - (-lookup [coll v not-found] - (if-let [entry (-find hash-map v)] - (key entry) - not-found)) - - ISet - (-disjoin [coll v] - (PersistentHashSet. meta (-dissoc hash-map v) nil)) - - IFn - (-invoke [coll k] - (-lookup coll k)) - (-invoke [coll k not-found] - (-lookup coll k not-found)) - - IEditableCollection - (-as-transient [coll] (TransientHashSet. (-as-transient hash-map)))) - -(set! (.-EMPTY PersistentHashSet) - (PersistentHashSet. nil (.-EMPTY PersistentArrayMap) empty-unordered-hash)) - -(set! (.-fromArray PersistentHashSet) - (fn [items ^boolean no-clone] - (let [len (alength items)] - (if (<= len (.-HASHMAP-THRESHOLD PersistentArrayMap)) - (let [arr (if no-clone items (aclone items))] - (loop [i 0 - out (transient (.-EMPTY PersistentArrayMap))] - (if (< i len) - (recur (inc i) (-assoc! out (aget items i) nil)) - (PersistentHashSet. nil (-persistent! out) nil)))) - (loop [i 0 - out (transient (.-EMPTY PersistentHashSet))] - (if (< i len) - (recur (inc i) (-conj! out (aget items i))) - (-persistent! out))))))) - -(set! (.-createWithCheck PersistentHashSet) - (fn [items] - (let [len (alength items) - t (-as-transient (.-EMPTY PersistentHashSet))] - (dotimes [i len] - (-conj! t (aget items i)) - (when-not (= (count t) (inc i)) - (throw (js/Error. (str "Duplicate key: " (aget items i)))))) - (-persistent! t)))) - -(set! (.-createAsIfByAssoc PersistentHashSet) - (fn [items] - (let [len (alength items) - t (-as-transient (.-EMPTY PersistentHashSet))] - (dotimes [i len] (-conj! t (aget items i))) - (-persistent! t)))) - -(es6-iterable PersistentHashSet) - -(deftype TransientHashSet [^:mutable transient-map] - ITransientCollection - (-conj! [tcoll o] - (set! transient-map (assoc! transient-map o nil)) - tcoll) - - (-persistent! [tcoll] - (PersistentHashSet. nil (persistent! transient-map) nil)) - - ITransientSet - (-disjoin! [tcoll v] - (set! transient-map (dissoc! transient-map v)) - tcoll) - - ICounted - (-count [tcoll] (count transient-map)) - - ILookup - (-lookup [tcoll v] - (-lookup tcoll v nil)) - - (-lookup [tcoll v not-found] - (if (identical? (-lookup transient-map v lookup-sentinel) lookup-sentinel) - not-found - v)) - - IFn - (-invoke [tcoll k] - (if (identical? (-lookup transient-map k lookup-sentinel) lookup-sentinel) - nil - k)) - - (-invoke [tcoll k not-found] - (if (identical? (-lookup transient-map k lookup-sentinel) lookup-sentinel) - not-found - k))) - -(deftype PersistentTreeSet [meta tree-map ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - - ;; EXPERIMENTAL: subject to change - (keys [coll] - (es6-iterator (seq coll))) - (entries [coll] - (es6-set-entries-iterator (seq coll))) - (values [coll] - (es6-iterator (seq coll))) - (has [coll k] - (contains? coll k)) - (forEach [coll f] - (doseq [[k v] coll] - (f v k))) - - ICloneable - (-clone [_] (PersistentTreeSet. meta tree-map __hash)) - - IWithMeta - (-with-meta [coll meta] (PersistentTreeSet. meta tree-map __hash)) - - IMeta - (-meta [coll] meta) - - ICollection - (-conj [coll o] - (PersistentTreeSet. meta (assoc tree-map o nil) nil)) - - IEmptyableCollection - (-empty [coll] (PersistentTreeSet. meta (-empty tree-map) 0)) - - IEquiv - (-equiv [coll other] - (and - (set? other) - (== (count coll) (count other)) - ^boolean - (try - (reduce-kv - #(or (contains? other %2) (reduced false)) - true tree-map) - (catch js/Error ex - false)))) - - IHash - (-hash [coll] (caching-hash coll hash-unordered-coll __hash)) - - ISeqable - (-seq [coll] (keys tree-map)) - - ISorted - (-sorted-seq [coll ascending?] - (map key (-sorted-seq tree-map ascending?))) - - (-sorted-seq-from [coll k ascending?] - (map key (-sorted-seq-from tree-map k ascending?))) - - (-entry-key [coll entry] entry) - - (-comparator [coll] (-comparator tree-map)) - - IReversible - (-rseq [coll] - (if (pos? (count tree-map)) - (map key (rseq tree-map)))) - - ICounted - (-count [coll] (count tree-map)) - - ILookup - (-lookup [coll v] - (-lookup coll v nil)) - (-lookup [coll v not-found] - (let [n (.entry-at tree-map v)] - (if-not (nil? n) - (.-key n) - not-found))) - - ISet - (-disjoin [coll v] - (PersistentTreeSet. meta (dissoc tree-map v) nil)) - - IFn - (-invoke [coll k] - (-lookup coll k)) - (-invoke [coll k not-found] - (-lookup coll k not-found))) - -(set! (.-EMPTY PersistentTreeSet) - (PersistentTreeSet. nil (.-EMPTY PersistentTreeMap) empty-unordered-hash)) - -(es6-iterable PersistentTreeSet) - -(defn set-from-indexed-seq [iseq] - (let [arr (.-arr iseq) - ret (areduce arr i ^not-native res (-as-transient #{}) - (-conj! res (aget arr i)))] - (-persistent! ^not-native ret))) - -(defn set - "Returns a set of the distinct elements of coll." - [coll] - (if (set? coll) - (with-meta coll nil) - (let [in (seq coll)] - (cond - (nil? in) #{} - - (and (instance? IndexedSeq in) (zero? (.-i in))) - (.createAsIfByAssoc PersistentHashSet (.-arr in)) - - :else - (loop [^not-native in in - ^not-native out (-as-transient #{})] - (if-not (nil? in) - (recur (next in) (-conj! out (-first in))) - (persistent! out))))))) - -(defn hash-set - "Returns a new hash set with supplied keys. Any equal keys are - handled as if by repeated uses of conj." - ([] #{}) - ([& keys] (set keys))) - -(defn sorted-set - "Returns a new sorted set with supplied keys." - ([& keys] - (reduce -conj (.-EMPTY PersistentTreeSet) keys))) - -(defn sorted-set-by - "Returns a new sorted set with supplied keys, using the supplied comparator." - ([comparator & keys] - (reduce -conj - (PersistentTreeSet. nil (sorted-map-by comparator) 0) - keys))) - -(defn replace - "Given a map of replacement pairs and a vector/collection, returns a - vector/seq with any elements = a key in smap replaced with the - corresponding val in smap. Returns a transducer when no collection - is provided." - ([smap] - (map #(if-let [e (find smap %)] (val e) %))) - ([smap coll] - (if (vector? coll) - (let [n (count coll)] - (reduce (fn [v i] - (if-let [e (find smap (nth v i))] - (assoc v i (second e)) - v)) - coll (take n (iterate inc 0)))) - (map #(if-let [e (find smap %)] (second e) %) coll)))) - -(defn distinct - "Returns a lazy sequence of the elements of coll with duplicates removed. - Returns a stateful transducer when no collection is provided." - ([] - (fn [rf] - (let [seen (volatile! #{})] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (if (contains? @seen input) - result - (do (vswap! seen conj input) - (rf result input)))))))) - ([coll] - (let [step (fn step [xs seen] - (lazy-seq - ((fn [[f :as xs] seen] - (when-let [s (seq xs)] - (if (contains? seen f) - (recur (rest s) seen) - (cons f (step (rest s) (conj seen f)))))) - xs seen)))] - (step coll #{})))) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(defn butlast - "Return a seq of all but the last item in coll, in linear time" - [s] - (loop [ret [] s s] - (if (next s) - (recur (conj ret (first s)) (next s)) - (seq ret)))) - -(defn name - "Returns the name String of a string, symbol or keyword." - [x] - (if (implements? INamed x) - (-name ^not-native x) - (if (string? x) - x - (throw (js/Error. (str "Doesn't support name: " x)))))) - -(defn zipmap - "Returns a map with the keys mapped to the corresponding vals." - [keys vals] - (loop [map (transient {}) - ks (seq keys) - vs (seq vals)] - (if (and ks vs) - (recur (assoc! map (first ks) (first vs)) - (next ks) - (next vs)) - (persistent! map)))) - -(defn max-key - "Returns the x for which (k x), a number, is greatest. - - If there are multiple such xs, the last one is returned." - ([k x] x) - ([k x y] (if (> (k x) (k y)) x y)) - ([k x y & more] - (reduce #(max-key k %1 %2) (max-key k x y) more))) - -(defn min-key - "Returns the x for which (k x), a number, is least. - - If there are multiple such xs, the last one is returned." - ([k x] x) - ([k x y] (if (< (k x) (k y)) x y)) - ([k x y & more] - (reduce #(min-key k %1 %2) (min-key k x y) more))) - -(deftype ArrayList [^:mutable arr] - Object - (add [_ x] (.push arr x)) - (size [_] (alength arr)) - (clear [_] (set! arr (array))) - (isEmpty [_] (zero? (alength arr))) - (toArray [_] arr)) - -(defn array-list [] - (ArrayList. (array))) - -(defn partition-all - "Returns a lazy sequence of lists like partition, but may include - partitions with fewer than n items at the end. Returns a stateful - transducer when no collection is provided." - ([n] - (fn [rf] - (let [a (array-list)] - (fn - ([] (rf)) - ([result] - (let [result (if (.isEmpty a) - result - (let [v (vec (.toArray a))] - ;;clear first! - (.clear a) - (unreduced (rf result v))))] - (rf result))) - ([result input] - (.add a input) - (if (== n (.size a)) - (let [v (vec (.toArray a))] - (.clear a) - (rf result v)) - result)))))) - ([n coll] - (partition-all n n coll)) - ([n step coll] - (lazy-seq - (when-let [s (seq coll)] - (cons (take n s) (partition-all n step (drop step s))))))) - -(defn take-while - "Returns a lazy sequence of successive items from coll while - (pred item) returns logical true. pred must be free of side-effects. - Returns a transducer when no collection is provided." - ([pred] - (fn [rf] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (if (pred input) - (rf result input) - (reduced result)))))) - ([pred coll] - (lazy-seq - (when-let [s (seq coll)] - (when (pred (first s)) - (cons (first s) (take-while pred (rest s)))))))) - -(defn mk-bound-fn - [sc test key] - (fn [e] - (let [comp (-comparator sc)] - (test (comp (-entry-key sc e) key) 0)))) - -(defn subseq - "sc must be a sorted collection, test(s) one of <, <=, > or - >=. Returns a seq of those entries with keys ek for - which (test (.. sc comparator (compare ek key)) 0) is true" - ([sc test key] - (let [include (mk-bound-fn sc test key)] - (if (#{> >=} test) - (when-let [[e :as s] (-sorted-seq-from sc key true)] - (if (include e) s (next s))) - (take-while include (-sorted-seq sc true))))) - ([sc start-test start-key end-test end-key] - (when-let [[e :as s] (-sorted-seq-from sc start-key true)] - (take-while (mk-bound-fn sc end-test end-key) - (if ((mk-bound-fn sc start-test start-key) e) s (next s)))))) - -(defn rsubseq - "sc must be a sorted collection, test(s) one of <, <=, > or - >=. Returns a reverse seq of those entries with keys ek for - which (test (.. sc comparator (compare ek key)) 0) is true" - ([sc test key] - (let [include (mk-bound-fn sc test key)] - (if (#{< <=} test) - (when-let [[e :as s] (-sorted-seq-from sc key false)] - (if (include e) s (next s))) - (take-while include (-sorted-seq sc false))))) - ([sc start-test start-key end-test end-key] - (when-let [[e :as s] (-sorted-seq-from sc end-key false)] - (take-while (mk-bound-fn sc start-test start-key) - (if ((mk-bound-fn sc end-test end-key) e) s (next s)))))) - -(deftype RangeIterator [^:mutable i end step] - Object - (hasNext [_] - (if (pos? step) - (< i end) - (> i end))) - (next [_] - (let [ret i] - (set! i (+ i step)) - ret))) - -(deftype Range [meta start end step ^:mutable __hash] - Object - (toString [coll] - (pr-str* coll)) - (equiv [this other] - (-equiv this other)) - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - ICloneable - (-clone [_] (Range. meta start end step __hash)) - - IWithMeta - (-with-meta [rng meta] (Range. meta start end step __hash)) - - IMeta - (-meta [rng] meta) - - ISeqable - (-seq [rng] - (cond - (pos? step) (when (< start end) rng) - (neg? step) (when (> start end) rng) - :else (when-not (== start end) rng))) - - ISeq - (-first [rng] - (when-not (nil? (-seq rng)) start)) - (-rest [rng] - (if-not (nil? (-seq rng)) - (Range. meta (+ start step) end step nil) - ())) - - IIterable - (-iterator [_] - (RangeIterator. start end step)) - - INext - (-next [rng] - (if (pos? step) - (when (< (+ start step) end) - (Range. meta (+ start step) end step nil)) - (when (> (+ start step) end) - (Range. meta (+ start step) end step nil)))) - - ICollection - (-conj [rng o] (cons o rng)) - - IEmptyableCollection - (-empty [rng] (-with-meta (.-EMPTY List) meta)) - - ISequential - IEquiv - (-equiv [rng other] (equiv-sequential rng other)) - - IHash - (-hash [rng] (caching-hash rng hash-ordered-coll __hash)) - - ICounted - (-count [rng] - (if-not (-seq rng) - 0 - (Math/ceil (/ (- end start) step)))) - - IIndexed - (-nth [rng n] - (if (and (<= 0 n) (< n (-count rng))) - (+ start (* n step)) - (if (and (<= 0 n) (> start end) (zero? step)) - start - (throw (js/Error. "Index out of bounds"))))) - (-nth [rng n not-found] - (if (and (<= 0 n) (< n (-count rng))) - (+ start (* n step)) - (if (and (<= 0 n) (> start end) (zero? step)) - start - not-found))) - - IReduce - (-reduce [rng f] (ci-reduce rng f)) - (-reduce [rng f init] - (loop [i start ret init] - (if (if (pos? step) (< i end) (> i end)) - (let [ret (f ret i)] - (if (reduced? ret) - @ret - (recur (+ i step) ret))) - ret)))) - -(es6-iterable Range) - -(defn range - "Returns a lazy seq of nums from start (inclusive) to end - (exclusive), by step, where start defaults to 0, step to 1, - and end to infinity." - ([] (range 0 (.-MAX_VALUE js/Number) 1)) - ([end] (range 0 end 1)) - ([start end] (range start end 1)) - ([start end step] (Range. nil start end step nil))) - -(defn take-nth - "Returns a lazy seq of every nth item in coll. Returns a stateful - transducer when no collection is provided." - ([n] - {:pre [(number? n)]} - (fn [rf] - (let [ia (volatile! -1)] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (let [i (vswap! ia inc)] - (if (zero? (rem i n)) - (rf result input) - result))))))) - ([n coll] - {:pre [(number? n)]} - (lazy-seq - (when-let [s (seq coll)] - (cons (first s) (take-nth n (drop n s))))))) - -(defn split-with - "Returns a vector of [(take-while pred coll) (drop-while pred coll)]" - [pred coll] - [(take-while pred coll) (drop-while pred coll)]) - -(defn partition-by - "Applies f to each value in coll, splitting it each time f returns a - new value. Returns a lazy seq of partitions. Returns a stateful - transducer when no collection is provided." - ([f] - (fn [rf] - (let [a (array-list) - pa (volatile! ::none)] - (fn - ([] (rf)) - ([result] - (let [result (if (.isEmpty a) - result - (let [v (vec (.toArray a))] - ;;clear first! - (.clear a) - (unreduced (rf result v))))] - (rf result))) - ([result input] - (let [pval @pa - val (f input)] - (vreset! pa val) - (if (or (keyword-identical? pval ::none) - (= val pval)) - (do - (.add a input) - result) - (let [v (vec (.toArray a))] - (.clear a) - (let [ret (rf result v)] - (when-not (reduced? ret) - (.add a input)) - ret))))))))) - ([f coll] - (lazy-seq - (when-let [s (seq coll)] - (let [fst (first s) - fv (f fst) - run (cons fst (take-while #(= fv (f %)) (next s)))] - (cons run (partition-by f (lazy-seq (drop (count run) s))))))))) - -(defn frequencies - "Returns a map from distinct items in coll to the number of times - they appear." - [coll] - (persistent! - (reduce (fn [counts x] - (assoc! counts x (inc (get counts x 0)))) - (transient {}) coll))) - -(defn reductions - "Returns a lazy seq of the intermediate values of the reduction (as - per reduce) of coll by f, starting with init." - ([f coll] - (lazy-seq - (if-let [s (seq coll)] - (reductions f (first s) (rest s)) - (list (f))))) - ([f init coll] - (if (reduced? init) - (list @init) - (cons init - (lazy-seq - (when-let [s (seq coll)] - (reductions f (f init (first s)) (rest s)))))))) - -(defn juxt - "Takes a set of functions and returns a fn that is the juxtaposition - of those fns. The returned fn takes a variable number of args, and - returns a vector containing the result of applying each fn to the - args (left-to-right). - ((juxt a b c) x) => [(a x) (b x) (c x)]" - ([f] - (fn - ([] (vector (f))) - ([x] (vector (f x))) - ([x y] (vector (f x y))) - ([x y z] (vector (f x y z))) - ([x y z & args] (vector (apply f x y z args))))) - ([f g] - (fn - ([] (vector (f) (g))) - ([x] (vector (f x) (g x))) - ([x y] (vector (f x y) (g x y))) - ([x y z] (vector (f x y z) (g x y z))) - ([x y z & args] (vector (apply f x y z args) (apply g x y z args))))) - ([f g h] - (fn - ([] (vector (f) (g) (h))) - ([x] (vector (f x) (g x) (h x))) - ([x y] (vector (f x y) (g x y) (h x y))) - ([x y z] (vector (f x y z) (g x y z) (h x y z))) - ([x y z & args] (vector (apply f x y z args) (apply g x y z args) (apply h x y z args))))) - ([f g h & fs] - (let [fs (list* f g h fs)] - (fn - ([] (reduce #(conj %1 (%2)) [] fs)) - ([x] (reduce #(conj %1 (%2 x)) [] fs)) - ([x y] (reduce #(conj %1 (%2 x y)) [] fs)) - ([x y z] (reduce #(conj %1 (%2 x y z)) [] fs)) - ([x y z & args] (reduce #(conj %1 (apply %2 x y z args)) [] fs)))))) - -(defn dorun - "When lazy sequences are produced via functions that have side - effects, any effects other than those needed to produce the first - element in the seq do not occur until the seq is consumed. dorun can - be used to force any effects. Walks through the successive nexts of - the seq, does not retain the head and returns nil." - ([coll] - (when-let [s (seq coll)] - (recur (next s)))) - ([n coll] - (when (and (seq coll) (pos? n)) - (recur (dec n) (next coll))))) - -(defn doall - "When lazy sequences are produced via functions that have side - effects, any effects other than those needed to produce the first - element in the seq do not occur until the seq is consumed. doall can - be used to force any effects. Walks through the successive nexts of - the seq, retains the head and returns it, thus causing the entire - seq to reside in memory at one time." - ([coll] - (dorun coll) - coll) - ([n coll] - (dorun n coll) - coll)) - -;;;;;;;;;;;;;;;;;;;;;;;;; Regular Expressions ;;;;;;;;;; - -(defn ^boolean regexp? - "Returns true if x is a JavaScript RegExp instance." - [x] - (instance? js/RegExp x)) - -(defn re-matches - "Returns the result of (re-find re s) if re fully matches s." - [re s] - (if (string? s) - (let [matches (.exec re s)] - (when (= (first matches) s) - (if (== (count matches) 1) - (first matches) - (vec matches)))) - (throw (js/TypeError. "re-matches must match against a string.")))) - - -(defn re-find - "Returns the first regex match, if any, of s to re, using - re.exec(s). Returns a vector, containing first the matching - substring, then any capturing groups if the regular expression contains - capturing groups." - [re s] - (if (string? s) - (let [matches (.exec re s)] - (when-not (nil? matches) - (if (== (count matches) 1) - (first matches) - (vec matches)))) - (throw (js/TypeError. "re-find must match against a string.")))) - -(defn re-seq - "Returns a lazy sequence of successive matches of re in s." - [re s] - (let [match-data (re-find re s) - match-idx (.search s re) - match-str (if (coll? match-data) (first match-data) match-data) - post-idx (+ match-idx (max 1 (count match-str))) - post-match (subs s post-idx)] - (when match-data (lazy-seq (cons match-data (when (<= post-idx (count s)) (re-seq re post-match))))))) - -(defn re-pattern - "Returns an instance of RegExp which has compiled the provided string." - [s] - (if (instance? js/RegExp s) - s - (let [[prefix flags] (re-find #"^\(\?([idmsux]*)\)" s) - pattern (subs s (count prefix))] - (js/RegExp. pattern (or flags ""))))) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Printing ;;;;;;;;;;;;;;;; - -(defn pr-sequential-writer [writer print-one begin sep end opts coll] - (binding [*print-level* (when-not (nil? *print-level*) (dec *print-level*))] - (if (and (not (nil? *print-level*)) (neg? *print-level*)) - (-write writer "#") - (do - (-write writer begin) - (if (zero? (:print-length opts)) - (when (seq coll) - (-write writer (or (:more-marker opts) "..."))) - (do - (when (seq coll) - (print-one (first coll) writer opts)) - (loop [coll (next coll) n (dec (:print-length opts))] - (if (and coll (or (nil? n) (not (zero? n)))) - (do - (-write writer sep) - (print-one (first coll) writer opts) - (recur (next coll) (dec n))) - (when (and (seq coll) (zero? n)) - (-write writer sep) - (-write writer (or (:more-marker opts) "..."))))))) - (-write writer end))))) - -(defn write-all [writer & ss] - (doseq [s ss] - (-write writer s))) - -(defn string-print [x] - (when (nil? *print-fn*) - (throw (js/Error. "No *print-fn* fn set for evaluation environment"))) - (*print-fn* x) - nil) - -(defn flush [] ;stub - nil) - -(def ^:private char-escapes - (js-obj - "\"" "\\\"" - "\\" "\\\\" - "\b" "\\b" - "\f" "\\f" - "\n" "\\n" - "\r" "\\r" - "\t" "\\t")) - -(defn ^:private quote-string - [s] - (str \" - (.replace s (js/RegExp "[\\\\\"\b\f\n\r\t]" "g") - (fn [match] (unchecked-get char-escapes match))) - \")) - -(declare print-map) - -(defn ^boolean print-meta? [opts obj] - (and (boolean (get opts :meta)) - (implements? IMeta obj) - (not (nil? (meta obj))))) - -(defn- pr-writer-impl - [obj writer opts] - (cond - (nil? obj) (-write writer "nil") - :else - (do - (when (print-meta? opts obj) - (-write writer "^") - (pr-writer (meta obj) writer opts) - (-write writer " ")) - (cond - ;; handle CLJS ctors - ^boolean (.-cljs$lang$type obj) - (.cljs$lang$ctorPrWriter obj obj writer opts) - - ; Use the new, more efficient, IPrintWithWriter interface when possible. - (satisfies? IPrintWithWriter obj) - (-pr-writer obj writer opts) - - (or (true? obj) (false? obj)) - (-write writer (str obj)) - - (number? obj) - (-write writer - (cond - ^boolean (js/isNaN obj) "##NaN" - (identical? obj js/Number.POSITIVE_INFINITY) "##Inf" - (identical? obj js/Number.NEGATIVE_INFINITY) "##-Inf" - :else (str obj))) - - (object? obj) - (do - (-write writer "#js ") - (print-map - (map (fn [k] - (MapEntry. (cond-> k (some? (re-matches #"[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*" k)) keyword) (unchecked-get obj k) nil)) - (js-keys obj)) - pr-writer writer opts)) - - (array? obj) - (pr-sequential-writer writer pr-writer "#js [" " " "]" opts obj) - - ^boolean (goog/isString obj) - (if (:readably opts) - (-write writer (quote-string obj)) - (-write writer obj)) - - ^boolean (goog/isFunction obj) - (let [name (.-name obj) - name (if (or (nil? name) (gstring/isEmpty name)) - "Function" - name)] - (write-all writer "#object[" name - (if *print-fn-bodies* - (str " \"" (str obj) "\"") - "") - "]")) - - (instance? js/Date obj) - (let [normalize (fn [n len] - (loop [ns (str n)] - (if (< (count ns) len) - (recur (str "0" ns)) - ns)))] - (write-all writer - "#inst \"" - (str (.getUTCFullYear obj)) "-" - (normalize (inc (.getUTCMonth obj)) 2) "-" - (normalize (.getUTCDate obj) 2) "T" - (normalize (.getUTCHours obj) 2) ":" - (normalize (.getUTCMinutes obj) 2) ":" - (normalize (.getUTCSeconds obj) 2) "." - (normalize (.getUTCMilliseconds obj) 3) "-" - "00:00\"")) - - (regexp? obj) (write-all writer "#\"" (.-source obj) "\"") - - :else - (if (some-> obj .-constructor .-cljs$lang$ctorStr) - (write-all writer - "#object[" (.replace (.. obj -constructor -cljs$lang$ctorStr) - (js/RegExp. "/" "g") ".") "]") - (let [name (some-> obj .-constructor .-name) - name (if (or (nil? name) (gstring/isEmpty name)) - "Object" - name)] - (if (nil? (. obj -constructor)) - (write-all writer "#object[" name "]") - (write-all writer "#object[" name " " (str obj) "]")))))))) - -(defn- pr-writer - "Prefer this to pr-seq, because it makes the printing function - configurable, allowing efficient implementations such as appending - to a StringBuffer." - [obj writer opts] - (if-let [alt-impl (:alt-impl opts)] - (alt-impl obj writer (assoc opts :fallback-impl pr-writer-impl)) - (pr-writer-impl obj writer opts))) - -(defn pr-seq-writer [objs writer opts] - (pr-writer (first objs) writer opts) - (doseq [obj (next objs)] - (-write writer " ") - (pr-writer obj writer opts))) - -(defn- pr-sb-with-opts [objs opts] - (let [sb (StringBuffer.) - writer (StringBufferWriter. sb)] - (pr-seq-writer objs writer opts) - (-flush writer) - sb)) - -(defn pr-str-with-opts - "Prints a sequence of objects to a string, observing all the - options given in opts" - [objs opts] - (if (empty? objs) - "" - (str (pr-sb-with-opts objs opts)))) - -(defn prn-str-with-opts - "Same as pr-str-with-opts followed by (newline)" - [objs opts] - (if (empty? objs) - "\n" - (let [sb (pr-sb-with-opts objs opts)] - (.append sb \newline) - (str sb)))) - -(defn- pr-with-opts - "Prints a sequence of objects using string-print, observing all - the options given in opts" - [objs opts] - (string-print (pr-str-with-opts objs opts))) - -(defn newline - "Prints a newline using *print-fn*" - ([] (newline nil)) - ([opts] - (string-print "\n") - (when (get opts :flush-on-newline) - (flush)))) - -(defn pr-str - "pr to a string, returning it. Fundamental entrypoint to IPrintWithWriter." - [& objs] - (pr-str-with-opts objs (pr-opts))) - -(defn prn-str - "Same as pr-str followed by (newline)" - [& objs] - (prn-str-with-opts objs (pr-opts))) - -(defn pr - "Prints the object(s) using string-print. Prints the - object(s), separated by spaces if there is more than one. - By default, pr and prn print in a way that objects can be - read by the reader" - [& objs] - (pr-with-opts objs (pr-opts))) - -(def ^{:doc - "Prints the object(s) using string-print. - print and println produce output for human consumption."} - print - (fn cljs-core-print [& objs] - (pr-with-opts objs (assoc (pr-opts) :readably false)))) - -(defn print-str - "print to a string, returning it" - [& objs] - (pr-str-with-opts objs (assoc (pr-opts) :readably false))) - -(defn println - "Same as print followed by (newline)" - [& objs] - (pr-with-opts objs (assoc (pr-opts) :readably false)) - (when *print-newline* - (newline (pr-opts)))) - -(defn println-str - "println to a string, returning it" - [& objs] - (prn-str-with-opts objs (assoc (pr-opts) :readably false))) - -(defn prn - "Same as pr followed by (newline)." - [& objs] - (pr-with-opts objs (pr-opts)) - (when *print-newline* - (newline (pr-opts)))) - -(defn- strip-ns - [named] - (if (symbol? named) - (symbol nil (name named)) - (keyword nil (name named)))) - -(defn- lift-ns - "Returns [lifted-ns lifted-map] or nil if m can't be lifted." - [m] - (when *print-namespace-maps* - (loop [ns nil - [[k v :as entry] & entries] (seq m) - lm (empty m)] - (if entry - (when (or (keyword? k) (symbol? k)) - (if ns - (when (= ns (namespace k)) - (recur ns entries (assoc lm (strip-ns k) v))) - (when-let [new-ns (namespace k)] - (recur new-ns entries (assoc lm (strip-ns k) v))))) - [ns lm])))) - -(defn print-prefix-map [prefix m print-one writer opts] - (pr-sequential-writer - writer - (fn [e w opts] - (do (print-one (key e) w opts) - (-write w \space) - (print-one (val e) w opts))) - (str prefix "{") ", " "}" - opts (seq m))) - -(defn print-map [m print-one writer opts] - (let [[ns lift-map] (when (map? m) - (lift-ns m))] - (if ns - (print-prefix-map (str "#:" ns) lift-map print-one writer opts) - (print-prefix-map nil m print-one writer opts)))) - -(extend-protocol IPrintWithWriter - LazySeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - TransformerIterator - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - IndexedSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - RSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - PersistentQueue - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "#queue [" " " "]" opts (seq coll))) - - PersistentQueueSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - PersistentTreeMapSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - NodeSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - ArrayNodeSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - List - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - Cons - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - EmptyList - (-pr-writer [coll writer opts] (-write writer "()")) - - PersistentVector - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) - - ChunkedCons - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - ChunkedSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - Subvec - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) - - BlackNode - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) - - RedNode - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) - - MapEntry - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "[" " " "]" opts coll)) - - ObjMap - (-pr-writer [coll writer opts] - (print-map coll pr-writer writer opts)) - - KeySeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - ValSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - PersistentArrayMapSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - PersistentArrayMap - (-pr-writer [coll writer opts] - (print-map coll pr-writer writer opts)) - - PersistentHashMap - (-pr-writer [coll writer opts] - (print-map coll pr-writer writer opts)) - - PersistentTreeMap - (-pr-writer [coll writer opts] - (print-map coll pr-writer writer opts)) - - PersistentHashSet - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "#{" " " "}" opts coll)) - - PersistentTreeSet - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "#{" " " "}" opts coll)) - - Range - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - Cycle - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - Repeat - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - Iterate - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - ES6IteratorSeq - (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)) - - Atom - (-pr-writer [a writer opts] - (-write writer "#object [cljs.core.Atom ") - (pr-writer {:val (.-state a)} writer opts) - (-write writer "]")) - - Volatile - (-pr-writer [a writer opts] - (-write writer "#object [cljs.core.Volatile ") - (pr-writer {:val (.-state a)} writer opts) - (-write writer "]")) - - Var - (-pr-writer [a writer opts] - (-write writer "#'") - (pr-writer (.-sym a) writer opts))) - -;; IComparable -(extend-protocol IComparable - Symbol - (-compare [x y] - (if (symbol? y) - (compare-symbols x y) - (throw (js/Error. (str "Cannot compare " x " to " y))))) - - Keyword - (-compare [x y] - (if (keyword? y) - (compare-keywords x y) - (throw (js/Error. (str "Cannot compare " x " to " y))))) - - Subvec - (-compare [x y] - (if (vector? y) - (compare-indexed x y) - (throw (js/Error. (str "Cannot compare " x " to " y))))) - - PersistentVector - (-compare [x y] - (if (vector? y) - (compare-indexed x y) - (throw (js/Error. (str "Cannot compare " x " to " y))))) - - MapEntry - (-compare [x y] - (if (vector? y) - (compare-indexed x y) - (throw (js/Error. (str "Cannot compare " x " to " y))))) - - BlackNode - (-compare [x y] - (if (vector? y) - (compare-indexed x y) - (throw (js/Error. (str "Cannot compare " x " to " y))))) - - RedNode - (-compare [x y] - (if (vector? y) - (compare-indexed x y) - (throw (js/Error. (str "Cannot compare " x " to " y)))))) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Reference Types ;;;;;;;;;;;;;;;; - -(defn alter-meta! - "Atomically sets the metadata for a namespace/var/ref/agent/atom to be: - - (apply f its-current-meta args) - - f must be free of side-effects" - [iref f & args] - (set! (.-meta iref) (apply f (.-meta iref) args))) - -(defn reset-meta! - "Atomically resets the metadata for an atom" - [iref m] - (set! (.-meta iref) m)) - -(defn add-watch - "Adds a watch function to an atom reference. The watch fn must be a - fn of 4 args: a key, the reference, its old-state, its - new-state. Whenever the reference's state might have been changed, - any registered watches will have their functions called. The watch - fn will be called synchronously. Note that an atom's state - may have changed again prior to the fn call, so use old/new-state - rather than derefing the reference. Keys must be unique per - reference, and can be used to remove the watch with remove-watch, - but are otherwise considered opaque by the watch mechanism. Bear in - mind that regardless of the result or action of the watch fns the - atom's value will change. Example: - - (def a (atom 0)) - (add-watch a :inc (fn [k r o n] (assert (== 0 n)))) - (swap! a inc) - ;; Assertion Error - (deref a) - ;=> 1" - [iref key f] - (-add-watch iref key f) - iref) - -(defn remove-watch - "Removes a watch (set by add-watch) from a reference" - [iref key] - (-remove-watch iref key) - iref) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gensym ;;;;;;;;;;;;;;;; -;; Internal - do not use! -(def - ^{:jsdoc ["@type {*}"]} - gensym_counter nil) - -(defn gensym - "Returns a new symbol with a unique name. If a prefix string is - supplied, the name is prefix# where # is some unique number. If - prefix is not supplied, the prefix is 'G__'." - ([] (gensym "G__")) - ([prefix-string] - (when (nil? gensym_counter) - (set! gensym_counter (atom 0))) - (symbol (str prefix-string (swap! gensym_counter inc))))) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Delay ;;;;;;;;;;;;;;;;;;;; - -(deftype Delay [^:mutable f ^:mutable value] - IDeref - (-deref [_] - (when f - (set! value (f)) - (set! f nil)) - value) - - IPending - (-realized? [x] - (not f)) - - IPrintWithWriter - (-pr-writer [x writer opts] - (-write writer "#object[cljs.core.Delay ") - (pr-writer {:status (if (nil? f) :ready :pending), :val value} writer opts) - (-write writer "]"))) - -(defn ^boolean delay? - "returns true if x is a Delay created with delay" - [x] (instance? Delay x)) - -(defn force - "If x is a Delay, returns the (possibly cached) value of its expression, else returns x" - [x] - (if (delay? x) - (deref x) - x)) - -(defn ^boolean realized? - "Returns true if a value has been produced for a delay or lazy sequence." - [x] - (-realized? x)) - -(defn- preserving-reduced - [rf] - #(let [ret (rf %1 %2)] - (if (reduced? ret) - (reduced ret) - ret))) - -(defn cat - "A transducer which concatenates the contents of each input, which must be a - collection, into the reduction." - {:added "1.7"} - [rf] - (let [rf1 (preserving-reduced rf)] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (reduce rf1 result input))))) - -(defn halt-when - "Returns a transducer that ends transduction when pred returns true - for an input. When retf is supplied it must be a fn of 2 arguments - - it will be passed the (completed) result so far and the input that - triggered the predicate, and its return value (if it does not throw - an exception) will be the return value of the transducer. If retf - is not supplied, the input that triggered the predicate will be - returned. If the predicate never returns true the transduction is - unaffected." - {:added "1.9"} - ([pred] (halt-when pred nil)) - ([pred retf] - (fn [rf] - (fn - ([] (rf)) - ([result] - (if (and (map? result) (contains? result ::halt)) - (::halt result) - (rf result))) - ([result input] - (if (pred input) - (reduced {::halt (if retf (retf (rf result) input) input)}) - (rf result input))))))) - -(defn dedupe - "Returns a lazy sequence removing consecutive duplicates in coll. - Returns a transducer when no collection is provided." - ([] - (fn [rf] - (let [pa (volatile! ::none)] - (fn - ([] (rf)) - ([result] (rf result)) - ([result input] - (let [prior @pa] - (vreset! pa input) - (if (= prior input) - result - (rf result input)))))))) - ([coll] (sequence (dedupe) coll))) - -(declare rand) - -(defn random-sample - "Returns items from coll with random probability of prob (0.0 - - 1.0). Returns a transducer when no collection is provided." - ([prob] - (filter (fn [_] (< (rand) prob)))) - ([prob coll] - (filter (fn [_] (< (rand) prob)) coll))) - -(deftype Eduction [xform coll] - Object - (indexOf [coll x] - (-indexOf coll x 0)) - (indexOf [coll x start] - (-indexOf coll x start)) - (lastIndexOf [coll x] - (-lastIndexOf coll x (count coll))) - (lastIndexOf [coll x start] - (-lastIndexOf coll x start)) - - ISequential - - IIterable - (-iterator [_] - (.create TransformerIterator xform (iter coll))) - - ISeqable - (-seq [_] (seq (sequence xform coll))) - - IReduce - (-reduce [_ f] (transduce xform (completing f) coll)) - (-reduce [_ f init] (transduce xform (completing f) init coll)) - - IPrintWithWriter - (-pr-writer [coll writer opts] - (pr-sequential-writer writer pr-writer "(" " " ")" opts coll))) - -(es6-iterable Eduction) - -(defn eduction - "Returns a reducible/iterable application of the transducers - to the items in coll. Transducers are applied in order as if - combined with comp. Note that these applications will be - performed every time reduce/iterator is called." - {:arglists '([xform* coll])} - [& xforms] - (Eduction. (apply comp (butlast xforms)) (last xforms))) - -(defn run! - "Runs the supplied procedure (via reduce), for purposes of side - effects, on successive items in the collection. Returns nil" - [proc coll] - (reduce #(proc %2) nil coll) - nil) - -(defprotocol IEncodeJS - (-clj->js [x] "Recursively transforms clj values to JavaScript") - (-key->js [x] "Transforms map keys to valid JavaScript keys. Arbitrary keys are - encoded to their string representation via (pr-str x)")) - -(declare clj->js) - -(defn key->js - ([k] (key->js k clj->js)) - ([k primitive-fn] - (cond - (satisfies? IEncodeJS k) (-clj->js k) - (or (string? k) - (number? k) - (keyword? k) - (symbol? k)) (primitive-fn k) - :default (pr-str k)))) - -(defn clj->js - "Recursively transforms ClojureScript values to JavaScript. - sets/vectors/lists become Arrays, Keywords and Symbol become Strings, - Maps become Objects. Arbitrary keys are encoded to by `key->js`. - Options is a key-value pair, where the only valid key is - :keyword-fn, which should point to a single-argument function to be - called on keyword keys. Default to `name`." - [x & {:keys [keyword-fn] - :or {keyword-fn name} - :as options}] - (letfn [(keyfn [k] (key->js k thisfn)) - (thisfn [x] (cond - (nil? x) nil - (satisfies? IEncodeJS x) (-clj->js x) - (keyword? x) (keyword-fn x) - (symbol? x) (str x) - (map? x) (let [m (js-obj)] - (doseq [[k v] x] - (gobject/set m (keyfn k) (thisfn v))) - m) - (coll? x) (let [arr (array)] - (doseq [x (map thisfn x)] - (.push arr x)) - arr) - :else x))] - (thisfn x))) - - -(defprotocol IEncodeClojure - (-js->clj [x options] "Transforms JavaScript values to Clojure")) - -(defn js->clj - "Recursively transforms JavaScript arrays into ClojureScript - vectors, and JavaScript objects into ClojureScript maps. With - option ':keywordize-keys true' will convert object fields from - strings to keywords." - ([x] (js->clj x :keywordize-keys false)) - ([x & opts] - (let [{:keys [keywordize-keys]} opts - keyfn (if keywordize-keys keyword str) - f (fn thisfn [x] - (cond - (satisfies? IEncodeClojure x) - (-js->clj x (apply array-map opts)) - - (seq? x) - (doall (map thisfn x)) - - (map-entry? x) - (MapEntry. (thisfn (key x)) (thisfn (val x)) nil) - - (coll? x) - (into (empty x) (map thisfn) x) - - (array? x) - (persistent! - (reduce #(conj! %1 (thisfn %2)) - (transient []) x)) - - (identical? (type x) js/Object) - (persistent! - (reduce (fn [r k] (assoc! r (keyfn k) (thisfn (gobject/get x k)))) - (transient {}) (js-keys x))) - :else x))] - (f x)))) - -(defn memoize - "Returns a memoized version of a referentially transparent function. The - memoized version of the function keeps a cache of the mapping from arguments - to results and, when calls with the same arguments are repeated often, has - higher performance at the expense of higher memory use." - [f] - (let [mem (atom {})] - (fn [& args] - (let [v (get @mem args lookup-sentinel)] - (if (identical? v lookup-sentinel) - (let [ret (apply f args)] - (swap! mem assoc args ret) - ret) - v))))) - -(defn trampoline - "trampoline can be used to convert algorithms requiring mutual - recursion without stack consumption. Calls f with supplied args, if - any. If f returns a fn, calls that fn with no arguments, and - continues to repeat, until the return value is not a fn, then - returns that non-fn value. Note that if you want to return a fn as a - final value, you must wrap it in some data structure and unpack it - after trampoline returns." - ([f] - (let [ret (f)] - (if (fn? ret) - (recur ret) - ret))) - ([f & args] - (trampoline #(apply f args)))) - -(defn rand - "Returns a random floating point number between 0 (inclusive) and - n (default 1) (exclusive)." - ([] (rand 1)) - ([n] (* (Math/random) n))) - -(defn rand-int - "Returns a random integer between 0 (inclusive) and n (exclusive)." - [n] (Math/floor (* (Math/random) n))) - -(defn rand-nth - "Return a random element of the (sequential) collection. Will have - the same performance characteristics as nth for the given - collection." - [coll] - (nth coll (rand-int (count coll)))) - -(defn group-by - "Returns a map of the elements of coll keyed by the result of - f on each element. The value at each key will be a vector of the - corresponding elements, in the order they appeared in coll." - [f coll] - (persistent! - (reduce - (fn [ret x] - (let [k (f x)] - (assoc! ret k (conj (get ret k []) x)))) - (transient {}) coll))) - -(defn make-hierarchy - "Creates a hierarchy object for use with derive, isa? etc." - [] {:parents {} :descendants {} :ancestors {}}) - -(def - ^{:private true - :jsdoc ["@type {*}"]} - -global-hierarchy nil) - -(defn- get-global-hierarchy [] - (when (nil? -global-hierarchy) - (set! -global-hierarchy (atom (make-hierarchy)))) - -global-hierarchy) - -(defn- swap-global-hierarchy! [f & args] - (apply swap! (get-global-hierarchy) f args)) - -(defn ^boolean isa? - "Returns true if (= child parent), or child is directly or indirectly derived from - parent, either via a JavaScript type inheritance relationship or a - relationship established via derive. h must be a hierarchy obtained - from make-hierarchy, if not supplied defaults to the global - hierarchy" - ([child parent] (isa? @(get-global-hierarchy) child parent)) - ([h child parent] - (or (= child parent) - ;; (and (class? parent) (class? child) - ;; (. ^Class parent isAssignableFrom child)) - (contains? ((:ancestors h) child) parent) - ;;(and (class? child) (some #(contains? ((:ancestors h) %) parent) (supers child))) - (and (vector? parent) (vector? child) - (== (count parent) (count child)) - (loop [ret true i 0] - (if (or (not ret) (== i (count parent))) - ret - (recur (isa? h (child i) (parent i)) (inc i)))))))) - -(defn parents - "Returns the immediate parents of tag, either via a JavaScript type - inheritance relationship or a relationship established via derive. h - must be a hierarchy obtained from make-hierarchy, if not supplied - defaults to the global hierarchy" - ([tag] (parents @(get-global-hierarchy) tag)) - ([h tag] (not-empty (get (:parents h) tag)))) - -(defn ancestors - "Returns the immediate and indirect parents of tag, either via a JavaScript type - inheritance relationship or a relationship established via derive. h - must be a hierarchy obtained from make-hierarchy, if not supplied - defaults to the global hierarchy" - ([tag] (ancestors @(get-global-hierarchy) tag)) - ([h tag] (not-empty (get (:ancestors h) tag)))) - -(defn descendants - "Returns the immediate and indirect children of tag, through a - relationship established via derive. h must be a hierarchy obtained - from make-hierarchy, if not supplied defaults to the global - hierarchy. Note: does not work on JavaScript type inheritance - relationships." - ([tag] (descendants @(get-global-hierarchy) tag)) - ([h tag] (not-empty (get (:descendants h) tag)))) - -(defn derive - "Establishes a parent/child relationship between parent and - tag. Parent must be a namespace-qualified symbol or keyword and - child can be either a namespace-qualified symbol or keyword or a - class. h must be a hierarchy obtained from make-hierarchy, if not - supplied defaults to, and modifies, the global hierarchy." - ([tag parent] - (assert (namespace parent)) - ;; (assert (or (class? tag) (and (instance? cljs.core.Named tag) (namespace tag)))) - (swap-global-hierarchy! derive tag parent) nil) - ([h tag parent] - (assert (not= tag parent)) - ;; (assert (or (class? tag) (instance? clojure.lang.Named tag))) - ;; (assert (instance? clojure.lang.INamed tag)) - ;; (assert (instance? clojure.lang.INamed parent)) - (let [tp (:parents h) - td (:descendants h) - ta (:ancestors h) - tf (fn [m source sources target targets] - (reduce (fn [ret k] - (assoc ret k - (reduce conj (get targets k #{}) (cons target (targets target))))) - m (cons source (sources source))))] - (or - (when-not (contains? (tp tag) parent) - (when (contains? (ta tag) parent) - (throw (js/Error. (str tag "already has" parent "as ancestor")))) - (when (contains? (ta parent) tag) - (throw (js/Error. (str "Cyclic derivation:" parent "has" tag "as ancestor")))) - {:parents (assoc (:parents h) tag (conj (get tp tag #{}) parent)) - :ancestors (tf (:ancestors h) tag td parent ta) - :descendants (tf (:descendants h) parent ta tag td)}) - h)))) - -(defn underive - "Removes a parent/child relationship between parent and - tag. h must be a hierarchy obtained from make-hierarchy, if not - supplied defaults to, and modifies, the global hierarchy." - ([tag parent] - (swap-global-hierarchy! underive tag parent) - nil) - ([h tag parent] - (let [parentMap (:parents h) - childsParents (if (parentMap tag) - (disj (parentMap tag) parent) #{}) - newParents (if (not-empty childsParents) - (assoc parentMap tag childsParents) - (dissoc parentMap tag)) - deriv-seq (flatten (map #(cons (first %) (interpose (first %) (second %))) - (seq newParents)))] - (if (contains? (parentMap tag) parent) - (reduce #(apply derive %1 %2) (make-hierarchy) - (partition 2 deriv-seq)) - h)))) - -(defn- reset-cache - [method-cache method-table cached-hierarchy hierarchy] - (swap! method-cache (fn [_] (deref method-table))) - (swap! cached-hierarchy (fn [_] (deref hierarchy)))) - -(defn- prefers* - [x y prefer-table] - (let [xprefs (@prefer-table x)] - (or - (when (and xprefs (xprefs y)) - true) - (loop [ps (parents y)] - (when (pos? (count ps)) - (when (prefers* x (first ps) prefer-table) - true) - (recur (rest ps)))) - (loop [ps (parents x)] - (when (pos? (count ps)) - (when (prefers* (first ps) y prefer-table) - true) - (recur (rest ps)))) - false))) - -(defn- dominates - [x y prefer-table hierarchy] - (or (prefers* x y prefer-table) (isa? hierarchy x y))) - -(defn- find-and-cache-best-method - [name dispatch-val hierarchy method-table prefer-table method-cache cached-hierarchy default-dispatch-val] - (let [best-entry (reduce (fn [be [k _ :as e]] - (if (isa? @hierarchy dispatch-val k) - (let [be2 (if (or (nil? be) (dominates k (first be) prefer-table @hierarchy)) - e - be)] - (when-not (dominates (first be2) k prefer-table @hierarchy) - (throw (js/Error. - (str "Multiple methods in multimethod '" name - "' match dispatch value: " dispatch-val " -> " k - " and " (first be2) ", and neither is preferred")))) - be2) - be)) - nil @method-table) - best-entry (if-let [entry (and (nil? best-entry) (@method-table default-dispatch-val))] - [default-dispatch-val entry] - best-entry)] - (when best-entry - (if (= @cached-hierarchy @hierarchy) - (do - (swap! method-cache assoc dispatch-val (second best-entry)) - (second best-entry)) - (do - (reset-cache method-cache method-table cached-hierarchy hierarchy) - (find-and-cache-best-method name dispatch-val hierarchy method-table prefer-table - method-cache cached-hierarchy default-dispatch-val)))))) - -(defprotocol IMultiFn - (-reset [mf]) - (-add-method [mf dispatch-val method]) - (-remove-method [mf dispatch-val]) - (-prefer-method [mf dispatch-val dispatch-val-y]) - (-get-method [mf dispatch-val]) - (-methods [mf]) - (-prefers [mf]) - (-default-dispatch-val [mf]) - (-dispatch-fn [mf])) - -(defn- throw-no-method-error [name dispatch-val] - (throw (js/Error. (str "No method in multimethod '" name "' for dispatch value: " dispatch-val)))) - -(deftype MultiFn [name dispatch-fn default-dispatch-val hierarchy - method-table prefer-table method-cache cached-hierarchy] - IFn - (-invoke [mf] - (let [dispatch-val (dispatch-fn) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn))) - (-invoke [mf a] - (let [dispatch-val (dispatch-fn a) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a))) - (-invoke [mf a b] - (let [dispatch-val (dispatch-fn a b) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b))) - (-invoke [mf a b c] - (let [dispatch-val (dispatch-fn a b c) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c))) - (-invoke [mf a b c d] - (let [dispatch-val (dispatch-fn a b c d) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d))) - (-invoke [mf a b c d e] - (let [dispatch-val (dispatch-fn a b c d e) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e))) - (-invoke [mf a b c d e f] - (let [dispatch-val (dispatch-fn a b c d e f) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f))) - (-invoke [mf a b c d e f g] - (let [dispatch-val (dispatch-fn a b c d e f g) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g))) - (-invoke [mf a b c d e f g h] - (let [dispatch-val (dispatch-fn a b c d e f g h) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h))) - (-invoke [mf a b c d e f g h i] - (let [dispatch-val (dispatch-fn a b c d e f g h i) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i))) - (-invoke [mf a b c d e f g h i j] - (let [dispatch-val (dispatch-fn a b c d e f g h i j) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j))) - (-invoke [mf a b c d e f g h i j k] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k))) - (-invoke [mf a b c d e f g h i j k l] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k l) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k l))) - (-invoke [mf a b c d e f g h i j k l m] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k l m))) - (-invoke [mf a b c d e f g h i j k l m n] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k l m n))) - (-invoke [mf a b c d e f g h i j k l m n o] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k l m n o))) - (-invoke [mf a b c d e f g h i j k l m n o p] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k l m n o p))) - (-invoke [mf a b c d e f g h i j k l m n o p q] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k l m n o p q))) - (-invoke [mf a b c d e f g h i j k l m n o p q r] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q r) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k l m n o p q r))) - (-invoke [mf a b c d e f g h i j k l m n o p q r s] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q r s) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k l m n o p q r s))) - (-invoke [mf a b c d e f g h i j k l m n o p q r s t] - (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q r s t) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (target-fn a b c d e f g h i j k l m n o p q r s t))) - (-invoke [mf a b c d e f g h i j k l m n o p q r s t rest] - (let [dispatch-val (apply dispatch-fn a b c d e f g h i j k l m n o p q r s t rest) - target-fn (-get-method mf dispatch-val)] - (when-not target-fn - (throw-no-method-error name dispatch-val)) - (apply target-fn a b c d e f g h i j k l m n o p q r s t rest))) - - IMultiFn - (-reset [mf] - (swap! method-table (fn [mf] {})) - (swap! method-cache (fn [mf] {})) - (swap! prefer-table (fn [mf] {})) - (swap! cached-hierarchy (fn [mf] nil)) - mf) - - (-add-method [mf dispatch-val method] - (swap! method-table assoc dispatch-val method) - (reset-cache method-cache method-table cached-hierarchy hierarchy) - mf) - - (-remove-method [mf dispatch-val] - (swap! method-table dissoc dispatch-val) - (reset-cache method-cache method-table cached-hierarchy hierarchy) - mf) - - (-get-method [mf dispatch-val] - (when-not (= @cached-hierarchy @hierarchy) - (reset-cache method-cache method-table cached-hierarchy hierarchy)) - (if-let [target-fn (@method-cache dispatch-val)] - target-fn - (find-and-cache-best-method name dispatch-val hierarchy method-table - prefer-table method-cache cached-hierarchy default-dispatch-val))) - - (-prefer-method [mf dispatch-val-x dispatch-val-y] - (when (prefers* dispatch-val-x dispatch-val-y prefer-table) - (throw (js/Error. (str "Preference conflict in multimethod '" name "': " dispatch-val-y - " is already preferred to " dispatch-val-x)))) - (swap! prefer-table - (fn [old] - (assoc old dispatch-val-x - (conj (get old dispatch-val-x #{}) - dispatch-val-y)))) - (reset-cache method-cache method-table cached-hierarchy hierarchy)) - - (-methods [mf] @method-table) - (-prefers [mf] @prefer-table) - (-default-dispatch-val [mf] default-dispatch-val) - (-dispatch-fn [mf] dispatch-fn) - - INamed - (-name [this] (-name name)) - (-namespace [this] (-namespace name)) - - IHash - (-hash [this] (goog/getUid this))) - -(defn remove-all-methods - "Removes all of the methods of multimethod." - [multifn] - (-reset multifn)) - -(defn remove-method - "Removes the method of multimethod associated with dispatch-value." - [multifn dispatch-val] - (-remove-method multifn dispatch-val)) - -(defn prefer-method - "Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y - when there is a conflict" - [multifn dispatch-val-x dispatch-val-y] - (-prefer-method multifn dispatch-val-x dispatch-val-y)) - -(defn methods - "Given a multimethod, returns a map of dispatch values -> dispatch fns" - [multifn] (-methods multifn)) - -(defn get-method - "Given a multimethod and a dispatch value, returns the dispatch fn - that would apply to that value, or nil if none apply and no default" - [multifn dispatch-val] (-get-method multifn dispatch-val)) - -(defn prefers - "Given a multimethod, returns a map of preferred value -> set of other values" - [multifn] (-prefers multifn)) - -(defn default-dispatch-val - "Given a multimethod, return it's default-dispatch-val." - [multifn] (-default-dispatch-val multifn)) - -(defn dispatch-fn - "Given a multimethod, return it's dispatch-fn." - [multifn] (-dispatch-fn multifn)) - -;; UUID -(defprotocol IUUID "A marker protocol for UUIDs") - -(deftype UUID [uuid ^:mutable __hash] - IUUID - - Object - (toString [_] uuid) - (equiv [this other] - (-equiv this other)) - - IEquiv - (-equiv [_ other] - (and (instance? UUID other) (identical? uuid (.-uuid other)))) - - IPrintWithWriter - (-pr-writer [_ writer _] - (-write writer (str "#uuid \"" uuid "\""))) - - IHash - (-hash [this] - (when (nil? __hash) - (set! __hash (hash uuid))) - __hash) - - IComparable - (-compare [_ other] - (garray/defaultCompare uuid (.-uuid other)))) - -(defn uuid [s] - (assert (string? s)) - (UUID. (.toLowerCase s) nil)) - -(defn random-uuid [] - (letfn [(hex [] (.toString (rand-int 16) 16))] - (let [rhex (.toString (bit-or 0x8 (bit-and 0x3 (rand-int 16))) 16)] - (uuid - (str (hex) (hex) (hex) (hex) - (hex) (hex) (hex) (hex) "-" - (hex) (hex) (hex) (hex) "-" - "4" (hex) (hex) (hex) "-" - rhex (hex) (hex) (hex) "-" - (hex) (hex) (hex) (hex) - (hex) (hex) (hex) (hex) - (hex) (hex) (hex) (hex)))))) - -(defn ^boolean uuid? - [x] (implements? IUUID x)) - -;;; ExceptionInfo - -(defn- pr-writer-ex-info [obj writer opts] - (-write writer "#error {:message ") - (pr-writer (.-message obj) writer opts) - (when (.-data obj) - (-write writer ", :data ") - (pr-writer (.-data obj) writer opts)) - (when (.-cause obj) - (-write writer ", :cause ") - (pr-writer (.-cause obj) writer opts)) - (-write writer "}")) - -(defn ^{:jsdoc ["@constructor"]} - ExceptionInfo [message data cause] - (let [e (js/Error. message)] - (this-as this - (set! (.-message this) message) - (set! (.-data this) data) - (set! (.-cause this) cause) - (do - (set! (.-name this) (.-name e)) - ;; non-standard - (set! (.-description this) (.-description e)) - (set! (.-number this) (.-number e)) - (set! (.-fileName this) (.-fileName e)) - (set! (.-lineNumber this) (.-lineNumber e)) - (set! (.-columnNumber this) (.-columnNumber e)) - (set! (.-stack this) (.-stack e))) - this))) - -(set! (.. ExceptionInfo -prototype -__proto__) js/Error.prototype) - -(extend-type ExceptionInfo - IPrintWithWriter - (-pr-writer [obj writer opts] - (pr-writer-ex-info obj writer opts))) - -(set! (.. ExceptionInfo -prototype -toString) - (fn [] - (this-as this (pr-str* this)))) - -(defn ex-info - "Create an instance of ExceptionInfo, an Error type that carries a - map of additional data." - ([msg data] (ex-info msg data nil)) - ([msg data cause] - (ExceptionInfo. msg data cause))) - -(defn ex-data - "Returns exception data (a map) if ex is an ExceptionInfo. - Otherwise returns nil." - [ex] - (when (instance? ExceptionInfo ex) - (.-data ex))) - -(defn ex-message - "Returns the message attached to the given Error / ExceptionInfo object. - For non-Errors returns nil." - [ex] - (when (instance? js/Error ex) - (.-message ex))) - -(defn ex-cause - "Returns exception cause (an Error / ExceptionInfo) if ex is an - ExceptionInfo. - Otherwise returns nil." - [ex] - (when (instance? ExceptionInfo ex) - (.-cause ex))) - -(defn comparator - "Returns an JavaScript compatible comparator based upon pred." - [pred] - (fn [x y] - (cond (pred x y) -1 (pred y x) 1 :else 0))) - -(defn ^boolean special-symbol? - "Returns true if x names a special form" - [x] - (contains? - '#{if def fn* do let* loop* letfn* throw try catch finally - recur new set! ns deftype* defrecord* . js* & quote case* var ns*} - x)) - -(defn test - "test [v] finds fn at key :test in var metadata and calls it, - presuming failure will throw exception" - [v] - (let [f (.-cljs$lang$test v)] - (if f - (do (f) :ok) - :no-test))) - - -(deftype TaggedLiteral [tag form] - Object - (toString [coll] - (pr-str* coll)) - - IEquiv - (-equiv [this other] - (and (instance? TaggedLiteral other) - (= tag (.-tag other)) - (= form (.-form other)))) - - IHash - (-hash [this] - (+ (* 31 (hash tag)) - (hash form))) - - ILookup - (-lookup [this v] - (-lookup this v nil)) - (-lookup [this v not-found] - (case v - :tag tag - :form form - not-found)) - - IPrintWithWriter - (-pr-writer [o writer opts] - (-write writer (str "#" tag " ")) - (pr-writer form writer opts))) - -(defn ^boolean tagged-literal? - "Return true if the value is the data representation of a tagged literal" - [value] - (instance? TaggedLiteral value)) - -(defn tagged-literal - "Construct a data representation of a tagged literal from a - tag symbol and a form." - [tag form] - {:pre [(symbol? tag)]} - (TaggedLiteral. tag form)) - -(def - ^{:private true - :jsdoc ["@type {*}"]} - js-reserved-arr - #js ["arguments" "abstract" "await" "boolean" "break" "byte" "case" - "catch" "char" "class" "const" "continue" - "debugger" "default" "delete" "do" "double" - "else" "enum" "export" "extends" "final" - "finally" "float" "for" "function" "goto" "if" - "implements" "import" "in" "instanceof" "int" - "interface" "let" "long" "native" "new" - "package" "private" "protected" "public" - "return" "short" "static" "super" "switch" - "synchronized" "this" "throw" "throws" - "transient" "try" "typeof" "var" "void" - "volatile" "while" "with" "yield" "methods" - "null" "constructor"]) - -(def - ^{:jsdoc ["@type {null|Object}"]} - js-reserved nil) - -(defn- js-reserved? [x] - (when (nil? js-reserved) - (set! js-reserved - (reduce #(do (gobject/set %1 %2 true) %1) - #js {} js-reserved-arr))) - (.hasOwnProperty js-reserved x)) - -(defn- demunge-pattern [] - (when-not DEMUNGE_PATTERN - (set! DEMUNGE_PATTERN - (let [ks (sort (fn [a b] (- (. b -length) (. a -length))) - (js-keys DEMUNGE_MAP))] - (loop [ks ks ret ""] - (if (seq ks) - (recur - (next ks) - (str - (cond-> ret - (not (identical? ret "")) (str "|")) - (first ks))) - (str ret "|\\$")))))) - DEMUNGE_PATTERN) - -(defn- munge-str [name] - (let [sb (StringBuffer.)] - (loop [i 0] - (if (< i (. name -length)) - (let [c (.charAt name i) - sub (gobject/get CHAR_MAP c)] - (if-not (nil? sub) - (.append sb sub) - (.append sb c)) - (recur (inc i))))) - (.toString sb))) - -(defn munge [name] - (let [name' (munge-str (str name)) - name' (cond - (identical? name' "..") "_DOT__DOT_" - (js-reserved? name') (str name' "$") - :else name')] - (if (symbol? name) - (symbol name') - name'))) - -(defn- demunge-str [munged-name] - (let [r (js/RegExp. (demunge-pattern) "g") - munged-name (if (gstring/endsWith munged-name "$") - (.substring munged-name 0 (dec (. munged-name -length))) - munged-name)] - (loop [ret "" last-match-end 0] - (if-let [match (.exec r munged-name)] - (let [[x] match] - (recur - (str ret - (.substring munged-name last-match-end - (- (. r -lastIndex) (. x -length))) - (if (identical? x "$") "/" (gobject/get DEMUNGE_MAP x))) - (. r -lastIndex))) - (str ret - (.substring munged-name last-match-end (.-length munged-name))))))) - -(defn demunge [name] - ((if (symbol? name) symbol str) - (let [name' (str name)] - (if (identical? name' "_DOT__DOT_") - ".." - (demunge-str name'))))) - -(defonce ^{:jsdoc ["@type {*}"] :private true} - tapset nil) - -(defn- maybe-init-tapset [] - (when (nil? tapset) - (set! tapset (atom #{})))) - -(defn add-tap - "Adds f, a fn of one argument, to the tap set. This function will be called with - anything sent via tap>. Remember f in order to remove-tap" - [f] - (maybe-init-tapset) - (swap! tapset conj f) - nil) - -(defn remove-tap - "Remove f from the tap set." - [f] - (maybe-init-tapset) - (swap! tapset disj f) - nil) - -(defn ^boolean tap> - "Sends x to any taps. Returns the result of *exec-tap-fn*, a Boolean value." - [x] - (maybe-init-tapset) - (*exec-tap-fn* - (fn [] - (doseq [tap @tapset] - (try - (tap x) - (catch js/Error ex)))))) - -;; ----------------------------------------------------------------------------- -;; Bootstrap helpers - incompatible with advanced compilation - -(defn- ns-lookup - "Bootstrap only." - [ns-obj k] - (fn [] (gobject/get ns-obj k))) - -;; Bootstrap only -(deftype Namespace [obj name] - Object - (findInternedVar [this sym] - (let [k (munge (str sym))] - (when ^boolean (gobject/containsKey obj k) - (let [var-sym (symbol (str name) (str sym)) - var-meta {:ns this}] - (Var. (ns-lookup obj k) var-sym var-meta))))) - (getName [_] name) - (toString [_] - (str name)) - IEquiv - (-equiv [_ other] - (if (instance? Namespace other) - (= name (.-name other)) - false)) - IHash - (-hash [_] - (hash name))) - -(def - ^{:doc "Bootstrap only." :jsdoc ["@type {*}"]} - NS_CACHE nil) - -(defn- find-ns-obj* - "Bootstrap only." - [ctxt xs] - (cond - (nil? ctxt) nil - (nil? xs) ctxt - :else (recur (gobject/get ctxt (first xs)) (next xs)))) - -(defn find-ns-obj - "Bootstrap only." - [ns] - (let [munged-ns (munge (str ns)) - segs (.split munged-ns ".")] - (case *target* - "nodejs" (if ^boolean js/COMPILED - ; Under simple optimizations on nodejs, namespaces will be in module - ; rather than global scope and must be accessed by a direct call to eval. - ; The first segment may refer to an undefined variable, so its evaluation - ; may throw ReferenceError. - (find-ns-obj* - (try - (let [ctxt (js/eval (first segs))] - (when (and ctxt (object? ctxt)) - ctxt)) - (catch js/ReferenceError e - nil)) - (next segs)) - (find-ns-obj* goog/global segs)) - ("default" "webworker") (find-ns-obj* goog/global segs) - (throw (js/Error. (str "find-ns-obj not supported for target " *target*)))))) - -(defn ns-interns* - "Returns a map of the intern mappings for the namespace. - Bootstrap only." - [sym] - (let [ns-obj (find-ns-obj sym) - ns (Namespace. ns-obj sym)] - (letfn [(step [ret k] - (let [var-sym (symbol (demunge k))] - (assoc ret - var-sym (Var. #(gobject/get ns-obj k) - (symbol (str sym) (str var-sym)) {:ns ns}))))] - (reduce step {} (js-keys ns-obj))))) - -(defn create-ns - "Create a new namespace named by the symbol. Bootstrap only." - ([sym] - (create-ns sym (find-ns-obj sym))) - ([sym ns-obj] - (Namespace. ns-obj sym))) - -(defn find-ns - "Returns the namespace named by the symbol or nil if it doesn't exist. - Bootstrap only." - [ns] - (when (nil? NS_CACHE) - (set! NS_CACHE (atom {}))) - (let [the-ns (get @NS_CACHE ns)] - (if-not (nil? the-ns) - the-ns - (let [ns-obj (find-ns-obj ns)] - (when-not (nil? ns-obj) - (let [new-ns (create-ns ns ns-obj)] - (swap! NS_CACHE assoc ns new-ns) - new-ns)))))) - -(defn find-macros-ns - "Returns the macros namespace named by the symbol or nil if it doesn't exist. - Bootstrap only." - [ns] - (when (nil? NS_CACHE) - (set! NS_CACHE (atom {}))) - (let [ns-str (str ns) - ns (if (not ^boolean (gstring/contains ns-str "$macros")) - (symbol (str ns-str "$macros")) - ns) - the-ns (get @NS_CACHE ns)] - (if-not (nil? the-ns) - the-ns - (let [ns-obj (find-ns-obj ns)] - (when-not (nil? ns-obj) - (let [new-ns (create-ns ns ns-obj)] - (swap! NS_CACHE assoc ns new-ns) - new-ns)))))) - -(defn ns-name - "Returns the name of the namespace, a Namespace object. - Bootstrap only." - [ns-obj] - (.-name ns-obj)) - -(defn uri? - "Returns true x is a goog.Uri instance." - {:added "1.9"} - [x] - (instance? goog.Uri x)) - -(defn- maybe-enable-print! [] - (cond - (exists? js/console) - (enable-console-print!) - - (or (identical? *target* "nashorn") - (identical? *target* "graaljs")) - (let [system (.type js/Java "java.lang.System")] - (set! *print-newline* false) - (set-print-fn! - (fn [] - (let [xs (js-arguments) - s (.join (garray/clone xs) "")] - (.println (.-out system) s)))) - (set-print-err-fn! - (fn [] - (let [xs (js-arguments) - s (.join (garray/clone xs) "")] - (.println (.-error system) s))))))) - -(maybe-enable-print!) - -(defonce - ^{:doc "Runtime environments may provide a way to evaluate ClojureScript - forms. Whatever function *eval* is bound to will be passed any forms which - should be evaluated." :dynamic true} - *eval* - (fn [_] - (throw (js/Error. "cljs.core/*eval* not bound")))) - -(defn eval - "Evaluates the form data structure (not text!) and returns the result. - Delegates to cljs.core/*eval*. Intended for use in self-hosted ClojureScript, - which sets up an implementation of cljs.core/*eval* for that environment." - [form] - (*eval* form)) diff --git a/assets/viz/2/cljs/core.js b/assets/viz/2/cljs/core.js deleted file mode 100644 index 31ad4ae..0000000 --- a/assets/viz/2/cljs/core.js +++ /dev/null @@ -1,37633 +0,0 @@ -// Compiled by ClojureScript 1.10.439 {:static-fns true} -goog.provide('cljs.core'); -goog.require('goog.math.Long'); -goog.require('goog.math.Integer'); -goog.require('goog.string'); -goog.require('goog.object'); -goog.require('goog.array'); -goog.require('goog.Uri'); -goog.require('goog.string.StringBuffer'); -cljs.core._STAR_clojurescript_version_STAR_ = "1.10.439"; -cljs.core._STAR_unchecked_if_STAR_ = false; -cljs.core._STAR_unchecked_arrays_STAR_ = false; -cljs.core._STAR_warn_on_infer_STAR_ = false; -if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core.PROTOCOL_SENTINEL !== 'undefined')){ -} else { -cljs.core.PROTOCOL_SENTINEL = ({}); -} -cljs.core.MODULE_URIS = null; -cljs.core.MODULE_INFOS = null; - -/** @define {string} */ -goog.define("cljs.core._STAR_target_STAR_","default"); -/** - * Var bound to the current namespace. Only used for bootstrapping. - * @type {*} - */ -cljs.core._STAR_ns_STAR_ = null; -/** - * @type {*} - */ -cljs.core._STAR_out_STAR_ = null; -cljs.core._STAR_assert_STAR_ = true; -if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core._STAR_print_fn_STAR_ !== 'undefined')){ -} else { -/** - * Each runtime environment provides a different way to print output. - * Whatever function *print-fn* is bound to will be passed any - * Strings which should be printed. - */ -cljs.core._STAR_print_fn_STAR_ = null; -} -/** - * Arranges to have tap functions executed via the supplied f, a - * function of no arguments. Returns true if successful, false otherwise. - */ -cljs.core._STAR_exec_tap_fn_STAR_ = (function cljs$core$_STAR_exec_tap_fn_STAR_(f){ -var and__7791__auto__ = (typeof setTimeout !== 'undefined'); -if(and__7791__auto__){ -var and__7791__auto____$1 = setTimeout(f,(0)); -if(cljs.core.truth_(and__7791__auto____$1)){ -return true; -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -}); -if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core._STAR_print_err_fn_STAR_ !== 'undefined')){ -} else { -/** - * Each runtime environment provides a different way to print error output. - * Whatever function *print-err-fn* is bound to will be passed any - * Strings which should be printed. - */ -cljs.core._STAR_print_err_fn_STAR_ = null; -} -/** - * Set *print-fn* to f. - */ -cljs.core.set_print_fn_BANG_ = (function cljs$core$set_print_fn_BANG_(f){ -return cljs.core._STAR_print_fn_STAR_ = f; -}); -/** - * Set *print-err-fn* to f. - */ -cljs.core.set_print_err_fn_BANG_ = (function cljs$core$set_print_err_fn_BANG_(f){ -return cljs.core._STAR_print_err_fn_STAR_ = f; -}); -/** - * When set to true, output will be flushed whenever a newline is printed. - * - * Defaults to true. - */ -cljs.core._STAR_flush_on_newline_STAR_ = true; -/** - * When set to logical false will drop newlines from printing calls. - * This is to work around the implicit newlines emitted by standard JavaScript - * console objects. - */ -cljs.core._STAR_print_newline_STAR_ = true; -/** - * When set to logical false, strings and characters will be printed with - * non-alphanumeric characters converted to the appropriate escape sequences. - * - * Defaults to true - */ -cljs.core._STAR_print_readably_STAR_ = true; -/** - * If set to logical true, when printing an object, its metadata will also - * be printed in a form that can be read back by the reader. - * - * Defaults to false. - */ -cljs.core._STAR_print_meta_STAR_ = false; -/** - * When set to logical true, objects will be printed in a way that preserves - * their type when read in later. - * - * Defaults to false. - */ -cljs.core._STAR_print_dup_STAR_ = false; -/** - * *print-namespace-maps* controls whether the printer will print - * namespace map literal syntax. - * - * Defaults to false, but the REPL binds it to true. - */ -cljs.core._STAR_print_namespace_maps_STAR_ = false; -/** - * *print-length* controls how many items of each collection the - * printer will print. If it is bound to logical false, there is no - * limit. Otherwise, it must be bound to an integer indicating the maximum - * number of items of each collection to print. If a collection contains - * more items, the printer will print items up to the limit followed by - * '...' to represent the remaining items. The root binding is nil - * indicating no limit. - * @type {null|number} - */ -cljs.core._STAR_print_length_STAR_ = null; -/** - * *print-level* controls how many levels deep the printer will - * print nested objects. If it is bound to logical false, there is no - * limit. Otherwise, it must be bound to an integer indicating the maximum - * level to print. Each argument to print is at level 0; if an argument is a - * collection, its items are at level 1; and so on. If an object is a - * collection and is at a level greater than or equal to the value bound to - * *print-level*, the printer prints '#' to represent it. The root binding - * is nil indicating no limit. - * @type {null|number} - */ -cljs.core._STAR_print_level_STAR_ = null; -/** - * *print-fns-bodies* controls whether functions print their source or - * only their names. - */ -cljs.core._STAR_print_fn_bodies_STAR_ = false; -if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core._STAR_loaded_libs_STAR_ !== 'undefined')){ -} else { -/** - * @type {*} - */ -cljs.core._STAR_loaded_libs_STAR_ = null; -} -cljs.core.pr_opts = (function cljs$core$pr_opts(){ -return new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"flush-on-newline","flush-on-newline",-151457939),cljs.core._STAR_flush_on_newline_STAR_,new cljs.core.Keyword(null,"readably","readably",1129599760),cljs.core._STAR_print_readably_STAR_,new cljs.core.Keyword(null,"meta","meta",1499536964),cljs.core._STAR_print_meta_STAR_,new cljs.core.Keyword(null,"dup","dup",556298533),cljs.core._STAR_print_dup_STAR_,new cljs.core.Keyword(null,"print-length","print-length",1931866356),cljs.core._STAR_print_length_STAR_], null); -}); -/** - * Set *print-fn* to console.log - */ -cljs.core.enable_console_print_BANG_ = (function cljs$core$enable_console_print_BANG_(){ -cljs.core._STAR_print_newline_STAR_ = false; - -cljs.core.set_print_fn_BANG_((function (){ -var xs = arguments; -return console.log.apply(console,goog.array.clone(xs)); -})); - -cljs.core.set_print_err_fn_BANG_((function (){ -var xs = arguments; -return console.error.apply(console,goog.array.clone(xs)); -})); - -return null; -}); -/** - * Internal - do not use! - */ -cljs.core.truth_ = (function cljs$core$truth_(x){ -return (x != null && x !== false); -}); -cljs.core.not_native = null; - -/** - * Tests if 2 arguments are the same object - */ -cljs.core.identical_QMARK_ = (function cljs$core$identical_QMARK_(x,y){ -return (x === y); -}); -/** - * Returns true if x is nil, false otherwise. - */ -cljs.core.nil_QMARK_ = (function cljs$core$nil_QMARK_(x){ -return (x == null); -}); -/** - * Returns true if x is a JavaScript array. - */ -cljs.core.array_QMARK_ = (function cljs$core$array_QMARK_(x){ -if((cljs.core._STAR_target_STAR_ === "nodejs")){ -return Array.isArray(x); -} else { -return (x instanceof Array); -} -}); -/** - * Returns true if x is a JavaScript number. - */ -cljs.core.number_QMARK_ = (function cljs$core$number_QMARK_(x){ -return typeof x === 'number'; -}); -/** - * Returns true if x is logical false, false otherwise. - */ -cljs.core.not = (function cljs$core$not(x){ -if((x == null)){ -return true; -} else { -if(x === false){ -return true; -} else { -return false; - -} -} -}); -/** - * Returns true if x is not nil, false otherwise. - */ -cljs.core.some_QMARK_ = (function cljs$core$some_QMARK_(x){ -return (!((x == null))); -}); -/** - * Returns true if x's constructor is Object - */ -cljs.core.object_QMARK_ = (function cljs$core$object_QMARK_(x){ -if((!((x == null)))){ -return (x.constructor === Object); -} else { -return false; -} -}); -/** - * Returns true if x is a JavaScript string. - */ -cljs.core.string_QMARK_ = (function cljs$core$string_QMARK_(x){ -return goog.isString(x); -}); -/** - * Returns true if x is a JavaScript string of length one. - */ -cljs.core.char_QMARK_ = (function cljs$core$char_QMARK_(x){ -return ((typeof x === 'string') && (((1) === x.length))); -}); -/** - * Returns true if given any argument. - */ -cljs.core.any_QMARK_ = (function cljs$core$any_QMARK_(x){ -return true; -}); -/** - * Internal - do not use! - */ -cljs.core.native_satisfies_QMARK_ = (function cljs$core$native_satisfies_QMARK_(p,x){ -var x__$1 = (((x == null))?null:x); -if((p[goog.typeOf(x__$1)])){ -return true; -} else { -if((p["_"])){ -return true; -} else { -return false; - -} -} -}); -cljs.core.is_proto_ = (function cljs$core$is_proto_(x){ -return (x.constructor.prototype === x); -}); -/** - * When compiled for a command-line target, whatever function - * *main-cli-fn* is set to will be called with the command-line - * argv as arguments - */ -cljs.core._STAR_main_cli_fn_STAR_ = null; -/** - * A sequence of the supplied command line arguments, or nil if - * none were supplied - */ -cljs.core._STAR_command_line_args_STAR_ = null; -/** - * Return x's constructor. - */ -cljs.core.type = (function cljs$core$type(x){ -if((x == null)){ -return null; -} else { -return x.constructor; -} -}); -cljs.core.missing_protocol = (function cljs$core$missing_protocol(proto,obj){ -var ty = cljs.core.type(obj); -var ty__$1 = (cljs.core.truth_((function (){var and__7791__auto__ = ty; -if(cljs.core.truth_(and__7791__auto__)){ -return ty.cljs$lang$type; -} else { -return and__7791__auto__; -} -})())?ty.cljs$lang$ctorStr:goog.typeOf(obj)); -return (new Error(["No protocol method ",proto," defined for type ",ty__$1,": ",obj].join(""))); -}); -cljs.core.type__GT_str = (function cljs$core$type__GT_str(ty){ -var temp__4655__auto__ = ty.cljs$lang$ctorStr; -if(cljs.core.truth_(temp__4655__auto__)){ -var s = temp__4655__auto__; -return s; -} else { -return cljs.core.str.cljs$core$IFn$_invoke$arity$1(ty); -} -}); -cljs.core.load_file = (function cljs$core$load_file(file){ -if(cljs.core.truth_(COMPILED)){ -return null; -} else { -return goog.nodeGlobalRequire(file); -} -}); -if((((typeof Symbol !== 'undefined')) && ((goog.typeOf(Symbol) === "function")))){ -cljs.core.ITER_SYMBOL = Symbol.iterator; -} else { -cljs.core.ITER_SYMBOL = "@@iterator"; -} -/** - * @enum {string} - */ -cljs.core.CHAR_MAP = ({"]": "_RBRACK_", "'": "_SINGLEQUOTE_", "=": "_EQ_", "\"": "_DOUBLEQUOTE_", "!": "_BANG_", "*": "_STAR_", "%": "_PERCENT_", "|": "_BAR_", "~": "_TILDE_", "/": "_SLASH_", "\\": "_BSLASH_", "-": "_", "?": "_QMARK_", "&": "_AMPERSAND_", ":": "_COLON_", "<": "_LT_", "{": "_LBRACE_", "}": "_RBRACE_", "[": "_LBRACK_", "#": "_SHARP_", "^": "_CARET_", "+": "_PLUS_", "@": "_CIRCA_", ">": "_GT_"}); -/** - * @enum {string} - */ -cljs.core.DEMUNGE_MAP = ({"_RBRACE_": "}", "_COLON_": ":", "_BANG_": "!", "_QMARK_": "?", "_BSLASH_": "\\\\", "_SLASH_": "/", "_PERCENT_": "%", "_PLUS_": "+", "_SHARP_": "#", "_LBRACE_": "{", "_BAR_": "|", "_LBRACK_": "[", "_EQ_": "=", "_": "-", "_TILDE_": "~", "_RBRACK_": "]", "_GT_": ">", "_SINGLEQUOTE_": "'", "_CIRCA_": "@", "_AMPERSAND_": "&", "_DOUBLEQUOTE_": "\\\"", "_CARET_": "^", "_LT_": "<", "_STAR_": "*"}); -cljs.core.DEMUNGE_PATTERN = null; -/** - * Returns highest resolution time offered by host in milliseconds. - */ -cljs.core.system_time = (function cljs$core$system_time(){ -if((((typeof performance !== 'undefined')) && ((!((performance.now == null)))))){ -return performance.now(); -} else { -if((((typeof process !== 'undefined')) && ((!((process.hrtime == null)))))){ -var t = process.hrtime(); -return ((((t[(0)]) * 1.0E9) + (t[(1)])) / 1000000.0); -} else { -return (new Date()).getTime(); - -} -} -}); -/** - * Construct a JavaScript array of the specified dimensions. Accepts ignored - * type argument for compatibility with Clojure. Note that there is no efficient - * way to allocate multi-dimensional arrays in JavaScript; as such, this function - * will run in polynomial time when called with 3 or more arguments. - */ -cljs.core.make_array = (function cljs$core$make_array(var_args){ -var G__10030 = arguments.length; -switch (G__10030) { -case 1: -return cljs.core.make_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.make_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10032 = arguments.length; -var i__9001__auto___10033 = (0); -while(true){ -if((i__9001__auto___10033 < len__9000__auto___10032)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10033])); - -var G__10034 = (i__9001__auto___10033 + (1)); -i__9001__auto___10033 = G__10034; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.make_array.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.make_array.cljs$core$IFn$_invoke$arity$1 = (function (size){ -return (new Array(size)); -}); - -cljs.core.make_array.cljs$core$IFn$_invoke$arity$2 = (function (type,size){ -return (new Array(size)); -}); - -cljs.core.make_array.cljs$core$IFn$_invoke$arity$variadic = (function (type,size,more_sizes){ -var dims = more_sizes; -var dimarray = (new Array(size)); -var n__8769__auto___10035 = dimarray.length; -var i_10036 = (0); -while(true){ -if((i_10036 < n__8769__auto___10035)){ -(dimarray[i_10036] = cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.make_array,null,dims)); - -var G__10037 = (i_10036 + (1)); -i_10036 = G__10037; -continue; -} else { -} -break; -} - -return dimarray; -}); - -/** @this {Function} */ -cljs.core.make_array.cljs$lang$applyTo = (function (seq10027){ -var G__10028 = cljs.core.first(seq10027); -var seq10027__$1 = cljs.core.next(seq10027); -var G__10029 = cljs.core.first(seq10027__$1); -var seq10027__$2 = cljs.core.next(seq10027__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10028,G__10029,seq10027__$2); -}); - -cljs.core.make_array.cljs$lang$maxFixedArity = (2); - -/** - * Returns a javascript array, cloned from the passed in array - */ -cljs.core.aclone = (function cljs$core$aclone(arr){ -var len = arr.length; -var new_arr = (new Array(len)); -var n__8769__auto___10038 = len; -var i_10039 = (0); -while(true){ -if((i_10039 < n__8769__auto___10038)){ -(new_arr[i_10039] = (arr[i_10039])); - -var G__10040 = (i_10039 + (1)); -i_10039 = G__10040; -continue; -} else { -} -break; -} - -return new_arr; -}); -/** - * Creates a new javascript array. - * @param {...*} var_args - */ -cljs.core.array = (function cljs$core$array(var_args){ -var a = (new Array(arguments.length)); -var i = (0); -while(true){ -if((i < a.length)){ -(a[i] = (arguments[i])); - -var G__10041 = (i + (1)); -i = G__10041; -continue; -} else { -return a; -} -break; -} -}); -cljs.core.maybe_warn = (function cljs$core$maybe_warn(e){ -if(cljs.core.truth_(cljs.core._STAR_print_err_fn_STAR_)){ -return (cljs.core._STAR_print_err_fn_STAR_.cljs$core$IFn$_invoke$arity$1 ? cljs.core._STAR_print_err_fn_STAR_.cljs$core$IFn$_invoke$arity$1(e) : cljs.core._STAR_print_err_fn_STAR_.call(null,e)); -} else { -return null; -} -}); -cljs.core.checked_aget = (function cljs$core$checked_aget(var_args){ -var G__10046 = arguments.length; -switch (G__10046) { -case 2: -return cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10049 = arguments.length; -var i__9001__auto___10050 = (0); -while(true){ -if((i__9001__auto___10050 < len__9000__auto___10049)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10050])); - -var G__10051 = (i__9001__auto___10050 + (1)); -i__9001__auto___10050 = G__10051; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2 = (function (array,idx){ -try{if(cljs.core.truth_((function (){var or__7806__auto__ = cljs.core.array_QMARK_(array); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return goog.isArrayLike(array); -} -})())){ -} else { -throw (new Error("Assert failed: (or (array? array) (goog/isArrayLike array))")); -} - -if(typeof idx === 'number'){ -} else { -throw (new Error("Assert failed: (number? idx)")); -} - -if((!((idx < (0))))){ -} else { -throw (new Error("Assert failed: (not (neg? idx))")); -} - -if((idx < array.length)){ -} else { -throw (new Error("Assert failed: (< idx (alength array))")); -} -}catch (e10047){var e_10052 = e10047; -cljs.core.maybe_warn(e_10052); -} -return (array[idx]); -}); - -cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idxs){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.checked_aget,cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2(array,idx),idxs); -}); - -/** @this {Function} */ -cljs.core.checked_aget.cljs$lang$applyTo = (function (seq10043){ -var G__10044 = cljs.core.first(seq10043); -var seq10043__$1 = cljs.core.next(seq10043); -var G__10045 = cljs.core.first(seq10043__$1); -var seq10043__$2 = cljs.core.next(seq10043__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10044,G__10045,seq10043__$2); -}); - -cljs.core.checked_aget.cljs$lang$maxFixedArity = (2); - -cljs.core.checked_aset = (function cljs$core$checked_aset(var_args){ -var G__10058 = arguments.length; -switch (G__10058) { -case 3: -return cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10061 = arguments.length; -var i__9001__auto___10062 = (0); -while(true){ -if((i__9001__auto___10062 < len__9000__auto___10061)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10062])); - -var G__10063 = (i__9001__auto___10062 + (1)); -i__9001__auto___10062 = G__10063; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$3 = (function (array,idx,val){ -try{if(cljs.core.truth_((function (){var or__7806__auto__ = cljs.core.array_QMARK_(array); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return goog.isArrayLike(array); -} -})())){ -} else { -throw (new Error("Assert failed: (or (array? array) (goog/isArrayLike array))")); -} - -if(typeof idx === 'number'){ -} else { -throw (new Error("Assert failed: (number? idx)")); -} - -if((!((idx < (0))))){ -} else { -throw (new Error("Assert failed: (not (neg? idx))")); -} - -if((idx < array.length)){ -} else { -throw (new Error("Assert failed: (< idx (alength array))")); -} -}catch (e10059){var e_10064 = e10059; -cljs.core.maybe_warn(e_10064); -} -return (array[idx] = val); -}); - -cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idx2,idxv){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core.checked_aset,cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2(array,idx),idx2,idxv); -}); - -/** @this {Function} */ -cljs.core.checked_aset.cljs$lang$applyTo = (function (seq10054){ -var G__10055 = cljs.core.first(seq10054); -var seq10054__$1 = cljs.core.next(seq10054); -var G__10056 = cljs.core.first(seq10054__$1); -var seq10054__$2 = cljs.core.next(seq10054__$1); -var G__10057 = cljs.core.first(seq10054__$2); -var seq10054__$3 = cljs.core.next(seq10054__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10055,G__10056,G__10057,seq10054__$3); -}); - -cljs.core.checked_aset.cljs$lang$maxFixedArity = (3); - -cljs.core.checked_aget_SINGLEQUOTE_ = (function cljs$core$checked_aget_SINGLEQUOTE_(var_args){ -var G__10069 = arguments.length; -switch (G__10069) { -case 2: -return cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10071 = arguments.length; -var i__9001__auto___10072 = (0); -while(true){ -if((i__9001__auto___10072 < len__9000__auto___10071)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10072])); - -var G__10073 = (i__9001__auto___10072 + (1)); -i__9001__auto___10072 = G__10073; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2 = (function (array,idx){ -if(cljs.core.truth_((function (){var or__7806__auto__ = cljs.core.array_QMARK_(array); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return goog.isArrayLike(array); -} -})())){ -} else { -throw (new Error("Assert failed: (or (array? array) (goog/isArrayLike array))")); -} - -if(typeof idx === 'number'){ -} else { -throw (new Error("Assert failed: (number? idx)")); -} - -if((!((idx < (0))))){ -} else { -throw (new Error("Assert failed: (not (neg? idx))")); -} - -if((idx < array.length)){ -} else { -throw (new Error("Assert failed: (< idx (alength array))")); -} - -return (array[idx]); -}); - -cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idxs){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.checked_aget_SINGLEQUOTE_,cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2(array,idx),idxs); -}); - -/** @this {Function} */ -cljs.core.checked_aget_SINGLEQUOTE_.cljs$lang$applyTo = (function (seq10066){ -var G__10067 = cljs.core.first(seq10066); -var seq10066__$1 = cljs.core.next(seq10066); -var G__10068 = cljs.core.first(seq10066__$1); -var seq10066__$2 = cljs.core.next(seq10066__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10067,G__10068,seq10066__$2); -}); - -cljs.core.checked_aget_SINGLEQUOTE_.cljs$lang$maxFixedArity = (2); - -cljs.core.checked_aset_SINGLEQUOTE_ = (function cljs$core$checked_aset_SINGLEQUOTE_(var_args){ -var G__10079 = arguments.length; -switch (G__10079) { -case 3: -return cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10081 = arguments.length; -var i__9001__auto___10082 = (0); -while(true){ -if((i__9001__auto___10082 < len__9000__auto___10081)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10082])); - -var G__10083 = (i__9001__auto___10082 + (1)); -i__9001__auto___10082 = G__10083; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$3 = (function (array,idx,val){ -if(cljs.core.truth_((function (){var or__7806__auto__ = cljs.core.array_QMARK_(array); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return goog.isArrayLike(array); -} -})())){ -} else { -throw (new Error("Assert failed: (or (array? array) (goog/isArrayLike array))")); -} - -if(typeof idx === 'number'){ -} else { -throw (new Error("Assert failed: (number? idx)")); -} - -if((!((idx < (0))))){ -} else { -throw (new Error("Assert failed: (not (neg? idx))")); -} - -if((idx < array.length)){ -} else { -throw (new Error("Assert failed: (< idx (alength array))")); -} - -return (array[idx] = val); -}); - -cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idx2,idxv){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core.checked_aset_SINGLEQUOTE_,cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2(array,idx),idx2,idxv); -}); - -/** @this {Function} */ -cljs.core.checked_aset_SINGLEQUOTE_.cljs$lang$applyTo = (function (seq10075){ -var G__10076 = cljs.core.first(seq10075); -var seq10075__$1 = cljs.core.next(seq10075); -var G__10077 = cljs.core.first(seq10075__$1); -var seq10075__$2 = cljs.core.next(seq10075__$1); -var G__10078 = cljs.core.first(seq10075__$2); -var seq10075__$3 = cljs.core.next(seq10075__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10076,G__10077,G__10078,seq10075__$3); -}); - -cljs.core.checked_aset_SINGLEQUOTE_.cljs$lang$maxFixedArity = (3); - -/** - * Returns the value at the index/indices. Works on JavaScript arrays. - */ -cljs.core.aget = (function cljs$core$aget(var_args){ -var G__10088 = arguments.length; -switch (G__10088) { -case 2: -return cljs.core.aget.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10090 = arguments.length; -var i__9001__auto___10091 = (0); -while(true){ -if((i__9001__auto___10091 < len__9000__auto___10090)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10091])); - -var G__10092 = (i__9001__auto___10091 + (1)); -i__9001__auto___10091 = G__10092; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.aget.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.aget.cljs$core$IFn$_invoke$arity$2 = (function (array,idx){ -return (array[idx]); -}); - -cljs.core.aget.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idxs){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.aget,(array[idx]),idxs); -}); - -/** @this {Function} */ -cljs.core.aget.cljs$lang$applyTo = (function (seq10085){ -var G__10086 = cljs.core.first(seq10085); -var seq10085__$1 = cljs.core.next(seq10085); -var G__10087 = cljs.core.first(seq10085__$1); -var seq10085__$2 = cljs.core.next(seq10085__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10086,G__10087,seq10085__$2); -}); - -cljs.core.aget.cljs$lang$maxFixedArity = (2); - -/** - * Sets the value at the index/indices. Works on JavaScript arrays. - * Returns val. - */ -cljs.core.aset = (function cljs$core$aset(var_args){ -var G__10098 = arguments.length; -switch (G__10098) { -case 3: -return cljs.core.aset.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10100 = arguments.length; -var i__9001__auto___10101 = (0); -while(true){ -if((i__9001__auto___10101 < len__9000__auto___10100)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10101])); - -var G__10102 = (i__9001__auto___10101 + (1)); -i__9001__auto___10101 = G__10102; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.aset.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.aset.cljs$core$IFn$_invoke$arity$3 = (function (array,idx,val){ -return (array[idx] = val); -}); - -cljs.core.aset.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idx2,idxv){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core.aset,(array[idx]),idx2,idxv); -}); - -/** @this {Function} */ -cljs.core.aset.cljs$lang$applyTo = (function (seq10094){ -var G__10095 = cljs.core.first(seq10094); -var seq10094__$1 = cljs.core.next(seq10094); -var G__10096 = cljs.core.first(seq10094__$1); -var seq10094__$2 = cljs.core.next(seq10094__$1); -var G__10097 = cljs.core.first(seq10094__$2); -var seq10094__$3 = cljs.core.next(seq10094__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10095,G__10096,G__10097,seq10094__$3); -}); - -cljs.core.aset.cljs$lang$maxFixedArity = (3); - -/** - * Returns the length of the array. Works on arrays of all types. - */ -cljs.core.alength = (function cljs$core$alength(array){ -return array.length; -}); -/** - * Returns an array with components set to the values in aseq. Optional type - * argument accepted for compatibility with Clojure. - */ -cljs.core.into_array = (function cljs$core$into_array(var_args){ -var G__10104 = arguments.length; -switch (G__10104) { -case 1: -return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.into_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.into_array.cljs$core$IFn$_invoke$arity$1 = (function (aseq){ -return cljs.core.into_array.cljs$core$IFn$_invoke$arity$2(null,aseq); -}); - -cljs.core.into_array.cljs$core$IFn$_invoke$arity$2 = (function (type,aseq){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (a,x){ -a.push(x); - -return a; -}),[],aseq); -}); - -cljs.core.into_array.cljs$lang$maxFixedArity = 2; - -/** - * Invoke JavaScript object method via string. Needed when the - * string is not a valid unquoted property name. - */ -cljs.core.js_invoke = (function cljs$core$js_invoke(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___10109 = arguments.length; -var i__9001__auto___10110 = (0); -while(true){ -if((i__9001__auto___10110 < len__9000__auto___10109)){ -args__9010__auto__.push((arguments[i__9001__auto___10110])); - -var G__10111 = (i__9001__auto___10110 + (1)); -i__9001__auto___10110 = G__10111; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((2) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((2)),(0),null)):null); -return cljs.core.js_invoke.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9011__auto__); -}); - -cljs.core.js_invoke.cljs$core$IFn$_invoke$arity$variadic = (function (obj,s,args){ -return (obj[s]).apply(obj,cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(args)); -}); - -cljs.core.js_invoke.cljs$lang$maxFixedArity = (2); - -/** @this {Function} */ -cljs.core.js_invoke.cljs$lang$applyTo = (function (seq10106){ -var G__10107 = cljs.core.first(seq10106); -var seq10106__$1 = cljs.core.next(seq10106); -var G__10108 = cljs.core.first(seq10106__$1); -var seq10106__$2 = cljs.core.next(seq10106__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10107,G__10108,seq10106__$2); -}); - - -/** - * Marker protocol - * @interface - */ -cljs.core.Fn = function(){}; - - -/** - * Protocol for adding the ability to invoke an object as a function. - * For example, a vector can also be used to look up a value: - * ([1 2 3 4] 1) => 2 - * @interface - */ -cljs.core.IFn = function(){}; - -cljs.core._invoke = (function cljs$core$_invoke(var_args){ -var G__10113 = arguments.length; -switch (G__10113) { -case 1: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 5: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -case 6: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); - -break; -case 7: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$7((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)])); - -break; -case 8: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$8((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)])); - -break; -case 9: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$9((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)])); - -break; -case 10: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$10((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)])); - -break; -case 11: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$11((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)])); - -break; -case 12: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$12((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)])); - -break; -case 13: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$13((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)])); - -break; -case 14: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$14((arguments[(0)]),(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)])); - -break; -case 15: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$15((arguments[(0)]),(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)])); - -break; -case 16: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$16((arguments[(0)]),(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)])); - -break; -case 17: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$17((arguments[(0)]),(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)])); - -break; -case 18: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$18((arguments[(0)]),(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)])); - -break; -case 19: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$19((arguments[(0)]),(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)])); - -break; -case 20: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$20((arguments[(0)]),(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)])); - -break; -case 21: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$21((arguments[(0)]),(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)])); - -break; -case 22: -return cljs.core._invoke.cljs$core$IFn$_invoke$arity$22((arguments[(0)]),(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)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$1 = (function (this$){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$1 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$1(this$); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__8503__auto__.call(null,this$)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(this$) : m__8503__auto____$1.call(null,this$)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$2 = (function (this$,a){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$2 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$2(this$,a); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(this$,a) : m__8503__auto__.call(null,this$,a)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(this$,a) : m__8503__auto____$1.call(null,this$,a)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$3 = (function (this$,a,b){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$3 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$3(this$,a,b); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(this$,a,b) : m__8503__auto__.call(null,this$,a,b)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(this$,a,b) : m__8503__auto____$1.call(null,this$,a,b)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$4 = (function (this$,a,b,c){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$4 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$4(this$,a,b,c); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$4 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$4(this$,a,b,c) : m__8503__auto__.call(null,this$,a,b,c)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$4 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$4(this$,a,b,c) : m__8503__auto____$1.call(null,this$,a,b,c)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$5 = (function (this$,a,b,c,d){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$5 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$5 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d) : m__8503__auto__.call(null,this$,a,b,c,d)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$5 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d) : m__8503__auto____$1.call(null,this$,a,b,c,d)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$6 = (function (this$,a,b,c,d,e){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$6 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$6 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e) : m__8503__auto__.call(null,this$,a,b,c,d,e)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$6 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e) : m__8503__auto____$1.call(null,this$,a,b,c,d,e)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$7 = (function (this$,a,b,c,d,e,f){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$7 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$7 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f) : m__8503__auto__.call(null,this$,a,b,c,d,e,f)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$7 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$8 = (function (this$,a,b,c,d,e,f,g){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$8 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$8 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$8 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$9 = (function (this$,a,b,c,d,e,f,g,h){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$9 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$9 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$9 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$10 = (function (this$,a,b,c,d,e,f,g,h,i){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$10 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$10 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$10 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$11 = (function (this$,a,b,c,d,e,f,g,h,i,j){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$11 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$11 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$11 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$12 = (function (this$,a,b,c,d,e,f,g,h,i,j,k){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$12 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$12 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$12 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$13 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$13 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$13 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$13 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$14 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$14 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$14 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$14 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$15 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$15 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$15 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$15 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$16 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$16 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$16(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$16 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$16(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$16 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$16(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$17 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$17 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$17(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$17 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$17(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$17 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$17(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$18 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$18 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$18(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$18 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$18(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$18 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$18(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$19 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$19 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$19(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$19 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$19(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$19 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$19(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$20 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$20 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$20(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$20 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$20(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$20 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$20(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$21 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$21 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$21(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$21 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$21(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$21 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$21(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$core$IFn$_invoke$arity$22 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$22 == null)))))){ -return this$.cljs$core$IFn$_invoke$arity$22(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._invoke[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$22 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$22(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest) : m__8503__auto__.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest)); -} else { -var m__8503__auto____$1 = (cljs.core._invoke["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$22 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$22(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest) : m__8503__auto____$1.call(null,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest)); -} else { -throw cljs.core.missing_protocol("IFn.-invoke",this$); -} -} -} -}); - -cljs.core._invoke.cljs$lang$maxFixedArity = 22; - - - -/** - * Protocol for cloning a value. - * @interface - */ -cljs.core.ICloneable = function(){}; - -/** - * Creates a clone of value. - */ -cljs.core._clone = (function cljs$core$_clone(value){ -if((((!((value == null)))) && ((!((value.cljs$core$ICloneable$_clone$arity$1 == null)))))){ -return value.cljs$core$ICloneable$_clone$arity$1(value); -} else { -var x__8502__auto__ = (((value == null))?null:value); -var m__8503__auto__ = (cljs.core._clone[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(value) : m__8503__auto__.call(null,value)); -} else { -var m__8503__auto____$1 = (cljs.core._clone["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(value) : m__8503__auto____$1.call(null,value)); -} else { -throw cljs.core.missing_protocol("ICloneable.-clone",value); -} -} -} -}); - - -/** - * Protocol for adding the ability to count a collection in constant time. - * @interface - */ -cljs.core.ICounted = function(){}; - -/** - * Calculates the count of coll in constant time. Used by cljs.core/count. - */ -cljs.core._count = (function cljs$core$_count(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$ICounted$_count$arity$1 == null)))))){ -return coll.cljs$core$ICounted$_count$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._count[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._count["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("ICounted.-count",coll); -} -} -} -}); - - -/** - * Protocol for creating an empty collection. - * @interface - */ -cljs.core.IEmptyableCollection = function(){}; - -/** - * Returns an empty collection of the same category as coll. Used - * by cljs.core/empty. - */ -cljs.core._empty = (function cljs$core$_empty(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IEmptyableCollection$_empty$arity$1 == null)))))){ -return coll.cljs$core$IEmptyableCollection$_empty$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._empty[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._empty["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IEmptyableCollection.-empty",coll); -} -} -} -}); - - -/** - * Protocol for adding to a collection. - * @interface - */ -cljs.core.ICollection = function(){}; - -/** - * Returns a new collection of coll with o added to it. The new item - * should be added to the most efficient place, e.g. - * (conj [1 2 3 4] 5) => [1 2 3 4 5] - * (conj '(2 3 4 5) 1) => '(1 2 3 4 5) - */ -cljs.core._conj = (function cljs$core$_conj(coll,o){ -if((((!((coll == null)))) && ((!((coll.cljs$core$ICollection$_conj$arity$2 == null)))))){ -return coll.cljs$core$ICollection$_conj$arity$2(coll,o); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._conj[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(coll,o) : m__8503__auto__.call(null,coll,o)); -} else { -var m__8503__auto____$1 = (cljs.core._conj["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,o) : m__8503__auto____$1.call(null,coll,o)); -} else { -throw cljs.core.missing_protocol("ICollection.-conj",coll); -} -} -} -}); - - -/** - * Protocol for collections to provide indexed-based access to their items. - * @interface - */ -cljs.core.IIndexed = function(){}; - -/** - * Returns the value at the index n in the collection coll. - * Returns not-found if index n is out of bounds and not-found is supplied. - */ -cljs.core._nth = (function cljs$core$_nth(var_args){ -var G__10116 = arguments.length; -switch (G__10116) { -case 2: -return cljs.core._nth.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core._nth.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core._nth.cljs$core$IFn$_invoke$arity$2 = (function (coll,n){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IIndexed$_nth$arity$2 == null)))))){ -return coll.cljs$core$IIndexed$_nth$arity$2(coll,n); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._nth[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(coll,n) : m__8503__auto__.call(null,coll,n)); -} else { -var m__8503__auto____$1 = (cljs.core._nth["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,n) : m__8503__auto____$1.call(null,coll,n)); -} else { -throw cljs.core.missing_protocol("IIndexed.-nth",coll); -} -} -} -}); - -cljs.core._nth.cljs$core$IFn$_invoke$arity$3 = (function (coll,n,not_found){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IIndexed$_nth$arity$3 == null)))))){ -return coll.cljs$core$IIndexed$_nth$arity$3(coll,n,not_found); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._nth[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,not_found) : m__8503__auto__.call(null,coll,n,not_found)); -} else { -var m__8503__auto____$1 = (cljs.core._nth["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,n,not_found) : m__8503__auto____$1.call(null,coll,n,not_found)); -} else { -throw cljs.core.missing_protocol("IIndexed.-nth",coll); -} -} -} -}); - -cljs.core._nth.cljs$lang$maxFixedArity = 3; - - - -/** - * Marker protocol indicating an array sequence. - * @interface - */ -cljs.core.ASeq = function(){}; - - -/** - * Protocol for collections to provide access to their items as sequences. - * @interface - */ -cljs.core.ISeq = function(){}; - -/** - * Returns the first item in the collection coll. Used by cljs.core/first. - */ -cljs.core._first = (function cljs$core$_first(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$ISeq$_first$arity$1 == null)))))){ -return coll.cljs$core$ISeq$_first$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._first[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._first["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("ISeq.-first",coll); -} -} -} -}); - -/** - * Returns a new collection of coll without the first item. It should - * always return a seq, e.g. - * (rest []) => () - * (rest nil) => () - */ -cljs.core._rest = (function cljs$core$_rest(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$ISeq$_rest$arity$1 == null)))))){ -return coll.cljs$core$ISeq$_rest$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._rest[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._rest["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("ISeq.-rest",coll); -} -} -} -}); - - -/** - * Protocol for accessing the next items of a collection. - * @interface - */ -cljs.core.INext = function(){}; - -/** - * Returns a new collection of coll without the first item. In contrast to - * rest, it should return nil if there are no more items, e.g. - * (next []) => nil - * (next nil) => nil - */ -cljs.core._next = (function cljs$core$_next(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$INext$_next$arity$1 == null)))))){ -return coll.cljs$core$INext$_next$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._next[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._next["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("INext.-next",coll); -} -} -} -}); - - -/** - * Protocol for looking up a value in a data structure. - * @interface - */ -cljs.core.ILookup = function(){}; - -/** - * Use k to look up a value in o. If not-found is supplied and k is not - * a valid value that can be used for look up, not-found is returned. - */ -cljs.core._lookup = (function cljs$core$_lookup(var_args){ -var G__10119 = arguments.length; -switch (G__10119) { -case 2: -return cljs.core._lookup.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core._lookup.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core._lookup.cljs$core$IFn$_invoke$arity$2 = (function (o,k){ -if((((!((o == null)))) && ((!((o.cljs$core$ILookup$_lookup$arity$2 == null)))))){ -return o.cljs$core$ILookup$_lookup$arity$2(o,k); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._lookup[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(o,k) : m__8503__auto__.call(null,o,k)); -} else { -var m__8503__auto____$1 = (cljs.core._lookup["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(o,k) : m__8503__auto____$1.call(null,o,k)); -} else { -throw cljs.core.missing_protocol("ILookup.-lookup",o); -} -} -} -}); - -cljs.core._lookup.cljs$core$IFn$_invoke$arity$3 = (function (o,k,not_found){ -if((((!((o == null)))) && ((!((o.cljs$core$ILookup$_lookup$arity$3 == null)))))){ -return o.cljs$core$ILookup$_lookup$arity$3(o,k,not_found); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._lookup[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(o,k,not_found) : m__8503__auto__.call(null,o,k,not_found)); -} else { -var m__8503__auto____$1 = (cljs.core._lookup["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(o,k,not_found) : m__8503__auto____$1.call(null,o,k,not_found)); -} else { -throw cljs.core.missing_protocol("ILookup.-lookup",o); -} -} -} -}); - -cljs.core._lookup.cljs$lang$maxFixedArity = 3; - - - -/** - * Protocol for adding associativity to collections. - * @interface - */ -cljs.core.IAssociative = function(){}; - -/** - * Returns true if k is a key in coll. - */ -cljs.core._contains_key_QMARK_ = (function cljs$core$_contains_key_QMARK_(coll,k){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 == null)))))){ -return coll.cljs$core$IAssociative$_contains_key_QMARK_$arity$2(coll,k); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._contains_key_QMARK_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8503__auto__.call(null,coll,k)); -} else { -var m__8503__auto____$1 = (cljs.core._contains_key_QMARK_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8503__auto____$1.call(null,coll,k)); -} else { -throw cljs.core.missing_protocol("IAssociative.-contains-key?",coll); -} -} -} -}); - -/** - * Returns a new collection of coll with a mapping from key k to - * value v added to it. - */ -cljs.core._assoc = (function cljs$core$_assoc(coll,k,v){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IAssociative$_assoc$arity$3 == null)))))){ -return coll.cljs$core$IAssociative$_assoc$arity$3(coll,k,v); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._assoc[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__8503__auto__.call(null,coll,k,v)); -} else { -var m__8503__auto____$1 = (cljs.core._assoc["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__8503__auto____$1.call(null,coll,k,v)); -} else { -throw cljs.core.missing_protocol("IAssociative.-assoc",coll); -} -} -} -}); - - -/** - * Protocol for implementing entry finding in collections. - * @interface - */ -cljs.core.IFind = function(){}; - -/** - * Returns the map entry for key, or nil if key not present. - */ -cljs.core._find = (function cljs$core$_find(coll,k){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IFind$_find$arity$2 == null)))))){ -return coll.cljs$core$IFind$_find$arity$2(coll,k); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._find[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8503__auto__.call(null,coll,k)); -} else { -var m__8503__auto____$1 = (cljs.core._find["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8503__auto____$1.call(null,coll,k)); -} else { -throw cljs.core.missing_protocol("IFind.-find",coll); -} -} -} -}); - - -/** - * Protocol for adding mapping functionality to collections. - * @interface - */ -cljs.core.IMap = function(){}; - -/** - * Returns a new collection of coll without the mapping for key k. - */ -cljs.core._dissoc = (function cljs$core$_dissoc(coll,k){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IMap$_dissoc$arity$2 == null)))))){ -return coll.cljs$core$IMap$_dissoc$arity$2(coll,k); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._dissoc[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8503__auto__.call(null,coll,k)); -} else { -var m__8503__auto____$1 = (cljs.core._dissoc["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,k) : m__8503__auto____$1.call(null,coll,k)); -} else { -throw cljs.core.missing_protocol("IMap.-dissoc",coll); -} -} -} -}); - - -/** - * Protocol for examining a map entry. - * @interface - */ -cljs.core.IMapEntry = function(){}; - -/** - * Returns the key of the map entry. - */ -cljs.core._key = (function cljs$core$_key(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IMapEntry$_key$arity$1 == null)))))){ -return coll.cljs$core$IMapEntry$_key$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._key[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._key["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IMapEntry.-key",coll); -} -} -} -}); - -/** - * Returns the value of the map entry. - */ -cljs.core._val = (function cljs$core$_val(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IMapEntry$_val$arity$1 == null)))))){ -return coll.cljs$core$IMapEntry$_val$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._val[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._val["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IMapEntry.-val",coll); -} -} -} -}); - - -/** - * Protocol for adding set functionality to a collection. - * @interface - */ -cljs.core.ISet = function(){}; - -/** - * Returns a new collection of coll that does not contain v. - */ -cljs.core._disjoin = (function cljs$core$_disjoin(coll,v){ -if((((!((coll == null)))) && ((!((coll.cljs$core$ISet$_disjoin$arity$2 == null)))))){ -return coll.cljs$core$ISet$_disjoin$arity$2(coll,v); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._disjoin[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(coll,v) : m__8503__auto__.call(null,coll,v)); -} else { -var m__8503__auto____$1 = (cljs.core._disjoin["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,v) : m__8503__auto____$1.call(null,coll,v)); -} else { -throw cljs.core.missing_protocol("ISet.-disjoin",coll); -} -} -} -}); - - -/** - * Protocol for collections to provide access to their items as stacks. The top - * of the stack should be accessed in the most efficient way for the different - * data structures. - * @interface - */ -cljs.core.IStack = function(){}; - -/** - * Returns the item from the top of the stack. Is used by cljs.core/peek. - */ -cljs.core._peek = (function cljs$core$_peek(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IStack$_peek$arity$1 == null)))))){ -return coll.cljs$core$IStack$_peek$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._peek[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._peek["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IStack.-peek",coll); -} -} -} -}); - -/** - * Returns a new stack without the item on top of the stack. Is used - * by cljs.core/pop. - */ -cljs.core._pop = (function cljs$core$_pop(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IStack$_pop$arity$1 == null)))))){ -return coll.cljs$core$IStack$_pop$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._pop[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._pop["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IStack.-pop",coll); -} -} -} -}); - - -/** - * Protocol for adding vector functionality to collections. - * @interface - */ -cljs.core.IVector = function(){}; - -/** - * Returns a new vector with value val added at position n. - */ -cljs.core._assoc_n = (function cljs$core$_assoc_n(coll,n,val){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IVector$_assoc_n$arity$3 == null)))))){ -return coll.cljs$core$IVector$_assoc_n$arity$3(coll,n,val); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._assoc_n[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,val) : m__8503__auto__.call(null,coll,n,val)); -} else { -var m__8503__auto____$1 = (cljs.core._assoc_n["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,n,val) : m__8503__auto____$1.call(null,coll,n,val)); -} else { -throw cljs.core.missing_protocol("IVector.-assoc-n",coll); -} -} -} -}); - - -/** - * Protocol for adding dereference functionality to a reference. - * @interface - */ -cljs.core.IDeref = function(){}; - -/** - * Returns the value of the reference o. - */ -cljs.core._deref = (function cljs$core$_deref(o){ -if((((!((o == null)))) && ((!((o.cljs$core$IDeref$_deref$arity$1 == null)))))){ -return o.cljs$core$IDeref$_deref$arity$1(o); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._deref[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__8503__auto__.call(null,o)); -} else { -var m__8503__auto____$1 = (cljs.core._deref["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__8503__auto____$1.call(null,o)); -} else { -throw cljs.core.missing_protocol("IDeref.-deref",o); -} -} -} -}); - - -/** - * @interface - */ -cljs.core.IDerefWithTimeout = function(){}; - -cljs.core._deref_with_timeout = (function cljs$core$_deref_with_timeout(o,msec,timeout_val){ -if((((!((o == null)))) && ((!((o.cljs$core$IDerefWithTimeout$_deref_with_timeout$arity$3 == null)))))){ -return o.cljs$core$IDerefWithTimeout$_deref_with_timeout$arity$3(o,msec,timeout_val); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._deref_with_timeout[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(o,msec,timeout_val) : m__8503__auto__.call(null,o,msec,timeout_val)); -} else { -var m__8503__auto____$1 = (cljs.core._deref_with_timeout["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(o,msec,timeout_val) : m__8503__auto____$1.call(null,o,msec,timeout_val)); -} else { -throw cljs.core.missing_protocol("IDerefWithTimeout.-deref-with-timeout",o); -} -} -} -}); - - -/** - * Protocol for accessing the metadata of an object. - * @interface - */ -cljs.core.IMeta = function(){}; - -/** - * Returns the metadata of object o. - */ -cljs.core._meta = (function cljs$core$_meta(o){ -if((((!((o == null)))) && ((!((o.cljs$core$IMeta$_meta$arity$1 == null)))))){ -return o.cljs$core$IMeta$_meta$arity$1(o); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._meta[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__8503__auto__.call(null,o)); -} else { -var m__8503__auto____$1 = (cljs.core._meta["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__8503__auto____$1.call(null,o)); -} else { -throw cljs.core.missing_protocol("IMeta.-meta",o); -} -} -} -}); - - -/** - * Protocol for adding metadata to an object. - * @interface - */ -cljs.core.IWithMeta = function(){}; - -/** - * Returns a new object with value of o and metadata meta added to it. - */ -cljs.core._with_meta = (function cljs$core$_with_meta(o,meta){ -if((((!((o == null)))) && ((!((o.cljs$core$IWithMeta$_with_meta$arity$2 == null)))))){ -return o.cljs$core$IWithMeta$_with_meta$arity$2(o,meta); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._with_meta[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(o,meta) : m__8503__auto__.call(null,o,meta)); -} else { -var m__8503__auto____$1 = (cljs.core._with_meta["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(o,meta) : m__8503__auto____$1.call(null,o,meta)); -} else { -throw cljs.core.missing_protocol("IWithMeta.-with-meta",o); -} -} -} -}); - - -/** - * Protocol for seq types that can reduce themselves. - * Called by cljs.core/reduce. - * @interface - */ -cljs.core.IReduce = function(){}; - -/** - * f should be a function of 2 arguments. If start is not supplied, - * returns the result of applying f to the first 2 items in coll, then - * applying f to that result and the 3rd item, etc. - */ -cljs.core._reduce = (function cljs$core$_reduce(var_args){ -var G__10122 = arguments.length; -switch (G__10122) { -case 2: -return cljs.core._reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core._reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core._reduce.cljs$core$IFn$_invoke$arity$2 = (function (coll,f){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IReduce$_reduce$arity$2 == null)))))){ -return coll.cljs$core$IReduce$_reduce$arity$2(coll,f); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._reduce[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(coll,f) : m__8503__auto__.call(null,coll,f)); -} else { -var m__8503__auto____$1 = (cljs.core._reduce["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,f) : m__8503__auto____$1.call(null,coll,f)); -} else { -throw cljs.core.missing_protocol("IReduce.-reduce",coll); -} -} -} -}); - -cljs.core._reduce.cljs$core$IFn$_invoke$arity$3 = (function (coll,f,start){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IReduce$_reduce$arity$3 == null)))))){ -return coll.cljs$core$IReduce$_reduce$arity$3(coll,f,start); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._reduce[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,start) : m__8503__auto__.call(null,coll,f,start)); -} else { -var m__8503__auto____$1 = (cljs.core._reduce["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,f,start) : m__8503__auto____$1.call(null,coll,f,start)); -} else { -throw cljs.core.missing_protocol("IReduce.-reduce",coll); -} -} -} -}); - -cljs.core._reduce.cljs$lang$maxFixedArity = 3; - - - -/** - * Protocol for associative types that can reduce themselves - * via a function of key and val. Called by cljs.core/reduce-kv. - * @interface - */ -cljs.core.IKVReduce = function(){}; - -/** - * Reduces an associative collection and returns the result. f should be - * a function that takes three arguments. - */ -cljs.core._kv_reduce = (function cljs$core$_kv_reduce(coll,f,init){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IKVReduce$_kv_reduce$arity$3 == null)))))){ -return coll.cljs$core$IKVReduce$_kv_reduce$arity$3(coll,f,init); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._kv_reduce[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,init) : m__8503__auto__.call(null,coll,f,init)); -} else { -var m__8503__auto____$1 = (cljs.core._kv_reduce["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,f,init) : m__8503__auto____$1.call(null,coll,f,init)); -} else { -throw cljs.core.missing_protocol("IKVReduce.-kv-reduce",coll); -} -} -} -}); - - -/** - * Protocol for adding value comparison functionality to a type. - * @interface - */ -cljs.core.IEquiv = function(){}; - -/** - * Returns true if o and other are equal, false otherwise. - */ -cljs.core._equiv = (function cljs$core$_equiv(o,other){ -if((((!((o == null)))) && ((!((o.cljs$core$IEquiv$_equiv$arity$2 == null)))))){ -return o.cljs$core$IEquiv$_equiv$arity$2(o,other); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._equiv[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(o,other) : m__8503__auto__.call(null,o,other)); -} else { -var m__8503__auto____$1 = (cljs.core._equiv["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(o,other) : m__8503__auto____$1.call(null,o,other)); -} else { -throw cljs.core.missing_protocol("IEquiv.-equiv",o); -} -} -} -}); - - -/** - * Protocol for adding hashing functionality to a type. - * @interface - */ -cljs.core.IHash = function(){}; - -/** - * Returns the hash code of o. - */ -cljs.core._hash = (function cljs$core$_hash(o){ -if((((!((o == null)))) && ((!((o.cljs$core$IHash$_hash$arity$1 == null)))))){ -return o.cljs$core$IHash$_hash$arity$1(o); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._hash[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__8503__auto__.call(null,o)); -} else { -var m__8503__auto____$1 = (cljs.core._hash["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__8503__auto____$1.call(null,o)); -} else { -throw cljs.core.missing_protocol("IHash.-hash",o); -} -} -} -}); - - -/** - * Protocol for adding the ability to a type to be transformed into a sequence. - * @interface - */ -cljs.core.ISeqable = function(){}; - -/** - * Returns a seq of o, or nil if o is empty. - */ -cljs.core._seq = (function cljs$core$_seq(o){ -if((((!((o == null)))) && ((!((o.cljs$core$ISeqable$_seq$arity$1 == null)))))){ -return o.cljs$core$ISeqable$_seq$arity$1(o); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._seq[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__8503__auto__.call(null,o)); -} else { -var m__8503__auto____$1 = (cljs.core._seq["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(o) : m__8503__auto____$1.call(null,o)); -} else { -throw cljs.core.missing_protocol("ISeqable.-seq",o); -} -} -} -}); - - -/** - * Marker interface indicating a persistent collection of sequential items - * @interface - */ -cljs.core.ISequential = function(){}; - - -/** - * Marker interface indicating a persistent list - * @interface - */ -cljs.core.IList = function(){}; - - -/** - * Marker interface indicating a record object - * @interface - */ -cljs.core.IRecord = function(){}; - - -/** - * Protocol for reversing a seq. - * @interface - */ -cljs.core.IReversible = function(){}; - -/** - * Returns a seq of the items in coll in reversed order. - */ -cljs.core._rseq = (function cljs$core$_rseq(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IReversible$_rseq$arity$1 == null)))))){ -return coll.cljs$core$IReversible$_rseq$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._rseq[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._rseq["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IReversible.-rseq",coll); -} -} -} -}); - - -/** - * Protocol for a collection which can represent their items - * in a sorted manner. - * @interface - */ -cljs.core.ISorted = function(){}; - -/** - * Returns a sorted seq from coll in either ascending or descending order. - */ -cljs.core._sorted_seq = (function cljs$core$_sorted_seq(coll,ascending_QMARK_){ -if((((!((coll == null)))) && ((!((coll.cljs$core$ISorted$_sorted_seq$arity$2 == null)))))){ -return coll.cljs$core$ISorted$_sorted_seq$arity$2(coll,ascending_QMARK_); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._sorted_seq[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(coll,ascending_QMARK_) : m__8503__auto__.call(null,coll,ascending_QMARK_)); -} else { -var m__8503__auto____$1 = (cljs.core._sorted_seq["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,ascending_QMARK_) : m__8503__auto____$1.call(null,coll,ascending_QMARK_)); -} else { -throw cljs.core.missing_protocol("ISorted.-sorted-seq",coll); -} -} -} -}); - -/** - * Returns a sorted seq from coll in either ascending or descending order. - * If ascending is true, the result should contain all items which are > or >= - * than k. If ascending is false, the result should contain all items which - * are < or <= than k, e.g. - * (-sorted-seq-from (sorted-set 1 2 3 4 5) 3 true) => (3 4 5) - * (-sorted-seq-from (sorted-set 1 2 3 4 5) 3 false) => (3 2 1) - */ -cljs.core._sorted_seq_from = (function cljs$core$_sorted_seq_from(coll,k,ascending_QMARK_){ -if((((!((coll == null)))) && ((!((coll.cljs$core$ISorted$_sorted_seq_from$arity$3 == null)))))){ -return coll.cljs$core$ISorted$_sorted_seq_from$arity$3(coll,k,ascending_QMARK_); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._sorted_seq_from[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,ascending_QMARK_) : m__8503__auto__.call(null,coll,k,ascending_QMARK_)); -} else { -var m__8503__auto____$1 = (cljs.core._sorted_seq_from["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(coll,k,ascending_QMARK_) : m__8503__auto____$1.call(null,coll,k,ascending_QMARK_)); -} else { -throw cljs.core.missing_protocol("ISorted.-sorted-seq-from",coll); -} -} -} -}); - -/** - * Returns the key for entry. - */ -cljs.core._entry_key = (function cljs$core$_entry_key(coll,entry){ -if((((!((coll == null)))) && ((!((coll.cljs$core$ISorted$_entry_key$arity$2 == null)))))){ -return coll.cljs$core$ISorted$_entry_key$arity$2(coll,entry); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._entry_key[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(coll,entry) : m__8503__auto__.call(null,coll,entry)); -} else { -var m__8503__auto____$1 = (cljs.core._entry_key["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(coll,entry) : m__8503__auto____$1.call(null,coll,entry)); -} else { -throw cljs.core.missing_protocol("ISorted.-entry-key",coll); -} -} -} -}); - -/** - * Returns the comparator for coll. - */ -cljs.core._comparator = (function cljs$core$_comparator(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$ISorted$_comparator$arity$1 == null)))))){ -return coll.cljs$core$ISorted$_comparator$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._comparator[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._comparator["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("ISorted.-comparator",coll); -} -} -} -}); - - -/** - * Protocol for writing. Currently only implemented by StringBufferWriter. - * @interface - */ -cljs.core.IWriter = function(){}; - -/** - * Writes s with writer and returns the result. - */ -cljs.core._write = (function cljs$core$_write(writer,s){ -if((((!((writer == null)))) && ((!((writer.cljs$core$IWriter$_write$arity$2 == null)))))){ -return writer.cljs$core$IWriter$_write$arity$2(writer,s); -} else { -var x__8502__auto__ = (((writer == null))?null:writer); -var m__8503__auto__ = (cljs.core._write[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(writer,s) : m__8503__auto__.call(null,writer,s)); -} else { -var m__8503__auto____$1 = (cljs.core._write["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(writer,s) : m__8503__auto____$1.call(null,writer,s)); -} else { -throw cljs.core.missing_protocol("IWriter.-write",writer); -} -} -} -}); - -/** - * Flush writer. - */ -cljs.core._flush = (function cljs$core$_flush(writer){ -if((((!((writer == null)))) && ((!((writer.cljs$core$IWriter$_flush$arity$1 == null)))))){ -return writer.cljs$core$IWriter$_flush$arity$1(writer); -} else { -var x__8502__auto__ = (((writer == null))?null:writer); -var m__8503__auto__ = (cljs.core._flush[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(writer) : m__8503__auto__.call(null,writer)); -} else { -var m__8503__auto____$1 = (cljs.core._flush["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(writer) : m__8503__auto____$1.call(null,writer)); -} else { -throw cljs.core.missing_protocol("IWriter.-flush",writer); -} -} -} -}); - - -/** - * The old IPrintable protocol's implementation consisted of building a giant - * list of strings to concatenate. This involved lots of concat calls, - * intermediate vectors, and lazy-seqs, and was very slow in some older JS - * engines. IPrintWithWriter implements printing via the IWriter protocol, so it - * be implemented efficiently in terms of e.g. a StringBuffer append. - * @interface - */ -cljs.core.IPrintWithWriter = function(){}; - -cljs.core._pr_writer = (function cljs$core$_pr_writer(o,writer,opts){ -if((((!((o == null)))) && ((!((o.cljs$core$IPrintWithWriter$_pr_writer$arity$3 == null)))))){ -return o.cljs$core$IPrintWithWriter$_pr_writer$arity$3(o,writer,opts); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._pr_writer[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(o,writer,opts) : m__8503__auto__.call(null,o,writer,opts)); -} else { -var m__8503__auto____$1 = (cljs.core._pr_writer["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(o,writer,opts) : m__8503__auto____$1.call(null,o,writer,opts)); -} else { -throw cljs.core.missing_protocol("IPrintWithWriter.-pr-writer",o); -} -} -} -}); - - -/** - * Protocol for types which can have a deferred realization. Currently only - * implemented by Delay and LazySeq. - * @interface - */ -cljs.core.IPending = function(){}; - -/** - * Returns true if a value for x has been produced, false otherwise. - */ -cljs.core._realized_QMARK_ = (function cljs$core$_realized_QMARK_(x){ -if((((!((x == null)))) && ((!((x.cljs$core$IPending$_realized_QMARK_$arity$1 == null)))))){ -return x.cljs$core$IPending$_realized_QMARK_$arity$1(x); -} else { -var x__8502__auto__ = (((x == null))?null:x); -var m__8503__auto__ = (cljs.core._realized_QMARK_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto__.call(null,x)); -} else { -var m__8503__auto____$1 = (cljs.core._realized_QMARK_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto____$1.call(null,x)); -} else { -throw cljs.core.missing_protocol("IPending.-realized?",x); -} -} -} -}); - - -/** - * Protocol for types that can be watched. Currently only implemented by Atom. - * @interface - */ -cljs.core.IWatchable = function(){}; - -/** - * Calls all watchers with this, oldval and newval. - */ -cljs.core._notify_watches = (function cljs$core$_notify_watches(this$,oldval,newval){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IWatchable$_notify_watches$arity$3 == null)))))){ -return this$.cljs$core$IWatchable$_notify_watches$arity$3(this$,oldval,newval); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._notify_watches[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(this$,oldval,newval) : m__8503__auto__.call(null,this$,oldval,newval)); -} else { -var m__8503__auto____$1 = (cljs.core._notify_watches["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(this$,oldval,newval) : m__8503__auto____$1.call(null,this$,oldval,newval)); -} else { -throw cljs.core.missing_protocol("IWatchable.-notify-watches",this$); -} -} -} -}); - -/** - * Adds a watcher function f to this. Keys must be unique per reference, - * and can be used to remove the watch with -remove-watch. - */ -cljs.core._add_watch = (function cljs$core$_add_watch(this$,key,f){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IWatchable$_add_watch$arity$3 == null)))))){ -return this$.cljs$core$IWatchable$_add_watch$arity$3(this$,key,f); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._add_watch[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(this$,key,f) : m__8503__auto__.call(null,this$,key,f)); -} else { -var m__8503__auto____$1 = (cljs.core._add_watch["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(this$,key,f) : m__8503__auto____$1.call(null,this$,key,f)); -} else { -throw cljs.core.missing_protocol("IWatchable.-add-watch",this$); -} -} -} -}); - -/** - * Removes watcher that corresponds to key from this. - */ -cljs.core._remove_watch = (function cljs$core$_remove_watch(this$,key){ -if((((!((this$ == null)))) && ((!((this$.cljs$core$IWatchable$_remove_watch$arity$2 == null)))))){ -return this$.cljs$core$IWatchable$_remove_watch$arity$2(this$,key); -} else { -var x__8502__auto__ = (((this$ == null))?null:this$); -var m__8503__auto__ = (cljs.core._remove_watch[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(this$,key) : m__8503__auto__.call(null,this$,key)); -} else { -var m__8503__auto____$1 = (cljs.core._remove_watch["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(this$,key) : m__8503__auto____$1.call(null,this$,key)); -} else { -throw cljs.core.missing_protocol("IWatchable.-remove-watch",this$); -} -} -} -}); - - -/** - * Protocol for collections which can transformed to transients. - * @interface - */ -cljs.core.IEditableCollection = function(){}; - -/** - * Returns a new, transient version of the collection, in constant time. - */ -cljs.core._as_transient = (function cljs$core$_as_transient(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IEditableCollection$_as_transient$arity$1 == null)))))){ -return coll.cljs$core$IEditableCollection$_as_transient$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._as_transient[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._as_transient["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IEditableCollection.-as-transient",coll); -} -} -} -}); - - -/** - * Protocol for adding basic functionality to transient collections. - * @interface - */ -cljs.core.ITransientCollection = function(){}; - -/** - * Adds value val to tcoll and returns tcoll. - */ -cljs.core._conj_BANG_ = (function cljs$core$_conj_BANG_(tcoll,val){ -if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientCollection$_conj_BANG_$arity$2 == null)))))){ -return tcoll.cljs$core$ITransientCollection$_conj_BANG_$arity$2(tcoll,val); -} else { -var x__8502__auto__ = (((tcoll == null))?null:tcoll); -var m__8503__auto__ = (cljs.core._conj_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,val) : m__8503__auto__.call(null,tcoll,val)); -} else { -var m__8503__auto____$1 = (cljs.core._conj_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(tcoll,val) : m__8503__auto____$1.call(null,tcoll,val)); -} else { -throw cljs.core.missing_protocol("ITransientCollection.-conj!",tcoll); -} -} -} -}); - -/** - * Creates a persistent data structure from tcoll and returns it. - */ -cljs.core._persistent_BANG_ = (function cljs$core$_persistent_BANG_(tcoll){ -if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 == null)))))){ -return tcoll.cljs$core$ITransientCollection$_persistent_BANG_$arity$1(tcoll); -} else { -var x__8502__auto__ = (((tcoll == null))?null:tcoll); -var m__8503__auto__ = (cljs.core._persistent_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__8503__auto__.call(null,tcoll)); -} else { -var m__8503__auto____$1 = (cljs.core._persistent_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(tcoll) : m__8503__auto____$1.call(null,tcoll)); -} else { -throw cljs.core.missing_protocol("ITransientCollection.-persistent!",tcoll); -} -} -} -}); - - -/** - * Protocol for adding associativity to transient collections. - * @interface - */ -cljs.core.ITransientAssociative = function(){}; - -/** - * Returns a new transient collection of tcoll with a mapping from key to - * val added to it. - */ -cljs.core._assoc_BANG_ = (function cljs$core$_assoc_BANG_(tcoll,key,val){ -if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 == null)))))){ -return tcoll.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(tcoll,key,val); -} else { -var x__8502__auto__ = (((tcoll == null))?null:tcoll); -var m__8503__auto__ = (cljs.core._assoc_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,key,val) : m__8503__auto__.call(null,tcoll,key,val)); -} else { -var m__8503__auto____$1 = (cljs.core._assoc_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(tcoll,key,val) : m__8503__auto____$1.call(null,tcoll,key,val)); -} else { -throw cljs.core.missing_protocol("ITransientAssociative.-assoc!",tcoll); -} -} -} -}); - - -/** - * Protocol for adding mapping functionality to transient collections. - * @interface - */ -cljs.core.ITransientMap = function(){}; - -/** - * Returns a new transient collection of tcoll without the mapping for key. - */ -cljs.core._dissoc_BANG_ = (function cljs$core$_dissoc_BANG_(tcoll,key){ -if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientMap$_dissoc_BANG_$arity$2 == null)))))){ -return tcoll.cljs$core$ITransientMap$_dissoc_BANG_$arity$2(tcoll,key); -} else { -var x__8502__auto__ = (((tcoll == null))?null:tcoll); -var m__8503__auto__ = (cljs.core._dissoc_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,key) : m__8503__auto__.call(null,tcoll,key)); -} else { -var m__8503__auto____$1 = (cljs.core._dissoc_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(tcoll,key) : m__8503__auto____$1.call(null,tcoll,key)); -} else { -throw cljs.core.missing_protocol("ITransientMap.-dissoc!",tcoll); -} -} -} -}); - - -/** - * Protocol for adding vector functionality to transient collections. - * @interface - */ -cljs.core.ITransientVector = function(){}; - -/** - * Returns tcoll with value val added at position n. - */ -cljs.core._assoc_n_BANG_ = (function cljs$core$_assoc_n_BANG_(tcoll,n,val){ -if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3 == null)))))){ -return tcoll.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3(tcoll,n,val); -} else { -var x__8502__auto__ = (((tcoll == null))?null:tcoll); -var m__8503__auto__ = (cljs.core._assoc_n_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,n,val) : m__8503__auto__.call(null,tcoll,n,val)); -} else { -var m__8503__auto____$1 = (cljs.core._assoc_n_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(tcoll,n,val) : m__8503__auto____$1.call(null,tcoll,n,val)); -} else { -throw cljs.core.missing_protocol("ITransientVector.-assoc-n!",tcoll); -} -} -} -}); - -/** - * Returns tcoll with the last item removed from it. - */ -cljs.core._pop_BANG_ = (function cljs$core$_pop_BANG_(tcoll){ -if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientVector$_pop_BANG_$arity$1 == null)))))){ -return tcoll.cljs$core$ITransientVector$_pop_BANG_$arity$1(tcoll); -} else { -var x__8502__auto__ = (((tcoll == null))?null:tcoll); -var m__8503__auto__ = (cljs.core._pop_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__8503__auto__.call(null,tcoll)); -} else { -var m__8503__auto____$1 = (cljs.core._pop_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(tcoll) : m__8503__auto____$1.call(null,tcoll)); -} else { -throw cljs.core.missing_protocol("ITransientVector.-pop!",tcoll); -} -} -} -}); - - -/** - * Protocol for adding set functionality to a transient collection. - * @interface - */ -cljs.core.ITransientSet = function(){}; - -/** - * Returns tcoll without v. - */ -cljs.core._disjoin_BANG_ = (function cljs$core$_disjoin_BANG_(tcoll,v){ -if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientSet$_disjoin_BANG_$arity$2 == null)))))){ -return tcoll.cljs$core$ITransientSet$_disjoin_BANG_$arity$2(tcoll,v); -} else { -var x__8502__auto__ = (((tcoll == null))?null:tcoll); -var m__8503__auto__ = (cljs.core._disjoin_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,v) : m__8503__auto__.call(null,tcoll,v)); -} else { -var m__8503__auto____$1 = (cljs.core._disjoin_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(tcoll,v) : m__8503__auto____$1.call(null,tcoll,v)); -} else { -throw cljs.core.missing_protocol("ITransientSet.-disjoin!",tcoll); -} -} -} -}); - - -/** - * Protocol for values that can be compared. - * @interface - */ -cljs.core.IComparable = function(){}; - -/** - * Returns a negative number, zero, or a positive number when x is logically - * 'less than', 'equal to', or 'greater than' y. - */ -cljs.core._compare = (function cljs$core$_compare(x,y){ -if((((!((x == null)))) && ((!((x.cljs$core$IComparable$_compare$arity$2 == null)))))){ -return x.cljs$core$IComparable$_compare$arity$2(x,y); -} else { -var x__8502__auto__ = (((x == null))?null:x); -var m__8503__auto__ = (cljs.core._compare[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(x,y) : m__8503__auto__.call(null,x,y)); -} else { -var m__8503__auto____$1 = (cljs.core._compare["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(x,y) : m__8503__auto____$1.call(null,x,y)); -} else { -throw cljs.core.missing_protocol("IComparable.-compare",x); -} -} -} -}); - - -/** - * Protocol for accessing the items of a chunk. - * @interface - */ -cljs.core.IChunk = function(){}; - -/** - * Return a new chunk of coll with the first item removed. - */ -cljs.core._drop_first = (function cljs$core$_drop_first(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IChunk$_drop_first$arity$1 == null)))))){ -return coll.cljs$core$IChunk$_drop_first$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._drop_first[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._drop_first["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IChunk.-drop-first",coll); -} -} -} -}); - - -/** - * Protocol for accessing a collection as sequential chunks. - * @interface - */ -cljs.core.IChunkedSeq = function(){}; - -/** - * Returns the first chunk in coll. - */ -cljs.core._chunked_first = (function cljs$core$_chunked_first(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IChunkedSeq$_chunked_first$arity$1 == null)))))){ -return coll.cljs$core$IChunkedSeq$_chunked_first$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._chunked_first[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._chunked_first["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IChunkedSeq.-chunked-first",coll); -} -} -} -}); - -/** - * Return a new collection of coll with the first chunk removed. - */ -cljs.core._chunked_rest = (function cljs$core$_chunked_rest(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IChunkedSeq$_chunked_rest$arity$1 == null)))))){ -return coll.cljs$core$IChunkedSeq$_chunked_rest$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._chunked_rest[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._chunked_rest["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IChunkedSeq.-chunked-rest",coll); -} -} -} -}); - - -/** - * Protocol for accessing the chunks of a collection. - * @interface - */ -cljs.core.IChunkedNext = function(){}; - -/** - * Returns a new collection of coll without the first chunk. - */ -cljs.core._chunked_next = (function cljs$core$_chunked_next(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IChunkedNext$_chunked_next$arity$1 == null)))))){ -return coll.cljs$core$IChunkedNext$_chunked_next$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._chunked_next[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._chunked_next["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IChunkedNext.-chunked-next",coll); -} -} -} -}); - - -/** - * Protocol for adding a name. - * @interface - */ -cljs.core.INamed = function(){}; - -/** - * Returns the name String of x. - */ -cljs.core._name = (function cljs$core$_name(x){ -if((((!((x == null)))) && ((!((x.cljs$core$INamed$_name$arity$1 == null)))))){ -return x.cljs$core$INamed$_name$arity$1(x); -} else { -var x__8502__auto__ = (((x == null))?null:x); -var m__8503__auto__ = (cljs.core._name[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto__.call(null,x)); -} else { -var m__8503__auto____$1 = (cljs.core._name["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto____$1.call(null,x)); -} else { -throw cljs.core.missing_protocol("INamed.-name",x); -} -} -} -}); - -/** - * Returns the namespace String of x. - */ -cljs.core._namespace = (function cljs$core$_namespace(x){ -if((((!((x == null)))) && ((!((x.cljs$core$INamed$_namespace$arity$1 == null)))))){ -return x.cljs$core$INamed$_namespace$arity$1(x); -} else { -var x__8502__auto__ = (((x == null))?null:x); -var m__8503__auto__ = (cljs.core._namespace[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto__.call(null,x)); -} else { -var m__8503__auto____$1 = (cljs.core._namespace["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto____$1.call(null,x)); -} else { -throw cljs.core.missing_protocol("INamed.-namespace",x); -} -} -} -}); - - -/** - * Marker protocol indicating an atom. - * @interface - */ -cljs.core.IAtom = function(){}; - - -/** - * Protocol for adding resetting functionality. - * @interface - */ -cljs.core.IReset = function(){}; - -/** - * Sets the value of o to new-value. - */ -cljs.core._reset_BANG_ = (function cljs$core$_reset_BANG_(o,new_value){ -if((((!((o == null)))) && ((!((o.cljs$core$IReset$_reset_BANG_$arity$2 == null)))))){ -return o.cljs$core$IReset$_reset_BANG_$arity$2(o,new_value); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._reset_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__8503__auto__.call(null,o,new_value)); -} else { -var m__8503__auto____$1 = (cljs.core._reset_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__8503__auto____$1.call(null,o,new_value)); -} else { -throw cljs.core.missing_protocol("IReset.-reset!",o); -} -} -} -}); - - -/** - * Protocol for adding swapping functionality. - * @interface - */ -cljs.core.ISwap = function(){}; - -/** - * Swaps the value of o to be (apply f current-value-of-atom args). - */ -cljs.core._swap_BANG_ = (function cljs$core$_swap_BANG_(var_args){ -var G__10125 = arguments.length; -switch (G__10125) { -case 2: -return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 5: -return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (o,f){ -if((((!((o == null)))) && ((!((o.cljs$core$ISwap$_swap_BANG_$arity$2 == null)))))){ -return o.cljs$core$ISwap$_swap_BANG_$arity$2(o,f); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(o,f) : m__8503__auto__.call(null,o,f)); -} else { -var m__8503__auto____$1 = (cljs.core._swap_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(o,f) : m__8503__auto____$1.call(null,o,f)); -} else { -throw cljs.core.missing_protocol("ISwap.-swap!",o); -} -} -} -}); - -cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (o,f,a){ -if((((!((o == null)))) && ((!((o.cljs$core$ISwap$_swap_BANG_$arity$3 == null)))))){ -return o.cljs$core$ISwap$_swap_BANG_$arity$3(o,f,a); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(o,f,a) : m__8503__auto__.call(null,o,f,a)); -} else { -var m__8503__auto____$1 = (cljs.core._swap_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(o,f,a) : m__8503__auto____$1.call(null,o,f,a)); -} else { -throw cljs.core.missing_protocol("ISwap.-swap!",o); -} -} -} -}); - -cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$4 = (function (o,f,a,b){ -if((((!((o == null)))) && ((!((o.cljs$core$ISwap$_swap_BANG_$arity$4 == null)))))){ -return o.cljs$core$ISwap$_swap_BANG_$arity$4(o,f,a,b); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$4 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$4(o,f,a,b) : m__8503__auto__.call(null,o,f,a,b)); -} else { -var m__8503__auto____$1 = (cljs.core._swap_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$4 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$4(o,f,a,b) : m__8503__auto____$1.call(null,o,f,a,b)); -} else { -throw cljs.core.missing_protocol("ISwap.-swap!",o); -} -} -} -}); - -cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$5 = (function (o,f,a,b,xs){ -if((((!((o == null)))) && ((!((o.cljs$core$ISwap$_swap_BANG_$arity$5 == null)))))){ -return o.cljs$core$ISwap$_swap_BANG_$arity$5(o,f,a,b,xs); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$5 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$5(o,f,a,b,xs) : m__8503__auto__.call(null,o,f,a,b,xs)); -} else { -var m__8503__auto____$1 = (cljs.core._swap_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$5 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$5(o,f,a,b,xs) : m__8503__auto____$1.call(null,o,f,a,b,xs)); -} else { -throw cljs.core.missing_protocol("ISwap.-swap!",o); -} -} -} -}); - -cljs.core._swap_BANG_.cljs$lang$maxFixedArity = 5; - - - -/** - * Protocol for adding volatile functionality. - * @interface - */ -cljs.core.IVolatile = function(){}; - -/** - * Sets the value of volatile o to new-value without regard for the - * current value. Returns new-value. - */ -cljs.core._vreset_BANG_ = (function cljs$core$_vreset_BANG_(o,new_value){ -if((((!((o == null)))) && ((!((o.cljs$core$IVolatile$_vreset_BANG_$arity$2 == null)))))){ -return o.cljs$core$IVolatile$_vreset_BANG_$arity$2(o,new_value); -} else { -var x__8502__auto__ = (((o == null))?null:o); -var m__8503__auto__ = (cljs.core._vreset_BANG_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__8503__auto__.call(null,o,new_value)); -} else { -var m__8503__auto____$1 = (cljs.core._vreset_BANG_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__8503__auto____$1.call(null,o,new_value)); -} else { -throw cljs.core.missing_protocol("IVolatile.-vreset!",o); -} -} -} -}); - - -/** - * Protocol for iterating over a collection. - * @interface - */ -cljs.core.IIterable = function(){}; - -/** - * Returns an iterator for coll. - */ -cljs.core._iterator = (function cljs$core$_iterator(coll){ -if((((!((coll == null)))) && ((!((coll.cljs$core$IIterable$_iterator$arity$1 == null)))))){ -return coll.cljs$core$IIterable$_iterator$arity$1(coll); -} else { -var x__8502__auto__ = (((coll == null))?null:coll); -var m__8503__auto__ = (cljs.core._iterator[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto__.call(null,coll)); -} else { -var m__8503__auto____$1 = (cljs.core._iterator["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(coll) : m__8503__auto____$1.call(null,coll)); -} else { -throw cljs.core.missing_protocol("IIterable.-iterator",coll); -} -} -} -}); - - -/** -* @constructor - * @implements {cljs.core.IWriter} -*/ -cljs.core.StringBufferWriter = (function (sb){ -this.sb = sb; -this.cljs$lang$protocol_mask$partition0$ = 1073741824; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.StringBufferWriter.prototype.cljs$core$IWriter$_write$arity$2 = (function (_,s){ -var self__ = this; -var ___$1 = this; -return self__.sb.append(s); -}); - -cljs.core.StringBufferWriter.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return null; -}); - -cljs.core.StringBufferWriter.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"sb","sb",-1249746442,null)], null); -}); - -cljs.core.StringBufferWriter.cljs$lang$type = true; - -cljs.core.StringBufferWriter.cljs$lang$ctorStr = "cljs.core/StringBufferWriter"; - -cljs.core.StringBufferWriter.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/StringBufferWriter"); -}); - -/** - * Positional factory function for cljs.core/StringBufferWriter. - */ -cljs.core.__GT_StringBufferWriter = (function cljs$core$__GT_StringBufferWriter(sb){ -return (new cljs.core.StringBufferWriter(sb)); -}); - -/** - * Support so that collections can implement toString without - * loading all the printing machinery. - */ -cljs.core.pr_str_STAR_ = (function cljs$core$pr_str_STAR_(obj){ -var sb = (new goog.string.StringBuffer()); -var writer = (new cljs.core.StringBufferWriter(sb)); -obj.cljs$core$IPrintWithWriter$_pr_writer$arity$3(null,writer,cljs.core.pr_opts()); - -writer.cljs$core$IWriter$_flush$arity$1(null); - -return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb); -}); -cljs.core.int_rotate_left = (function cljs$core$int_rotate_left(x,n){ -return ((x << n) | (x >>> (- n))); -}); -if((((typeof Math !== 'undefined') && (typeof Math.imul !== 'undefined')) && ((!((Math.imul((4294967295),(5)) === (0))))))){ -cljs.core.imul = (function cljs$core$imul(a,b){ -return Math.imul(a,b); -}); -} else { -cljs.core.imul = (function cljs$core$imul(a,b){ -var ah = ((a >>> (16)) & (65535)); -var al = (a & (65535)); -var bh = ((b >>> (16)) & (65535)); -var bl = (b & (65535)); -return (((al * bl) + ((((ah * bl) + (al * bh)) << (16)) >>> (0))) | (0)); -}); -} -cljs.core.m3_seed = (0); -cljs.core.m3_C1 = ((3432918353) | (0)); -cljs.core.m3_C2 = ((461845907) | (0)); -cljs.core.m3_mix_K1 = (function cljs$core$m3_mix_K1(k1){ -return cljs.core.imul(cljs.core.int_rotate_left(cljs.core.imul((k1 | (0)),cljs.core.m3_C1),(15)),cljs.core.m3_C2); -}); -cljs.core.m3_mix_H1 = (function cljs$core$m3_mix_H1(h1,k1){ -return ((cljs.core.imul(cljs.core.int_rotate_left(((h1 | (0)) ^ (k1 | (0))),(13)),(5)) + ((3864292196) | (0))) | (0)); -}); -cljs.core.m3_fmix = (function cljs$core$m3_fmix(h1,len){ -var h1__$1 = (h1 | (0)); -var h1__$2 = (h1__$1 ^ len); -var h1__$3 = (h1__$2 ^ (h1__$2 >>> (16))); -var h1__$4 = cljs.core.imul(h1__$3,((2246822507) | (0))); -var h1__$5 = (h1__$4 ^ (h1__$4 >>> (13))); -var h1__$6 = cljs.core.imul(h1__$5,((3266489909) | (0))); -return (h1__$6 ^ (h1__$6 >>> (16))); -}); -cljs.core.m3_hash_int = (function cljs$core$m3_hash_int(in$){ -if((in$ === (0))){ -return in$; -} else { -var k1 = cljs.core.m3_mix_K1(in$); -var h1 = cljs.core.m3_mix_H1(cljs.core.m3_seed,k1); -return cljs.core.m3_fmix(h1,(4)); -} -}); -cljs.core.m3_hash_unencoded_chars = (function cljs$core$m3_hash_unencoded_chars(in$){ -var h1 = (function (){var i = (1); -var h1 = cljs.core.m3_seed; -while(true){ -if((i < in$.length)){ -var G__10127 = (i + (2)); -var G__10128 = cljs.core.m3_mix_H1(h1,cljs.core.m3_mix_K1((in$.charCodeAt((i - (1))) | (in$.charCodeAt(i) << (16))))); -i = G__10127; -h1 = G__10128; -continue; -} else { -return h1; -} -break; -} -})(); -var h1__$1 = ((((in$.length & (1)) === (1)))?(h1 ^ cljs.core.m3_mix_K1(in$.charCodeAt((in$.length - (1))))):h1); -return cljs.core.m3_fmix(h1__$1,cljs.core.imul((2),in$.length)); -}); - - - -cljs.core.string_hash_cache = {}; -cljs.core.string_hash_cache_count = (0); -cljs.core.hash_string_STAR_ = (function cljs$core$hash_string_STAR_(s){ -if((!((s == null)))){ -var len = s.length; -if((len > (0))){ -var i = (0); -var hash = (0); -while(true){ -if((i < len)){ -var G__10131 = (i + (1)); -var G__10132 = (cljs.core.imul((31),hash) + s.charCodeAt(i)); -i = G__10131; -hash = G__10132; -continue; -} else { -return hash; -} -break; -} -} else { -return (0); -} -} else { -return (0); -} -}); -cljs.core.add_to_string_hash_cache = (function cljs$core$add_to_string_hash_cache(k){ -var h = cljs.core.hash_string_STAR_(k); -goog.object.set(cljs.core.string_hash_cache,k,h); - -cljs.core.string_hash_cache_count = (cljs.core.string_hash_cache_count + (1)); - -return h; -}); -cljs.core.hash_string = (function cljs$core$hash_string(k){ -if((cljs.core.string_hash_cache_count > (255))){ -cljs.core.string_hash_cache = {}; - -cljs.core.string_hash_cache_count = (0); -} else { -} - -if((k == null)){ -return (0); -} else { -var h = (cljs.core.string_hash_cache[k]); -if(typeof h === 'number'){ -return h; -} else { -return cljs.core.add_to_string_hash_cache(k); -} -} -}); -/** - * Returns the hash code of its argument. Note this is the hash code - * consistent with =. - */ -cljs.core.hash = (function cljs$core$hash(o){ -if((((!((o == null))))?(((((o.cljs$lang$protocol_mask$partition0$ & (4194304))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IHash$))))?true:false):false)){ -return (o.cljs$core$IHash$_hash$arity$1(null) ^ (0)); -} else { -if(typeof o === 'number'){ -if(cljs.core.truth_(isFinite(o))){ -return (Math.floor(o) % (2147483647)); -} else { -var G__10136 = o; -switch (G__10136) { -case Infinity: -return (2146435072); - -break; -case -Infinity: -return (-1048576); - -break; -default: -return (2146959360); - -} -} -} else { -if(o === true){ -return (1231); -} else { -if(o === false){ -return (1237); -} else { -if(typeof o === 'string'){ -return cljs.core.m3_hash_int(cljs.core.hash_string(o)); -} else { -if((o instanceof Date)){ -return (o.valueOf() ^ (0)); -} else { -if((o == null)){ -return (0); -} else { -return (cljs.core._hash(o) ^ (0)); - -} -} -} -} -} -} -} -}); -cljs.core.hash_combine = (function cljs$core$hash_combine(seed,hash){ -return (seed ^ (((hash + (2654435769)) + (seed << (6))) + (seed >> (2)))); -}); -/** - * Evaluates x and tests if it is an instance of the type - * c. Returns true or false - */ -cljs.core.instance_QMARK_ = (function cljs$core$instance_QMARK_(c,x){ -return (x instanceof c); -}); -/** - * Return true if x is a Symbol - */ -cljs.core.symbol_QMARK_ = (function cljs$core$symbol_QMARK_(x){ -return (x instanceof cljs.core.Symbol); -}); -cljs.core.hash_symbol = (function cljs$core$hash_symbol(sym){ -return cljs.core.hash_combine(cljs.core.m3_hash_unencoded_chars(sym.name),cljs.core.hash_string(sym.ns)); -}); -cljs.core.compare_symbols = (function cljs$core$compare_symbols(a,b){ -if((a.str === b.str)){ -return (0); -} else { -if(cljs.core.truth_((function (){var and__7791__auto__ = cljs.core.not(a.ns); -if(and__7791__auto__){ -return b.ns; -} else { -return and__7791__auto__; -} -})())){ -return (-1); -} else { -if(cljs.core.truth_(a.ns)){ -if(cljs.core.not(b.ns)){ -return (1); -} else { -var nsc = (function (){var G__10138 = a.ns; -var G__10139 = b.ns; -return goog.array.defaultCompare(G__10138,G__10139); -})(); -if(((0) === nsc)){ -var G__10140 = a.name; -var G__10141 = b.name; -return goog.array.defaultCompare(G__10140,G__10141); -} else { -return nsc; -} -} -} else { -var G__10142 = a.name; -var G__10143 = b.name; -return goog.array.defaultCompare(G__10142,G__10143); - -} -} -} -}); - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.INamed} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.IPrintWithWriter} - * @implements {cljs.core.IWithMeta} -*/ -cljs.core.Symbol = (function (ns,name,str,_hash,_meta){ -this.ns = ns; -this.name = name; -this.str = str; -this._hash = _hash; -this._meta = _meta; -this.cljs$lang$protocol_mask$partition0$ = 2154168321; -this.cljs$lang$protocol_mask$partition1$ = 4096; -}); -cljs.core.Symbol.prototype.toString = (function (){ -var self__ = this; -var _ = this; -return self__.str; -}); - -cljs.core.Symbol.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.Symbol.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (_,other){ -var self__ = this; -var ___$1 = this; -if((other instanceof cljs.core.Symbol)){ -return (self__.str === other.str); -} else { -return false; -} -}); - -cljs.core.Symbol.prototype.call = (function() { -var G__10145 = null; -var G__10145__2 = (function (self__,coll){ -var self__ = this; -var self____$1 = this; -var sym = self____$1; -return cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,sym); -}); -var G__10145__3 = (function (self__,coll,not_found){ -var self__ = this; -var self____$1 = this; -var sym = self____$1; -return cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,sym,not_found); -}); -G__10145 = function(self__,coll,not_found){ -switch(arguments.length){ -case 2: -return G__10145__2.call(this,self__,coll); -case 3: -return G__10145__3.call(this,self__,coll,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__10145.cljs$core$IFn$_invoke$arity$2 = G__10145__2; -G__10145.cljs$core$IFn$_invoke$arity$3 = G__10145__3; -return G__10145; -})() -; - -cljs.core.Symbol.prototype.apply = (function (self__,args10144){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10144))); -}); - -cljs.core.Symbol.prototype.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -var self__ = this; -var sym = this; -return cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,sym); -}); - -cljs.core.Symbol.prototype.cljs$core$IFn$_invoke$arity$2 = (function (coll,not_found){ -var self__ = this; -var sym = this; -return cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,sym,not_found); -}); - -cljs.core.Symbol.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__._meta; -}); - -cljs.core.Symbol.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_,new_meta){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.Symbol(self__.ns,self__.name,self__.str,self__._hash,new_meta)); -}); - -cljs.core.Symbol.prototype.cljs$core$IHash$_hash$arity$1 = (function (sym){ -var self__ = this; -var sym__$1 = this; -var h__8266__auto__ = self__._hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_symbol(sym__$1); -self__._hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.Symbol.prototype.cljs$core$INamed$_name$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.name; -}); - -cljs.core.Symbol.prototype.cljs$core$INamed$_namespace$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.ns; -}); - -cljs.core.Symbol.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (o,writer,_){ -var self__ = this; -var o__$1 = this; -return cljs.core._write(writer,self__.str); -}); - -cljs.core.Symbol.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"ns","ns",2082130287,null),new cljs.core.Symbol(null,"name","name",-810760592,null),new cljs.core.Symbol(null,"str","str",-1564826950,null),cljs.core.with_meta(new cljs.core.Symbol(null,"_hash","_hash",-2130838312,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); -}); - -cljs.core.Symbol.cljs$lang$type = true; - -cljs.core.Symbol.cljs$lang$ctorStr = "cljs.core/Symbol"; - -cljs.core.Symbol.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Symbol"); -}); - -/** - * Positional factory function for cljs.core/Symbol. - */ -cljs.core.__GT_Symbol = (function cljs$core$__GT_Symbol(ns,name,str,_hash,_meta){ -return (new cljs.core.Symbol(ns,name,str,_hash,_meta)); -}); - -/** - * Returns a Symbol with the given namespace and name. - */ -cljs.core.symbol = (function cljs$core$symbol(var_args){ -var G__10147 = arguments.length; -switch (G__10147) { -case 1: -return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.symbol.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.symbol.cljs$core$IFn$_invoke$arity$1 = (function (name){ -if((name instanceof cljs.core.Symbol)){ -return name; -} else { -var idx = name.indexOf("/"); -if((idx < (1))){ -return cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(null,name); -} else { -return cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(name.substring((0),idx),name.substring((idx + (1)),name.length)); -} -} -}); - -cljs.core.symbol.cljs$core$IFn$_invoke$arity$2 = (function (ns,name){ -var sym_str = (((!((ns == null))))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns),"/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(''):name); -return (new cljs.core.Symbol(ns,name,sym_str,null,null)); -}); - -cljs.core.symbol.cljs$lang$maxFixedArity = 2; - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.Fn} - * @implements {cljs.core.IDeref} - * @implements {cljs.core.IWithMeta} -*/ -cljs.core.Var = (function (val,sym,_meta){ -this.val = val; -this.sym = sym; -this._meta = _meta; -this.cljs$lang$protocol_mask$partition0$ = 6717441; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.Var.prototype.isMacro = (function (){ -var self__ = this; -var _ = this; -return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)).cljs$lang$macro; -}); - -cljs.core.Var.prototype.toString = (function (){ -var self__ = this; -var _ = this; -return ["#'",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.sym)].join(''); -}); - -cljs.core.Var.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -}); - -cljs.core.Var.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__._meta; -}); - -cljs.core.Var.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_,new_meta){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.Var(self__.val,self__.sym,new_meta)); -}); - -cljs.core.Var.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ -var self__ = this; -var this$__$1 = this; -if((other instanceof cljs.core.Var)){ -return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this$__$1.sym,other.sym); -} else { -return false; -} -}); - -cljs.core.Var.prototype.cljs$core$IHash$_hash$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return cljs.core.hash_symbol(self__.sym); -}); - -cljs.core.Var.prototype.cljs$core$Fn$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Var.prototype.call = (function() { -var G__10192 = null; -var G__10192__1 = (function (self__){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10150 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10150.cljs$core$IFn$_invoke$arity$0 ? fexpr__10150.cljs$core$IFn$_invoke$arity$0() : fexpr__10150.call(null)); -}); -var G__10192__2 = (function (self__,a){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10151 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10151.cljs$core$IFn$_invoke$arity$1 ? fexpr__10151.cljs$core$IFn$_invoke$arity$1(a) : fexpr__10151.call(null,a)); -}); -var G__10192__3 = (function (self__,a,b){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10152 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10152.cljs$core$IFn$_invoke$arity$2 ? fexpr__10152.cljs$core$IFn$_invoke$arity$2(a,b) : fexpr__10152.call(null,a,b)); -}); -var G__10192__4 = (function (self__,a,b,c){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10153 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10153.cljs$core$IFn$_invoke$arity$3 ? fexpr__10153.cljs$core$IFn$_invoke$arity$3(a,b,c) : fexpr__10153.call(null,a,b,c)); -}); -var G__10192__5 = (function (self__,a,b,c,d){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10154 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10154.cljs$core$IFn$_invoke$arity$4 ? fexpr__10154.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : fexpr__10154.call(null,a,b,c,d)); -}); -var G__10192__6 = (function (self__,a,b,c,d,e){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10155 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10155.cljs$core$IFn$_invoke$arity$5 ? fexpr__10155.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : fexpr__10155.call(null,a,b,c,d,e)); -}); -var G__10192__7 = (function (self__,a,b,c,d,e,f){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10156 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10156.cljs$core$IFn$_invoke$arity$6 ? fexpr__10156.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : fexpr__10156.call(null,a,b,c,d,e,f)); -}); -var G__10192__8 = (function (self__,a,b,c,d,e,f,g){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10157 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10157.cljs$core$IFn$_invoke$arity$7 ? fexpr__10157.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : fexpr__10157.call(null,a,b,c,d,e,f,g)); -}); -var G__10192__9 = (function (self__,a,b,c,d,e,f,g,h){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10158 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10158.cljs$core$IFn$_invoke$arity$8 ? fexpr__10158.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : fexpr__10158.call(null,a,b,c,d,e,f,g,h)); -}); -var G__10192__10 = (function (self__,a,b,c,d,e,f,g,h,i){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10159 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10159.cljs$core$IFn$_invoke$arity$9 ? fexpr__10159.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : fexpr__10159.call(null,a,b,c,d,e,f,g,h,i)); -}); -var G__10192__11 = (function (self__,a,b,c,d,e,f,g,h,i,j){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10160 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10160.cljs$core$IFn$_invoke$arity$10 ? fexpr__10160.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : fexpr__10160.call(null,a,b,c,d,e,f,g,h,i,j)); -}); -var G__10192__12 = (function (self__,a,b,c,d,e,f,g,h,i,j,k){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10161 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10161.cljs$core$IFn$_invoke$arity$11 ? fexpr__10161.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : fexpr__10161.call(null,a,b,c,d,e,f,g,h,i,j,k)); -}); -var G__10192__13 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10162 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10162.cljs$core$IFn$_invoke$arity$12 ? fexpr__10162.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : fexpr__10162.call(null,a,b,c,d,e,f,g,h,i,j,k,l)); -}); -var G__10192__14 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10163 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10163.cljs$core$IFn$_invoke$arity$13 ? fexpr__10163.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : fexpr__10163.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m)); -}); -var G__10192__15 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10164 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10164.cljs$core$IFn$_invoke$arity$14 ? fexpr__10164.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : fexpr__10164.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -}); -var G__10192__16 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10165 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10165.cljs$core$IFn$_invoke$arity$15 ? fexpr__10165.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : fexpr__10165.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -}); -var G__10192__17 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10166 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10166.cljs$core$IFn$_invoke$arity$16 ? fexpr__10166.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : fexpr__10166.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -}); -var G__10192__18 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10167 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10167.cljs$core$IFn$_invoke$arity$17 ? fexpr__10167.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : fexpr__10167.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -}); -var G__10192__19 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10168 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10168.cljs$core$IFn$_invoke$arity$18 ? fexpr__10168.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : fexpr__10168.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -}); -var G__10192__20 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10169 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10169.cljs$core$IFn$_invoke$arity$19 ? fexpr__10169.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : fexpr__10169.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -}); -var G__10192__21 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -var fexpr__10170 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10170.cljs$core$IFn$_invoke$arity$20 ? fexpr__10170.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : fexpr__10170.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -}); -var G__10192__22 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic((self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)),a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); -}); -G__10192 = function(self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -switch(arguments.length){ -case 1: -return G__10192__1.call(this,self__); -case 2: -return G__10192__2.call(this,self__,a); -case 3: -return G__10192__3.call(this,self__,a,b); -case 4: -return G__10192__4.call(this,self__,a,b,c); -case 5: -return G__10192__5.call(this,self__,a,b,c,d); -case 6: -return G__10192__6.call(this,self__,a,b,c,d,e); -case 7: -return G__10192__7.call(this,self__,a,b,c,d,e,f); -case 8: -return G__10192__8.call(this,self__,a,b,c,d,e,f,g); -case 9: -return G__10192__9.call(this,self__,a,b,c,d,e,f,g,h); -case 10: -return G__10192__10.call(this,self__,a,b,c,d,e,f,g,h,i); -case 11: -return G__10192__11.call(this,self__,a,b,c,d,e,f,g,h,i,j); -case 12: -return G__10192__12.call(this,self__,a,b,c,d,e,f,g,h,i,j,k); -case 13: -return G__10192__13.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l); -case 14: -return G__10192__14.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m); -case 15: -return G__10192__15.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n); -case 16: -return G__10192__16.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); -case 17: -return G__10192__17.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); -case 18: -return G__10192__18.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); -case 19: -return G__10192__19.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); -case 20: -return G__10192__20.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); -case 21: -return G__10192__21.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); -case 22: -return G__10192__22.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__10192.cljs$core$IFn$_invoke$arity$1 = G__10192__1; -G__10192.cljs$core$IFn$_invoke$arity$2 = G__10192__2; -G__10192.cljs$core$IFn$_invoke$arity$3 = G__10192__3; -G__10192.cljs$core$IFn$_invoke$arity$4 = G__10192__4; -G__10192.cljs$core$IFn$_invoke$arity$5 = G__10192__5; -G__10192.cljs$core$IFn$_invoke$arity$6 = G__10192__6; -G__10192.cljs$core$IFn$_invoke$arity$7 = G__10192__7; -G__10192.cljs$core$IFn$_invoke$arity$8 = G__10192__8; -G__10192.cljs$core$IFn$_invoke$arity$9 = G__10192__9; -G__10192.cljs$core$IFn$_invoke$arity$10 = G__10192__10; -G__10192.cljs$core$IFn$_invoke$arity$11 = G__10192__11; -G__10192.cljs$core$IFn$_invoke$arity$12 = G__10192__12; -G__10192.cljs$core$IFn$_invoke$arity$13 = G__10192__13; -G__10192.cljs$core$IFn$_invoke$arity$14 = G__10192__14; -G__10192.cljs$core$IFn$_invoke$arity$15 = G__10192__15; -G__10192.cljs$core$IFn$_invoke$arity$16 = G__10192__16; -G__10192.cljs$core$IFn$_invoke$arity$17 = G__10192__17; -G__10192.cljs$core$IFn$_invoke$arity$18 = G__10192__18; -G__10192.cljs$core$IFn$_invoke$arity$19 = G__10192__19; -G__10192.cljs$core$IFn$_invoke$arity$20 = G__10192__20; -G__10192.cljs$core$IFn$_invoke$arity$21 = G__10192__21; -G__10192.cljs$core$IFn$_invoke$arity$22 = G__10192__22; -return G__10192; -})() -; - -cljs.core.Var.prototype.apply = (function (self__,args10149){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10149))); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$0 = (function (){ -var self__ = this; -var _ = this; -var fexpr__10171 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10171.cljs$core$IFn$_invoke$arity$0 ? fexpr__10171.cljs$core$IFn$_invoke$arity$0() : fexpr__10171.call(null)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$1 = (function (a){ -var self__ = this; -var _ = this; -var fexpr__10172 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10172.cljs$core$IFn$_invoke$arity$1 ? fexpr__10172.cljs$core$IFn$_invoke$arity$1(a) : fexpr__10172.call(null,a)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ -var self__ = this; -var _ = this; -var fexpr__10173 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10173.cljs$core$IFn$_invoke$arity$2 ? fexpr__10173.cljs$core$IFn$_invoke$arity$2(a,b) : fexpr__10173.call(null,a,b)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$3 = (function (a,b,c){ -var self__ = this; -var _ = this; -var fexpr__10174 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10174.cljs$core$IFn$_invoke$arity$3 ? fexpr__10174.cljs$core$IFn$_invoke$arity$3(a,b,c) : fexpr__10174.call(null,a,b,c)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$4 = (function (a,b,c,d){ -var self__ = this; -var _ = this; -var fexpr__10175 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10175.cljs$core$IFn$_invoke$arity$4 ? fexpr__10175.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : fexpr__10175.call(null,a,b,c,d)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$5 = (function (a,b,c,d,e){ -var self__ = this; -var _ = this; -var fexpr__10176 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10176.cljs$core$IFn$_invoke$arity$5 ? fexpr__10176.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : fexpr__10176.call(null,a,b,c,d,e)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$6 = (function (a,b,c,d,e,f){ -var self__ = this; -var _ = this; -var fexpr__10177 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10177.cljs$core$IFn$_invoke$arity$6 ? fexpr__10177.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : fexpr__10177.call(null,a,b,c,d,e,f)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$7 = (function (a,b,c,d,e,f,g){ -var self__ = this; -var _ = this; -var fexpr__10178 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10178.cljs$core$IFn$_invoke$arity$7 ? fexpr__10178.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : fexpr__10178.call(null,a,b,c,d,e,f,g)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$8 = (function (a,b,c,d,e,f,g,h){ -var self__ = this; -var _ = this; -var fexpr__10179 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10179.cljs$core$IFn$_invoke$arity$8 ? fexpr__10179.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : fexpr__10179.call(null,a,b,c,d,e,f,g,h)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$9 = (function (a,b,c,d,e,f,g,h,i){ -var self__ = this; -var _ = this; -var fexpr__10180 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10180.cljs$core$IFn$_invoke$arity$9 ? fexpr__10180.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : fexpr__10180.call(null,a,b,c,d,e,f,g,h,i)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$10 = (function (a,b,c,d,e,f,g,h,i,j){ -var self__ = this; -var _ = this; -var fexpr__10181 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10181.cljs$core$IFn$_invoke$arity$10 ? fexpr__10181.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : fexpr__10181.call(null,a,b,c,d,e,f,g,h,i,j)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$11 = (function (a,b,c,d,e,f,g,h,i,j,k){ -var self__ = this; -var _ = this; -var fexpr__10182 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10182.cljs$core$IFn$_invoke$arity$11 ? fexpr__10182.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : fexpr__10182.call(null,a,b,c,d,e,f,g,h,i,j,k)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$12 = (function (a,b,c,d,e,f,g,h,i,j,k,l){ -var self__ = this; -var _ = this; -var fexpr__10183 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10183.cljs$core$IFn$_invoke$arity$12 ? fexpr__10183.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : fexpr__10183.call(null,a,b,c,d,e,f,g,h,i,j,k,l)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$13 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m){ -var self__ = this; -var _ = this; -var fexpr__10184 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10184.cljs$core$IFn$_invoke$arity$13 ? fexpr__10184.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : fexpr__10184.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$14 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n){ -var self__ = this; -var _ = this; -var fexpr__10185 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10185.cljs$core$IFn$_invoke$arity$14 ? fexpr__10185.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : fexpr__10185.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$15 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ -var self__ = this; -var _ = this; -var fexpr__10186 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10186.cljs$core$IFn$_invoke$arity$15 ? fexpr__10186.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : fexpr__10186.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$16 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ -var self__ = this; -var _ = this; -var fexpr__10187 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10187.cljs$core$IFn$_invoke$arity$16 ? fexpr__10187.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : fexpr__10187.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$17 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ -var self__ = this; -var _ = this; -var fexpr__10188 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10188.cljs$core$IFn$_invoke$arity$17 ? fexpr__10188.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : fexpr__10188.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$18 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ -var self__ = this; -var _ = this; -var fexpr__10189 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10189.cljs$core$IFn$_invoke$arity$18 ? fexpr__10189.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : fexpr__10189.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$19 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ -var self__ = this; -var _ = this; -var fexpr__10190 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10190.cljs$core$IFn$_invoke$arity$19 ? fexpr__10190.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : fexpr__10190.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$20 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ -var self__ = this; -var _ = this; -var fexpr__10191 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)); -return (fexpr__10191.cljs$core$IFn$_invoke$arity$20 ? fexpr__10191.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : fexpr__10191.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -}); - -cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$21 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -var self__ = this; -var _ = this; -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic((self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null)),a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); -}); - -cljs.core.Var.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.Symbol(null,"sym","sym",195671222,null),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); -}); - -cljs.core.Var.cljs$lang$type = true; - -cljs.core.Var.cljs$lang$ctorStr = "cljs.core/Var"; - -cljs.core.Var.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Var"); -}); - -/** - * Positional factory function for cljs.core/Var. - */ -cljs.core.__GT_Var = (function cljs$core$__GT_Var(val,sym,_meta){ -return (new cljs.core.Var(val,sym,_meta)); -}); - -/** - * Returns true if v is of type cljs.core.Var - */ -cljs.core.var_QMARK_ = (function cljs$core$var_QMARK_(v){ -return (v instanceof cljs.core.Var); -}); - - -/** - * Return true if x implements IIterable protocol. - */ -cljs.core.iterable_QMARK_ = (function cljs$core$iterable_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition1$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IIterable$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition1$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IIterable,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IIterable,x); -} -}); -/** - * Clone the supplied value which must implement ICloneable. - */ -cljs.core.clone = (function cljs$core$clone(value){ -return cljs.core._clone(value); -}); -/** - * Return true if x implements ICloneable protocol. - */ -cljs.core.cloneable_QMARK_ = (function cljs$core$cloneable_QMARK_(value){ -if((!((value == null)))){ -if((((value.cljs$lang$protocol_mask$partition1$ & (8192))) || ((cljs.core.PROTOCOL_SENTINEL === value.cljs$core$ICloneable$)))){ -return true; -} else { -if((!value.cljs$lang$protocol_mask$partition1$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.ICloneable,value); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.ICloneable,value); -} -}); -/** - * Returns a seq on the collection. If the collection is - * empty, returns nil. (seq nil) returns nil. seq also works on - * Strings. - */ -cljs.core.seq = (function cljs$core$seq(coll){ -if((coll == null)){ -return null; -} else { -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (8388608))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeqable$))))?true:false):false)){ -return coll.cljs$core$ISeqable$_seq$arity$1(null); -} else { -if(cljs.core.array_QMARK_(coll)){ -if((coll.length === (0))){ -return null; -} else { -return (new cljs.core.IndexedSeq(coll,(0),null)); -} -} else { -if(typeof coll === 'string'){ -if((coll.length === (0))){ -return null; -} else { -return (new cljs.core.IndexedSeq(coll,(0),null)); -} -} else { -if(cljs.core.native_satisfies_QMARK_(cljs.core.ISeqable,coll)){ -return cljs.core._seq(coll); -} else { -throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1(coll)," is not ISeqable"].join(''))); - -} -} -} -} -} -}); -/** - * Returns the first item in the collection. Calls seq on its - * argument. If coll is nil, returns nil. - */ -cljs.core.first = (function cljs$core$first(coll){ -if((coll == null)){ -return null; -} else { -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false)){ -return coll.cljs$core$ISeq$_first$arity$1(null); -} else { -var s = cljs.core.seq(coll); -if((s == null)){ -return null; -} else { -return cljs.core._first(s); -} -} -} -}); -/** - * Returns a possibly empty seq of the items after the first. Calls seq on its - * argument. - */ -cljs.core.rest = (function cljs$core$rest(coll){ -if((!((coll == null)))){ -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false)){ -return coll.cljs$core$ISeq$_rest$arity$1(null); -} else { -var s = cljs.core.seq(coll); -if(s){ -return s.cljs$core$ISeq$_rest$arity$1(null); -} else { -return cljs.core.List.EMPTY; -} -} -} else { -return cljs.core.List.EMPTY; -} -}); -/** - * Returns a seq of the items after the first. Calls seq on its - * argument. If there are no more items, returns nil - */ -cljs.core.next = (function cljs$core$next(coll){ -if((coll == null)){ -return null; -} else { -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$INext$))))?true:false):false)){ -return coll.cljs$core$INext$_next$arity$1(null); -} else { -return cljs.core.seq(cljs.core.rest(coll)); -} -} -}); -/** - * Equality. Returns true if x equals y, false if not. Compares - * numbers and collections in a type-independent manner. Clojure's immutable data - * structures define -equiv (and thus =) as a value, not an identity, - * comparison. - */ -cljs.core._EQ_ = (function cljs$core$_EQ_(var_args){ -var G__10203 = arguments.length; -switch (G__10203) { -case 1: -return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10205 = arguments.length; -var i__9001__auto___10206 = (0); -while(true){ -if((i__9001__auto___10206 < len__9000__auto___10205)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10206])); - -var G__10207 = (i__9001__auto___10206 + (1)); -i__9001__auto___10206 = G__10207; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return true; -}); - -cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -if((x == null)){ -return (y == null); -} else { -return (((x === y)) || (cljs.core._equiv(x,y))); -} -}); - -cljs.core._EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -while(true){ -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y)){ -if(cljs.core.next(more)){ -var G__10208 = y; -var G__10209 = cljs.core.first(more); -var G__10210 = cljs.core.next(more); -x = G__10208; -y = G__10209; -more = G__10210; -continue; -} else { -return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(y,cljs.core.first(more)); -} -} else { -return false; -} -break; -} -}); - -/** @this {Function} */ -cljs.core._EQ_.cljs$lang$applyTo = (function (seq10200){ -var G__10201 = cljs.core.first(seq10200); -var seq10200__$1 = cljs.core.next(seq10200); -var G__10202 = cljs.core.first(seq10200__$1); -var seq10200__$2 = cljs.core.next(seq10200__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10201,G__10202,seq10200__$2); -}); - -cljs.core._EQ_.cljs$lang$maxFixedArity = (2); - - -/** -* @constructor -*/ -cljs.core.ES6Iterator = (function (s){ -this.s = s; -}); -cljs.core.ES6Iterator.prototype.next = (function (){ -var self__ = this; -var _ = this; -if((!((self__.s == null)))){ -var x = cljs.core.first(self__.s); -self__.s = cljs.core.next(self__.s); - -return ({"value": x, "done": false}); -} else { -return ({"value": null, "done": true}); -} -}); - -cljs.core.ES6Iterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"s","s",-948495851,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ES6Iterator.cljs$lang$type = true; - -cljs.core.ES6Iterator.cljs$lang$ctorStr = "cljs.core/ES6Iterator"; - -cljs.core.ES6Iterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ES6Iterator"); -}); - -/** - * Positional factory function for cljs.core/ES6Iterator. - */ -cljs.core.__GT_ES6Iterator = (function cljs$core$__GT_ES6Iterator(s){ -return (new cljs.core.ES6Iterator(s)); -}); - -/** - * EXPERIMENTAL: Return a ES2015 compatible iterator for coll. - */ -cljs.core.es6_iterator = (function cljs$core$es6_iterator(coll){ -return (new cljs.core.ES6Iterator(cljs.core.seq(coll))); -}); - -/** -* @constructor - * @implements {cljs.core.ISeq} - * @implements {cljs.core.ISeqable} -*/ -cljs.core.ES6IteratorSeq = (function (value,iter,_rest){ -this.value = value; -this.iter = iter; -this._rest = _rest; -this.cljs$lang$protocol_mask$partition0$ = 8388672; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.ES6IteratorSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return this$__$1; -}); - -cljs.core.ES6IteratorSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.value; -}); - -cljs.core.ES6IteratorSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -if((self__._rest == null)){ -self__._rest = cljs.core.es6_iterator_seq(self__.iter); -} else { -} - -return self__._rest; -}); - -cljs.core.ES6IteratorSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"value","value",1946509744,null),new cljs.core.Symbol(null,"iter","iter",-1346195486,null),cljs.core.with_meta(new cljs.core.Symbol(null,"_rest","_rest",-2100466189,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ES6IteratorSeq.cljs$lang$type = true; - -cljs.core.ES6IteratorSeq.cljs$lang$ctorStr = "cljs.core/ES6IteratorSeq"; - -cljs.core.ES6IteratorSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ES6IteratorSeq"); -}); - -/** - * Positional factory function for cljs.core/ES6IteratorSeq. - */ -cljs.core.__GT_ES6IteratorSeq = (function cljs$core$__GT_ES6IteratorSeq(value,iter,_rest){ -return (new cljs.core.ES6IteratorSeq(value,iter,_rest)); -}); - -/** - * EXPERIMENTAL: Given an ES2015 compatible iterator return a seq. - */ -cljs.core.es6_iterator_seq = (function cljs$core$es6_iterator_seq(iter){ -var v = iter.next(); -if(cljs.core.truth_(v.done)){ -return cljs.core.List.EMPTY; -} else { -return (new cljs.core.ES6IteratorSeq(v.value,iter,null)); -} -}); -/** - * Mix final collection hash for ordered or unordered collections. - * hash-basis is the combined collection hash, count is the number - * of elements included in the basis. Note this is the hash code - * consistent with =, different from .hashCode. - * See http://clojure.org/data_structures#hash for full algorithms. - */ -cljs.core.mix_collection_hash = (function cljs$core$mix_collection_hash(hash_basis,count){ -var h1 = cljs.core.m3_seed; -var k1 = cljs.core.m3_mix_K1(hash_basis); -var h1__$1 = cljs.core.m3_mix_H1(h1,k1); -return cljs.core.m3_fmix(h1__$1,count); -}); -/** - * Returns the hash code, consistent with =, for an external ordered - * collection implementing Iterable. - * See http://clojure.org/data_structures#hash for full algorithms. - */ -cljs.core.hash_ordered_coll = (function cljs$core$hash_ordered_coll(coll){ -var n = (0); -var hash_code = (1); -var coll__$1 = cljs.core.seq(coll); -while(true){ -if((!((coll__$1 == null)))){ -var G__10211 = (n + (1)); -var G__10212 = ((cljs.core.imul((31),hash_code) + cljs.core.hash(cljs.core.first(coll__$1))) | (0)); -var G__10213 = cljs.core.next(coll__$1); -n = G__10211; -hash_code = G__10212; -coll__$1 = G__10213; -continue; -} else { -return cljs.core.mix_collection_hash(hash_code,n); -} -break; -} -}); -cljs.core.empty_ordered_hash = cljs.core.mix_collection_hash((1),(0)); -/** - * Returns the hash code, consistent with =, for an external unordered - * collection implementing Iterable. For maps, the iterator should - * return map entries whose hash is computed as - * (hash-ordered-coll [k v]). - * See http://clojure.org/data_structures#hash for full algorithms. - */ -cljs.core.hash_unordered_coll = (function cljs$core$hash_unordered_coll(coll){ -var n = (0); -var hash_code = (0); -var coll__$1 = cljs.core.seq(coll); -while(true){ -if((!((coll__$1 == null)))){ -var G__10214 = (n + (1)); -var G__10215 = ((hash_code + cljs.core.hash(cljs.core.first(coll__$1))) | (0)); -var G__10216 = cljs.core.next(coll__$1); -n = G__10214; -hash_code = G__10215; -coll__$1 = G__10216; -continue; -} else { -return cljs.core.mix_collection_hash(hash_code,n); -} -break; -} -}); -cljs.core.empty_unordered_hash = cljs.core.mix_collection_hash((0),(0)); - - -goog.object.set(cljs.core.ICounted,"null",true); - -var G__10217_10220 = cljs.core._count; -var G__10218_10221 = "null"; -var G__10219_10222 = ((function (G__10217_10220,G__10218_10221){ -return (function (_){ -return (0); -});})(G__10217_10220,G__10218_10221)) -; -goog.object.set(G__10217_10220,G__10218_10221,G__10219_10222); -Date.prototype.cljs$core$IEquiv$ = cljs.core.PROTOCOL_SENTINEL; - -Date.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (o,other){ -var o__$1 = this; -return (((other instanceof Date)) && ((o__$1.valueOf() === other.valueOf()))); -}); - -Date.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL; - -Date.prototype.cljs$core$IComparable$_compare$arity$2 = (function (this$,other){ -var this$__$1 = this; -if((other instanceof Date)){ -var G__10223 = this$__$1.valueOf(); -var G__10224 = other.valueOf(); -return goog.array.defaultCompare(G__10223,G__10224); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(other)].join(''))); -} -}); - -/** - * @interface - */ -cljs.core.Inst = function(){}; - -cljs.core.inst_ms_STAR_ = (function cljs$core$inst_ms_STAR_(inst){ -if((((!((inst == null)))) && ((!((inst.cljs$core$Inst$inst_ms_STAR_$arity$1 == null)))))){ -return inst.cljs$core$Inst$inst_ms_STAR_$arity$1(inst); -} else { -var x__8502__auto__ = (((inst == null))?null:inst); -var m__8503__auto__ = (cljs.core.inst_ms_STAR_[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(inst) : m__8503__auto__.call(null,inst)); -} else { -var m__8503__auto____$1 = (cljs.core.inst_ms_STAR_["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(inst) : m__8503__auto____$1.call(null,inst)); -} else { -throw cljs.core.missing_protocol("Inst.inst-ms*",inst); -} -} -} -}); - -Date.prototype.cljs$core$Inst$ = cljs.core.PROTOCOL_SENTINEL; - -Date.prototype.cljs$core$Inst$inst_ms_STAR_$arity$1 = (function (inst){ -var inst__$1 = this; -return inst__$1.getTime(); -}); -/** - * Return the number of milliseconds since January 1, 1970, 00:00:00 GMT - */ -cljs.core.inst_ms = (function cljs$core$inst_ms(inst){ -return cljs.core.inst_ms_STAR_(inst); -}); -/** - * Return true if x satisfies Inst - */ -cljs.core.inst_QMARK_ = (function cljs$core$inst_QMARK_(x){ -if((!((x == null)))){ -if(((false) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$Inst$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.Inst,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.Inst,x); -} -}); -goog.object.set(cljs.core.IEquiv,"number",true); - -var G__10226_10229 = cljs.core._equiv; -var G__10227_10230 = "number"; -var G__10228_10231 = ((function (G__10226_10229,G__10227_10230){ -return (function (x,o){ -return (x === o); -});})(G__10226_10229,G__10227_10230)) -; -goog.object.set(G__10226_10229,G__10227_10230,G__10228_10231); -goog.object.set(cljs.core.Fn,"function",true); - -goog.object.set(cljs.core.IMeta,"function",true); - -var G__10232_10235 = cljs.core._meta; -var G__10233_10236 = "function"; -var G__10234_10237 = ((function (G__10232_10235,G__10233_10236){ -return (function (_){ -return null; -});})(G__10232_10235,G__10233_10236)) -; -goog.object.set(G__10232_10235,G__10233_10236,G__10234_10237); -goog.object.set(cljs.core.IHash,"_",true); - -var G__10238_10241 = cljs.core._hash; -var G__10239_10242 = "_"; -var G__10240_10243 = ((function (G__10238_10241,G__10239_10242){ -return (function (o){ -return goog.getUid(o); -});})(G__10238_10241,G__10239_10242)) -; -goog.object.set(G__10238_10241,G__10239_10242,G__10240_10243); -/** - * Returns a number one greater than num. - */ -cljs.core.inc = (function cljs$core$inc(x){ -return (x + (1)); -}); - -/** -* @constructor - * @implements {cljs.core.IDeref} -*/ -cljs.core.Reduced = (function (val){ -this.val = val; -this.cljs$lang$protocol_mask$partition0$ = 32768; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.Reduced.prototype.cljs$core$IDeref$_deref$arity$1 = (function (o){ -var self__ = this; -var o__$1 = this; -return self__.val; -}); - -cljs.core.Reduced.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"val","val",1769233139,null)], null); -}); - -cljs.core.Reduced.cljs$lang$type = true; - -cljs.core.Reduced.cljs$lang$ctorStr = "cljs.core/Reduced"; - -cljs.core.Reduced.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Reduced"); -}); - -/** - * Positional factory function for cljs.core/Reduced. - */ -cljs.core.__GT_Reduced = (function cljs$core$__GT_Reduced(val){ -return (new cljs.core.Reduced(val)); -}); - -/** - * Wraps x in a way such that a reduce will terminate with the value x - */ -cljs.core.reduced = (function cljs$core$reduced(x){ -return (new cljs.core.Reduced(x)); -}); -/** - * Returns true if x is the result of a call to reduced - */ -cljs.core.reduced_QMARK_ = (function cljs$core$reduced_QMARK_(r){ -return (r instanceof cljs.core.Reduced); -}); -/** - * If x is already reduced?, returns it, else returns (reduced x) - */ -cljs.core.ensure_reduced = (function cljs$core$ensure_reduced(x){ -if(cljs.core.reduced_QMARK_(x)){ -return x; -} else { -return cljs.core.reduced(x); -} -}); -/** - * If x is reduced?, returns (deref x), else returns x - */ -cljs.core.unreduced = (function cljs$core$unreduced(x){ -if(cljs.core.reduced_QMARK_(x)){ -return cljs.core.deref(x); -} else { -return x; -} -}); -/** - * Also reader macro: @var/@atom/@delay. Returns the - * most-recently-committed value of ref. When applied to a var - * or atom, returns its current state. When applied to a delay, forces - * it if not already forced. See also - realized?. - */ -cljs.core.deref = (function cljs$core$deref(o){ -return cljs.core._deref(o); -}); -/** - * Accepts any collection which satisfies the ICount and IIndexed protocols and - * reduces them without incurring seq initialization - */ -cljs.core.ci_reduce = (function cljs$core$ci_reduce(var_args){ -var G__10245 = arguments.length; -switch (G__10245) { -case 2: -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2 = (function (cicoll,f){ -var cnt = cljs.core._count(cicoll); -if((cnt === (0))){ -return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); -} else { -var val = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(cicoll,(0)); -var n = (1); -while(true){ -if((n < cnt)){ -var nval = (function (){var G__10246 = val; -var G__10247 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(cicoll,n); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10246,G__10247) : f.call(null,G__10246,G__10247)); -})(); -if(cljs.core.reduced_QMARK_(nval)){ -return cljs.core.deref(nval); -} else { -var G__10253 = nval; -var G__10254 = (n + (1)); -val = G__10253; -n = G__10254; -continue; -} -} else { -return val; -} -break; -} -} -}); - -cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3 = (function (cicoll,f,val){ -var cnt = cljs.core._count(cicoll); -var val__$1 = val; -var n = (0); -while(true){ -if((n < cnt)){ -var nval = (function (){var G__10248 = val__$1; -var G__10249 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(cicoll,n); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10248,G__10249) : f.call(null,G__10248,G__10249)); -})(); -if(cljs.core.reduced_QMARK_(nval)){ -return cljs.core.deref(nval); -} else { -var G__10255 = nval; -var G__10256 = (n + (1)); -val__$1 = G__10255; -n = G__10256; -continue; -} -} else { -return val__$1; -} -break; -} -}); - -cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$4 = (function (cicoll,f,val,idx){ -var cnt = cljs.core._count(cicoll); -var val__$1 = val; -var n = idx; -while(true){ -if((n < cnt)){ -var nval = (function (){var G__10250 = val__$1; -var G__10251 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(cicoll,n); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10250,G__10251) : f.call(null,G__10250,G__10251)); -})(); -if(cljs.core.reduced_QMARK_(nval)){ -return cljs.core.deref(nval); -} else { -var G__10257 = nval; -var G__10258 = (n + (1)); -val__$1 = G__10257; -n = G__10258; -continue; -} -} else { -return val__$1; -} -break; -} -}); - -cljs.core.ci_reduce.cljs$lang$maxFixedArity = 4; - -cljs.core.array_reduce = (function cljs$core$array_reduce(var_args){ -var G__10260 = arguments.length; -switch (G__10260) { -case 2: -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2 = (function (arr,f){ -var cnt = arr.length; -if((arr.length === (0))){ -return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); -} else { -var val = (arr[(0)]); -var n = (1); -while(true){ -if((n < cnt)){ -var nval = (function (){var G__10261 = val; -var G__10262 = (arr[n]); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10261,G__10262) : f.call(null,G__10261,G__10262)); -})(); -if(cljs.core.reduced_QMARK_(nval)){ -return cljs.core.deref(nval); -} else { -var G__10268 = nval; -var G__10269 = (n + (1)); -val = G__10268; -n = G__10269; -continue; -} -} else { -return val; -} -break; -} -} -}); - -cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3 = (function (arr,f,val){ -var cnt = arr.length; -var val__$1 = val; -var n = (0); -while(true){ -if((n < cnt)){ -var nval = (function (){var G__10263 = val__$1; -var G__10264 = (arr[n]); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10263,G__10264) : f.call(null,G__10263,G__10264)); -})(); -if(cljs.core.reduced_QMARK_(nval)){ -return cljs.core.deref(nval); -} else { -var G__10270 = nval; -var G__10271 = (n + (1)); -val__$1 = G__10270; -n = G__10271; -continue; -} -} else { -return val__$1; -} -break; -} -}); - -cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4 = (function (arr,f,val,idx){ -var cnt = arr.length; -var val__$1 = val; -var n = idx; -while(true){ -if((n < cnt)){ -var nval = (function (){var G__10265 = val__$1; -var G__10266 = (arr[n]); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10265,G__10266) : f.call(null,G__10265,G__10266)); -})(); -if(cljs.core.reduced_QMARK_(nval)){ -return cljs.core.deref(nval); -} else { -var G__10272 = nval; -var G__10273 = (n + (1)); -val__$1 = G__10272; -n = G__10273; -continue; -} -} else { -return val__$1; -} -break; -} -}); - -cljs.core.array_reduce.cljs$lang$maxFixedArity = 4; - - - - - - - -/** - * Returns true if coll implements count in constant time - */ -cljs.core.counted_QMARK_ = (function cljs$core$counted_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (2))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ICounted$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.ICounted,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.ICounted,x); -} -}); -/** - * Returns true if coll implements nth in constant time - */ -cljs.core.indexed_QMARK_ = (function cljs$core$indexed_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (16))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IIndexed$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IIndexed,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IIndexed,x); -} -}); -cljs.core._indexOf = (function cljs$core$_indexOf(var_args){ -var G__10277 = arguments.length; -switch (G__10277) { -case 2: -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core._indexOf.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); - -cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3 = (function (coll,x,start){ -var len = cljs.core.count(coll); -if((start >= len)){ -return (-1); -} else { -var idx = (((start > (0)))?start:(((start < (0)))?(function (){var x__8162__auto__ = (0); -var y__8163__auto__ = (start + len); -return ((x__8162__auto__ > y__8163__auto__) ? x__8162__auto__ : y__8163__auto__); -})():start -)); -while(true){ -if((idx < len)){ -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx),x)){ -return idx; -} else { -var G__10279 = (idx + (1)); -idx = G__10279; -continue; -} -} else { -return (-1); -} -break; -} -} -}); - -cljs.core._indexOf.cljs$lang$maxFixedArity = 3; - -cljs.core._lastIndexOf = (function cljs$core$_lastIndexOf(var_args){ -var G__10281 = arguments.length; -switch (G__10281) { -case 2: -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); - -cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3 = (function (coll,x,start){ -var len = cljs.core.count(coll); -if((len === (0))){ -return (-1); -} else { -var idx = (((start > (0)))?(function (){var x__8169__auto__ = (len - (1)); -var y__8170__auto__ = start; -return ((x__8169__auto__ < y__8170__auto__) ? x__8169__auto__ : y__8170__auto__); -})():(((start < (0)))?(len + start):start -)); -while(true){ -if((idx >= (0))){ -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx),x)){ -return idx; -} else { -var G__10283 = (idx - (1)); -idx = G__10283; -continue; -} -} else { -return (-1); -} -break; -} -} -}); - -cljs.core._lastIndexOf.cljs$lang$maxFixedArity = 3; - - -/** -* @constructor -*/ -cljs.core.IndexedSeqIterator = (function (arr,i){ -this.arr = arr; -this.i = i; -}); -cljs.core.IndexedSeqIterator.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -return (self__.i < self__.arr.length); -}); - -cljs.core.IndexedSeqIterator.prototype.next = (function (){ -var self__ = this; -var _ = this; -var ret = (self__.arr[self__.i]); -self__.i = (self__.i + (1)); - -return ret; -}); - -cljs.core.IndexedSeqIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.IndexedSeqIterator.cljs$lang$type = true; - -cljs.core.IndexedSeqIterator.cljs$lang$ctorStr = "cljs.core/IndexedSeqIterator"; - -cljs.core.IndexedSeqIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/IndexedSeqIterator"); -}); - -/** - * Positional factory function for cljs.core/IndexedSeqIterator. - */ -cljs.core.__GT_IndexedSeqIterator = (function cljs$core$__GT_IndexedSeqIterator(arr,i){ -return (new cljs.core.IndexedSeqIterator(arr,i)); -}); - - -/** -* @constructor - * @implements {cljs.core.IIndexed} - * @implements {cljs.core.IReversible} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ASeq} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IIterable} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.IndexedSeq = (function (arr,i,meta){ -this.arr = arr; -this.i = i; -this.meta = meta; -this.cljs$lang$protocol_mask$partition0$ = 166592766; -this.cljs$lang$protocol_mask$partition1$ = 139264; -}); -cljs.core.IndexedSeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.IndexedSeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.IndexedSeq.prototype.indexOf = (function() { -var G__10284 = null; -var G__10284__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__10284__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10284 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10284__1.call(this,x); -case 2: -return G__10284__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10284.cljs$core$IFn$_invoke$arity$1 = G__10284__1; -G__10284.cljs$core$IFn$_invoke$arity$2 = G__10284__2; -return G__10284; -})() -; - -cljs.core.IndexedSeq.prototype.lastIndexOf = (function() { -var G__10285 = null; -var G__10285__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__10285__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10285 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10285__1.call(this,x); -case 2: -return G__10285__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10285.cljs$core$IFn$_invoke$arity$1 = G__10285__1; -G__10285.cljs$core$IFn$_invoke$arity$2 = G__10285__2; -return G__10285; -})() -; - -cljs.core.IndexedSeq.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,n){ -var self__ = this; -var coll__$1 = this; -var i__$1 = (n + self__.i); -if(((((0) <= i__$1)) && ((i__$1 < self__.arr.length)))){ -return (self__.arr[i__$1]); -} else { -throw (new Error("Index out of bounds")); -} -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ -var self__ = this; -var coll__$1 = this; -var i__$1 = (n + self__.i); -if(((((0) <= i__$1)) && ((i__$1 < self__.arr.length)))){ -return (self__.arr[i__$1]); -} else { -return not_found; -} -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.IndexedSeqIterator(self__.arr,self__.i)); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.IndexedSeq.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.IndexedSeq(self__.arr,self__.i,self__.meta)); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$INext$_next$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -if(((self__.i + (1)) < self__.arr.length)){ -return (new cljs.core.IndexedSeq(self__.arr,(self__.i + (1)),null)); -} else { -return null; -} -}); - -cljs.core.IndexedSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -var x__8162__auto__ = (0); -var y__8163__auto__ = (self__.arr.length - self__.i); -return ((x__8162__auto__ > y__8163__auto__) ? x__8162__auto__ : y__8163__auto__); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var c = coll__$1.cljs$core$ICounted$_count$arity$1(null); -if((c > (0))){ -return (new cljs.core.RSeq(coll__$1,(c - (1)),null)); -} else { -return null; -} -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.hash_ordered_coll(coll__$1); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.List.EMPTY; -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,(self__.arr[self__.i]),(self__.i + (1))); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,start,self__.i); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (self__.arr[self__.i]); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -if(((self__.i + (1)) < self__.arr.length)){ -return (new cljs.core.IndexedSeq(self__.arr,(self__.i + (1)),null)); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.IndexedSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -if((self__.i < self__.arr.length)){ -return this$__$1; -} else { -return null; -} -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.IndexedSeq(self__.arr,self__.i,new_meta)); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.IndexedSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); -}); - -cljs.core.IndexedSeq.cljs$lang$type = true; - -cljs.core.IndexedSeq.cljs$lang$ctorStr = "cljs.core/IndexedSeq"; - -cljs.core.IndexedSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/IndexedSeq"); -}); - -/** - * Positional factory function for cljs.core/IndexedSeq. - */ -cljs.core.__GT_IndexedSeq = (function cljs$core$__GT_IndexedSeq(arr,i,meta){ -return (new cljs.core.IndexedSeq(arr,i,meta)); -}); - -var G__10286_10289 = cljs.core.IndexedSeq.prototype; -var G__10287_10290 = cljs.core.ITER_SYMBOL; -var G__10288_10291 = ((function (G__10286_10289,G__10287_10290){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__10286_10289,G__10287_10290)) -; -goog.object.set(G__10286_10289,G__10287_10290,G__10288_10291); -/** - * Create seq from a primitive JavaScript Array-like. - */ -cljs.core.prim_seq = (function cljs$core$prim_seq(var_args){ -var G__10293 = arguments.length; -switch (G__10293) { -case 1: -return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$1 = (function (prim){ -return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(prim,(0)); -}); - -cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2 = (function (prim,i){ -if((i < prim.length)){ -return (new cljs.core.IndexedSeq(prim,i,null)); -} else { -return null; -} -}); - -cljs.core.prim_seq.cljs$lang$maxFixedArity = 2; - -/** - * Create a seq from a JavaScript array. - */ -cljs.core.array_seq = (function cljs$core$array_seq(var_args){ -var G__10296 = arguments.length; -switch (G__10296) { -case 1: -return cljs.core.array_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.array_seq.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.array_seq.cljs$core$IFn$_invoke$arity$1 = (function (array){ -return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(array,(0)); -}); - -cljs.core.array_seq.cljs$core$IFn$_invoke$arity$2 = (function (array,i){ -return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(array,i); -}); - -cljs.core.array_seq.cljs$lang$maxFixedArity = 2; - - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.RSeq = (function (ci,i,meta){ -this.ci = ci; -this.i = i; -this.meta = meta; -this.cljs$lang$protocol_mask$partition0$ = 32374990; -this.cljs$lang$protocol_mask$partition1$ = 8192; -}); -cljs.core.RSeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.RSeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.RSeq.prototype.indexOf = (function() { -var G__10298 = null; -var G__10298__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__10298__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10298 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10298__1.call(this,x); -case 2: -return G__10298__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10298.cljs$core$IFn$_invoke$arity$1 = G__10298__1; -G__10298.cljs$core$IFn$_invoke$arity$2 = G__10298__2; -return G__10298; -})() -; - -cljs.core.RSeq.prototype.lastIndexOf = (function() { -var G__10299 = null; -var G__10299__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__10299__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10299 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10299__1.call(this,x); -case 2: -return G__10299__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10299.cljs$core$IFn$_invoke$arity$1 = G__10299__1; -G__10299.cljs$core$IFn$_invoke$arity$2 = G__10299__2; -return G__10299; -})() -; - -cljs.core.RSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.RSeq.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.RSeq(self__.ci,self__.i,self__.meta)); -}); - -cljs.core.RSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.i > (0))){ -return (new cljs.core.RSeq(self__.ci,(self__.i - (1)),null)); -} else { -return null; -} -}); - -cljs.core.RSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (self__.i + (1)); -}); - -cljs.core.RSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.hash_ordered_coll(coll__$1); -}); - -cljs.core.RSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.RSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.RSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (col,f){ -var self__ = this; -var col__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,col__$1); -}); - -cljs.core.RSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (col,f,start){ -var self__ = this; -var col__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,col__$1); -}); - -cljs.core.RSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._nth.cljs$core$IFn$_invoke$arity$2(self__.ci,self__.i); -}); - -cljs.core.RSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.i > (0))){ -return (new cljs.core.RSeq(self__.ci,(self__.i - (1)),null)); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.RSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.RSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.RSeq(self__.ci,self__.i,new_meta)); -}); - -cljs.core.RSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.RSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"ci","ci",2049808339,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); -}); - -cljs.core.RSeq.cljs$lang$type = true; - -cljs.core.RSeq.cljs$lang$ctorStr = "cljs.core/RSeq"; - -cljs.core.RSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/RSeq"); -}); - -/** - * Positional factory function for cljs.core/RSeq. - */ -cljs.core.__GT_RSeq = (function cljs$core$__GT_RSeq(ci,i,meta){ -return (new cljs.core.RSeq(ci,i,meta)); -}); - -var G__10300_10303 = cljs.core.RSeq.prototype; -var G__10301_10304 = cljs.core.ITER_SYMBOL; -var G__10302_10305 = ((function (G__10300_10303,G__10301_10304){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__10300_10303,G__10301_10304)) -; -goog.object.set(G__10300_10303,G__10301_10304,G__10302_10305); -/** - * Same as (first (next x)) - */ -cljs.core.second = (function cljs$core$second(coll){ -return cljs.core.first(cljs.core.next(coll)); -}); -/** - * Same as (first (first x)) - */ -cljs.core.ffirst = (function cljs$core$ffirst(coll){ -return cljs.core.first(cljs.core.first(coll)); -}); -/** - * Same as (next (first x)) - */ -cljs.core.nfirst = (function cljs$core$nfirst(coll){ -return cljs.core.next(cljs.core.first(coll)); -}); -/** - * Same as (first (next x)) - */ -cljs.core.fnext = (function cljs$core$fnext(coll){ -return cljs.core.first(cljs.core.next(coll)); -}); -/** - * Same as (next (next x)) - */ -cljs.core.nnext = (function cljs$core$nnext(coll){ -return cljs.core.next(cljs.core.next(coll)); -}); -/** - * Return the last item in coll, in linear time - */ -cljs.core.last = (function cljs$core$last(s){ -while(true){ -var sn = cljs.core.next(s); -if((!((sn == null)))){ -var G__10306 = sn; -s = G__10306; -continue; -} else { -return cljs.core.first(s); -} -break; -} -}); -goog.object.set(cljs.core.IEquiv,"_",true); - -var G__10307_10310 = cljs.core._equiv; -var G__10308_10311 = "_"; -var G__10309_10312 = ((function (G__10307_10310,G__10308_10311){ -return (function (x,o){ -return (x === o); -});})(G__10307_10310,G__10308_10311)) -; -goog.object.set(G__10307_10310,G__10308_10311,G__10309_10312); -/** - * conj[oin]. Returns a new collection with the xs - * 'added'. (conj nil item) returns (item). The 'addition' may - * happen at different 'places' depending on the concrete type. - */ -cljs.core.conj = (function cljs$core$conj(var_args){ -var G__10317 = arguments.length; -switch (G__10317) { -case 0: -return cljs.core.conj.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.conj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.conj.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10319 = arguments.length; -var i__9001__auto___10320 = (0); -while(true){ -if((i__9001__auto___10320 < len__9000__auto___10319)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10320])); - -var G__10321 = (i__9001__auto___10320 + (1)); -i__9001__auto___10320 = G__10321; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.conj.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.PersistentVector.EMPTY; -}); - -cljs.core.conj.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -return coll; -}); - -cljs.core.conj.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ -if((!((coll == null)))){ -return cljs.core._conj(coll,x); -} else { -return (new cljs.core.List(null,x,null,(1),null)); -} -}); - -cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic = (function (coll,x,xs){ -while(true){ -if(cljs.core.truth_(xs)){ -var G__10322 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(coll,x); -var G__10323 = cljs.core.first(xs); -var G__10324 = cljs.core.next(xs); -coll = G__10322; -x = G__10323; -xs = G__10324; -continue; -} else { -return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(coll,x); -} -break; -} -}); - -/** @this {Function} */ -cljs.core.conj.cljs$lang$applyTo = (function (seq10314){ -var G__10315 = cljs.core.first(seq10314); -var seq10314__$1 = cljs.core.next(seq10314); -var G__10316 = cljs.core.first(seq10314__$1); -var seq10314__$2 = cljs.core.next(seq10314__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10315,G__10316,seq10314__$2); -}); - -cljs.core.conj.cljs$lang$maxFixedArity = (2); - -/** - * Returns an empty collection of the same category as coll, or nil - */ -cljs.core.empty = (function cljs$core$empty(coll){ -if((coll == null)){ -return null; -} else { -return cljs.core._empty(coll); -} -}); -cljs.core.accumulating_seq_count = (function cljs$core$accumulating_seq_count(coll){ -var s = cljs.core.seq(coll); -var acc = (0); -while(true){ -if(cljs.core.counted_QMARK_(s)){ -return (acc + cljs.core._count(s)); -} else { -var G__10325 = cljs.core.next(s); -var G__10326 = (acc + (1)); -s = G__10325; -acc = G__10326; -continue; -} -break; -} -}); -/** - * Returns the number of items in the collection. (count nil) returns - * 0. Also works on strings, arrays, and Maps - */ -cljs.core.count = (function cljs$core$count(coll){ -if((!((coll == null)))){ -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (2))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ICounted$))))?true:false):false)){ -return coll.cljs$core$ICounted$_count$arity$1(null); -} else { -if(cljs.core.array_QMARK_(coll)){ -return coll.length; -} else { -if(typeof coll === 'string'){ -return coll.length; -} else { -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (8388608))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeqable$))))?true:false):false)){ -return cljs.core.accumulating_seq_count(coll); -} else { -return cljs.core._count(coll); - -} -} -} -} -} else { -return (0); -} -}); -cljs.core.linear_traversal_nth = (function cljs$core$linear_traversal_nth(var_args){ -var G__10330 = arguments.length; -switch (G__10330) { -case 2: -return cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$2 = (function (coll,n){ -while(true){ -if((coll == null)){ -throw (new Error("Index out of bounds")); -} else { -if((n === (0))){ -if(cljs.core.seq(coll)){ -return cljs.core.first(coll); -} else { -throw (new Error("Index out of bounds")); -} -} else { -if(cljs.core.indexed_QMARK_(coll)){ -return cljs.core._nth.cljs$core$IFn$_invoke$arity$2(coll,n); -} else { -if(cljs.core.seq(coll)){ -var G__10332 = cljs.core.next(coll); -var G__10333 = (n - (1)); -coll = G__10332; -n = G__10333; -continue; -} else { -throw (new Error("Index out of bounds")); - -} -} -} -} -break; -} -}); - -cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$3 = (function (coll,n,not_found){ -while(true){ -if((coll == null)){ -return not_found; -} else { -if((n === (0))){ -if(cljs.core.seq(coll)){ -return cljs.core.first(coll); -} else { -return not_found; -} -} else { -if(cljs.core.indexed_QMARK_(coll)){ -return cljs.core._nth.cljs$core$IFn$_invoke$arity$3(coll,n,not_found); -} else { -if(cljs.core.seq(coll)){ -var G__10334 = cljs.core.next(coll); -var G__10335 = (n - (1)); -var G__10336 = not_found; -coll = G__10334; -n = G__10335; -not_found = G__10336; -continue; -} else { -return not_found; - -} -} -} -} -break; -} -}); - -cljs.core.linear_traversal_nth.cljs$lang$maxFixedArity = 3; - -/** - * Returns the value at the index. get returns nil if index out of - * bounds, nth throws an exception unless not-found is supplied. nth - * also works for strings, arrays, regex Matchers and Lists, and, - * in O(n) time, for sequences. - */ -cljs.core.nth = (function cljs$core$nth(var_args){ -var G__10338 = arguments.length; -switch (G__10338) { -case 2: -return cljs.core.nth.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.nth.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.nth.cljs$core$IFn$_invoke$arity$2 = (function (coll,n){ -if((!(typeof n === 'number'))){ -throw (new Error("Index argument to nth must be a number")); -} else { -if((coll == null)){ -return coll; -} else { -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (16))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IIndexed$))))?true:false):false)){ -return coll.cljs$core$IIndexed$_nth$arity$2(null,n); -} else { -if(cljs.core.array_QMARK_(coll)){ -if((((n >= (0))) && ((n < coll.length)))){ -return (coll[n]); -} else { -throw (new Error("Index out of bounds")); -} -} else { -if(typeof coll === 'string'){ -if((((n >= (0))) && ((n < coll.length)))){ -return coll.charAt(n); -} else { -throw (new Error("Index out of bounds")); -} -} else { -if((function (){var or__7806__auto__ = (((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -if((!((coll == null)))){ -if((((coll.cljs$lang$protocol_mask$partition0$ & (16777216))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISequential$)))){ -return true; -} else { -return false; -} -} else { -return false; -} -} -})()){ -if((n < (0))){ -throw (new Error("Index out of bounds")); -} else { -return cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$2(coll,n); -} -} else { -if(cljs.core.native_satisfies_QMARK_(cljs.core.IIndexed,coll)){ -return cljs.core._nth.cljs$core$IFn$_invoke$arity$2(coll,n); -} else { -throw (new Error(["nth not supported on this type ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.type__GT_str(cljs.core.type(coll)))].join(''))); - -} -} -} -} -} -} -} -}); - -cljs.core.nth.cljs$core$IFn$_invoke$arity$3 = (function (coll,n,not_found){ -if((!(typeof n === 'number'))){ -throw (new Error("Index argument to nth must be a number.")); -} else { -if((coll == null)){ -return not_found; -} else { -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (16))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IIndexed$))))?true:false):false)){ -return coll.cljs$core$IIndexed$_nth$arity$3(null,n,not_found); -} else { -if(cljs.core.array_QMARK_(coll)){ -if((((n >= (0))) && ((n < coll.length)))){ -return (coll[n]); -} else { -return not_found; -} -} else { -if(typeof coll === 'string'){ -if((((n >= (0))) && ((n < coll.length)))){ -return coll.charAt(n); -} else { -return not_found; -} -} else { -if((function (){var or__7806__auto__ = (((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -if((!((coll == null)))){ -if((((coll.cljs$lang$protocol_mask$partition0$ & (16777216))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISequential$)))){ -return true; -} else { -return false; -} -} else { -return false; -} -} -})()){ -if((n < (0))){ -return not_found; -} else { -return cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$3(coll,n,not_found); -} -} else { -if(cljs.core.native_satisfies_QMARK_(cljs.core.IIndexed,coll)){ -return cljs.core._nth.cljs$core$IFn$_invoke$arity$3(coll,n,not_found); -} else { -throw (new Error(["nth not supported on this type ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.type__GT_str(cljs.core.type(coll)))].join(''))); - -} -} -} -} -} -} -} -}); - -cljs.core.nth.cljs$lang$maxFixedArity = 3; - -/** - * Returns the nth rest of coll, coll when n is 0. - */ -cljs.core.nthrest = (function cljs$core$nthrest(coll,n){ -var n__$1 = n; -var xs = coll; -while(true){ -var temp__4655__auto__ = (((n__$1 > (0))) && (cljs.core.seq(xs))); -if(temp__4655__auto__){ -var xs__$1 = temp__4655__auto__; -var G__10348 = (n__$1 - (1)); -var G__10349 = cljs.core.rest(xs__$1); -n__$1 = G__10348; -xs = G__10349; -continue; -} else { -return xs; -} -break; -} -}); -/** - * Returns the value mapped to key, not-found or nil if key not present. - */ -cljs.core.get = (function cljs$core$get(var_args){ -var G__10351 = arguments.length; -switch (G__10351) { -case 2: -return cljs.core.get.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.get.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.get.cljs$core$IFn$_invoke$arity$2 = (function (o,k){ -if((o == null)){ -return null; -} else { -if((((!((o == null))))?(((((o.cljs$lang$protocol_mask$partition0$ & (256))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$ILookup$))))?true:false):false)){ -return o.cljs$core$ILookup$_lookup$arity$2(null,k); -} else { -if(cljs.core.array_QMARK_(o)){ -if((((!((k == null)))) && ((k < o.length)))){ -return (o[(k | (0))]); -} else { -return null; -} -} else { -if(typeof o === 'string'){ -if((((!((k == null)))) && ((k < o.length)))){ -return o.charAt((k | (0))); -} else { -return null; -} -} else { -if(cljs.core.native_satisfies_QMARK_(cljs.core.ILookup,o)){ -return cljs.core._lookup.cljs$core$IFn$_invoke$arity$2(o,k); -} else { -return null; - -} -} -} -} -} -}); - -cljs.core.get.cljs$core$IFn$_invoke$arity$3 = (function (o,k,not_found){ -if((!((o == null)))){ -if((((!((o == null))))?(((((o.cljs$lang$protocol_mask$partition0$ & (256))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$ILookup$))))?true:false):false)){ -return o.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -} else { -if(cljs.core.array_QMARK_(o)){ -if((((!((k == null)))) && ((k >= (0))) && ((k < o.length)))){ -return (o[(k | (0))]); -} else { -return not_found; -} -} else { -if(typeof o === 'string'){ -if((((!((k == null)))) && ((k >= (0))) && ((k < o.length)))){ -return o.charAt((k | (0))); -} else { -return not_found; -} -} else { -if(cljs.core.native_satisfies_QMARK_(cljs.core.ILookup,o)){ -return cljs.core._lookup.cljs$core$IFn$_invoke$arity$3(o,k,not_found); -} else { -return not_found; - -} -} -} -} -} else { -return not_found; -} -}); - -cljs.core.get.cljs$lang$maxFixedArity = 3; - - - -/** - * assoc[iate]. When applied to a map, returns a new map of the - * same (hashed/sorted) type, that contains the mapping of key(s) to - * val(s). When applied to a vector, returns a new vector that - * contains val at index. - */ -cljs.core.assoc = (function cljs$core$assoc(var_args){ -var G__10360 = arguments.length; -switch (G__10360) { -case 3: -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10362 = arguments.length; -var i__9001__auto___10363 = (0); -while(true){ -if((i__9001__auto___10363 < len__9000__auto___10362)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10363])); - -var G__10364 = (i__9001__auto___10363 + (1)); -i__9001__auto___10363 = G__10364; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.assoc.cljs$core$IFn$_invoke$arity$3 = (function (coll,k,v){ -if((!((coll == null)))){ -return cljs.core._assoc(coll,k,v); -} else { -return cljs.core.PersistentArrayMap.createAsIfByAssoc([k,v]); -} -}); - -cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic = (function (coll,k,v,kvs){ -while(true){ -var ret = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(coll,k,v); -if(cljs.core.truth_(kvs)){ -var G__10365 = ret; -var G__10366 = cljs.core.first(kvs); -var G__10367 = cljs.core.second(kvs); -var G__10368 = cljs.core.nnext(kvs); -coll = G__10365; -k = G__10366; -v = G__10367; -kvs = G__10368; -continue; -} else { -return ret; -} -break; -} -}); - -/** @this {Function} */ -cljs.core.assoc.cljs$lang$applyTo = (function (seq10356){ -var G__10357 = cljs.core.first(seq10356); -var seq10356__$1 = cljs.core.next(seq10356); -var G__10358 = cljs.core.first(seq10356__$1); -var seq10356__$2 = cljs.core.next(seq10356__$1); -var G__10359 = cljs.core.first(seq10356__$2); -var seq10356__$3 = cljs.core.next(seq10356__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10357,G__10358,G__10359,seq10356__$3); -}); - -cljs.core.assoc.cljs$lang$maxFixedArity = (3); - -/** - * dissoc[iate]. Returns a new map of the same (hashed/sorted) type, - * that does not contain a mapping for key(s). - */ -cljs.core.dissoc = (function cljs$core$dissoc(var_args){ -var G__10373 = arguments.length; -switch (G__10373) { -case 1: -return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10375 = arguments.length; -var i__9001__auto___10376 = (0); -while(true){ -if((i__9001__auto___10376 < len__9000__auto___10375)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10376])); - -var G__10377 = (i__9001__auto___10376 + (1)); -i__9001__auto___10376 = G__10377; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.dissoc.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -return coll; -}); - -cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2 = (function (coll,k){ -if((coll == null)){ -return null; -} else { -return cljs.core._dissoc(coll,k); -} -}); - -cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic = (function (coll,k,ks){ -while(true){ -if((coll == null)){ -return null; -} else { -var ret = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(coll,k); -if(cljs.core.truth_(ks)){ -var G__10378 = ret; -var G__10379 = cljs.core.first(ks); -var G__10380 = cljs.core.next(ks); -coll = G__10378; -k = G__10379; -ks = G__10380; -continue; -} else { -return ret; -} -} -break; -} -}); - -/** @this {Function} */ -cljs.core.dissoc.cljs$lang$applyTo = (function (seq10370){ -var G__10371 = cljs.core.first(seq10370); -var seq10370__$1 = cljs.core.next(seq10370); -var G__10372 = cljs.core.first(seq10370__$1); -var seq10370__$2 = cljs.core.next(seq10370__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10371,G__10372,seq10370__$2); -}); - -cljs.core.dissoc.cljs$lang$maxFixedArity = (2); - -/** - * Return true if f is a JavaScript function or satisfies the Fn protocol. - */ -cljs.core.fn_QMARK_ = (function cljs$core$fn_QMARK_(f){ -var or__7806__auto__ = goog.isFunction(f); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -if((!((f == null)))){ -if(((false) || ((cljs.core.PROTOCOL_SENTINEL === f.cljs$core$Fn$)))){ -return true; -} else { -if((!f.cljs$lang$protocol_mask$partition$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.Fn,f); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.Fn,f); -} -} -}); - -/** -* @constructor - * @implements {cljs.core.IFn} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.Fn} - * @implements {cljs.core.IWithMeta} -*/ -cljs.core.MetaFn = (function (afn,meta){ -this.afn = afn; -this.meta = meta; -this.cljs$lang$protocol_mask$partition0$ = 393217; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.MetaFn.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.meta; -}); - -cljs.core.MetaFn.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_,new_meta){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.MetaFn(self__.afn,new_meta)); -}); - -cljs.core.MetaFn.prototype.cljs$core$Fn$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.MetaFn.prototype.call = (function() { -var G__10384 = null; -var G__10384__1 = (function (self__){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$0 ? self__.afn.cljs$core$IFn$_invoke$arity$0() : self__.afn.call(null)); -}); -var G__10384__2 = (function (self__,a){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$1 ? self__.afn.cljs$core$IFn$_invoke$arity$1(a) : self__.afn.call(null,a)); -}); -var G__10384__3 = (function (self__,a,b){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$2 ? self__.afn.cljs$core$IFn$_invoke$arity$2(a,b) : self__.afn.call(null,a,b)); -}); -var G__10384__4 = (function (self__,a,b,c){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$3 ? self__.afn.cljs$core$IFn$_invoke$arity$3(a,b,c) : self__.afn.call(null,a,b,c)); -}); -var G__10384__5 = (function (self__,a,b,c,d){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$4 ? self__.afn.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : self__.afn.call(null,a,b,c,d)); -}); -var G__10384__6 = (function (self__,a,b,c,d,e){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$5 ? self__.afn.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : self__.afn.call(null,a,b,c,d,e)); -}); -var G__10384__7 = (function (self__,a,b,c,d,e,f){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$6 ? self__.afn.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : self__.afn.call(null,a,b,c,d,e,f)); -}); -var G__10384__8 = (function (self__,a,b,c,d,e,f,g){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$7 ? self__.afn.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : self__.afn.call(null,a,b,c,d,e,f,g)); -}); -var G__10384__9 = (function (self__,a,b,c,d,e,f,g,h){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$8 ? self__.afn.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : self__.afn.call(null,a,b,c,d,e,f,g,h)); -}); -var G__10384__10 = (function (self__,a,b,c,d,e,f,g,h,i){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$9 ? self__.afn.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : self__.afn.call(null,a,b,c,d,e,f,g,h,i)); -}); -var G__10384__11 = (function (self__,a,b,c,d,e,f,g,h,i,j){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$10 ? self__.afn.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j)); -}); -var G__10384__12 = (function (self__,a,b,c,d,e,f,g,h,i,j,k){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$11 ? self__.afn.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k)); -}); -var G__10384__13 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$12 ? self__.afn.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l)); -}); -var G__10384__14 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$13 ? self__.afn.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m)); -}); -var G__10384__15 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$14 ? self__.afn.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -}); -var G__10384__16 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$15 ? self__.afn.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -}); -var G__10384__17 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$16 ? self__.afn.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -}); -var G__10384__18 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$17 ? self__.afn.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -}); -var G__10384__19 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$18 ? self__.afn.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -}); -var G__10384__20 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$19 ? self__.afn.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -}); -var G__10384__21 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return (self__.afn.cljs$core$IFn$_invoke$arity$20 ? self__.afn.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -}); -var G__10384__22 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -var self__ = this; -var self____$1 = this; -var _ = self____$1; -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(self__.afn,a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); -}); -G__10384 = function(self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -switch(arguments.length){ -case 1: -return G__10384__1.call(this,self__); -case 2: -return G__10384__2.call(this,self__,a); -case 3: -return G__10384__3.call(this,self__,a,b); -case 4: -return G__10384__4.call(this,self__,a,b,c); -case 5: -return G__10384__5.call(this,self__,a,b,c,d); -case 6: -return G__10384__6.call(this,self__,a,b,c,d,e); -case 7: -return G__10384__7.call(this,self__,a,b,c,d,e,f); -case 8: -return G__10384__8.call(this,self__,a,b,c,d,e,f,g); -case 9: -return G__10384__9.call(this,self__,a,b,c,d,e,f,g,h); -case 10: -return G__10384__10.call(this,self__,a,b,c,d,e,f,g,h,i); -case 11: -return G__10384__11.call(this,self__,a,b,c,d,e,f,g,h,i,j); -case 12: -return G__10384__12.call(this,self__,a,b,c,d,e,f,g,h,i,j,k); -case 13: -return G__10384__13.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l); -case 14: -return G__10384__14.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m); -case 15: -return G__10384__15.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n); -case 16: -return G__10384__16.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); -case 17: -return G__10384__17.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); -case 18: -return G__10384__18.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); -case 19: -return G__10384__19.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); -case 20: -return G__10384__20.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); -case 21: -return G__10384__21.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); -case 22: -return G__10384__22.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__10384.cljs$core$IFn$_invoke$arity$1 = G__10384__1; -G__10384.cljs$core$IFn$_invoke$arity$2 = G__10384__2; -G__10384.cljs$core$IFn$_invoke$arity$3 = G__10384__3; -G__10384.cljs$core$IFn$_invoke$arity$4 = G__10384__4; -G__10384.cljs$core$IFn$_invoke$arity$5 = G__10384__5; -G__10384.cljs$core$IFn$_invoke$arity$6 = G__10384__6; -G__10384.cljs$core$IFn$_invoke$arity$7 = G__10384__7; -G__10384.cljs$core$IFn$_invoke$arity$8 = G__10384__8; -G__10384.cljs$core$IFn$_invoke$arity$9 = G__10384__9; -G__10384.cljs$core$IFn$_invoke$arity$10 = G__10384__10; -G__10384.cljs$core$IFn$_invoke$arity$11 = G__10384__11; -G__10384.cljs$core$IFn$_invoke$arity$12 = G__10384__12; -G__10384.cljs$core$IFn$_invoke$arity$13 = G__10384__13; -G__10384.cljs$core$IFn$_invoke$arity$14 = G__10384__14; -G__10384.cljs$core$IFn$_invoke$arity$15 = G__10384__15; -G__10384.cljs$core$IFn$_invoke$arity$16 = G__10384__16; -G__10384.cljs$core$IFn$_invoke$arity$17 = G__10384__17; -G__10384.cljs$core$IFn$_invoke$arity$18 = G__10384__18; -G__10384.cljs$core$IFn$_invoke$arity$19 = G__10384__19; -G__10384.cljs$core$IFn$_invoke$arity$20 = G__10384__20; -G__10384.cljs$core$IFn$_invoke$arity$21 = G__10384__21; -G__10384.cljs$core$IFn$_invoke$arity$22 = G__10384__22; -return G__10384; -})() -; - -cljs.core.MetaFn.prototype.apply = (function (self__,args10383){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10383))); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$0 = (function (){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$0 ? self__.afn.cljs$core$IFn$_invoke$arity$0() : self__.afn.call(null)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$1 = (function (a){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$1 ? self__.afn.cljs$core$IFn$_invoke$arity$1(a) : self__.afn.call(null,a)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$2 ? self__.afn.cljs$core$IFn$_invoke$arity$2(a,b) : self__.afn.call(null,a,b)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$3 = (function (a,b,c){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$3 ? self__.afn.cljs$core$IFn$_invoke$arity$3(a,b,c) : self__.afn.call(null,a,b,c)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$4 = (function (a,b,c,d){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$4 ? self__.afn.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : self__.afn.call(null,a,b,c,d)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$5 = (function (a,b,c,d,e){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$5 ? self__.afn.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : self__.afn.call(null,a,b,c,d,e)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$6 = (function (a,b,c,d,e,f){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$6 ? self__.afn.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : self__.afn.call(null,a,b,c,d,e,f)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$7 = (function (a,b,c,d,e,f,g){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$7 ? self__.afn.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : self__.afn.call(null,a,b,c,d,e,f,g)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$8 = (function (a,b,c,d,e,f,g,h){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$8 ? self__.afn.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : self__.afn.call(null,a,b,c,d,e,f,g,h)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$9 = (function (a,b,c,d,e,f,g,h,i){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$9 ? self__.afn.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : self__.afn.call(null,a,b,c,d,e,f,g,h,i)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$10 = (function (a,b,c,d,e,f,g,h,i,j){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$10 ? self__.afn.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$11 = (function (a,b,c,d,e,f,g,h,i,j,k){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$11 ? self__.afn.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$12 = (function (a,b,c,d,e,f,g,h,i,j,k,l){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$12 ? self__.afn.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$13 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$13 ? self__.afn.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$14 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$14 ? self__.afn.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$15 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$15 ? self__.afn.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$16 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$16 ? self__.afn.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$17 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$17 ? self__.afn.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$18 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$18 ? self__.afn.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$19 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$19 ? self__.afn.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$20 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ -var self__ = this; -var _ = this; -return (self__.afn.cljs$core$IFn$_invoke$arity$20 ? self__.afn.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : self__.afn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -}); - -cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$21 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -var self__ = this; -var _ = this; -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(self__.afn,a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); -}); - -cljs.core.MetaFn.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"afn","afn",216963467,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); -}); - -cljs.core.MetaFn.cljs$lang$type = true; - -cljs.core.MetaFn.cljs$lang$ctorStr = "cljs.core/MetaFn"; - -cljs.core.MetaFn.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/MetaFn"); -}); - -/** - * Positional factory function for cljs.core/MetaFn. - */ -cljs.core.__GT_MetaFn = (function cljs$core$__GT_MetaFn(afn,meta){ -return (new cljs.core.MetaFn(afn,meta)); -}); - -/** - * Returns an object of the same type and value as obj, with - * map m as its metadata. - */ -cljs.core.with_meta = (function cljs$core$with_meta(o,meta){ -if(goog.isFunction(o)){ -return (new cljs.core.MetaFn(o,meta)); -} else { -if((o == null)){ -return null; -} else { -return cljs.core._with_meta(o,meta); -} -} -}); -/** - * Returns the metadata of obj, returns nil if there is no metadata. - */ -cljs.core.meta = (function cljs$core$meta(o){ -if((function (){var and__7791__auto__ = (!((o == null))); -if(and__7791__auto__){ -if((!((o == null)))){ -if((((o.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IMeta$)))){ -return true; -} else { -if((!o.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IMeta,o); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IMeta,o); -} -} else { -return and__7791__auto__; -} -})()){ -return cljs.core._meta(o); -} else { -return null; -} -}); -/** - * For a list or queue, same as first, for a vector, same as, but much - * more efficient than, last. If the collection is empty, returns nil. - */ -cljs.core.peek = (function cljs$core$peek(coll){ -if((coll == null)){ -return null; -} else { -return cljs.core._peek(coll); -} -}); -/** - * For a list or queue, returns a new list/queue without the first - * item, for a vector, returns a new vector without the last item. - * Note - not the same as next/butlast. - */ -cljs.core.pop = (function cljs$core$pop(coll){ -if((coll == null)){ -return null; -} else { -return cljs.core._pop(coll); -} -}); -/** - * disj[oin]. Returns a new set of the same (hashed/sorted) type, that - * does not contain key(s). - */ -cljs.core.disj = (function cljs$core$disj(var_args){ -var G__10391 = arguments.length; -switch (G__10391) { -case 1: -return cljs.core.disj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.disj.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10393 = arguments.length; -var i__9001__auto___10394 = (0); -while(true){ -if((i__9001__auto___10394 < len__9000__auto___10393)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10394])); - -var G__10395 = (i__9001__auto___10394 + (1)); -i__9001__auto___10394 = G__10395; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.disj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.disj.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -return coll; -}); - -cljs.core.disj.cljs$core$IFn$_invoke$arity$2 = (function (coll,k){ -if((coll == null)){ -return null; -} else { -return cljs.core._disjoin(coll,k); -} -}); - -cljs.core.disj.cljs$core$IFn$_invoke$arity$variadic = (function (coll,k,ks){ -while(true){ -if((coll == null)){ -return null; -} else { -var ret = cljs.core.disj.cljs$core$IFn$_invoke$arity$2(coll,k); -if(cljs.core.truth_(ks)){ -var G__10396 = ret; -var G__10397 = cljs.core.first(ks); -var G__10398 = cljs.core.next(ks); -coll = G__10396; -k = G__10397; -ks = G__10398; -continue; -} else { -return ret; -} -} -break; -} -}); - -/** @this {Function} */ -cljs.core.disj.cljs$lang$applyTo = (function (seq10388){ -var G__10389 = cljs.core.first(seq10388); -var seq10388__$1 = cljs.core.next(seq10388); -var G__10390 = cljs.core.first(seq10388__$1); -var seq10388__$2 = cljs.core.next(seq10388__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10389,G__10390,seq10388__$2); -}); - -cljs.core.disj.cljs$lang$maxFixedArity = (2); - -/** - * Returns true if coll has no items - same as (not (seq coll)). - * Please use the idiom (seq x) rather than (not (empty? x)) - */ -cljs.core.empty_QMARK_ = (function cljs$core$empty_QMARK_(coll){ -return (((coll == null)) || (cljs.core.not(cljs.core.seq(coll)))); -}); -/** - * Returns true if x satisfies ICollection - */ -cljs.core.coll_QMARK_ = (function cljs$core$coll_QMARK_(x){ -if((x == null)){ -return false; -} else { -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (8))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ICollection$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.ICollection,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.ICollection,x); -} -} -}); -/** - * Returns true if x satisfies ISet - */ -cljs.core.set_QMARK_ = (function cljs$core$set_QMARK_(x){ -if((x == null)){ -return false; -} else { -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (4096))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ISet$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.ISet,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.ISet,x); -} -} -}); -/** - * Returns true if coll implements IAssociative - */ -cljs.core.associative_QMARK_ = (function cljs$core$associative_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (512))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IAssociative$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IAssociative,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IAssociative,x); -} -}); -/** - * Returns true if coll implements IFind - */ -cljs.core.ifind_QMARK_ = (function cljs$core$ifind_QMARK_(x){ -if((!((x == null)))){ -if(((false) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IFind$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IFind,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IFind,x); -} -}); -/** - * Returns true if coll satisfies ISequential - */ -cljs.core.sequential_QMARK_ = (function cljs$core$sequential_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (16777216))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ISequential$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.ISequential,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.ISequential,x); -} -}); -/** - * Returns true if coll satisfies ISorted - */ -cljs.core.sorted_QMARK_ = (function cljs$core$sorted_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (268435456))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ISorted$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.ISorted,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.ISorted,x); -} -}); -/** - * Returns true if coll satisfies IReduce - */ -cljs.core.reduceable_QMARK_ = (function cljs$core$reduceable_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (524288))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IReduce$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IReduce,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IReduce,x); -} -}); -/** - * Return true if x satisfies IMap - */ -cljs.core.map_QMARK_ = (function cljs$core$map_QMARK_(x){ -if((x == null)){ -return false; -} else { -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (1024))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IMap$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IMap,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IMap,x); -} -} -}); -/** - * Return true if x satisfies IRecord - */ -cljs.core.record_QMARK_ = (function cljs$core$record_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (67108864))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IRecord$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IRecord,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IRecord,x); -} -}); -/** - * Return true if x satisfies IVector - */ -cljs.core.vector_QMARK_ = (function cljs$core$vector_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (16384))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IVector$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IVector,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IVector,x); -} -}); - -/** - * Return true if x is satisfies IChunkedSeq. - */ -cljs.core.chunked_seq_QMARK_ = (function cljs$core$chunked_seq_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition1$ & (512))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IChunkedSeq$)))){ -return true; -} else { -return false; -} -} else { -return false; -} -}); -/** - * Create JavaSript object from an even number arguments representing - * interleaved keys and values. - */ -cljs.core.js_obj = (function cljs$core$js_obj(var_args){ -var G__10412 = arguments.length; -switch (G__10412) { -case 0: -return cljs.core.js_obj.cljs$core$IFn$_invoke$arity$0(); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10416 = arguments.length; -var i__9001__auto___10417 = (0); -while(true){ -if((i__9001__auto___10417 < len__9000__auto___10416)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10417])); - -var G__10418 = (i__9001__auto___10417 + (1)); -i__9001__auto___10417 = G__10418; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((0)),(0),null)); -return cljs.core.js_obj.cljs$core$IFn$_invoke$arity$variadic(argseq__9026__auto__); - -} -}); - -cljs.core.js_obj.cljs$core$IFn$_invoke$arity$0 = (function (){ -return {}; -}); - -cljs.core.js_obj.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(goog.object.create,keyvals); -}); - -/** @this {Function} */ -cljs.core.js_obj.cljs$lang$applyTo = (function (seq10411){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq10411)); -}); - -cljs.core.js_obj.cljs$lang$maxFixedArity = (0); - -/** - * Return the JavaScript keys for an object. - */ -cljs.core.js_keys = (function cljs$core$js_keys(obj){ -return goog.object.getKeys(obj); -}); -/** - * Delete a property from a JavaScript object. - * Returns true upon success, false otherwise. - */ -cljs.core.js_delete = (function cljs$core$js_delete(obj,key){ -return delete obj[key]; -}); -cljs.core.array_copy = (function cljs$core$array_copy(from,i,to,j,len){ -var i__$1 = i; -var j__$1 = j; -var len__$1 = len; -while(true){ -if((len__$1 === (0))){ -return to; -} else { -(to[j__$1] = (from[i__$1])); - -var G__10419 = (i__$1 + (1)); -var G__10420 = (j__$1 + (1)); -var G__10421 = (len__$1 - (1)); -i__$1 = G__10419; -j__$1 = G__10420; -len__$1 = G__10421; -continue; -} -break; -} -}); -cljs.core.array_copy_downward = (function cljs$core$array_copy_downward(from,i,to,j,len){ -var i__$1 = (i + (len - (1))); -var j__$1 = (j + (len - (1))); -var len__$1 = len; -while(true){ -if((len__$1 === (0))){ -return to; -} else { -(to[j__$1] = (from[i__$1])); - -var G__10422 = (i__$1 - (1)); -var G__10423 = (j__$1 - (1)); -var G__10424 = (len__$1 - (1)); -i__$1 = G__10422; -j__$1 = G__10423; -len__$1 = G__10424; -continue; -} -break; -} -}); -cljs.core.lookup_sentinel = {}; -/** - * Returns true if x is the value false, false otherwise. - */ -cljs.core.false_QMARK_ = (function cljs$core$false_QMARK_(x){ -return x === false; -}); -/** - * Returns true if x is the value true, false otherwise. - */ -cljs.core.true_QMARK_ = (function cljs$core$true_QMARK_(x){ -return x === true; -}); -/** - * Return true if x is a Boolean - */ -cljs.core.boolean_QMARK_ = (function cljs$core$boolean_QMARK_(x){ -return ((x === true) || (x === false)); -}); -/** - * Returns true if x identical to the JavaScript undefined value. - */ -cljs.core.undefined_QMARK_ = (function cljs$core$undefined_QMARK_(x){ -return (void 0 === x); -}); -/** - * Return true if s satisfies ISeq - */ -cljs.core.seq_QMARK_ = (function cljs$core$seq_QMARK_(s){ -if((s == null)){ -return false; -} else { -if((!((s == null)))){ -if((((s.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === s.cljs$core$ISeq$)))){ -return true; -} else { -if((!s.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.ISeq,s); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.ISeq,s); -} -} -}); -/** - * Return true if the seq function is supported for s - */ -cljs.core.seqable_QMARK_ = (function cljs$core$seqable_QMARK_(s){ -var or__7806__auto__ = (s == null); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (((!((s == null))))?(((((s.cljs$lang$protocol_mask$partition0$ & (8388608))) || ((cljs.core.PROTOCOL_SENTINEL === s.cljs$core$ISeqable$))))?true:(((!s.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.ISeqable,s):false)):cljs.core.native_satisfies_QMARK_(cljs.core.ISeqable,s)); -if(or__7806__auto____$1){ -return or__7806__auto____$1; -} else { -return ((cljs.core.array_QMARK_(s)) || (typeof s === 'string')); -} -} -}); -/** - * Coerce to boolean - */ -cljs.core.boolean$ = (function cljs$core$boolean(x){ -if((x == null)){ -return false; -} else { -if(x === false){ -return false; -} else { -return true; - -} -} -}); -/** - * Returns true if f returns true for fn? or satisfies IFn. - */ -cljs.core.ifn_QMARK_ = (function cljs$core$ifn_QMARK_(f){ -var or__7806__auto__ = cljs.core.fn_QMARK_(f); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -if((!((f == null)))){ -if((((f.cljs$lang$protocol_mask$partition0$ & (1))) || ((cljs.core.PROTOCOL_SENTINEL === f.cljs$core$IFn$)))){ -return true; -} else { -if((!f.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IFn,f); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IFn,f); -} -} -}); -/** - * Returns true if n is a JavaScript number with no decimal part. - */ -cljs.core.integer_QMARK_ = (function cljs$core$integer_QMARK_(n){ -return ((typeof n === 'number') && ((!(isNaN(n)))) && ((!((n === Infinity)))) && ((parseFloat(n) === parseInt(n,(10))))); -}); -/** - * Return true if x satisfies integer? or is an instance of goog.math.Integer - * or goog.math.Long. - */ -cljs.core.int_QMARK_ = (function cljs$core$int_QMARK_(x){ -return ((cljs.core.integer_QMARK_(x)) || ((x instanceof goog.math.Integer)) || ((x instanceof goog.math.Long))); -}); -/** - * Return true if x satisfies int? and is positive. - */ -cljs.core.pos_int_QMARK_ = (function cljs$core$pos_int_QMARK_(x){ -if(cljs.core.integer_QMARK_(x)){ -return (x > (0)); -} else { -if((x instanceof goog.math.Integer)){ -return ((cljs.core.not(x.isNegative())) && (cljs.core.not(x.isZero()))); -} else { -if((x instanceof goog.math.Long)){ -return ((cljs.core.not(x.isNegative())) && (cljs.core.not(x.isZero()))); -} else { -return false; - -} -} -} -}); -/** - * Return true if x satisfies int? and is negative. - */ -cljs.core.neg_int_QMARK_ = (function cljs$core$neg_int_QMARK_(x){ -if(cljs.core.integer_QMARK_(x)){ -return (x < (0)); -} else { -if((x instanceof goog.math.Integer)){ -return x.isNegative(); -} else { -if((x instanceof goog.math.Long)){ -return x.isNegative(); -} else { -return false; - -} -} -} -}); -/** - * Return true if x satisfies int? and is a natural integer value. - */ -cljs.core.nat_int_QMARK_ = (function cljs$core$nat_int_QMARK_(x){ -if(cljs.core.integer_QMARK_(x)){ -return (!((x < (0)))); -} else { -if((x instanceof goog.math.Integer)){ -return cljs.core.not(x.isNegative()); -} else { -if((x instanceof goog.math.Long)){ -return cljs.core.not(x.isNegative()); -} else { -return false; - -} -} -} -}); -/** - * Returns true for JavaScript numbers, false otherwise. - */ -cljs.core.float_QMARK_ = (function cljs$core$float_QMARK_(x){ -return typeof x === 'number'; -}); -/** - * Returns true for JavaScript numbers, false otherwise. - */ -cljs.core.double_QMARK_ = (function cljs$core$double_QMARK_(x){ -return typeof x === 'number'; -}); -/** - * Returns true for Infinity and -Infinity values. - */ -cljs.core.infinite_QMARK_ = (function cljs$core$infinite_QMARK_(x){ -return (((x === Number.POSITIVE_INFINITY)) || ((x === Number.NEGATIVE_INFINITY))); -}); -/** - * Returns true if key is present in the given collection, otherwise - * returns false. Note that for numerically indexed collections like - * vectors and arrays, this tests if the numeric key is within the - * range of indexes. 'contains?' operates constant or logarithmic time; - * it will not perform a linear search for a value. See also 'some'. - */ -cljs.core.contains_QMARK_ = (function cljs$core$contains_QMARK_(coll,v){ -if((cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,v,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ -return false; -} else { -return true; -} -}); -/** - * Returns the map entry for key, or nil if key not present. - */ -cljs.core.find = (function cljs$core$find(coll,k){ -if(cljs.core.ifind_QMARK_(coll)){ -return cljs.core._find(coll,k); -} else { -if((((!((coll == null)))) && (cljs.core.associative_QMARK_(coll)) && (cljs.core.contains_QMARK_(coll,k)))){ -return (new cljs.core.MapEntry(k,cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,k),null)); -} else { -return null; -} -} -}); -/** - * Returns true if no two of the arguments are = - */ -cljs.core.distinct_QMARK_ = (function cljs$core$distinct_QMARK_(var_args){ -var G__10437 = arguments.length; -switch (G__10437) { -case 1: -return cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10439 = arguments.length; -var i__9001__auto___10440 = (0); -while(true){ -if((i__9001__auto___10440 < len__9000__auto___10439)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10440])); - -var G__10441 = (i__9001__auto___10440 + (1)); -i__9001__auto___10440 = G__10441; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return true; -}); - -cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y))); -}); - -cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -if((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y)))){ -var s = cljs.core.PersistentHashSet.createAsIfByAssoc([x,y]); -var xs = more; -while(true){ -var x__$1 = cljs.core.first(xs); -var etc = cljs.core.next(xs); -if(cljs.core.truth_(xs)){ -if(cljs.core.contains_QMARK_(s,x__$1)){ -return false; -} else { -var G__10442 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(s,x__$1); -var G__10443 = etc; -s = G__10442; -xs = G__10443; -continue; -} -} else { -return true; -} -break; -} -} else { -return false; -} -}); - -/** @this {Function} */ -cljs.core.distinct_QMARK_.cljs$lang$applyTo = (function (seq10434){ -var G__10435 = cljs.core.first(seq10434); -var seq10434__$1 = cljs.core.next(seq10434); -var G__10436 = cljs.core.first(seq10434__$1); -var seq10434__$2 = cljs.core.next(seq10434__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10435,G__10436,seq10434__$2); -}); - -cljs.core.distinct_QMARK_.cljs$lang$maxFixedArity = (2); - -/** - * Comparator. Returns a negative number, zero, or a positive number - * when x is logically 'less than', 'equal to', or 'greater than' - * y. Uses IComparable if available and google.array.defaultCompare for objects - * of the same type and special-cases nil to be less than any other object. - */ -cljs.core.compare = (function cljs$core$compare(x,y){ -if((x === y)){ -return (0); -} else { -if((x == null)){ -return (-1); -} else { -if((y == null)){ -return (1); -} else { -if(typeof x === 'number'){ -if(typeof y === 'number'){ -return goog.array.defaultCompare(x,y); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); -} -} else { -if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition1$ & (2048))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IComparable$))))?true:(((!x.cljs$lang$protocol_mask$partition1$))?cljs.core.native_satisfies_QMARK_(cljs.core.IComparable,x):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IComparable,x))){ -return cljs.core._compare(x,y); -} else { -if(((((typeof x === 'string') || (cljs.core.array_QMARK_(x)) || (x === true) || (x === false))) && ((cljs.core.type(x) === cljs.core.type(y))))){ -return goog.array.defaultCompare(x,y); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); -} - -} -} -} -} -} -}); -/** - * Compare indexed collection. - */ -cljs.core.compare_indexed = (function cljs$core$compare_indexed(var_args){ -var G__10446 = arguments.length; -switch (G__10446) { -case 2: -return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 4: -return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2 = (function (xs,ys){ -var xl = cljs.core.count(xs); -var yl = cljs.core.count(ys); -if((xl < yl)){ -return (-1); -} else { -if((xl > yl)){ -return (1); -} else { -if((xl === (0))){ -return (0); -} else { -return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4(xs,ys,xl,(0)); - -} -} -} -}); - -cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4 = (function (xs,ys,len,n){ -while(true){ -var d = cljs.core.compare(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(xs,n),cljs.core.nth.cljs$core$IFn$_invoke$arity$2(ys,n)); -if((((d === (0))) && (((n + (1)) < len)))){ -var G__10448 = xs; -var G__10449 = ys; -var G__10450 = len; -var G__10451 = (n + (1)); -xs = G__10448; -ys = G__10449; -len = G__10450; -n = G__10451; -continue; -} else { -return d; -} -break; -} -}); - -cljs.core.compare_indexed.cljs$lang$maxFixedArity = 4; - -/** - * Given a fn that might be boolean valued or a comparator, - * return a fn that is a comparator. - */ -cljs.core.fn__GT_comparator = (function cljs$core$fn__GT_comparator(f){ -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(f,cljs.core.compare)){ -return cljs.core.compare; -} else { -return (function (x,y){ -var r = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null,x,y)); -if(typeof r === 'number'){ -return r; -} else { -if(cljs.core.truth_(r)){ -return (-1); -} else { -if(cljs.core.truth_((f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(y,x) : f.call(null,y,x)))){ -return (1); -} else { -return (0); -} -} -} -}); -} -}); -/** - * Returns a sorted sequence of the items in coll. Comp can be - * boolean-valued comparison function, or a -/0/+ valued comparator. - * Comp defaults to compare. - */ -cljs.core.sort = (function cljs$core$sort(var_args){ -var G__10453 = arguments.length; -switch (G__10453) { -case 1: -return cljs.core.sort.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.sort.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.sort.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -return cljs.core.sort.cljs$core$IFn$_invoke$arity$2(cljs.core.compare,coll); -}); - -cljs.core.sort.cljs$core$IFn$_invoke$arity$2 = (function (comp,coll){ -if(cljs.core.seq(coll)){ -var a = cljs.core.to_array(coll); -var G__10454_10457 = a; -var G__10455_10458 = cljs.core.fn__GT_comparator(comp); -goog.array.stableSort(G__10454_10457,G__10455_10458); - -return cljs.core.seq(a); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.sort.cljs$lang$maxFixedArity = 2; - -/** - * Returns a sorted sequence of the items in coll, where the sort - * order is determined by comparing (keyfn item). Comp can be - * boolean-valued comparison function, or a -/0/+ valued comparator. - * Comp defaults to compare. - */ -cljs.core.sort_by = (function cljs$core$sort_by(var_args){ -var G__10460 = arguments.length; -switch (G__10460) { -case 2: -return cljs.core.sort_by.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.sort_by.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.sort_by.cljs$core$IFn$_invoke$arity$2 = (function (keyfn,coll){ -return cljs.core.sort_by.cljs$core$IFn$_invoke$arity$3(keyfn,cljs.core.compare,coll); -}); - -cljs.core.sort_by.cljs$core$IFn$_invoke$arity$3 = (function (keyfn,comp,coll){ -return cljs.core.sort.cljs$core$IFn$_invoke$arity$2((function (x,y){ -var G__10462 = (keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(x) : keyfn.call(null,x)); -var G__10463 = (keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(y) : keyfn.call(null,y)); -var fexpr__10461 = cljs.core.fn__GT_comparator(comp); -return (fexpr__10461.cljs$core$IFn$_invoke$arity$2 ? fexpr__10461.cljs$core$IFn$_invoke$arity$2(G__10462,G__10463) : fexpr__10461.call(null,G__10462,G__10463)); -}),coll); -}); - -cljs.core.sort_by.cljs$lang$maxFixedArity = 3; - -cljs.core.seq_reduce = (function cljs$core$seq_reduce(var_args){ -var G__10466 = arguments.length; -switch (G__10466) { -case 2: -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ -var temp__4655__auto__ = cljs.core.seq(coll); -if(temp__4655__auto__){ -var s = temp__4655__auto__; -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(f,cljs.core.first(s),cljs.core.next(s)); -} else { -return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); -} -}); - -cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3 = (function (f,val,coll){ -var val__$1 = val; -var coll__$1 = cljs.core.seq(coll); -while(true){ -if(coll__$1){ -var nval = (function (){var G__10467 = val__$1; -var G__10468 = cljs.core.first(coll__$1); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10467,G__10468) : f.call(null,G__10467,G__10468)); -})(); -if(cljs.core.reduced_QMARK_(nval)){ -return cljs.core.deref(nval); -} else { -var G__10470 = nval; -var G__10471 = cljs.core.next(coll__$1); -val__$1 = G__10470; -coll__$1 = G__10471; -continue; -} -} else { -return val__$1; -} -break; -} -}); - -cljs.core.seq_reduce.cljs$lang$maxFixedArity = 3; - -/** - * Return a random permutation of coll - */ -cljs.core.shuffle = (function cljs$core$shuffle(coll){ -var a = cljs.core.to_array(coll); -goog.array.shuffle(a); - -return cljs.core.vec(a); -}); -cljs.core.iter_reduce = (function cljs$core$iter_reduce(var_args){ -var G__10473 = arguments.length; -switch (G__10473) { -case 2: -return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2 = (function (coll,f){ -var iter = cljs.core._iterator(coll); -if(cljs.core.truth_(iter.hasNext())){ -var init = iter.next(); -var acc = init; -while(true){ -if(iter.hasNext()){ -var nacc = (function (){var G__10474 = acc; -var G__10475 = iter.next(); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10474,G__10475) : f.call(null,G__10474,G__10475)); -})(); -if(cljs.core.reduced_QMARK_(nacc)){ -return cljs.core.deref(nacc); -} else { -var G__10479 = nacc; -acc = G__10479; -continue; -} -} else { -return acc; -} -break; -} -} else { -return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); -} -}); - -cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3 = (function (coll,f,init){ -var iter = cljs.core._iterator(coll); -var acc = init; -while(true){ -if(iter.hasNext()){ -var nacc = (function (){var G__10476 = acc; -var G__10477 = iter.next(); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10476,G__10477) : f.call(null,G__10476,G__10477)); -})(); -if(cljs.core.reduced_QMARK_(nacc)){ -return cljs.core.deref(nacc); -} else { -var G__10480 = nacc; -acc = G__10480; -continue; -} -} else { -return acc; -} -break; -} -}); - -cljs.core.iter_reduce.cljs$lang$maxFixedArity = 3; - -/** - * f should be a function of 2 arguments. If val is not supplied, - * returns the result of applying f to the first 2 items in coll, then - * applying f to that result and the 3rd item, etc. If coll contains no - * items, f must accept no arguments as well, and reduce returns the - * result of calling f with no arguments. If coll has only 1 item, it - * is returned and f is not called. If val is supplied, returns the - * result of applying f to val and the first item in coll, then - * applying f to that result and the 2nd item, etc. If coll contains no - * items, returns val and f is not called. - */ -cljs.core.reduce = (function cljs$core$reduce(var_args){ -var G__10482 = arguments.length; -switch (G__10482) { -case 2: -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.reduce.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (524288))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IReduce$))))?true:false):false)){ -return coll.cljs$core$IReduce$_reduce$arity$2(null,f); -} else { -if(cljs.core.array_QMARK_(coll)){ -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2(coll,f); -} else { -if(typeof coll === 'string'){ -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2(coll,f); -} else { -if(cljs.core.native_satisfies_QMARK_(cljs.core.IReduce,coll)){ -return cljs.core._reduce.cljs$core$IFn$_invoke$arity$2(coll,f); -} else { -if(cljs.core.iterable_QMARK_(coll)){ -return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2(coll,f); -} else { -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll); - -} -} -} -} -} -}); - -cljs.core.reduce.cljs$core$IFn$_invoke$arity$3 = (function (f,val,coll){ -if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (524288))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IReduce$))))?true:false):false)){ -return coll.cljs$core$IReduce$_reduce$arity$3(null,f,val); -} else { -if(cljs.core.array_QMARK_(coll)){ -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3(coll,f,val); -} else { -if(typeof coll === 'string'){ -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3(coll,f,val); -} else { -if(cljs.core.native_satisfies_QMARK_(cljs.core.IReduce,coll)){ -return cljs.core._reduce.cljs$core$IFn$_invoke$arity$3(coll,f,val); -} else { -if(cljs.core.iterable_QMARK_(coll)){ -return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3(coll,f,val); -} else { -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,val,coll); - -} -} -} -} -} -}); - -cljs.core.reduce.cljs$lang$maxFixedArity = 3; - -/** - * Reduces an associative collection. f should be a function of 3 - * arguments. Returns the result of applying f to init, the first key - * and the first value in coll, then applying f to that result and the - * 2nd key and value, etc. If coll contains no entries, returns init - * and f is not called. Note that reduce-kv is supported on vectors, - * where the keys will be the ordinals. - */ -cljs.core.reduce_kv = (function cljs$core$reduce_kv(f,init,coll){ -if((!((coll == null)))){ -return cljs.core._kv_reduce(coll,f,init); -} else { -return init; -} -}); -/** - * Returns its argument. - */ -cljs.core.identity = (function cljs$core$identity(x){ -return x; -}); -/** - * Takes a reducing function f of 2 args and returns a fn suitable for - * transduce by adding an arity-1 signature that calls cf (default - - * identity) on the result argument. - */ -cljs.core.completing = (function cljs$core$completing(var_args){ -var G__10487 = arguments.length; -switch (G__10487) { -case 1: -return cljs.core.completing.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.completing.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.completing.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return cljs.core.completing.cljs$core$IFn$_invoke$arity$2(f,cljs.core.identity); -}); - -cljs.core.completing.cljs$core$IFn$_invoke$arity$2 = (function (f,cf){ -return (function() { -var G__10489 = null; -var G__10489__0 = (function (){ -return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); -}); -var G__10489__1 = (function (x){ -return (cf.cljs$core$IFn$_invoke$arity$1 ? cf.cljs$core$IFn$_invoke$arity$1(x) : cf.call(null,x)); -}); -var G__10489__2 = (function (x,y){ -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null,x,y)); -}); -G__10489 = function(x,y){ -switch(arguments.length){ -case 0: -return G__10489__0.call(this); -case 1: -return G__10489__1.call(this,x); -case 2: -return G__10489__2.call(this,x,y); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10489.cljs$core$IFn$_invoke$arity$0 = G__10489__0; -G__10489.cljs$core$IFn$_invoke$arity$1 = G__10489__1; -G__10489.cljs$core$IFn$_invoke$arity$2 = G__10489__2; -return G__10489; -})() -}); - -cljs.core.completing.cljs$lang$maxFixedArity = 2; - -/** - * reduce with a transformation of f (xf). If init is not - * supplied, (f) will be called to produce it. f should be a reducing - * step function that accepts both 1 and 2 arguments, if it accepts - * only 2 you can add the arity-1 with 'completing'. Returns the result - * of applying (the transformed) xf to init and the first item in coll, - * then applying xf to that result and the 2nd item, etc. If coll - * contains no items, returns init and f is not called. Note that - * certain transforms may inject or skip items. - */ -cljs.core.transduce = (function cljs$core$transduce(var_args){ -var G__10491 = arguments.length; -switch (G__10491) { -case 3: -return cljs.core.transduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.transduce.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.transduce.cljs$core$IFn$_invoke$arity$3 = (function (xform,f,coll){ -return cljs.core.transduce.cljs$core$IFn$_invoke$arity$4(xform,f,(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)),coll); -}); - -cljs.core.transduce.cljs$core$IFn$_invoke$arity$4 = (function (xform,f,init,coll){ -var f__$1 = (xform.cljs$core$IFn$_invoke$arity$1 ? xform.cljs$core$IFn$_invoke$arity$1(f) : xform.call(null,f)); -var ret = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(f__$1,init,coll); -return (f__$1.cljs$core$IFn$_invoke$arity$1 ? f__$1.cljs$core$IFn$_invoke$arity$1(ret) : f__$1.call(null,ret)); -}); - -cljs.core.transduce.cljs$lang$maxFixedArity = 4; - -/** - * Returns the sum of nums. (+) returns 0. - */ -cljs.core._PLUS_ = (function cljs$core$_PLUS_(var_args){ -var G__10497 = arguments.length; -switch (G__10497) { -case 0: -return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10499 = arguments.length; -var i__9001__auto___10500 = (0); -while(true){ -if((i__9001__auto___10500 < len__9000__auto___10499)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10500])); - -var G__10501 = (i__9001__auto___10500 + (1)); -i__9001__auto___10500 = G__10501; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$0 = (function (){ -return (0); -}); - -cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return x; -}); - -cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x + y); -}); - -cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._PLUS_,(x + y),more); -}); - -/** @this {Function} */ -cljs.core._PLUS_.cljs$lang$applyTo = (function (seq10494){ -var G__10495 = cljs.core.first(seq10494); -var seq10494__$1 = cljs.core.next(seq10494); -var G__10496 = cljs.core.first(seq10494__$1); -var seq10494__$2 = cljs.core.next(seq10494__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10495,G__10496,seq10494__$2); -}); - -cljs.core._PLUS_.cljs$lang$maxFixedArity = (2); - -/** - * If no ys are supplied, returns the negation of x, else subtracts - * the ys from x and returns the result. - */ -cljs.core._ = (function cljs$core$_(var_args){ -var G__10506 = arguments.length; -switch (G__10506) { -case 1: -return cljs.core._.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10508 = arguments.length; -var i__9001__auto___10509 = (0); -while(true){ -if((i__9001__auto___10509 < len__9000__auto___10508)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10509])); - -var G__10510 = (i__9001__auto___10509 + (1)); -i__9001__auto___10509 = G__10510; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return (- x); -}); - -cljs.core._.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x - y); -}); - -cljs.core._.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._,(x - y),more); -}); - -/** @this {Function} */ -cljs.core._.cljs$lang$applyTo = (function (seq10503){ -var G__10504 = cljs.core.first(seq10503); -var seq10503__$1 = cljs.core.next(seq10503); -var G__10505 = cljs.core.first(seq10503__$1); -var seq10503__$2 = cljs.core.next(seq10503__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10504,G__10505,seq10503__$2); -}); - -cljs.core._.cljs$lang$maxFixedArity = (2); - -/** - * Returns the product of nums. (*) returns 1. - */ -cljs.core._STAR_ = (function cljs$core$_STAR_(var_args){ -var G__10515 = arguments.length; -switch (G__10515) { -case 0: -return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10517 = arguments.length; -var i__9001__auto___10518 = (0); -while(true){ -if((i__9001__auto___10518 < len__9000__auto___10517)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10518])); - -var G__10519 = (i__9001__auto___10518 + (1)); -i__9001__auto___10518 = G__10519; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._STAR_.cljs$core$IFn$_invoke$arity$0 = (function (){ -return (1); -}); - -cljs.core._STAR_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return x; -}); - -cljs.core._STAR_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x * y); -}); - -cljs.core._STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._STAR_,(x * y),more); -}); - -/** @this {Function} */ -cljs.core._STAR_.cljs$lang$applyTo = (function (seq10512){ -var G__10513 = cljs.core.first(seq10512); -var seq10512__$1 = cljs.core.next(seq10512); -var G__10514 = cljs.core.first(seq10512__$1); -var seq10512__$2 = cljs.core.next(seq10512__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10513,G__10514,seq10512__$2); -}); - -cljs.core._STAR_.cljs$lang$maxFixedArity = (2); - -/** - * If no denominators are supplied, returns 1/numerator, - * else returns numerator divided by all of the denominators. - */ -cljs.core._SLASH_ = (function cljs$core$_SLASH_(var_args){ -var G__10524 = arguments.length; -switch (G__10524) { -case 1: -return cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10526 = arguments.length; -var i__9001__auto___10527 = (0); -while(true){ -if((i__9001__auto___10527 < len__9000__auto___10526)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10527])); - -var G__10528 = (i__9001__auto___10527 + (1)); -i__9001__auto___10527 = G__10528; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return ((1) / x); -}); - -cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x / y); -}); - -cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._SLASH_,(x / y),more); -}); - -/** @this {Function} */ -cljs.core._SLASH_.cljs$lang$applyTo = (function (seq10521){ -var G__10522 = cljs.core.first(seq10521); -var seq10521__$1 = cljs.core.next(seq10521); -var G__10523 = cljs.core.first(seq10521__$1); -var seq10521__$2 = cljs.core.next(seq10521__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10522,G__10523,seq10521__$2); -}); - -cljs.core._SLASH_.cljs$lang$maxFixedArity = (2); - -/** - * Returns non-nil if nums are in monotonically increasing order, - * otherwise false. - */ -cljs.core._LT_ = (function cljs$core$_LT_(var_args){ -var G__10533 = arguments.length; -switch (G__10533) { -case 1: -return cljs.core._LT_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._LT_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10535 = arguments.length; -var i__9001__auto___10536 = (0); -while(true){ -if((i__9001__auto___10536 < len__9000__auto___10535)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10536])); - -var G__10537 = (i__9001__auto___10536 + (1)); -i__9001__auto___10536 = G__10537; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._LT_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._LT_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return true; -}); - -cljs.core._LT_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x < y); -}); - -cljs.core._LT_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -while(true){ -if((x < y)){ -if(cljs.core.next(more)){ -var G__10538 = y; -var G__10539 = cljs.core.first(more); -var G__10540 = cljs.core.next(more); -x = G__10538; -y = G__10539; -more = G__10540; -continue; -} else { -return (y < cljs.core.first(more)); -} -} else { -return false; -} -break; -} -}); - -/** @this {Function} */ -cljs.core._LT_.cljs$lang$applyTo = (function (seq10530){ -var G__10531 = cljs.core.first(seq10530); -var seq10530__$1 = cljs.core.next(seq10530); -var G__10532 = cljs.core.first(seq10530__$1); -var seq10530__$2 = cljs.core.next(seq10530__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10531,G__10532,seq10530__$2); -}); - -cljs.core._LT_.cljs$lang$maxFixedArity = (2); - -/** - * Returns non-nil if nums are in monotonically non-decreasing order, - * otherwise false. - */ -cljs.core._LT__EQ_ = (function cljs$core$_LT__EQ_(var_args){ -var G__10545 = arguments.length; -switch (G__10545) { -case 1: -return cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10547 = arguments.length; -var i__9001__auto___10548 = (0); -while(true){ -if((i__9001__auto___10548 < len__9000__auto___10547)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10548])); - -var G__10549 = (i__9001__auto___10548 + (1)); -i__9001__auto___10548 = G__10549; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return true; -}); - -cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x <= y); -}); - -cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -while(true){ -if((x <= y)){ -if(cljs.core.next(more)){ -var G__10550 = y; -var G__10551 = cljs.core.first(more); -var G__10552 = cljs.core.next(more); -x = G__10550; -y = G__10551; -more = G__10552; -continue; -} else { -return (y <= cljs.core.first(more)); -} -} else { -return false; -} -break; -} -}); - -/** @this {Function} */ -cljs.core._LT__EQ_.cljs$lang$applyTo = (function (seq10542){ -var G__10543 = cljs.core.first(seq10542); -var seq10542__$1 = cljs.core.next(seq10542); -var G__10544 = cljs.core.first(seq10542__$1); -var seq10542__$2 = cljs.core.next(seq10542__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10543,G__10544,seq10542__$2); -}); - -cljs.core._LT__EQ_.cljs$lang$maxFixedArity = (2); - -/** - * Returns non-nil if nums are in monotonically decreasing order, - * otherwise false. - */ -cljs.core._GT_ = (function cljs$core$_GT_(var_args){ -var G__10557 = arguments.length; -switch (G__10557) { -case 1: -return cljs.core._GT_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._GT_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10559 = arguments.length; -var i__9001__auto___10560 = (0); -while(true){ -if((i__9001__auto___10560 < len__9000__auto___10559)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10560])); - -var G__10561 = (i__9001__auto___10560 + (1)); -i__9001__auto___10560 = G__10561; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._GT_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._GT_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return true; -}); - -cljs.core._GT_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x > y); -}); - -cljs.core._GT_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -while(true){ -if((x > y)){ -if(cljs.core.next(more)){ -var G__10562 = y; -var G__10563 = cljs.core.first(more); -var G__10564 = cljs.core.next(more); -x = G__10562; -y = G__10563; -more = G__10564; -continue; -} else { -return (y > cljs.core.first(more)); -} -} else { -return false; -} -break; -} -}); - -/** @this {Function} */ -cljs.core._GT_.cljs$lang$applyTo = (function (seq10554){ -var G__10555 = cljs.core.first(seq10554); -var seq10554__$1 = cljs.core.next(seq10554); -var G__10556 = cljs.core.first(seq10554__$1); -var seq10554__$2 = cljs.core.next(seq10554__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10555,G__10556,seq10554__$2); -}); - -cljs.core._GT_.cljs$lang$maxFixedArity = (2); - -/** - * Returns non-nil if nums are in monotonically non-increasing order, - * otherwise false. - */ -cljs.core._GT__EQ_ = (function cljs$core$_GT__EQ_(var_args){ -var G__10569 = arguments.length; -switch (G__10569) { -case 1: -return cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10571 = arguments.length; -var i__9001__auto___10572 = (0); -while(true){ -if((i__9001__auto___10572 < len__9000__auto___10571)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10572])); - -var G__10573 = (i__9001__auto___10572 + (1)); -i__9001__auto___10572 = G__10573; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return true; -}); - -cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x >= y); -}); - -cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -while(true){ -if((x >= y)){ -if(cljs.core.next(more)){ -var G__10574 = y; -var G__10575 = cljs.core.first(more); -var G__10576 = cljs.core.next(more); -x = G__10574; -y = G__10575; -more = G__10576; -continue; -} else { -return (y >= cljs.core.first(more)); -} -} else { -return false; -} -break; -} -}); - -/** @this {Function} */ -cljs.core._GT__EQ_.cljs$lang$applyTo = (function (seq10566){ -var G__10567 = cljs.core.first(seq10566); -var seq10566__$1 = cljs.core.next(seq10566); -var G__10568 = cljs.core.first(seq10566__$1); -var seq10566__$2 = cljs.core.next(seq10566__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10567,G__10568,seq10566__$2); -}); - -cljs.core._GT__EQ_.cljs$lang$maxFixedArity = (2); - -/** - * Returns a number one less than num. - */ -cljs.core.dec = (function cljs$core$dec(x){ -return (x - (1)); -}); -/** - * Returns the greatest of the nums. - */ -cljs.core.max = (function cljs$core$max(var_args){ -var G__10581 = arguments.length; -switch (G__10581) { -case 1: -return cljs.core.max.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.max.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10583 = arguments.length; -var i__9001__auto___10584 = (0); -while(true){ -if((i__9001__auto___10584 < len__9000__auto___10583)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10584])); - -var G__10585 = (i__9001__auto___10584 + (1)); -i__9001__auto___10584 = G__10585; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.max.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.max.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return x; -}); - -cljs.core.max.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -var x__8162__auto__ = x; -var y__8163__auto__ = y; -return ((x__8162__auto__ > y__8163__auto__) ? x__8162__auto__ : y__8163__auto__); -}); - -cljs.core.max.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.max,(function (){var x__8162__auto__ = x; -var y__8163__auto__ = y; -return ((x__8162__auto__ > y__8163__auto__) ? x__8162__auto__ : y__8163__auto__); -})(),more); -}); - -/** @this {Function} */ -cljs.core.max.cljs$lang$applyTo = (function (seq10578){ -var G__10579 = cljs.core.first(seq10578); -var seq10578__$1 = cljs.core.next(seq10578); -var G__10580 = cljs.core.first(seq10578__$1); -var seq10578__$2 = cljs.core.next(seq10578__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10579,G__10580,seq10578__$2); -}); - -cljs.core.max.cljs$lang$maxFixedArity = (2); - -/** - * Returns the least of the nums. - */ -cljs.core.min = (function cljs$core$min(var_args){ -var G__10590 = arguments.length; -switch (G__10590) { -case 1: -return cljs.core.min.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.min.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10592 = arguments.length; -var i__9001__auto___10593 = (0); -while(true){ -if((i__9001__auto___10593 < len__9000__auto___10592)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10593])); - -var G__10594 = (i__9001__auto___10593 + (1)); -i__9001__auto___10593 = G__10594; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.min.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.min.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return x; -}); - -cljs.core.min.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -var x__8169__auto__ = x; -var y__8170__auto__ = y; -return ((x__8169__auto__ < y__8170__auto__) ? x__8169__auto__ : y__8170__auto__); -}); - -cljs.core.min.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.min,(function (){var x__8169__auto__ = x; -var y__8170__auto__ = y; -return ((x__8169__auto__ < y__8170__auto__) ? x__8169__auto__ : y__8170__auto__); -})(),more); -}); - -/** @this {Function} */ -cljs.core.min.cljs$lang$applyTo = (function (seq10587){ -var G__10588 = cljs.core.first(seq10587); -var seq10587__$1 = cljs.core.next(seq10587); -var G__10589 = cljs.core.first(seq10587__$1); -var seq10587__$2 = cljs.core.next(seq10587__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10588,G__10589,seq10587__$2); -}); - -cljs.core.min.cljs$lang$maxFixedArity = (2); - -cljs.core.byte$ = (function cljs$core$byte(x){ -return x; -}); -/** - * Coerce to char - */ -cljs.core.char$ = (function cljs$core$char(x){ -if(typeof x === 'number'){ -return String.fromCharCode(x); -} else { -if(((typeof x === 'string') && ((x.length === (1))))){ -return x; -} else { -throw (new Error("Argument to char must be a character or number")); - -} -} -}); -cljs.core.short$ = (function cljs$core$short(x){ -return x; -}); -cljs.core.float$ = (function cljs$core$float(x){ -return x; -}); -cljs.core.double$ = (function cljs$core$double(x){ -return x; -}); -cljs.core.unchecked_byte = (function cljs$core$unchecked_byte(x){ -return x; -}); -cljs.core.unchecked_char = (function cljs$core$unchecked_char(x){ -return x; -}); -cljs.core.unchecked_short = (function cljs$core$unchecked_short(x){ -return x; -}); -cljs.core.unchecked_float = (function cljs$core$unchecked_float(x){ -return x; -}); -cljs.core.unchecked_double = (function cljs$core$unchecked_double(x){ -return x; -}); -/** - * Returns the sum of nums. (+) returns 0. - */ -cljs.core.unchecked_add = (function cljs$core$unchecked_add(var_args){ -var G__10599 = arguments.length; -switch (G__10599) { -case 0: -return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10601 = arguments.length; -var i__9001__auto___10602 = (0); -while(true){ -if((i__9001__auto___10602 < len__9000__auto___10601)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10602])); - -var G__10603 = (i__9001__auto___10602 + (1)); -i__9001__auto___10602 = G__10603; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$0 = (function (){ -return (0); -}); - -cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return x; -}); - -cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x + y); -}); - -cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_add,(x + y),more); -}); - -/** @this {Function} */ -cljs.core.unchecked_add.cljs$lang$applyTo = (function (seq10596){ -var G__10597 = cljs.core.first(seq10596); -var seq10596__$1 = cljs.core.next(seq10596); -var G__10598 = cljs.core.first(seq10596__$1); -var seq10596__$2 = cljs.core.next(seq10596__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10597,G__10598,seq10596__$2); -}); - -cljs.core.unchecked_add.cljs$lang$maxFixedArity = (2); - -/** - * Returns the sum of nums. (+) returns 0. - */ -cljs.core.unchecked_add_int = (function cljs$core$unchecked_add_int(var_args){ -var G__10608 = arguments.length; -switch (G__10608) { -case 0: -return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10610 = arguments.length; -var i__9001__auto___10611 = (0); -while(true){ -if((i__9001__auto___10611 < len__9000__auto___10610)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10611])); - -var G__10612 = (i__9001__auto___10611 + (1)); -i__9001__auto___10611 = G__10612; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$0 = (function (){ -return (0); -}); - -cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return x; -}); - -cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x + y); -}); - -cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_add_int,(x + y),more); -}); - -/** @this {Function} */ -cljs.core.unchecked_add_int.cljs$lang$applyTo = (function (seq10605){ -var G__10606 = cljs.core.first(seq10605); -var seq10605__$1 = cljs.core.next(seq10605); -var G__10607 = cljs.core.first(seq10605__$1); -var seq10605__$2 = cljs.core.next(seq10605__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10606,G__10607,seq10605__$2); -}); - -cljs.core.unchecked_add_int.cljs$lang$maxFixedArity = (2); - -/** - * Returns a number one less than x, an int. - */ -cljs.core.unchecked_dec = (function cljs$core$unchecked_dec(x){ -return (x - (1)); -}); -/** - * Returns a number one less than x, an int. - */ -cljs.core.unchecked_dec_int = (function cljs$core$unchecked_dec_int(x){ -return (x - (1)); -}); -/** - * If no denominators are supplied, returns 1/numerator, - * else returns numerator divided by all of the denominators. - */ -cljs.core.unchecked_divide_int = (function cljs$core$unchecked_divide_int(var_args){ -var G__10617 = arguments.length; -switch (G__10617) { -case 1: -return cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10619 = arguments.length; -var i__9001__auto___10620 = (0); -while(true){ -if((i__9001__auto___10620 < len__9000__auto___10619)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10620])); - -var G__10621 = (i__9001__auto___10620 + (1)); -i__9001__auto___10620 = G__10621; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return ((1) / x); -}); - -cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x / y); -}); - -cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_divide_int,(x / y),more); -}); - -/** @this {Function} */ -cljs.core.unchecked_divide_int.cljs$lang$applyTo = (function (seq10614){ -var G__10615 = cljs.core.first(seq10614); -var seq10614__$1 = cljs.core.next(seq10614); -var G__10616 = cljs.core.first(seq10614__$1); -var seq10614__$2 = cljs.core.next(seq10614__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10615,G__10616,seq10614__$2); -}); - -cljs.core.unchecked_divide_int.cljs$lang$maxFixedArity = (2); - -cljs.core.unchecked_inc = (function cljs$core$unchecked_inc(x){ -return (x + (1)); -}); -cljs.core.unchecked_inc_int = (function cljs$core$unchecked_inc_int(x){ -return (x + (1)); -}); -/** - * Returns the product of nums. (*) returns 1. - */ -cljs.core.unchecked_multiply = (function cljs$core$unchecked_multiply(var_args){ -var G__10626 = arguments.length; -switch (G__10626) { -case 0: -return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10628 = arguments.length; -var i__9001__auto___10629 = (0); -while(true){ -if((i__9001__auto___10629 < len__9000__auto___10628)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10629])); - -var G__10630 = (i__9001__auto___10629 + (1)); -i__9001__auto___10629 = G__10630; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$0 = (function (){ -return (1); -}); - -cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return x; -}); - -cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x * y); -}); - -cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_multiply,(x * y),more); -}); - -/** @this {Function} */ -cljs.core.unchecked_multiply.cljs$lang$applyTo = (function (seq10623){ -var G__10624 = cljs.core.first(seq10623); -var seq10623__$1 = cljs.core.next(seq10623); -var G__10625 = cljs.core.first(seq10623__$1); -var seq10623__$2 = cljs.core.next(seq10623__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10624,G__10625,seq10623__$2); -}); - -cljs.core.unchecked_multiply.cljs$lang$maxFixedArity = (2); - -/** - * Returns the product of nums. (*) returns 1. - */ -cljs.core.unchecked_multiply_int = (function cljs$core$unchecked_multiply_int(var_args){ -var G__10635 = arguments.length; -switch (G__10635) { -case 0: -return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10637 = arguments.length; -var i__9001__auto___10638 = (0); -while(true){ -if((i__9001__auto___10638 < len__9000__auto___10637)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10638])); - -var G__10639 = (i__9001__auto___10638 + (1)); -i__9001__auto___10638 = G__10639; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$0 = (function (){ -return (1); -}); - -cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return x; -}); - -cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x * y); -}); - -cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_multiply_int,(x * y),more); -}); - -/** @this {Function} */ -cljs.core.unchecked_multiply_int.cljs$lang$applyTo = (function (seq10632){ -var G__10633 = cljs.core.first(seq10632); -var seq10632__$1 = cljs.core.next(seq10632); -var G__10634 = cljs.core.first(seq10632__$1); -var seq10632__$2 = cljs.core.next(seq10632__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10633,G__10634,seq10632__$2); -}); - -cljs.core.unchecked_multiply_int.cljs$lang$maxFixedArity = (2); - -cljs.core.unchecked_negate = (function cljs$core$unchecked_negate(x){ -return (- x); -}); -cljs.core.unchecked_negate_int = (function cljs$core$unchecked_negate_int(x){ -return (- x); -}); -cljs.core.unchecked_remainder_int = (function cljs$core$unchecked_remainder_int(x,n){ -return cljs.core.mod(x,n); -}); -/** - * If no ys are supplied, returns the negation of x, else subtracts - * the ys from x and returns the result. - */ -cljs.core.unchecked_subtract = (function cljs$core$unchecked_subtract(var_args){ -var G__10644 = arguments.length; -switch (G__10644) { -case 1: -return cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10646 = arguments.length; -var i__9001__auto___10647 = (0); -while(true){ -if((i__9001__auto___10647 < len__9000__auto___10646)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10647])); - -var G__10648 = (i__9001__auto___10647 + (1)); -i__9001__auto___10647 = G__10648; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return (- x); -}); - -cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x - y); -}); - -cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_subtract,(x - y),more); -}); - -/** @this {Function} */ -cljs.core.unchecked_subtract.cljs$lang$applyTo = (function (seq10641){ -var G__10642 = cljs.core.first(seq10641); -var seq10641__$1 = cljs.core.next(seq10641); -var G__10643 = cljs.core.first(seq10641__$1); -var seq10641__$2 = cljs.core.next(seq10641__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10642,G__10643,seq10641__$2); -}); - -cljs.core.unchecked_subtract.cljs$lang$maxFixedArity = (2); - -/** - * If no ys are supplied, returns the negation of x, else subtracts - * the ys from x and returns the result. - */ -cljs.core.unchecked_subtract_int = (function cljs$core$unchecked_subtract_int(var_args){ -var G__10653 = arguments.length; -switch (G__10653) { -case 1: -return cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10655 = arguments.length; -var i__9001__auto___10656 = (0); -while(true){ -if((i__9001__auto___10656 < len__9000__auto___10655)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10656])); - -var G__10657 = (i__9001__auto___10656 + (1)); -i__9001__auto___10656 = G__10657; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return (- x); -}); - -cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x - y); -}); - -cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_subtract_int,(x - y),more); -}); - -/** @this {Function} */ -cljs.core.unchecked_subtract_int.cljs$lang$applyTo = (function (seq10650){ -var G__10651 = cljs.core.first(seq10650); -var seq10650__$1 = cljs.core.next(seq10650); -var G__10652 = cljs.core.first(seq10650__$1); -var seq10650__$2 = cljs.core.next(seq10650__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10651,G__10652,seq10650__$2); -}); - -cljs.core.unchecked_subtract_int.cljs$lang$maxFixedArity = (2); - -cljs.core.fix = (function cljs$core$fix(q){ -if((q >= (0))){ -return Math.floor(q); -} else { -return Math.ceil(q); -} -}); -/** - * Coerce to int by stripping decimal places. - */ -cljs.core.int$ = (function cljs$core$int(x){ -return (x | (0)); -}); -/** - * Coerce to int by stripping decimal places. - */ -cljs.core.unchecked_int = (function cljs$core$unchecked_int(x){ -return cljs.core.fix(x); -}); -/** - * Coerce to long by stripping decimal places. Identical to `int'. - */ -cljs.core.long$ = (function cljs$core$long(x){ -return cljs.core.fix(x); -}); -/** - * Coerce to long by stripping decimal places. Identical to `int'. - */ -cljs.core.unchecked_long = (function cljs$core$unchecked_long(x){ -return cljs.core.fix(x); -}); -cljs.core.booleans = (function cljs$core$booleans(x){ -return x; -}); -cljs.core.bytes = (function cljs$core$bytes(x){ -return x; -}); -cljs.core.chars = (function cljs$core$chars(x){ -return x; -}); -cljs.core.shorts = (function cljs$core$shorts(x){ -return x; -}); -cljs.core.ints = (function cljs$core$ints(x){ -return x; -}); -cljs.core.floats = (function cljs$core$floats(x){ -return x; -}); -cljs.core.doubles = (function cljs$core$doubles(x){ -return x; -}); -cljs.core.longs = (function cljs$core$longs(x){ -return x; -}); -/** - * Modulus of num and div with original javascript behavior. i.e. bug for negative numbers - */ -cljs.core.js_mod = (function cljs$core$js_mod(n,d){ -return (n % d); -}); -/** - * Modulus of num and div. Truncates toward negative infinity. - */ -cljs.core.mod = (function cljs$core$mod(n,d){ -return (((n % d) + d) % d); -}); -/** - * quot[ient] of dividing numerator by denominator. - */ -cljs.core.quot = (function cljs$core$quot(n,d){ -var rem = (n % d); -return cljs.core.fix(((n - rem) / d)); -}); -/** - * remainder of dividing numerator by denominator. - */ -cljs.core.rem = (function cljs$core$rem(n,d){ -var q = cljs.core.quot(n,d); -return (n - (d * q)); -}); -/** - * Bitwise exclusive or - */ -cljs.core.bit_xor = (function cljs$core$bit_xor(var_args){ -var G__10662 = arguments.length; -switch (G__10662) { -case 2: -return cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10664 = arguments.length; -var i__9001__auto___10665 = (0); -while(true){ -if((i__9001__auto___10665 < len__9000__auto___10664)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10665])); - -var G__10666 = (i__9001__auto___10665 + (1)); -i__9001__auto___10665 = G__10666; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x ^ y); -}); - -cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.bit_xor,(x ^ y),more); -}); - -/** @this {Function} */ -cljs.core.bit_xor.cljs$lang$applyTo = (function (seq10659){ -var G__10660 = cljs.core.first(seq10659); -var seq10659__$1 = cljs.core.next(seq10659); -var G__10661 = cljs.core.first(seq10659__$1); -var seq10659__$2 = cljs.core.next(seq10659__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10660,G__10661,seq10659__$2); -}); - -cljs.core.bit_xor.cljs$lang$maxFixedArity = (2); - -/** - * Bitwise and - */ -cljs.core.bit_and = (function cljs$core$bit_and(var_args){ -var G__10671 = arguments.length; -switch (G__10671) { -case 2: -return cljs.core.bit_and.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10673 = arguments.length; -var i__9001__auto___10674 = (0); -while(true){ -if((i__9001__auto___10674 < len__9000__auto___10673)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10674])); - -var G__10675 = (i__9001__auto___10674 + (1)); -i__9001__auto___10674 = G__10675; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.bit_and.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.bit_and.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x & y); -}); - -cljs.core.bit_and.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.bit_and,(x & y),more); -}); - -/** @this {Function} */ -cljs.core.bit_and.cljs$lang$applyTo = (function (seq10668){ -var G__10669 = cljs.core.first(seq10668); -var seq10668__$1 = cljs.core.next(seq10668); -var G__10670 = cljs.core.first(seq10668__$1); -var seq10668__$2 = cljs.core.next(seq10668__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10669,G__10670,seq10668__$2); -}); - -cljs.core.bit_and.cljs$lang$maxFixedArity = (2); - -/** - * Bitwise or - */ -cljs.core.bit_or = (function cljs$core$bit_or(var_args){ -var G__10680 = arguments.length; -switch (G__10680) { -case 2: -return cljs.core.bit_or.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10682 = arguments.length; -var i__9001__auto___10683 = (0); -while(true){ -if((i__9001__auto___10683 < len__9000__auto___10682)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10683])); - -var G__10684 = (i__9001__auto___10683 + (1)); -i__9001__auto___10683 = G__10684; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.bit_or.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.bit_or.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x | y); -}); - -cljs.core.bit_or.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.bit_or,(x | y),more); -}); - -/** @this {Function} */ -cljs.core.bit_or.cljs$lang$applyTo = (function (seq10677){ -var G__10678 = cljs.core.first(seq10677); -var seq10677__$1 = cljs.core.next(seq10677); -var G__10679 = cljs.core.first(seq10677__$1); -var seq10677__$2 = cljs.core.next(seq10677__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10678,G__10679,seq10677__$2); -}); - -cljs.core.bit_or.cljs$lang$maxFixedArity = (2); - -/** - * Bitwise and with complement - */ -cljs.core.bit_and_not = (function cljs$core$bit_and_not(var_args){ -var G__10689 = arguments.length; -switch (G__10689) { -case 2: -return cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10691 = arguments.length; -var i__9001__auto___10692 = (0); -while(true){ -if((i__9001__auto___10692 < len__9000__auto___10691)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10692])); - -var G__10693 = (i__9001__auto___10692 + (1)); -i__9001__auto___10692 = G__10693; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (x & ~y); -}); - -cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.bit_and_not,(x & ~y),more); -}); - -/** @this {Function} */ -cljs.core.bit_and_not.cljs$lang$applyTo = (function (seq10686){ -var G__10687 = cljs.core.first(seq10686); -var seq10686__$1 = cljs.core.next(seq10686); -var G__10688 = cljs.core.first(seq10686__$1); -var seq10686__$2 = cljs.core.next(seq10686__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10687,G__10688,seq10686__$2); -}); - -cljs.core.bit_and_not.cljs$lang$maxFixedArity = (2); - -/** - * Clear bit at index n - */ -cljs.core.bit_clear = (function cljs$core$bit_clear(x,n){ -return (x & ~(1 << n)); -}); -/** - * Flip bit at index n - */ -cljs.core.bit_flip = (function cljs$core$bit_flip(x,n){ -return (x ^ (1 << n)); -}); -/** - * Bitwise complement - */ -cljs.core.bit_not = (function cljs$core$bit_not(x){ -return (~ x); -}); -/** - * Set bit at index n - */ -cljs.core.bit_set = (function cljs$core$bit_set(x,n){ -return (x | (1 << n)); -}); -/** - * Test bit at index n - */ -cljs.core.bit_test = (function cljs$core$bit_test(x,n){ -return ((x & (1 << n)) != 0); -}); -/** - * Bitwise shift left - */ -cljs.core.bit_shift_left = (function cljs$core$bit_shift_left(x,n){ -return (x << n); -}); -/** - * Bitwise shift right - */ -cljs.core.bit_shift_right = (function cljs$core$bit_shift_right(x,n){ -return (x >> n); -}); -/** - * DEPRECATED: Bitwise shift right with zero fill - */ -cljs.core.bit_shift_right_zero_fill = (function cljs$core$bit_shift_right_zero_fill(x,n){ -return (x >>> n); -}); -/** - * Bitwise shift right with zero fill - */ -cljs.core.unsigned_bit_shift_right = (function cljs$core$unsigned_bit_shift_right(x,n){ -return (x >>> n); -}); -/** - * Counts the number of bits set in n - */ -cljs.core.bit_count = (function cljs$core$bit_count(v){ -var v__$1 = (v - ((v >> (1)) & (1431655765))); -var v__$2 = ((v__$1 & (858993459)) + ((v__$1 >> (2)) & (858993459))); -return ((((v__$2 + (v__$2 >> (4))) & (252645135)) * (16843009)) >> (24)); -}); -/** - * Returns non-nil if nums all have the equivalent - * value, otherwise false. Behavior on non nums is - * undefined. - */ -cljs.core._EQ__EQ_ = (function cljs$core$_EQ__EQ_(var_args){ -var G__10698 = arguments.length; -switch (G__10698) { -case 1: -return cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10700 = arguments.length; -var i__9001__auto___10701 = (0); -while(true){ -if((i__9001__auto___10701 < len__9000__auto___10700)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10701])); - -var G__10702 = (i__9001__auto___10701 + (1)); -i__9001__auto___10701 = G__10702; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return true; -}); - -cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return cljs.core._equiv(x,y); -}); - -cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -while(true){ -if((x === y)){ -if(cljs.core.next(more)){ -var G__10703 = y; -var G__10704 = cljs.core.first(more); -var G__10705 = cljs.core.next(more); -x = G__10703; -y = G__10704; -more = G__10705; -continue; -} else { -return (y === cljs.core.first(more)); -} -} else { -return false; -} -break; -} -}); - -/** @this {Function} */ -cljs.core._EQ__EQ_.cljs$lang$applyTo = (function (seq10695){ -var G__10696 = cljs.core.first(seq10695); -var seq10695__$1 = cljs.core.next(seq10695); -var G__10697 = cljs.core.first(seq10695__$1); -var seq10695__$2 = cljs.core.next(seq10695__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10696,G__10697,seq10695__$2); -}); - -cljs.core._EQ__EQ_.cljs$lang$maxFixedArity = (2); - -/** - * Returns true if num is greater than zero, else false - */ -cljs.core.pos_QMARK_ = (function cljs$core$pos_QMARK_(x){ -return (x > (0)); -}); -/** - * Returns true if num is zero, else false - */ -cljs.core.zero_QMARK_ = (function cljs$core$zero_QMARK_(x){ -return (x === (0)); -}); -/** - * Returns true if num is less than zero, else false - */ -cljs.core.neg_QMARK_ = (function cljs$core$neg_QMARK_(x){ -return (x < (0)); -}); -/** - * Returns the nth next of coll, (seq coll) when n is 0. - */ -cljs.core.nthnext = (function cljs$core$nthnext(coll,n){ -var n__$1 = n; -var xs = cljs.core.seq(coll); -while(true){ -if(((xs) && ((n__$1 > (0))))){ -var G__10706 = (n__$1 - (1)); -var G__10707 = cljs.core.next(xs); -n__$1 = G__10706; -xs = G__10707; -continue; -} else { -return xs; -} -break; -} -}); -/** - * With no args, returns the empty string. With one arg x, returns - * x.toString(). (str nil) returns the empty string. With more than - * one arg, returns the concatenation of the str values of the args. - */ -cljs.core.str = (function cljs$core$str(var_args){ -var G__10711 = arguments.length; -switch (G__10711) { -case 0: -return cljs.core.str.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10713 = arguments.length; -var i__9001__auto___10714 = (0); -while(true){ -if((i__9001__auto___10714 < len__9000__auto___10713)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10714])); - -var G__10715 = (i__9001__auto___10714 + (1)); -i__9001__auto___10714 = G__10715; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((1)),(0),null)); -return cljs.core.str.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9026__auto__); - -} -}); - -cljs.core.str.cljs$core$IFn$_invoke$arity$0 = (function (){ -return ""; -}); - -cljs.core.str.cljs$core$IFn$_invoke$arity$1 = (function (x){ -if((x == null)){ -return ""; -} else { -return [x].join(""); -} -}); - -cljs.core.str.cljs$core$IFn$_invoke$arity$variadic = (function (x,ys){ -var sb = (new goog.string.StringBuffer(cljs.core.str.cljs$core$IFn$_invoke$arity$1(x))); -var more = ys; -while(true){ -if(cljs.core.truth_(more)){ -var G__10716 = sb.append(cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(more))); -var G__10717 = cljs.core.next(more); -sb = G__10716; -more = G__10717; -continue; -} else { -return sb.toString(); -} -break; -} -}); - -/** @this {Function} */ -cljs.core.str.cljs$lang$applyTo = (function (seq10709){ -var G__10710 = cljs.core.first(seq10709); -var seq10709__$1 = cljs.core.next(seq10709); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10710,seq10709__$1); -}); - -cljs.core.str.cljs$lang$maxFixedArity = (1); - -/** - * Returns the substring of s beginning at start inclusive, and ending - * at end (defaults to length of string), exclusive. - */ -cljs.core.subs = (function cljs$core$subs(var_args){ -var G__10719 = arguments.length; -switch (G__10719) { -case 2: -return cljs.core.subs.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.subs.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.subs.cljs$core$IFn$_invoke$arity$2 = (function (s,start){ -return s.substring(start); -}); - -cljs.core.subs.cljs$core$IFn$_invoke$arity$3 = (function (s,start,end){ -return s.substring(start,end); -}); - -cljs.core.subs.cljs$lang$maxFixedArity = 3; - - -/** - * Assumes x is sequential. Returns true if x equals y, otherwise - * returns false. - */ -cljs.core.equiv_sequential = (function cljs$core$equiv_sequential(x,y){ -return cljs.core.boolean$(((cljs.core.sequential_QMARK_(y))?((((cljs.core.counted_QMARK_(x)) && (cljs.core.counted_QMARK_(y)) && ((!((cljs.core.count(x) === cljs.core.count(y)))))))?false:(function (){var xs = cljs.core.seq(x); -var ys = cljs.core.seq(y); -while(true){ -if((xs == null)){ -return (ys == null); -} else { -if((ys == null)){ -return false; -} else { -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.first(xs),cljs.core.first(ys))){ -var G__10721 = cljs.core.next(xs); -var G__10722 = cljs.core.next(ys); -xs = G__10721; -ys = G__10722; -continue; -} else { -return false; - -} -} -} -break; -} -})()):null)); -}); -cljs.core.hash_coll = (function cljs$core$hash_coll(coll){ -if(cljs.core.seq(coll)){ -var res = cljs.core.hash(cljs.core.first(coll)); -var s = cljs.core.next(coll); -while(true){ -if((s == null)){ -return res; -} else { -var G__10723 = cljs.core.hash_combine(res,cljs.core.hash(cljs.core.first(s))); -var G__10724 = cljs.core.next(s); -res = G__10723; -s = G__10724; -continue; -} -break; -} -} else { -return (0); -} -}); - -cljs.core.hash_imap = (function cljs$core$hash_imap(m){ -var h = (0); -var s = cljs.core.seq(m); -while(true){ -if(s){ -var e = cljs.core.first(s); -var G__10725 = ((h + (cljs.core.hash(cljs.core.key(e)) ^ cljs.core.hash(cljs.core.val(e)))) % (4503599627370496)); -var G__10726 = cljs.core.next(s); -h = G__10725; -s = G__10726; -continue; -} else { -return h; -} -break; -} -}); -cljs.core.hash_iset = (function cljs$core$hash_iset(s){ -var h = (0); -var s__$1 = cljs.core.seq(s); -while(true){ -if(s__$1){ -var e = cljs.core.first(s__$1); -var G__10727 = ((h + cljs.core.hash(e)) % (4503599627370496)); -var G__10728 = cljs.core.next(s__$1); -h = G__10727; -s__$1 = G__10728; -continue; -} else { -return h; -} -break; -} -}); - - -/** - * Takes a JavaScript object and a map of names to functions and - * attaches said functions as methods on the object. Any references to - * JavaScript's implicit this (via the this-as macro) will resolve to the - * object that the function is attached. - */ -cljs.core.extend_object_BANG_ = (function cljs$core$extend_object_BANG_(obj,fn_map){ -var seq__10729_10739 = cljs.core.seq(fn_map); -var chunk__10730_10740 = null; -var count__10731_10741 = (0); -var i__10732_10742 = (0); -while(true){ -if((i__10732_10742 < count__10731_10741)){ -var vec__10733_10743 = chunk__10730_10740.cljs$core$IIndexed$_nth$arity$2(null,i__10732_10742); -var key_name_10744 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10733_10743,(0),null); -var f_10745 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10733_10743,(1),null); -var str_name_10746 = cljs.core.name(key_name_10744); -goog.object.set(obj,str_name_10746,f_10745); - - -var G__10747 = seq__10729_10739; -var G__10748 = chunk__10730_10740; -var G__10749 = count__10731_10741; -var G__10750 = (i__10732_10742 + (1)); -seq__10729_10739 = G__10747; -chunk__10730_10740 = G__10748; -count__10731_10741 = G__10749; -i__10732_10742 = G__10750; -continue; -} else { -var temp__4657__auto___10751 = cljs.core.seq(seq__10729_10739); -if(temp__4657__auto___10751){ -var seq__10729_10752__$1 = temp__4657__auto___10751; -if(cljs.core.chunked_seq_QMARK_(seq__10729_10752__$1)){ -var c__8664__auto___10753 = cljs.core.chunk_first(seq__10729_10752__$1); -var G__10754 = cljs.core.chunk_rest(seq__10729_10752__$1); -var G__10755 = c__8664__auto___10753; -var G__10756 = cljs.core.count(c__8664__auto___10753); -var G__10757 = (0); -seq__10729_10739 = G__10754; -chunk__10730_10740 = G__10755; -count__10731_10741 = G__10756; -i__10732_10742 = G__10757; -continue; -} else { -var vec__10736_10758 = cljs.core.first(seq__10729_10752__$1); -var key_name_10759 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10736_10758,(0),null); -var f_10760 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__10736_10758,(1),null); -var str_name_10761 = cljs.core.name(key_name_10759); -goog.object.set(obj,str_name_10761,f_10760); - - -var G__10762 = cljs.core.next(seq__10729_10752__$1); -var G__10763 = null; -var G__10764 = (0); -var G__10765 = (0); -seq__10729_10739 = G__10762; -chunk__10730_10740 = G__10763; -count__10731_10741 = G__10764; -i__10732_10742 = G__10765; -continue; -} -} else { -} -} -break; -} - -return obj; -}); - -/** -* @constructor - * @implements {cljs.core.IList} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ASeq} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IStack} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.List = (function (meta,first,rest,count,__hash){ -this.meta = meta; -this.first = first; -this.rest = rest; -this.count = count; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 65937646; -this.cljs$lang$protocol_mask$partition1$ = 8192; -}); -cljs.core.List.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.List.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.List.prototype.indexOf = (function() { -var G__10766 = null; -var G__10766__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__10766__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10766 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10766__1.call(this,x); -case 2: -return G__10766__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10766.cljs$core$IFn$_invoke$arity$1 = G__10766__1; -G__10766.cljs$core$IFn$_invoke$arity$2 = G__10766__2; -return G__10766; -})() -; - -cljs.core.List.prototype.lastIndexOf = (function() { -var G__10767 = null; -var G__10767__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,self__.count); -}); -var G__10767__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10767 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10767__1.call(this,x); -case 2: -return G__10767__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10767.cljs$core$IFn$_invoke$arity$1 = G__10767__1; -G__10767.cljs$core$IFn$_invoke$arity$2 = G__10767__2; -return G__10767; -})() -; - -cljs.core.List.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.List.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.List(self__.meta,self__.first,self__.rest,self__.count,self__.__hash)); -}); - -cljs.core.List.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.count === (1))){ -return null; -} else { -return self__.rest; -} -}); - -cljs.core.List.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.count; -}); - -cljs.core.List.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.first; -}); - -cljs.core.List.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ISeq$_rest$arity$1(null); -}); - -cljs.core.List.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.List.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.List.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.List.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.List.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.List.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.first; -}); - -cljs.core.List.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.count === (1))){ -return cljs.core.List.EMPTY; -} else { -return self__.rest; -} -}); - -cljs.core.List.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.List.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.List(meta__$1,self__.first,self__.rest,self__.count,self__.__hash)); -}); - -cljs.core.List.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.List(self__.meta,o,coll__$1,(self__.count + (1)),null)); -}); - -cljs.core.List.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"first","first",996428481,null),new cljs.core.Symbol(null,"rest","rest",398835108,null),new cljs.core.Symbol(null,"count","count",-514511684,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.List.cljs$lang$type = true; - -cljs.core.List.cljs$lang$ctorStr = "cljs.core/List"; - -cljs.core.List.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/List"); -}); - -/** - * Positional factory function for cljs.core/List. - */ -cljs.core.__GT_List = (function cljs$core$__GT_List(meta,first,rest,count,__hash){ -return (new cljs.core.List(meta,first,rest,count,__hash)); -}); - -/** - * Returns true if x implements IList - */ -cljs.core.list_QMARK_ = (function cljs$core$list_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (33554432))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IList$)))){ -return true; -} else { -if((!x.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IList,x); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IList,x); -} -}); -var G__10769_10772 = cljs.core.List.prototype; -var G__10770_10773 = cljs.core.ITER_SYMBOL; -var G__10771_10774 = ((function (G__10769_10772,G__10770_10773){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__10769_10772,G__10770_10773)) -; -goog.object.set(G__10769_10772,G__10770_10773,G__10771_10774); - -/** -* @constructor - * @implements {cljs.core.IList} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IStack} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.EmptyList = (function (meta){ -this.meta = meta; -this.cljs$lang$protocol_mask$partition0$ = 65937614; -this.cljs$lang$protocol_mask$partition1$ = 8192; -}); -cljs.core.EmptyList.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.EmptyList.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.EmptyList.prototype.indexOf = (function() { -var G__10775 = null; -var G__10775__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__10775__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10775 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10775__1.call(this,x); -case 2: -return G__10775__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10775.cljs$core$IFn$_invoke$arity$1 = G__10775__1; -G__10775.cljs$core$IFn$_invoke$arity$2 = G__10775__2; -return G__10775; -})() -; - -cljs.core.EmptyList.prototype.lastIndexOf = (function() { -var G__10776 = null; -var G__10776__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__10776__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10776 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10776__1.call(this,x); -case 2: -return G__10776__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10776.cljs$core$IFn$_invoke$arity$1 = G__10776__1; -G__10776.cljs$core$IFn$_invoke$arity$2 = G__10776__2; -return G__10776; -})() -; - -cljs.core.EmptyList.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.EmptyList.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.EmptyList(self__.meta)); -}); - -cljs.core.EmptyList.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return null; -}); - -cljs.core.EmptyList.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (0); -}); - -cljs.core.EmptyList.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return null; -}); - -cljs.core.EmptyList.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -throw (new Error("Can't pop empty list")); -}); - -cljs.core.EmptyList.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.empty_ordered_hash; -}); - -cljs.core.EmptyList.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -if(((cljs.core.list_QMARK_(other)) || (cljs.core.sequential_QMARK_(other)))){ -return (cljs.core.seq(other) == null); -} else { -return false; -} -}); - -cljs.core.EmptyList.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.EmptyList.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.EmptyList.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.EmptyList.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return null; -}); - -cljs.core.EmptyList.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.List.EMPTY; -}); - -cljs.core.EmptyList.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return null; -}); - -cljs.core.EmptyList.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.EmptyList(meta__$1)); -}); - -cljs.core.EmptyList.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.List(self__.meta,o,null,(1),null)); -}); - -cljs.core.EmptyList.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); -}); - -cljs.core.EmptyList.cljs$lang$type = true; - -cljs.core.EmptyList.cljs$lang$ctorStr = "cljs.core/EmptyList"; - -cljs.core.EmptyList.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/EmptyList"); -}); - -/** - * Positional factory function for cljs.core/EmptyList. - */ -cljs.core.__GT_EmptyList = (function cljs$core$__GT_EmptyList(meta){ -return (new cljs.core.EmptyList(meta)); -}); - -cljs.core.List.EMPTY = (new cljs.core.EmptyList(null)); -var G__10777_10780 = cljs.core.EmptyList.prototype; -var G__10778_10781 = cljs.core.ITER_SYMBOL; -var G__10779_10782 = ((function (G__10777_10780,G__10778_10781){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__10777_10780,G__10778_10781)) -; -goog.object.set(G__10777_10780,G__10778_10781,G__10779_10782); -/** - * Returns true if coll satisfies? IReversible. - */ -cljs.core.reversible_QMARK_ = (function cljs$core$reversible_QMARK_(coll){ -if((!((coll == null)))){ -if((((coll.cljs$lang$protocol_mask$partition0$ & (134217728))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IReversible$)))){ -return true; -} else { -if((!coll.cljs$lang$protocol_mask$partition0$)){ -return cljs.core.native_satisfies_QMARK_(cljs.core.IReversible,coll); -} else { -return false; -} -} -} else { -return cljs.core.native_satisfies_QMARK_(cljs.core.IReversible,coll); -} -}); -/** - * Returns, in constant time, a seq of the items in rev (which - * can be a vector or sorted-map), in reverse order. If rev is empty returns nil - */ -cljs.core.rseq = (function cljs$core$rseq(rev){ -return cljs.core._rseq(rev); -}); -/** - * Returns a seq of the items in coll in reverse order. Not lazy. - */ -cljs.core.reverse = (function cljs$core$reverse(coll){ -if(cljs.core.reversible_QMARK_(coll)){ -var or__7806__auto__ = cljs.core.rseq(coll); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return cljs.core.List.EMPTY; -} -} else { -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.conj,cljs.core.List.EMPTY,coll); -} -}); -/** - * Creates a new list containing the items. - */ -cljs.core.list = (function cljs$core$list(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___10785 = arguments.length; -var i__9001__auto___10786 = (0); -while(true){ -if((i__9001__auto___10786 < len__9000__auto___10785)){ -args__9010__auto__.push((arguments[i__9001__auto___10786])); - -var G__10787 = (i__9001__auto___10786 + (1)); -i__9001__auto___10786 = G__10787; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.list.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.list.cljs$core$IFn$_invoke$arity$variadic = (function (xs){ -var arr = (((((xs instanceof cljs.core.IndexedSeq)) && ((xs.i === (0)))))?xs.arr:(function (){var arr = []; -var xs__$1 = xs; -while(true){ -if((!((xs__$1 == null)))){ -arr.push(xs__$1.cljs$core$ISeq$_first$arity$1(null)); - -var G__10788 = xs__$1.cljs$core$INext$_next$arity$1(null); -xs__$1 = G__10788; -continue; -} else { -return arr; -} -break; -} -})()); -var i = arr.length; -var r = cljs.core.List.EMPTY; -while(true){ -if((i > (0))){ -var G__10789 = (i - (1)); -var G__10790 = r.cljs$core$ICollection$_conj$arity$2(null,(arr[(i - (1))])); -i = G__10789; -r = G__10790; -continue; -} else { -return r; -} -break; -} -}); - -cljs.core.list.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.list.cljs$lang$applyTo = (function (seq10784){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq10784)); -}); - - -/** -* @constructor - * @implements {cljs.core.IList} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ASeq} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.Cons = (function (meta,first,rest,__hash){ -this.meta = meta; -this.first = first; -this.rest = rest; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 65929452; -this.cljs$lang$protocol_mask$partition1$ = 8192; -}); -cljs.core.Cons.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.Cons.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.Cons.prototype.indexOf = (function() { -var G__10791 = null; -var G__10791__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__10791__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10791 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10791__1.call(this,x); -case 2: -return G__10791__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10791.cljs$core$IFn$_invoke$arity$1 = G__10791__1; -G__10791.cljs$core$IFn$_invoke$arity$2 = G__10791__2; -return G__10791; -})() -; - -cljs.core.Cons.prototype.lastIndexOf = (function() { -var G__10792 = null; -var G__10792__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__10792__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10792 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10792__1.call(this,x); -case 2: -return G__10792__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10792.cljs$core$IFn$_invoke$arity$1 = G__10792__1; -G__10792.cljs$core$IFn$_invoke$arity$2 = G__10792__2; -return G__10792; -})() -; - -cljs.core.Cons.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.Cons.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.Cons(self__.meta,self__.first,self__.rest,self__.__hash)); -}); - -cljs.core.Cons.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.rest == null)){ -return null; -} else { -return cljs.core.seq(self__.rest); -} -}); - -cljs.core.Cons.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.Cons.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.Cons.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.Cons.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.Cons.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.Cons.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.first; -}); - -cljs.core.Cons.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.rest == null)){ -return cljs.core.List.EMPTY; -} else { -return self__.rest; -} -}); - -cljs.core.Cons.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.Cons.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.Cons(meta__$1,self__.first,self__.rest,self__.__hash)); -}); - -cljs.core.Cons.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.Cons(null,o,coll__$1,null)); -}); - -cljs.core.Cons.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"first","first",996428481,null),new cljs.core.Symbol(null,"rest","rest",398835108,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Cons.cljs$lang$type = true; - -cljs.core.Cons.cljs$lang$ctorStr = "cljs.core/Cons"; - -cljs.core.Cons.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Cons"); -}); - -/** - * Positional factory function for cljs.core/Cons. - */ -cljs.core.__GT_Cons = (function cljs$core$__GT_Cons(meta,first,rest,__hash){ -return (new cljs.core.Cons(meta,first,rest,__hash)); -}); - -var G__10793_10796 = cljs.core.Cons.prototype; -var G__10794_10797 = cljs.core.ITER_SYMBOL; -var G__10795_10798 = ((function (G__10793_10796,G__10794_10797){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__10793_10796,G__10794_10797)) -; -goog.object.set(G__10793_10796,G__10794_10797,G__10795_10798); -/** - * Returns a new seq where x is the first element and coll is the rest. - */ -cljs.core.cons = (function cljs$core$cons(x,coll){ -if((function (){var or__7806__auto__ = (coll == null); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -if((!((coll == null)))){ -if((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$)))){ -return true; -} else { -return false; -} -} else { -return false; -} -} -})()){ -return (new cljs.core.Cons(null,x,coll,null)); -} else { -return (new cljs.core.Cons(null,x,cljs.core.seq(coll),null)); -} -}); -cljs.core.hash_keyword = (function cljs$core$hash_keyword(k){ -return ((cljs.core.hash_symbol(k) + (2654435769)) | (0)); -}); -cljs.core.compare_keywords = (function cljs$core$compare_keywords(a,b){ -if((a.fqn === b.fqn)){ -return (0); -} else { -if(cljs.core.truth_((function (){var and__7791__auto__ = cljs.core.not(a.ns); -if(and__7791__auto__){ -return b.ns; -} else { -return and__7791__auto__; -} -})())){ -return (-1); -} else { -if(cljs.core.truth_(a.ns)){ -if(cljs.core.not(b.ns)){ -return (1); -} else { -var nsc = (function (){var G__10801 = a.ns; -var G__10802 = b.ns; -return goog.array.defaultCompare(G__10801,G__10802); -})(); -if(((0) === nsc)){ -var G__10803 = a.name; -var G__10804 = b.name; -return goog.array.defaultCompare(G__10803,G__10804); -} else { -return nsc; -} -} -} else { -var G__10805 = a.name; -var G__10806 = b.name; -return goog.array.defaultCompare(G__10805,G__10806); - -} -} -} -}); - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.INamed} - * @implements {cljs.core.IPrintWithWriter} -*/ -cljs.core.Keyword = (function (ns,name,fqn,_hash){ -this.ns = ns; -this.name = name; -this.fqn = fqn; -this._hash = _hash; -this.cljs$lang$protocol_mask$partition0$ = 2153775105; -this.cljs$lang$protocol_mask$partition1$ = 4096; -}); -cljs.core.Keyword.prototype.toString = (function (){ -var self__ = this; -var _ = this; -return [":",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.fqn)].join(''); -}); - -cljs.core.Keyword.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.Keyword.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (_,other){ -var self__ = this; -var ___$1 = this; -if((other instanceof cljs.core.Keyword)){ -return (self__.fqn === other.fqn); -} else { -return false; -} -}); - -cljs.core.Keyword.prototype.call = (function() { -var G__10808 = null; -var G__10808__2 = (function (self__,coll){ -var self__ = this; -var self____$1 = this; -var kw = self____$1; -return cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,kw); -}); -var G__10808__3 = (function (self__,coll,not_found){ -var self__ = this; -var self____$1 = this; -var kw = self____$1; -return cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,kw,not_found); -}); -G__10808 = function(self__,coll,not_found){ -switch(arguments.length){ -case 2: -return G__10808__2.call(this,self__,coll); -case 3: -return G__10808__3.call(this,self__,coll,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__10808.cljs$core$IFn$_invoke$arity$2 = G__10808__2; -G__10808.cljs$core$IFn$_invoke$arity$3 = G__10808__3; -return G__10808; -})() -; - -cljs.core.Keyword.prototype.apply = (function (self__,args10807){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args10807))); -}); - -cljs.core.Keyword.prototype.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -var self__ = this; -var kw = this; -return cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,kw); -}); - -cljs.core.Keyword.prototype.cljs$core$IFn$_invoke$arity$2 = (function (coll,not_found){ -var self__ = this; -var kw = this; -return cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,kw,not_found); -}); - -cljs.core.Keyword.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -var h__8266__auto__ = self__._hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_keyword(this$__$1); -self__._hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.Keyword.prototype.cljs$core$INamed$_name$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.name; -}); - -cljs.core.Keyword.prototype.cljs$core$INamed$_namespace$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.ns; -}); - -cljs.core.Keyword.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (o,writer,_){ -var self__ = this; -var o__$1 = this; -return cljs.core._write(writer,[":",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.fqn)].join('')); -}); - -cljs.core.Keyword.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"ns","ns",2082130287,null),new cljs.core.Symbol(null,"name","name",-810760592,null),new cljs.core.Symbol(null,"fqn","fqn",-1749334463,null),cljs.core.with_meta(new cljs.core.Symbol(null,"_hash","_hash",-2130838312,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Keyword.cljs$lang$type = true; - -cljs.core.Keyword.cljs$lang$ctorStr = "cljs.core/Keyword"; - -cljs.core.Keyword.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Keyword"); -}); - -/** - * Positional factory function for cljs.core/Keyword. - */ -cljs.core.__GT_Keyword = (function cljs$core$__GT_Keyword(ns,name,fqn,_hash){ -return (new cljs.core.Keyword(ns,name,fqn,_hash)); -}); - -/** - * Return true if x is a Keyword - */ -cljs.core.keyword_QMARK_ = (function cljs$core$keyword_QMARK_(x){ -return (x instanceof cljs.core.Keyword); -}); -/** - * Efficient test to determine that two keywords are identical. - */ -cljs.core.keyword_identical_QMARK_ = (function cljs$core$keyword_identical_QMARK_(x,y){ -if((x === y)){ -return true; -} else { -if((((x instanceof cljs.core.Keyword)) && ((y instanceof cljs.core.Keyword)))){ -return (x.fqn === y.fqn); -} else { -return false; -} -} -}); -/** - * Efficient test to determine that two symbols are identical. - */ -cljs.core.symbol_identical_QMARK_ = (function cljs$core$symbol_identical_QMARK_(x,y){ -if((x === y)){ -return true; -} else { -if((((x instanceof cljs.core.Symbol)) && ((y instanceof cljs.core.Symbol)))){ -return (x.str === y.str); -} else { -return false; -} -} -}); -/** - * Returns the namespace String of a symbol or keyword, or nil if not present. - */ -cljs.core.namespace = (function cljs$core$namespace(x){ -if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition1$ & (4096))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$INamed$))))?true:false):false)){ -return x.cljs$core$INamed$_namespace$arity$1(null); -} else { -throw (new Error(["Doesn't support namespace: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join(''))); -} -}); -/** - * Return true if x is a symbol or keyword - */ -cljs.core.ident_QMARK_ = (function cljs$core$ident_QMARK_(x){ -return (((x instanceof cljs.core.Keyword)) || ((x instanceof cljs.core.Symbol))); -}); -/** - * Return true if x is a symbol or keyword without a namespace - */ -cljs.core.simple_ident_QMARK_ = (function cljs$core$simple_ident_QMARK_(x){ -return ((cljs.core.ident_QMARK_(x)) && ((cljs.core.namespace(x) == null))); -}); -/** - * Return true if x is a symbol or keyword with a namespace - */ -cljs.core.qualified_ident_QMARK_ = (function cljs$core$qualified_ident_QMARK_(x){ -return cljs.core.boolean$((function (){var and__7791__auto__ = cljs.core.ident_QMARK_(x); -if(and__7791__auto__){ -var and__7791__auto____$1 = cljs.core.namespace(x); -if(cljs.core.truth_(and__7791__auto____$1)){ -return true; -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -})()); -}); -/** - * Return true if x is a symbol without a namespace - */ -cljs.core.simple_symbol_QMARK_ = (function cljs$core$simple_symbol_QMARK_(x){ -return (((x instanceof cljs.core.Symbol)) && ((cljs.core.namespace(x) == null))); -}); -/** - * Return true if x is a symbol with a namespace - */ -cljs.core.qualified_symbol_QMARK_ = (function cljs$core$qualified_symbol_QMARK_(x){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (x instanceof cljs.core.Symbol); -if(and__7791__auto__){ -var and__7791__auto____$1 = cljs.core.namespace(x); -if(cljs.core.truth_(and__7791__auto____$1)){ -return true; -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -})()); -}); -/** - * Return true if x is a keyword without a namespace - */ -cljs.core.simple_keyword_QMARK_ = (function cljs$core$simple_keyword_QMARK_(x){ -return (((x instanceof cljs.core.Keyword)) && ((cljs.core.namespace(x) == null))); -}); -/** - * Return true if x is a keyword with a namespace - */ -cljs.core.qualified_keyword_QMARK_ = (function cljs$core$qualified_keyword_QMARK_(x){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (x instanceof cljs.core.Keyword); -if(and__7791__auto__){ -var and__7791__auto____$1 = cljs.core.namespace(x); -if(cljs.core.truth_(and__7791__auto____$1)){ -return true; -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -})()); -}); -/** - * Returns a Keyword with the given namespace and name. Do not use : - * in the keyword strings, it will be added automatically. - */ -cljs.core.keyword = (function cljs$core$keyword(var_args){ -var G__10811 = arguments.length; -switch (G__10811) { -case 1: -return cljs.core.keyword.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.keyword.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.keyword.cljs$core$IFn$_invoke$arity$1 = (function (name){ -if((name instanceof cljs.core.Keyword)){ -return name; -} else { -if((name instanceof cljs.core.Symbol)){ -return (new cljs.core.Keyword(cljs.core.namespace(name),cljs.core.name(name),name.str,null)); -} else { -if(typeof name === 'string'){ -var parts = name.split("/"); -if((parts.length === (2))){ -return (new cljs.core.Keyword((parts[(0)]),(parts[(1)]),name,null)); -} else { -return (new cljs.core.Keyword(null,(parts[(0)]),name,null)); -} -} else { -return null; -} -} -} -}); - -cljs.core.keyword.cljs$core$IFn$_invoke$arity$2 = (function (ns,name){ -var ns__$1 = (((ns instanceof cljs.core.Keyword))?cljs.core.name(ns):(((ns instanceof cljs.core.Symbol))?cljs.core.name(ns):ns -)); -var name__$1 = (((name instanceof cljs.core.Keyword))?cljs.core.name(name):(((name instanceof cljs.core.Symbol))?cljs.core.name(name):name -)); -return (new cljs.core.Keyword(ns__$1,name__$1,[cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(ns__$1)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns__$1),"/"].join(''):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(name__$1)].join(''),null)); -}); - -cljs.core.keyword.cljs$lang$maxFixedArity = 2; - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IPending} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.LazySeq = (function (meta,fn,s,__hash){ -this.meta = meta; -this.fn = fn; -this.s = s; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 32374988; -this.cljs$lang$protocol_mask$partition1$ = 1; -}); -cljs.core.LazySeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.LazySeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.LazySeq.prototype.sval = (function (){ -var self__ = this; -var coll = this; -if((self__.fn == null)){ -return self__.s; -} else { -self__.s = (self__.fn.cljs$core$IFn$_invoke$arity$0 ? self__.fn.cljs$core$IFn$_invoke$arity$0() : self__.fn.call(null)); - -self__.fn = null; - -return self__.s; -} -}); - -cljs.core.LazySeq.prototype.indexOf = (function() { -var G__10813 = null; -var G__10813__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__10813__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10813 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10813__1.call(this,x); -case 2: -return G__10813__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10813.cljs$core$IFn$_invoke$arity$1 = G__10813__1; -G__10813.cljs$core$IFn$_invoke$arity$2 = G__10813__2; -return G__10813; -})() -; - -cljs.core.LazySeq.prototype.lastIndexOf = (function() { -var G__10814 = null; -var G__10814__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__10814__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10814 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10814__1.call(this,x); -case 2: -return G__10814__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10814.cljs$core$IFn$_invoke$arity$1 = G__10814__1; -G__10814.cljs$core$IFn$_invoke$arity$2 = G__10814__2; -return G__10814; -})() -; - -cljs.core.LazySeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.LazySeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -coll__$1.cljs$core$ISeqable$_seq$arity$1(null); - -if((self__.s == null)){ -return null; -} else { -return cljs.core.next(self__.s); -} -}); - -cljs.core.LazySeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.LazySeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.LazySeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.LazySeq.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.not(self__.fn); -}); - -cljs.core.LazySeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.LazySeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.LazySeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -coll__$1.cljs$core$ISeqable$_seq$arity$1(null); - -if((self__.s == null)){ -return null; -} else { -return cljs.core.first(self__.s); -} -}); - -cljs.core.LazySeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -coll__$1.cljs$core$ISeqable$_seq$arity$1(null); - -if((!((self__.s == null)))){ -return cljs.core.rest(self__.s); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.LazySeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -coll__$1.sval(); - -if((self__.s == null)){ -return null; -} else { -var ls = self__.s; -while(true){ -if((ls instanceof cljs.core.LazySeq)){ -var G__10815 = ls.sval(); -ls = G__10815; -continue; -} else { -self__.s = ls; - -return cljs.core.seq(self__.s); -} -break; -} -} -}); - -cljs.core.LazySeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.LazySeq(meta__$1,((function (coll__$1){ -return (function (){ -return coll__$1.cljs$core$ISeqable$_seq$arity$1(null); -});})(coll__$1)) -,null,self__.__hash)); -}); - -cljs.core.LazySeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.LazySeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),cljs.core.with_meta(new cljs.core.Symbol(null,"fn","fn",465265323,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"s","s",-948495851,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.LazySeq.cljs$lang$type = true; - -cljs.core.LazySeq.cljs$lang$ctorStr = "cljs.core/LazySeq"; - -cljs.core.LazySeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/LazySeq"); -}); - -/** - * Positional factory function for cljs.core/LazySeq. - */ -cljs.core.__GT_LazySeq = (function cljs$core$__GT_LazySeq(meta,fn,s,__hash){ -return (new cljs.core.LazySeq(meta,fn,s,__hash)); -}); - -var G__10816_10819 = cljs.core.LazySeq.prototype; -var G__10817_10820 = cljs.core.ITER_SYMBOL; -var G__10818_10821 = ((function (G__10816_10819,G__10817_10820){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__10816_10819,G__10817_10820)) -; -goog.object.set(G__10816_10819,G__10817_10820,G__10818_10821); - -/** -* @constructor - * @implements {cljs.core.ICounted} -*/ -cljs.core.ChunkBuffer = (function (buf,end){ -this.buf = buf; -this.end = end; -this.cljs$lang$protocol_mask$partition0$ = 2; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.ChunkBuffer.prototype.add = (function (o){ -var self__ = this; -var _ = this; -(self__.buf[self__.end] = o); - -return self__.end = (self__.end + (1)); -}); - -cljs.core.ChunkBuffer.prototype.chunk = (function (){ -var self__ = this; -var _ = this; -var ret = (new cljs.core.ArrayChunk(self__.buf,(0),self__.end)); -self__.buf = null; - -return ret; -}); - -cljs.core.ChunkBuffer.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.end; -}); - -cljs.core.ChunkBuffer.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"buf","buf",1426618187,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"end","end",1372345569,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ChunkBuffer.cljs$lang$type = true; - -cljs.core.ChunkBuffer.cljs$lang$ctorStr = "cljs.core/ChunkBuffer"; - -cljs.core.ChunkBuffer.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ChunkBuffer"); -}); - -/** - * Positional factory function for cljs.core/ChunkBuffer. - */ -cljs.core.__GT_ChunkBuffer = (function cljs$core$__GT_ChunkBuffer(buf,end){ -return (new cljs.core.ChunkBuffer(buf,end)); -}); - -cljs.core.chunk_buffer = (function cljs$core$chunk_buffer(capacity){ -return (new cljs.core.ChunkBuffer((new Array(capacity)),(0))); -}); - -/** -* @constructor - * @implements {cljs.core.IIndexed} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.IChunk} - * @implements {cljs.core.IReduce} -*/ -cljs.core.ArrayChunk = (function (arr,off,end){ -this.arr = arr; -this.off = off; -this.end = end; -this.cljs$lang$protocol_mask$partition0$ = 524306; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.ArrayChunk.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (self__.end - self__.off); -}); - -cljs.core.ArrayChunk.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,i){ -var self__ = this; -var coll__$1 = this; -return (self__.arr[(self__.off + i)]); -}); - -cljs.core.ArrayChunk.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,i,not_found){ -var self__ = this; -var coll__$1 = this; -if((((i >= (0))) && ((i < (self__.end - self__.off))))){ -return (self__.arr[(self__.off + i)]); -} else { -return not_found; -} -}); - -cljs.core.ArrayChunk.prototype.cljs$core$IChunk$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.ArrayChunk.prototype.cljs$core$IChunk$_drop_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.off === self__.end)){ -throw (new Error("-drop-first of empty chunk")); -} else { -return (new cljs.core.ArrayChunk(self__.arr,(self__.off + (1)),self__.end)); -} -}); - -cljs.core.ArrayChunk.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,(self__.arr[self__.off]),(self__.off + (1))); -}); - -cljs.core.ArrayChunk.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,start,self__.off); -}); - -cljs.core.ArrayChunk.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.Symbol(null,"off","off",-2047994980,null),new cljs.core.Symbol(null,"end","end",1372345569,null)], null); -}); - -cljs.core.ArrayChunk.cljs$lang$type = true; - -cljs.core.ArrayChunk.cljs$lang$ctorStr = "cljs.core/ArrayChunk"; - -cljs.core.ArrayChunk.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ArrayChunk"); -}); - -/** - * Positional factory function for cljs.core/ArrayChunk. - */ -cljs.core.__GT_ArrayChunk = (function cljs$core$__GT_ArrayChunk(arr,off,end){ -return (new cljs.core.ArrayChunk(arr,off,end)); -}); - -cljs.core.array_chunk = (function cljs$core$array_chunk(var_args){ -var G__10823 = arguments.length; -switch (G__10823) { -case 1: -return cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$1 = (function (arr){ -return (new cljs.core.ArrayChunk(arr,(0),arr.length)); -}); - -cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2 = (function (arr,off){ -return (new cljs.core.ArrayChunk(arr,off,arr.length)); -}); - -cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$3 = (function (arr,off,end){ -return (new cljs.core.ArrayChunk(arr,off,end)); -}); - -cljs.core.array_chunk.cljs$lang$maxFixedArity = 3; - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ASeq} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IChunkedNext} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.IChunkedSeq} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} -*/ -cljs.core.ChunkedCons = (function (chunk,more,meta,__hash){ -this.chunk = chunk; -this.more = more; -this.meta = meta; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 31850732; -this.cljs$lang$protocol_mask$partition1$ = 1536; -}); -cljs.core.ChunkedCons.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.ChunkedCons.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.ChunkedCons.prototype.indexOf = (function() { -var G__10825 = null; -var G__10825__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__10825__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10825 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10825__1.call(this,x); -case 2: -return G__10825__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10825.cljs$core$IFn$_invoke$arity$1 = G__10825__1; -G__10825.cljs$core$IFn$_invoke$arity$2 = G__10825__2; -return G__10825; -})() -; - -cljs.core.ChunkedCons.prototype.lastIndexOf = (function() { -var G__10826 = null; -var G__10826__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__10826__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__10826 = function(x,start){ -switch(arguments.length){ -case 1: -return G__10826__1.call(this,x); -case 2: -return G__10826__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__10826.cljs$core$IFn$_invoke$arity$1 = G__10826__1; -G__10826.cljs$core$IFn$_invoke$arity$2 = G__10826__2; -return G__10826; -})() -; - -cljs.core.ChunkedCons.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.ChunkedCons.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((cljs.core._count(self__.chunk) > (1))){ -return (new cljs.core.ChunkedCons(cljs.core._drop_first(self__.chunk),self__.more,self__.meta,null)); -} else { -if((self__.more == null)){ -return null; -} else { -return cljs.core._seq(self__.more); -} -} -}); - -cljs.core.ChunkedCons.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.ChunkedCons.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.ChunkedCons.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.ChunkedCons.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._nth.cljs$core$IFn$_invoke$arity$2(self__.chunk,(0)); -}); - -cljs.core.ChunkedCons.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((cljs.core._count(self__.chunk) > (1))){ -return (new cljs.core.ChunkedCons(cljs.core._drop_first(self__.chunk),self__.more,self__.meta,null)); -} else { -if((self__.more == null)){ -return cljs.core.List.EMPTY; -} else { -return self__.more; -} -} -}); - -cljs.core.ChunkedCons.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.ChunkedCons.prototype.cljs$core$IChunkedSeq$_chunked_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.chunk; -}); - -cljs.core.ChunkedCons.prototype.cljs$core$IChunkedSeq$_chunked_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.more == null)){ -return cljs.core.List.EMPTY; -} else { -return self__.more; -} -}); - -cljs.core.ChunkedCons.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,m){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.ChunkedCons(self__.chunk,self__.more,m,self__.__hash)); -}); - -cljs.core.ChunkedCons.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this$,o){ -var self__ = this; -var this$__$1 = this; -return cljs.core.cons(o,this$__$1); -}); - -cljs.core.ChunkedCons.prototype.cljs$core$IChunkedNext$_chunked_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.more == null)){ -return null; -} else { -return self__.more; -} -}); - -cljs.core.ChunkedCons.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"chunk","chunk",449371907,null),new cljs.core.Symbol(null,"more","more",-418290273,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ChunkedCons.cljs$lang$type = true; - -cljs.core.ChunkedCons.cljs$lang$ctorStr = "cljs.core/ChunkedCons"; - -cljs.core.ChunkedCons.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ChunkedCons"); -}); - -/** - * Positional factory function for cljs.core/ChunkedCons. - */ -cljs.core.__GT_ChunkedCons = (function cljs$core$__GT_ChunkedCons(chunk,more,meta,__hash){ -return (new cljs.core.ChunkedCons(chunk,more,meta,__hash)); -}); - -var G__10827_10830 = cljs.core.ChunkedCons.prototype; -var G__10828_10831 = cljs.core.ITER_SYMBOL; -var G__10829_10832 = ((function (G__10827_10830,G__10828_10831){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__10827_10830,G__10828_10831)) -; -goog.object.set(G__10827_10830,G__10828_10831,G__10829_10832); -cljs.core.chunk_cons = (function cljs$core$chunk_cons(chunk,rest){ -if((cljs.core._count(chunk) === (0))){ -return rest; -} else { -return (new cljs.core.ChunkedCons(chunk,rest,null,null)); -} -}); -cljs.core.chunk_append = (function cljs$core$chunk_append(b,x){ -return b.add(x); -}); -cljs.core.chunk = (function cljs$core$chunk(b){ -return b.chunk(); -}); -cljs.core.chunk_first = (function cljs$core$chunk_first(s){ -return cljs.core._chunked_first(s); -}); -cljs.core.chunk_rest = (function cljs$core$chunk_rest(s){ -return cljs.core._chunked_rest(s); -}); -cljs.core.chunk_next = (function cljs$core$chunk_next(s){ -if((((!((s == null))))?(((((s.cljs$lang$protocol_mask$partition1$ & (1024))) || ((cljs.core.PROTOCOL_SENTINEL === s.cljs$core$IChunkedNext$))))?true:false):false)){ -return cljs.core._chunked_next(s); -} else { -return cljs.core.seq(cljs.core._chunked_rest(s)); -} -}); -/** - * Returns an array containing the contents of coll. - */ -cljs.core.to_array = (function cljs$core$to_array(coll){ -var ary = []; -var s = cljs.core.seq(coll); -while(true){ -if((!((s == null)))){ -ary.push(cljs.core.first(s)); - -var G__10834 = cljs.core.next(s); -s = G__10834; -continue; -} else { -return ary; -} -break; -} -}); -/** - * Returns a (potentially-ragged) 2-dimensional array - * containing the contents of coll. - */ -cljs.core.to_array_2d = (function cljs$core$to_array_2d(coll){ -var ret = (new Array(cljs.core.count(coll))); -var i_10835 = (0); -var xs_10836 = cljs.core.seq(coll); -while(true){ -if((xs_10836 == null)){ -} else { -(ret[i_10835] = cljs.core.to_array(cljs.core.first(xs_10836))); - -var G__10837 = (i_10835 + (1)); -var G__10838 = cljs.core.next(xs_10836); -i_10835 = G__10837; -xs_10836 = G__10838; -continue; -} -break; -} - -return ret; -}); -/** - * Creates an array of ints. Does not coerce array, provided for compatibility - * with Clojure. - */ -cljs.core.int_array = (function cljs$core$int_array(var_args){ -var G__10840 = arguments.length; -switch (G__10840) { -case 1: -return cljs.core.int_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.int_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.int_array.cljs$core$IFn$_invoke$arity$1 = (function (size_or_seq){ -if(typeof size_or_seq === 'number'){ -return cljs.core.int_array.cljs$core$IFn$_invoke$arity$2(size_or_seq,null); -} else { -return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(size_or_seq); -} -}); - -cljs.core.int_array.cljs$core$IFn$_invoke$arity$2 = (function (size,init_val_or_seq){ -var a = (new Array(size)); -if(cljs.core.seq_QMARK_(init_val_or_seq)){ -var s = cljs.core.seq(init_val_or_seq); -var i = (0); -var s__$1 = s; -while(true){ -if(((s__$1) && ((i < size)))){ -(a[i] = cljs.core.first(s__$1)); - -var G__10842 = (i + (1)); -var G__10843 = cljs.core.next(s__$1); -i = G__10842; -s__$1 = G__10843; -continue; -} else { -return a; -} -break; -} -} else { -var n__8769__auto___10844 = size; -var i_10845 = (0); -while(true){ -if((i_10845 < n__8769__auto___10844)){ -(a[i_10845] = init_val_or_seq); - -var G__10846 = (i_10845 + (1)); -i_10845 = G__10846; -continue; -} else { -} -break; -} - -return a; -} -}); - -cljs.core.int_array.cljs$lang$maxFixedArity = 2; - -/** - * Creates an array of longs. Does not coerce array, provided for compatibility - * with Clojure. - */ -cljs.core.long_array = (function cljs$core$long_array(var_args){ -var G__10848 = arguments.length; -switch (G__10848) { -case 1: -return cljs.core.long_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.long_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.long_array.cljs$core$IFn$_invoke$arity$1 = (function (size_or_seq){ -if(typeof size_or_seq === 'number'){ -return cljs.core.long_array.cljs$core$IFn$_invoke$arity$2(size_or_seq,null); -} else { -return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(size_or_seq); -} -}); - -cljs.core.long_array.cljs$core$IFn$_invoke$arity$2 = (function (size,init_val_or_seq){ -var a = (new Array(size)); -if(cljs.core.seq_QMARK_(init_val_or_seq)){ -var s = cljs.core.seq(init_val_or_seq); -var i = (0); -var s__$1 = s; -while(true){ -if(((s__$1) && ((i < size)))){ -(a[i] = cljs.core.first(s__$1)); - -var G__10850 = (i + (1)); -var G__10851 = cljs.core.next(s__$1); -i = G__10850; -s__$1 = G__10851; -continue; -} else { -return a; -} -break; -} -} else { -var n__8769__auto___10852 = size; -var i_10853 = (0); -while(true){ -if((i_10853 < n__8769__auto___10852)){ -(a[i_10853] = init_val_or_seq); - -var G__10854 = (i_10853 + (1)); -i_10853 = G__10854; -continue; -} else { -} -break; -} - -return a; -} -}); - -cljs.core.long_array.cljs$lang$maxFixedArity = 2; - -/** - * Creates an array of doubles. Does not coerce array, provided for compatibility - * with Clojure. - */ -cljs.core.double_array = (function cljs$core$double_array(var_args){ -var G__10856 = arguments.length; -switch (G__10856) { -case 1: -return cljs.core.double_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.double_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.double_array.cljs$core$IFn$_invoke$arity$1 = (function (size_or_seq){ -if(typeof size_or_seq === 'number'){ -return cljs.core.double_array.cljs$core$IFn$_invoke$arity$2(size_or_seq,null); -} else { -return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(size_or_seq); -} -}); - -cljs.core.double_array.cljs$core$IFn$_invoke$arity$2 = (function (size,init_val_or_seq){ -var a = (new Array(size)); -if(cljs.core.seq_QMARK_(init_val_or_seq)){ -var s = cljs.core.seq(init_val_or_seq); -var i = (0); -var s__$1 = s; -while(true){ -if(((s__$1) && ((i < size)))){ -(a[i] = cljs.core.first(s__$1)); - -var G__10858 = (i + (1)); -var G__10859 = cljs.core.next(s__$1); -i = G__10858; -s__$1 = G__10859; -continue; -} else { -return a; -} -break; -} -} else { -var n__8769__auto___10860 = size; -var i_10861 = (0); -while(true){ -if((i_10861 < n__8769__auto___10860)){ -(a[i_10861] = init_val_or_seq); - -var G__10862 = (i_10861 + (1)); -i_10861 = G__10862; -continue; -} else { -} -break; -} - -return a; -} -}); - -cljs.core.double_array.cljs$lang$maxFixedArity = 2; - -/** - * Creates an array of objects. Does not coerce array, provided for compatibility - * with Clojure. - */ -cljs.core.object_array = (function cljs$core$object_array(var_args){ -var G__10864 = arguments.length; -switch (G__10864) { -case 1: -return cljs.core.object_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.object_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.object_array.cljs$core$IFn$_invoke$arity$1 = (function (size_or_seq){ -if(typeof size_or_seq === 'number'){ -return cljs.core.object_array.cljs$core$IFn$_invoke$arity$2(size_or_seq,null); -} else { -return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(size_or_seq); -} -}); - -cljs.core.object_array.cljs$core$IFn$_invoke$arity$2 = (function (size,init_val_or_seq){ -var a = (new Array(size)); -if(cljs.core.seq_QMARK_(init_val_or_seq)){ -var s = cljs.core.seq(init_val_or_seq); -var i = (0); -var s__$1 = s; -while(true){ -if(((s__$1) && ((i < size)))){ -(a[i] = cljs.core.first(s__$1)); - -var G__10866 = (i + (1)); -var G__10867 = cljs.core.next(s__$1); -i = G__10866; -s__$1 = G__10867; -continue; -} else { -return a; -} -break; -} -} else { -var n__8769__auto___10868 = size; -var i_10869 = (0); -while(true){ -if((i_10869 < n__8769__auto___10868)){ -(a[i_10869] = init_val_or_seq); - -var G__10870 = (i_10869 + (1)); -i_10869 = G__10870; -continue; -} else { -} -break; -} - -return a; -} -}); - -cljs.core.object_array.cljs$lang$maxFixedArity = 2; - -/** - * If coll is counted? returns its count, else will count at most the first n - * elements of coll using its seq - */ -cljs.core.bounded_count = (function cljs$core$bounded_count(n,coll){ -if(cljs.core.counted_QMARK_(coll)){ -return cljs.core.count(coll); -} else { -var i = (0); -var s = cljs.core.seq(coll); -while(true){ -if((((!((s == null)))) && ((i < n)))){ -var G__10871 = (i + (1)); -var G__10872 = cljs.core.next(s); -i = G__10871; -s = G__10872; -continue; -} else { -return i; -} -break; -} -} -}); -cljs.core.spread = (function cljs$core$spread(arglist){ -if((arglist == null)){ -return null; -} else { -var n = cljs.core.next(arglist); -if((n == null)){ -return cljs.core.seq(cljs.core.first(arglist)); -} else { -return cljs.core.cons(cljs.core.first(arglist),(cljs.core.spread.cljs$core$IFn$_invoke$arity$1 ? cljs.core.spread.cljs$core$IFn$_invoke$arity$1(n) : cljs.core.spread.call(null,n))); -} -} -}); -/** - * Returns a lazy seq representing the concatenation of the elements in the supplied colls. - */ -cljs.core.concat = (function cljs$core$concat(var_args){ -var G__10877 = arguments.length; -switch (G__10877) { -case 0: -return cljs.core.concat.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.concat.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.concat.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10879 = arguments.length; -var i__9001__auto___10880 = (0); -while(true){ -if((i__9001__auto___10880 < len__9000__auto___10879)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10880])); - -var G__10881 = (i__9001__auto___10880 + (1)); -i__9001__auto___10880 = G__10881; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.concat.cljs$core$IFn$_invoke$arity$0 = (function (){ -return (new cljs.core.LazySeq(null,(function (){ -return null; -}),null,null)); -}); - -cljs.core.concat.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return (new cljs.core.LazySeq(null,(function (){ -return x; -}),null,null)); -}); - -cljs.core.concat.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (new cljs.core.LazySeq(null,(function (){ -var s = cljs.core.seq(x); -if(s){ -if(cljs.core.chunked_seq_QMARK_(s)){ -return cljs.core.chunk_cons(cljs.core.chunk_first(s),cljs.core.concat.cljs$core$IFn$_invoke$arity$2(cljs.core.chunk_rest(s),y)); -} else { -return cljs.core.cons(cljs.core.first(s),cljs.core.concat.cljs$core$IFn$_invoke$arity$2(cljs.core.rest(s),y)); -} -} else { -return y; -} -}),null,null)); -}); - -cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,zs){ -var cat = (function cljs$core$cat(xys,zs__$1){ -return (new cljs.core.LazySeq(null,(function (){ -var xys__$1 = cljs.core.seq(xys); -if(xys__$1){ -if(cljs.core.chunked_seq_QMARK_(xys__$1)){ -return cljs.core.chunk_cons(cljs.core.chunk_first(xys__$1),cljs$core$cat(cljs.core.chunk_rest(xys__$1),zs__$1)); -} else { -return cljs.core.cons(cljs.core.first(xys__$1),cljs$core$cat(cljs.core.rest(xys__$1),zs__$1)); -} -} else { -if(cljs.core.truth_(zs__$1)){ -return cljs$core$cat(cljs.core.first(zs__$1),cljs.core.next(zs__$1)); -} else { -return null; -} -} -}),null,null)); -}); -return cat(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(x,y),zs); -}); - -/** @this {Function} */ -cljs.core.concat.cljs$lang$applyTo = (function (seq10874){ -var G__10875 = cljs.core.first(seq10874); -var seq10874__$1 = cljs.core.next(seq10874); -var G__10876 = cljs.core.first(seq10874__$1); -var seq10874__$2 = cljs.core.next(seq10874__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10875,G__10876,seq10874__$2); -}); - -cljs.core.concat.cljs$lang$maxFixedArity = (2); - -/** - * Creates a new list containing the items prepended to the rest, the - * last of which will be treated as a sequence. - */ -cljs.core.list_STAR_ = (function cljs$core$list_STAR_(var_args){ -var G__10888 = arguments.length; -switch (G__10888) { -case 1: -return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10890 = arguments.length; -var i__9001__auto___10891 = (0); -while(true){ -if((i__9001__auto___10891 < len__9000__auto___10890)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10891])); - -var G__10892 = (i__9001__auto___10891 + (1)); -i__9001__auto___10891 = G__10892; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((4)),(0),null)); -return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__9026__auto__); - -} -}); - -cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$1 = (function (args){ -return cljs.core.seq(args); -}); - -cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$2 = (function (a,args){ -return cljs.core.cons(a,args); -}); - -cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3 = (function (a,b,args){ -return cljs.core.cons(a,cljs.core.cons(b,args)); -}); - -cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4 = (function (a,b,c,args){ -return cljs.core.cons(a,cljs.core.cons(b,cljs.core.cons(c,args))); -}); - -cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (a,b,c,d,more){ -return cljs.core.cons(a,cljs.core.cons(b,cljs.core.cons(c,cljs.core.cons(d,cljs.core.spread(more))))); -}); - -/** @this {Function} */ -cljs.core.list_STAR_.cljs$lang$applyTo = (function (seq10883){ -var G__10884 = cljs.core.first(seq10883); -var seq10883__$1 = cljs.core.next(seq10883); -var G__10885 = cljs.core.first(seq10883__$1); -var seq10883__$2 = cljs.core.next(seq10883__$1); -var G__10886 = cljs.core.first(seq10883__$2); -var seq10883__$3 = cljs.core.next(seq10883__$2); -var G__10887 = cljs.core.first(seq10883__$3); -var seq10883__$4 = cljs.core.next(seq10883__$3); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10884,G__10885,G__10886,G__10887,seq10883__$4); -}); - -cljs.core.list_STAR_.cljs$lang$maxFixedArity = (4); - -/** - * Returns a new, transient version of the collection, in constant time. - */ -cljs.core.transient$ = (function cljs$core$transient(coll){ -return cljs.core._as_transient(coll); -}); -/** - * Returns a new, persistent version of the transient collection, in - * constant time. The transient collection cannot be used after this - * call, any such use will throw an exception. - */ -cljs.core.persistent_BANG_ = (function cljs$core$persistent_BANG_(tcoll){ -return cljs.core._persistent_BANG_(tcoll); -}); -/** - * Adds val to the transient collection, and return tcoll. The 'addition' - * may happen at different 'places' depending on the concrete type. - */ -cljs.core.conj_BANG_ = (function cljs$core$conj_BANG_(var_args){ -var G__10897 = arguments.length; -switch (G__10897) { -case 0: -return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10899 = arguments.length; -var i__9001__auto___10900 = (0); -while(true){ -if((i__9001__auto___10900 < len__9000__auto___10899)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10900])); - -var G__10901 = (i__9001__auto___10900 + (1)); -i__9001__auto___10900 = G__10901; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.transient$(cljs.core.PersistentVector.EMPTY); -}); - -cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$1 = (function (tcoll){ -return tcoll; -}); - -cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (tcoll,val){ -return cljs.core._conj_BANG_(tcoll,val); -}); - -cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (tcoll,val,vals){ -while(true){ -var ntcoll = cljs.core._conj_BANG_(tcoll,val); -if(cljs.core.truth_(vals)){ -var G__10902 = ntcoll; -var G__10903 = cljs.core.first(vals); -var G__10904 = cljs.core.next(vals); -tcoll = G__10902; -val = G__10903; -vals = G__10904; -continue; -} else { -return ntcoll; -} -break; -} -}); - -/** @this {Function} */ -cljs.core.conj_BANG_.cljs$lang$applyTo = (function (seq10894){ -var G__10895 = cljs.core.first(seq10894); -var seq10894__$1 = cljs.core.next(seq10894); -var G__10896 = cljs.core.first(seq10894__$1); -var seq10894__$2 = cljs.core.next(seq10894__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10895,G__10896,seq10894__$2); -}); - -cljs.core.conj_BANG_.cljs$lang$maxFixedArity = (2); - -/** - * When applied to a transient map, adds mapping of key(s) to - * val(s). When applied to a transient vector, sets the val at index. - * Note - index must be <= (count vector). Returns coll. - */ -cljs.core.assoc_BANG_ = (function cljs$core$assoc_BANG_(var_args){ -var G__10910 = arguments.length; -switch (G__10910) { -case 3: -return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10912 = arguments.length; -var i__9001__auto___10913 = (0); -while(true){ -if((i__9001__auto___10913 < len__9000__auto___10912)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10913])); - -var G__10914 = (i__9001__auto___10913 + (1)); -i__9001__auto___10913 = G__10914; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (tcoll,key,val){ -return cljs.core._assoc_BANG_(tcoll,key,val); -}); - -cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (tcoll,key,val,kvs){ -while(true){ -var ntcoll = cljs.core._assoc_BANG_(tcoll,key,val); -if(cljs.core.truth_(kvs)){ -var G__10915 = ntcoll; -var G__10916 = cljs.core.first(kvs); -var G__10917 = cljs.core.second(kvs); -var G__10918 = cljs.core.nnext(kvs); -tcoll = G__10915; -key = G__10916; -val = G__10917; -kvs = G__10918; -continue; -} else { -return ntcoll; -} -break; -} -}); - -/** @this {Function} */ -cljs.core.assoc_BANG_.cljs$lang$applyTo = (function (seq10906){ -var G__10907 = cljs.core.first(seq10906); -var seq10906__$1 = cljs.core.next(seq10906); -var G__10908 = cljs.core.first(seq10906__$1); -var seq10906__$2 = cljs.core.next(seq10906__$1); -var G__10909 = cljs.core.first(seq10906__$2); -var seq10906__$3 = cljs.core.next(seq10906__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10907,G__10908,G__10909,seq10906__$3); -}); - -cljs.core.assoc_BANG_.cljs$lang$maxFixedArity = (3); - -/** - * Returns a transient map that doesn't contain a mapping for key(s). - */ -cljs.core.dissoc_BANG_ = (function cljs$core$dissoc_BANG_(var_args){ -var G__10923 = arguments.length; -switch (G__10923) { -case 2: -return cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10925 = arguments.length; -var i__9001__auto___10926 = (0); -while(true){ -if((i__9001__auto___10926 < len__9000__auto___10925)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10926])); - -var G__10927 = (i__9001__auto___10926 + (1)); -i__9001__auto___10926 = G__10927; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (tcoll,key){ -return cljs.core._dissoc_BANG_(tcoll,key); -}); - -cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (tcoll,key,ks){ -while(true){ -var ntcoll = cljs.core._dissoc_BANG_(tcoll,key); -if(cljs.core.truth_(ks)){ -var G__10928 = ntcoll; -var G__10929 = cljs.core.first(ks); -var G__10930 = cljs.core.next(ks); -tcoll = G__10928; -key = G__10929; -ks = G__10930; -continue; -} else { -return ntcoll; -} -break; -} -}); - -/** @this {Function} */ -cljs.core.dissoc_BANG_.cljs$lang$applyTo = (function (seq10920){ -var G__10921 = cljs.core.first(seq10920); -var seq10920__$1 = cljs.core.next(seq10920); -var G__10922 = cljs.core.first(seq10920__$1); -var seq10920__$2 = cljs.core.next(seq10920__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10921,G__10922,seq10920__$2); -}); - -cljs.core.dissoc_BANG_.cljs$lang$maxFixedArity = (2); - -/** - * Removes the last item from a transient vector. If - * the collection is empty, throws an exception. Returns tcoll - */ -cljs.core.pop_BANG_ = (function cljs$core$pop_BANG_(tcoll){ -return cljs.core._pop_BANG_(tcoll); -}); -/** - * disj[oin]. Returns a transient set of the same (hashed/sorted) type, that - * does not contain key(s). - */ -cljs.core.disj_BANG_ = (function cljs$core$disj_BANG_(var_args){ -var G__10935 = arguments.length; -switch (G__10935) { -case 2: -return cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10937 = arguments.length; -var i__9001__auto___10938 = (0); -while(true){ -if((i__9001__auto___10938 < len__9000__auto___10937)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10938])); - -var G__10939 = (i__9001__auto___10938 + (1)); -i__9001__auto___10938 = G__10939; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (tcoll,val){ -return cljs.core._disjoin_BANG_(tcoll,val); -}); - -cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (tcoll,val,vals){ -while(true){ -var ntcoll = cljs.core._disjoin_BANG_(tcoll,val); -if(cljs.core.truth_(vals)){ -var G__10940 = ntcoll; -var G__10941 = cljs.core.first(vals); -var G__10942 = cljs.core.next(vals); -tcoll = G__10940; -val = G__10941; -vals = G__10942; -continue; -} else { -return ntcoll; -} -break; -} -}); - -/** @this {Function} */ -cljs.core.disj_BANG_.cljs$lang$applyTo = (function (seq10932){ -var G__10933 = cljs.core.first(seq10932); -var seq10932__$1 = cljs.core.next(seq10932); -var G__10934 = cljs.core.first(seq10932__$1); -var seq10932__$2 = cljs.core.next(seq10932__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10933,G__10934,seq10932__$2); -}); - -cljs.core.disj_BANG_.cljs$lang$maxFixedArity = (2); - - -cljs.core.apply_to = (function cljs$core$apply_to(f,argc,args){ -var args__$1 = cljs.core.seq(args); -if((argc === (0))){ -return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); -} else { -var a8813 = cljs.core._first(args__$1); -var args__$2 = cljs.core._rest(args__$1); -if((argc === (1))){ -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(a8813) : f.call(null,a8813)); -} else { -var b8814 = cljs.core._first(args__$2); -var args__$3 = cljs.core._rest(args__$2); -if((argc === (2))){ -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(a8813,b8814) : f.call(null,a8813,b8814)); -} else { -var c8815 = cljs.core._first(args__$3); -var args__$4 = cljs.core._rest(args__$3); -if((argc === (3))){ -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(a8813,b8814,c8815) : f.call(null,a8813,b8814,c8815)); -} else { -var d8816 = cljs.core._first(args__$4); -var args__$5 = cljs.core._rest(args__$4); -if((argc === (4))){ -return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(a8813,b8814,c8815,d8816) : f.call(null,a8813,b8814,c8815,d8816)); -} else { -var e8817 = cljs.core._first(args__$5); -var args__$6 = cljs.core._rest(args__$5); -if((argc === (5))){ -return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(a8813,b8814,c8815,d8816,e8817) : f.call(null,a8813,b8814,c8815,d8816,e8817)); -} else { -var f8818 = cljs.core._first(args__$6); -var args__$7 = cljs.core._rest(args__$6); -if((argc === (6))){ -return (f.cljs$core$IFn$_invoke$arity$6 ? f.cljs$core$IFn$_invoke$arity$6(a8813,b8814,c8815,d8816,e8817,f8818) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818)); -} else { -var g8819 = cljs.core._first(args__$7); -var args__$8 = cljs.core._rest(args__$7); -if((argc === (7))){ -return (f.cljs$core$IFn$_invoke$arity$7 ? f.cljs$core$IFn$_invoke$arity$7(a8813,b8814,c8815,d8816,e8817,f8818,g8819) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819)); -} else { -var h8820 = cljs.core._first(args__$8); -var args__$9 = cljs.core._rest(args__$8); -if((argc === (8))){ -return (f.cljs$core$IFn$_invoke$arity$8 ? f.cljs$core$IFn$_invoke$arity$8(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820)); -} else { -var i8821 = cljs.core._first(args__$9); -var args__$10 = cljs.core._rest(args__$9); -if((argc === (9))){ -return (f.cljs$core$IFn$_invoke$arity$9 ? f.cljs$core$IFn$_invoke$arity$9(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821)); -} else { -var j8822 = cljs.core._first(args__$10); -var args__$11 = cljs.core._rest(args__$10); -if((argc === (10))){ -return (f.cljs$core$IFn$_invoke$arity$10 ? f.cljs$core$IFn$_invoke$arity$10(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822)); -} else { -var k8823 = cljs.core._first(args__$11); -var args__$12 = cljs.core._rest(args__$11); -if((argc === (11))){ -return (f.cljs$core$IFn$_invoke$arity$11 ? f.cljs$core$IFn$_invoke$arity$11(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823)); -} else { -var l8824 = cljs.core._first(args__$12); -var args__$13 = cljs.core._rest(args__$12); -if((argc === (12))){ -return (f.cljs$core$IFn$_invoke$arity$12 ? f.cljs$core$IFn$_invoke$arity$12(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824)); -} else { -var m8825 = cljs.core._first(args__$13); -var args__$14 = cljs.core._rest(args__$13); -if((argc === (13))){ -return (f.cljs$core$IFn$_invoke$arity$13 ? f.cljs$core$IFn$_invoke$arity$13(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825)); -} else { -var n8826 = cljs.core._first(args__$14); -var args__$15 = cljs.core._rest(args__$14); -if((argc === (14))){ -return (f.cljs$core$IFn$_invoke$arity$14 ? f.cljs$core$IFn$_invoke$arity$14(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826)); -} else { -var o8827 = cljs.core._first(args__$15); -var args__$16 = cljs.core._rest(args__$15); -if((argc === (15))){ -return (f.cljs$core$IFn$_invoke$arity$15 ? f.cljs$core$IFn$_invoke$arity$15(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827)); -} else { -var p8828 = cljs.core._first(args__$16); -var args__$17 = cljs.core._rest(args__$16); -if((argc === (16))){ -return (f.cljs$core$IFn$_invoke$arity$16 ? f.cljs$core$IFn$_invoke$arity$16(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828)); -} else { -var q8829 = cljs.core._first(args__$17); -var args__$18 = cljs.core._rest(args__$17); -if((argc === (17))){ -return (f.cljs$core$IFn$_invoke$arity$17 ? f.cljs$core$IFn$_invoke$arity$17(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828,q8829) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828,q8829)); -} else { -var r8830 = cljs.core._first(args__$18); -var args__$19 = cljs.core._rest(args__$18); -if((argc === (18))){ -return (f.cljs$core$IFn$_invoke$arity$18 ? f.cljs$core$IFn$_invoke$arity$18(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828,q8829,r8830) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828,q8829,r8830)); -} else { -var s8831 = cljs.core._first(args__$19); -var args__$20 = cljs.core._rest(args__$19); -if((argc === (19))){ -return (f.cljs$core$IFn$_invoke$arity$19 ? f.cljs$core$IFn$_invoke$arity$19(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828,q8829,r8830,s8831) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828,q8829,r8830,s8831)); -} else { -var t8832 = cljs.core._first(args__$20); -var args__$21 = cljs.core._rest(args__$20); -if((argc === (20))){ -return (f.cljs$core$IFn$_invoke$arity$20 ? f.cljs$core$IFn$_invoke$arity$20(a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828,q8829,r8830,s8831,t8832) : f.call(null,a8813,b8814,c8815,d8816,e8817,f8818,g8819,h8820,i8821,j8822,k8823,l8824,m8825,n8826,o8827,p8828,q8829,r8830,s8831,t8832)); -} else { -throw (new Error("Only up to 20 arguments supported on functions")); -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -}); - -/** - * Internal. DO NOT USE! - * Assumes args was already called with seq beforehand! - */ -cljs.core.apply_to_simple = (function cljs$core$apply_to_simple(var_args){ -var G__10944 = arguments.length; -switch (G__10944) { -case 2: -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 5: -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -case 6: -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$2 = (function (f,args){ -if((args == null)){ -if(f.cljs$core$IFn$_invoke$arity$0){ -return f.cljs$core$IFn$_invoke$arity$0(); -} else { -return f.call(f); -} -} else { -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3(f,cljs.core._first(args),cljs.core.next(args)); -} -}); - -cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3 = (function (f,a0,args){ -if((args == null)){ -if(f.cljs$core$IFn$_invoke$arity$1){ -return f.cljs$core$IFn$_invoke$arity$1(a0); -} else { -return f.call(f,a0); -} -} else { -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4(f,a0,cljs.core._first(args),cljs.core.next(args)); -} -}); - -cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4 = (function (f,a0,a1,args){ -if((args == null)){ -if(f.cljs$core$IFn$_invoke$arity$2){ -return f.cljs$core$IFn$_invoke$arity$2(a0,a1); -} else { -return f.call(f,a0,a1); -} -} else { -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5(f,a0,a1,cljs.core._first(args),cljs.core.next(args)); -} -}); - -cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5 = (function (f,a0,a1,a2,args){ -if((args == null)){ -if(f.cljs$core$IFn$_invoke$arity$3){ -return f.cljs$core$IFn$_invoke$arity$3(a0,a1,a2); -} else { -return f.call(f,a0,a1,a2); -} -} else { -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6(f,a0,a1,a2,cljs.core._first(args),cljs.core.next(args)); -} -}); - -cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6 = (function (f,a0,a1,a2,a3,args){ -if((args == null)){ -if(f.cljs$core$IFn$_invoke$arity$4){ -return f.cljs$core$IFn$_invoke$arity$4(a0,a1,a2,a3); -} else { -return f.call(f,a0,a1,a2,a3); -} -} else { -var a4 = cljs.core._first(args); -var next_4 = cljs.core.next(args); -if((next_4 == null)){ -if(f.cljs$core$IFn$_invoke$arity$5){ -return f.cljs$core$IFn$_invoke$arity$5(a0,a1,a2,a3,a4); -} else { -return f.call(f,a0,a1,a2,a3,a4); -} -} else { -var a5 = cljs.core._first(next_4); -var next_5 = cljs.core.next(next_4); -if((next_5 == null)){ -if(f.cljs$core$IFn$_invoke$arity$6){ -return f.cljs$core$IFn$_invoke$arity$6(a0,a1,a2,a3,a4,a5); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5); -} -} else { -var a6 = cljs.core._first(next_5); -var next_6 = cljs.core.next(next_5); -if((next_6 == null)){ -if(f.cljs$core$IFn$_invoke$arity$7){ -return f.cljs$core$IFn$_invoke$arity$7(a0,a1,a2,a3,a4,a5,a6); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6); -} -} else { -var a7 = cljs.core._first(next_6); -var next_7 = cljs.core.next(next_6); -if((next_7 == null)){ -if(f.cljs$core$IFn$_invoke$arity$8){ -return f.cljs$core$IFn$_invoke$arity$8(a0,a1,a2,a3,a4,a5,a6,a7); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7); -} -} else { -var a8 = cljs.core._first(next_7); -var next_8 = cljs.core.next(next_7); -if((next_8 == null)){ -if(f.cljs$core$IFn$_invoke$arity$9){ -return f.cljs$core$IFn$_invoke$arity$9(a0,a1,a2,a3,a4,a5,a6,a7,a8); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8); -} -} else { -var a9 = cljs.core._first(next_8); -var next_9 = cljs.core.next(next_8); -if((next_9 == null)){ -if(f.cljs$core$IFn$_invoke$arity$10){ -return f.cljs$core$IFn$_invoke$arity$10(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9); -} -} else { -var a10 = cljs.core._first(next_9); -var next_10 = cljs.core.next(next_9); -if((next_10 == null)){ -if(f.cljs$core$IFn$_invoke$arity$11){ -return f.cljs$core$IFn$_invoke$arity$11(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); -} -} else { -var a11 = cljs.core._first(next_10); -var next_11 = cljs.core.next(next_10); -if((next_11 == null)){ -if(f.cljs$core$IFn$_invoke$arity$12){ -return f.cljs$core$IFn$_invoke$arity$12(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); -} -} else { -var a12 = cljs.core._first(next_11); -var next_12 = cljs.core.next(next_11); -if((next_12 == null)){ -if(f.cljs$core$IFn$_invoke$arity$13){ -return f.cljs$core$IFn$_invoke$arity$13(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); -} -} else { -var a13 = cljs.core._first(next_12); -var next_13 = cljs.core.next(next_12); -if((next_13 == null)){ -if(f.cljs$core$IFn$_invoke$arity$14){ -return f.cljs$core$IFn$_invoke$arity$14(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); -} -} else { -var a14 = cljs.core._first(next_13); -var next_14 = cljs.core.next(next_13); -if((next_14 == null)){ -if(f.cljs$core$IFn$_invoke$arity$15){ -return f.cljs$core$IFn$_invoke$arity$15(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); -} -} else { -var a15 = cljs.core._first(next_14); -var next_15 = cljs.core.next(next_14); -if((next_15 == null)){ -if(f.cljs$core$IFn$_invoke$arity$16){ -return f.cljs$core$IFn$_invoke$arity$16(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); -} -} else { -var a16 = cljs.core._first(next_15); -var next_16 = cljs.core.next(next_15); -if((next_16 == null)){ -if(f.cljs$core$IFn$_invoke$arity$17){ -return f.cljs$core$IFn$_invoke$arity$17(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); -} -} else { -var a17 = cljs.core._first(next_16); -var next_17 = cljs.core.next(next_16); -if((next_17 == null)){ -if(f.cljs$core$IFn$_invoke$arity$18){ -return f.cljs$core$IFn$_invoke$arity$18(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); -} -} else { -var a18 = cljs.core._first(next_17); -var next_18 = cljs.core.next(next_17); -if((next_18 == null)){ -if(f.cljs$core$IFn$_invoke$arity$19){ -return f.cljs$core$IFn$_invoke$arity$19(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); -} -} else { -var a19 = cljs.core._first(next_18); -var next_19 = cljs.core.next(next_18); -if((next_19 == null)){ -if(f.cljs$core$IFn$_invoke$arity$20){ -return f.cljs$core$IFn$_invoke$arity$20(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); -} else { -return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); -} -} else { -var arr__8841__auto__ = [a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19]; -var s__8842__auto___10946 = next_19; -while(true){ -if(s__8842__auto___10946){ -arr__8841__auto__.push(cljs.core._first(s__8842__auto___10946)); - -var G__10947 = cljs.core.next(s__8842__auto___10946); -s__8842__auto___10946 = G__10947; -continue; -} else { -} -break; -} - -return f.apply(f,arr__8841__auto__); -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -}); - -cljs.core.apply_to_simple.cljs$lang$maxFixedArity = 6; - -/** - * Applies fn f to the argument list formed by prepending intervening arguments to args. - */ -cljs.core.apply = (function cljs$core$apply(var_args){ -var G__10955 = arguments.length; -switch (G__10955) { -case 2: -return cljs.core.apply.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.apply.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.apply.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 5: -return cljs.core.apply.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10957 = arguments.length; -var i__9001__auto___10958 = (0); -while(true){ -if((i__9001__auto___10958 < len__9000__auto___10957)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10958])); - -var G__10959 = (i__9001__auto___10958 + (1)); -i__9001__auto___10958 = G__10959; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((5)),(0),null)); -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),argseq__9026__auto__); - -} -}); - -cljs.core.apply.cljs$core$IFn$_invoke$arity$2 = (function (f,args){ -if(f.cljs$lang$applyTo){ -var fixed_arity = f.cljs$lang$maxFixedArity; -var bc = cljs.core.bounded_count((fixed_arity + (1)),args); -if((bc <= fixed_arity)){ -return cljs.core.apply_to(f,bc,args); -} else { -return f.cljs$lang$applyTo(args); -} -} else { -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$2(f,cljs.core.seq(args)); -} -}); - -cljs.core.apply.cljs$core$IFn$_invoke$arity$3 = (function (f,x,args){ -if(f.cljs$lang$applyTo){ -var arglist = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$2(x,args); -var fixed_arity = f.cljs$lang$maxFixedArity; -var bc = (cljs.core.bounded_count(fixed_arity,args) + (1)); -if((bc <= fixed_arity)){ -return cljs.core.apply_to(f,bc,arglist); -} else { -return f.cljs$lang$applyTo(arglist); -} -} else { -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3(f,x,cljs.core.seq(args)); -} -}); - -cljs.core.apply.cljs$core$IFn$_invoke$arity$4 = (function (f,x,y,args){ -if(f.cljs$lang$applyTo){ -var arglist = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3(x,y,args); -var fixed_arity = f.cljs$lang$maxFixedArity; -var bc = ((2) + cljs.core.bounded_count((fixed_arity - (1)),args)); -if((bc <= fixed_arity)){ -return cljs.core.apply_to(f,bc,arglist); -} else { -return f.cljs$lang$applyTo(arglist); -} -} else { -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4(f,x,y,cljs.core.seq(args)); -} -}); - -cljs.core.apply.cljs$core$IFn$_invoke$arity$5 = (function (f,x,y,z,args){ -if(f.cljs$lang$applyTo){ -var arglist = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(x,y,z,args); -var fixed_arity = f.cljs$lang$maxFixedArity; -var bc = ((3) + cljs.core.bounded_count((fixed_arity - (2)),args)); -if((bc <= fixed_arity)){ -return cljs.core.apply_to(f,bc,arglist); -} else { -return f.cljs$lang$applyTo(arglist); -} -} else { -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5(f,x,y,z,cljs.core.seq(args)); -} -}); - -cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic = (function (f,a,b,c,d,args){ -if(f.cljs$lang$applyTo){ -var spread_args = cljs.core.spread(args); -var arglist = cljs.core.cons(a,cljs.core.cons(b,cljs.core.cons(c,cljs.core.cons(d,spread_args)))); -var fixed_arity = f.cljs$lang$maxFixedArity; -var bc = ((4) + cljs.core.bounded_count((fixed_arity - (3)),spread_args)); -if((bc <= fixed_arity)){ -return cljs.core.apply_to(f,bc,arglist); -} else { -return f.cljs$lang$applyTo(arglist); -} -} else { -return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6(f,a,b,c,d,cljs.core.spread(args)); -} -}); - -/** @this {Function} */ -cljs.core.apply.cljs$lang$applyTo = (function (seq10949){ -var G__10950 = cljs.core.first(seq10949); -var seq10949__$1 = cljs.core.next(seq10949); -var G__10951 = cljs.core.first(seq10949__$1); -var seq10949__$2 = cljs.core.next(seq10949__$1); -var G__10952 = cljs.core.first(seq10949__$2); -var seq10949__$3 = cljs.core.next(seq10949__$2); -var G__10953 = cljs.core.first(seq10949__$3); -var seq10949__$4 = cljs.core.next(seq10949__$3); -var G__10954 = cljs.core.first(seq10949__$4); -var seq10949__$5 = cljs.core.next(seq10949__$4); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10950,G__10951,G__10952,G__10953,G__10954,seq10949__$5); -}); - -cljs.core.apply.cljs$lang$maxFixedArity = (5); - -/** - * Returns an object of the same type and value as obj, with - * (apply f (meta obj) args) as its metadata. - */ -cljs.core.vary_meta = (function cljs$core$vary_meta(var_args){ -var G__10968 = arguments.length; -switch (G__10968) { -case 2: -return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 5: -return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -case 6: -return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10985 = arguments.length; -var i__9001__auto___10986 = (0); -while(true){ -if((i__9001__auto___10986 < len__9000__auto___10985)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10986])); - -var G__10987 = (i__9001__auto___10986 + (1)); -i__9001__auto___10986 = G__10987; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((6)),(0),null)); -return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),argseq__9026__auto__); - -} -}); - -cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$2 = (function (obj,f){ -return cljs.core.with_meta(obj,(function (){var G__10969 = cljs.core.meta(obj); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__10969) : f.call(null,G__10969)); -})()); -}); - -cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$3 = (function (obj,f,a){ -return cljs.core.with_meta(obj,(function (){var G__10970 = cljs.core.meta(obj); -var G__10971 = a; -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__10970,G__10971) : f.call(null,G__10970,G__10971)); -})()); -}); - -cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$4 = (function (obj,f,a,b){ -return cljs.core.with_meta(obj,(function (){var G__10972 = cljs.core.meta(obj); -var G__10973 = a; -var G__10974 = b; -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__10972,G__10973,G__10974) : f.call(null,G__10972,G__10973,G__10974)); -})()); -}); - -cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$5 = (function (obj,f,a,b,c){ -return cljs.core.with_meta(obj,(function (){var G__10975 = cljs.core.meta(obj); -var G__10976 = a; -var G__10977 = b; -var G__10978 = c; -return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__10975,G__10976,G__10977,G__10978) : f.call(null,G__10975,G__10976,G__10977,G__10978)); -})()); -}); - -cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$6 = (function (obj,f,a,b,c,d){ -return cljs.core.with_meta(obj,(function (){var G__10979 = cljs.core.meta(obj); -var G__10980 = a; -var G__10981 = b; -var G__10982 = c; -var G__10983 = d; -return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(G__10979,G__10980,G__10981,G__10982,G__10983) : f.call(null,G__10979,G__10980,G__10981,G__10982,G__10983)); -})()); -}); - -cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$variadic = (function (obj,f,a,b,c,d,args){ -return cljs.core.with_meta(obj,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,cljs.core.meta(obj),a,b,c,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([d,args], 0))); -}); - -/** @this {Function} */ -cljs.core.vary_meta.cljs$lang$applyTo = (function (seq10961){ -var G__10962 = cljs.core.first(seq10961); -var seq10961__$1 = cljs.core.next(seq10961); -var G__10963 = cljs.core.first(seq10961__$1); -var seq10961__$2 = cljs.core.next(seq10961__$1); -var G__10964 = cljs.core.first(seq10961__$2); -var seq10961__$3 = cljs.core.next(seq10961__$2); -var G__10965 = cljs.core.first(seq10961__$3); -var seq10961__$4 = cljs.core.next(seq10961__$3); -var G__10966 = cljs.core.first(seq10961__$4); -var seq10961__$5 = cljs.core.next(seq10961__$4); -var G__10967 = cljs.core.first(seq10961__$5); -var seq10961__$6 = cljs.core.next(seq10961__$5); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10962,G__10963,G__10964,G__10965,G__10966,G__10967,seq10961__$6); -}); - -cljs.core.vary_meta.cljs$lang$maxFixedArity = (6); - -/** - * Same as (not (= obj1 obj2)) - */ -cljs.core.not_EQ_ = (function cljs$core$not_EQ_(var_args){ -var G__10992 = arguments.length; -switch (G__10992) { -case 1: -return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___10994 = arguments.length; -var i__9001__auto___10995 = (0); -while(true){ -if((i__9001__auto___10995 < len__9000__auto___10994)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___10995])); - -var G__10996 = (i__9001__auto___10995 + (1)); -i__9001__auto___10995 = G__10996; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return false; -}); - -cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ -return (!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y))); -}); - -cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ -return cljs.core.not(cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core._EQ_,x,y,more)); -}); - -/** @this {Function} */ -cljs.core.not_EQ_.cljs$lang$applyTo = (function (seq10989){ -var G__10990 = cljs.core.first(seq10989); -var seq10989__$1 = cljs.core.next(seq10989); -var G__10991 = cljs.core.first(seq10989__$1); -var seq10989__$2 = cljs.core.next(seq10989__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__10990,G__10991,seq10989__$2); -}); - -cljs.core.not_EQ_.cljs$lang$maxFixedArity = (2); - -/** - * If coll is empty, returns nil, else coll - */ -cljs.core.not_empty = (function cljs$core$not_empty(coll){ -if(cljs.core.seq(coll)){ -return coll; -} else { -return null; -} -}); -cljs.core.nil_iter = (function cljs$core$nil_iter(){ -if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core.t_cljs$core10997 !== 'undefined')){ -} else { - -/** -* @constructor - * @implements {cljs.core.IMeta} - * @implements {cljs.core.IWithMeta} -*/ -cljs.core.t_cljs$core10997 = (function (meta10998){ -this.meta10998 = meta10998; -this.cljs$lang$protocol_mask$partition0$ = 393216; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.t_cljs$core10997.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_10999,meta10998__$1){ -var self__ = this; -var _10999__$1 = this; -return (new cljs.core.t_cljs$core10997(meta10998__$1)); -}); - -cljs.core.t_cljs$core10997.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_10999){ -var self__ = this; -var _10999__$1 = this; -return self__.meta10998; -}); - -cljs.core.t_cljs$core10997.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -return false; -}); - -cljs.core.t_cljs$core10997.prototype.next = (function (){ -var self__ = this; -var _ = this; -return (new Error("No such element")); -}); - -cljs.core.t_cljs$core10997.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.t_cljs$core10997.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta10998","meta10998",1410155594,null)], null); -}); - -cljs.core.t_cljs$core10997.cljs$lang$type = true; - -cljs.core.t_cljs$core10997.cljs$lang$ctorStr = "cljs.core/t_cljs$core10997"; - -cljs.core.t_cljs$core10997.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/t_cljs$core10997"); -}); - -/** - * Positional factory function for cljs.core/t_cljs$core10997. - */ -cljs.core.__GT_t_cljs$core10997 = (function cljs$core$nil_iter_$___GT_t_cljs$core10997(meta10998){ -return (new cljs.core.t_cljs$core10997(meta10998)); -}); - -} - -return (new cljs.core.t_cljs$core10997(cljs.core.PersistentArrayMap.EMPTY)); -}); - -/** -* @constructor -*/ -cljs.core.StringIter = (function (s,i){ -this.s = s; -this.i = i; -}); -cljs.core.StringIter.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -return (self__.i < self__.s.length); -}); - -cljs.core.StringIter.prototype.next = (function (){ -var self__ = this; -var _ = this; -var ret = self__.s.charAt(self__.i); -self__.i = (self__.i + (1)); - -return ret; -}); - -cljs.core.StringIter.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.StringIter.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"s","s",-948495851,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.StringIter.cljs$lang$type = true; - -cljs.core.StringIter.cljs$lang$ctorStr = "cljs.core/StringIter"; - -cljs.core.StringIter.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/StringIter"); -}); - -/** - * Positional factory function for cljs.core/StringIter. - */ -cljs.core.__GT_StringIter = (function cljs$core$__GT_StringIter(s,i){ -return (new cljs.core.StringIter(s,i)); -}); - -cljs.core.string_iter = (function cljs$core$string_iter(x){ -return (new cljs.core.StringIter(x,(0))); -}); - -/** -* @constructor -*/ -cljs.core.ArrayIter = (function (arr,i){ -this.arr = arr; -this.i = i; -}); -cljs.core.ArrayIter.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -return (self__.i < self__.arr.length); -}); - -cljs.core.ArrayIter.prototype.next = (function (){ -var self__ = this; -var _ = this; -var ret = (self__.arr[self__.i]); -self__.i = (self__.i + (1)); - -return ret; -}); - -cljs.core.ArrayIter.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.ArrayIter.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ArrayIter.cljs$lang$type = true; - -cljs.core.ArrayIter.cljs$lang$ctorStr = "cljs.core/ArrayIter"; - -cljs.core.ArrayIter.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ArrayIter"); -}); - -/** - * Positional factory function for cljs.core/ArrayIter. - */ -cljs.core.__GT_ArrayIter = (function cljs$core$__GT_ArrayIter(arr,i){ -return (new cljs.core.ArrayIter(arr,i)); -}); - -cljs.core.array_iter = (function cljs$core$array_iter(x){ -return (new cljs.core.ArrayIter(x,(0))); -}); -cljs.core.INIT = ({}); -cljs.core.START = ({}); - -/** -* @constructor -*/ -cljs.core.SeqIter = (function (_seq,_next){ -this._seq = _seq; -this._next = _next; -}); -cljs.core.SeqIter.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -if((self__._seq === cljs.core.INIT)){ -self__._seq = cljs.core.START; - -self__._next = cljs.core.seq(self__._next); -} else { -if((self__._seq === self__._next)){ -self__._next = cljs.core.next(self__._seq); -} else { -} -} - -return (!((self__._next == null))); -}); - -cljs.core.SeqIter.prototype.next = (function (){ -var self__ = this; -var this$ = this; -if((!(this$.hasNext()))){ -throw (new Error("No such element")); -} else { -self__._seq = self__._next; - -return cljs.core.first(self__._next); -} -}); - -cljs.core.SeqIter.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.SeqIter.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"_seq","_seq",-449557847,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"_next","_next",101877036,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.SeqIter.cljs$lang$type = true; - -cljs.core.SeqIter.cljs$lang$ctorStr = "cljs.core/SeqIter"; - -cljs.core.SeqIter.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/SeqIter"); -}); - -/** - * Positional factory function for cljs.core/SeqIter. - */ -cljs.core.__GT_SeqIter = (function cljs$core$__GT_SeqIter(_seq,_next){ -return (new cljs.core.SeqIter(_seq,_next)); -}); - -cljs.core.seq_iter = (function cljs$core$seq_iter(coll){ -return (new cljs.core.SeqIter(cljs.core.INIT,coll)); -}); -cljs.core.iter = (function cljs$core$iter(coll){ -if(cljs.core.iterable_QMARK_(coll)){ -return cljs.core._iterator(coll); -} else { -if((coll == null)){ -return cljs.core.nil_iter(); -} else { -if(typeof coll === 'string'){ -return cljs.core.string_iter(coll); -} else { -if(cljs.core.array_QMARK_(coll)){ -return cljs.core.array_iter(coll); -} else { -if(cljs.core.seqable_QMARK_(coll)){ -return cljs.core.seq_iter(coll); -} else { -throw (new Error(["Cannot create iterator from ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(coll)].join(''))); - -} -} -} -} -} -}); - -/** -* @constructor -*/ -cljs.core.Many = (function (vals){ -this.vals = vals; -}); -cljs.core.Many.prototype.add = (function (o){ -var self__ = this; -var this$ = this; -self__.vals.push(o); - -return this$; -}); - -cljs.core.Many.prototype.remove = (function (){ -var self__ = this; -var this$ = this; -return self__.vals.shift(); -}); - -cljs.core.Many.prototype.isEmpty = (function (){ -var self__ = this; -var this$ = this; -return (self__.vals.length === (0)); -}); - -cljs.core.Many.prototype.toString = (function (){ -var self__ = this; -var this$ = this; -return ["Many: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.vals)].join(''); -}); - -cljs.core.Many.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"vals","vals",-1886377036,null)], null); -}); - -cljs.core.Many.cljs$lang$type = true; - -cljs.core.Many.cljs$lang$ctorStr = "cljs.core/Many"; - -cljs.core.Many.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Many"); -}); - -/** - * Positional factory function for cljs.core/Many. - */ -cljs.core.__GT_Many = (function cljs$core$__GT_Many(vals){ -return (new cljs.core.Many(vals)); -}); - -cljs.core.NONE = ({}); - -/** -* @constructor -*/ -cljs.core.Single = (function (val){ -this.val = val; -}); -cljs.core.Single.prototype.add = (function (o){ -var self__ = this; -var this$ = this; -if((self__.val === cljs.core.NONE)){ -self__.val = o; - -return this$; -} else { -return (new cljs.core.Many([self__.val,o])); -} -}); - -cljs.core.Single.prototype.remove = (function (){ -var self__ = this; -var this$ = this; -if((self__.val === cljs.core.NONE)){ -throw (new Error("Removing object from empty buffer")); -} else { -var ret = self__.val; -self__.val = cljs.core.NONE; - -return ret; -} -}); - -cljs.core.Single.prototype.isEmpty = (function (){ -var self__ = this; -var this$ = this; -return (self__.val === cljs.core.NONE); -}); - -cljs.core.Single.prototype.toString = (function (){ -var self__ = this; -var this$ = this; -return ["Single: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.val)].join(''); -}); - -cljs.core.Single.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Single.cljs$lang$type = true; - -cljs.core.Single.cljs$lang$ctorStr = "cljs.core/Single"; - -cljs.core.Single.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Single"); -}); - -/** - * Positional factory function for cljs.core/Single. - */ -cljs.core.__GT_Single = (function cljs$core$__GT_Single(val){ -return (new cljs.core.Single(val)); -}); - - -/** -* @constructor -*/ -cljs.core.Empty = (function (){ -}); -cljs.core.Empty.prototype.add = (function (o){ -var self__ = this; -var this$ = this; -return (new cljs.core.Single(o)); -}); - -cljs.core.Empty.prototype.remove = (function (){ -var self__ = this; -var this$ = this; -throw (new Error("Removing object from empty buffer")); -}); - -cljs.core.Empty.prototype.isEmpty = (function (){ -var self__ = this; -var this$ = this; -return true; -}); - -cljs.core.Empty.prototype.toString = (function (){ -var self__ = this; -var this$ = this; -return "Empty"; -}); - -cljs.core.Empty.getBasis = (function (){ -return cljs.core.PersistentVector.EMPTY; -}); - -cljs.core.Empty.cljs$lang$type = true; - -cljs.core.Empty.cljs$lang$ctorStr = "cljs.core/Empty"; - -cljs.core.Empty.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Empty"); -}); - -/** - * Positional factory function for cljs.core/Empty. - */ -cljs.core.__GT_Empty = (function cljs$core$__GT_Empty(){ -return (new cljs.core.Empty()); -}); - -cljs.core.EMPTY = (new cljs.core.Empty()); - -/** -* @constructor -*/ -cljs.core.MultiIterator = (function (iters){ -this.iters = iters; -}); -cljs.core.MultiIterator.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -var iters__$1 = cljs.core.seq(self__.iters); -while(true){ -if((!((iters__$1 == null)))){ -var iter = cljs.core.first(iters__$1); -if((!(iter.hasNext()))){ -return false; -} else { -var G__11000 = cljs.core.next(iters__$1); -iters__$1 = G__11000; -continue; -} -} else { -return true; -} -break; -} -}); - -cljs.core.MultiIterator.prototype.next = (function (){ -var self__ = this; -var _ = this; -var nexts = []; -var n__8769__auto___11001 = self__.iters.length; -var i_11002 = (0); -while(true){ -if((i_11002 < n__8769__auto___11001)){ -(nexts[i_11002] = (self__.iters[i_11002]).next()); - -var G__11003 = (i_11002 + (1)); -i_11002 = G__11003; -continue; -} else { -} -break; -} - -return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(nexts,(0)); -}); - -cljs.core.MultiIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"iters","iters",719353031,null)], null); -}); - -cljs.core.MultiIterator.cljs$lang$type = true; - -cljs.core.MultiIterator.cljs$lang$ctorStr = "cljs.core/MultiIterator"; - -cljs.core.MultiIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/MultiIterator"); -}); - -/** - * Positional factory function for cljs.core/MultiIterator. - */ -cljs.core.__GT_MultiIterator = (function cljs$core$__GT_MultiIterator(iters){ -return (new cljs.core.MultiIterator(iters)); -}); - -cljs.core.chunkIteratorSeq = (function cljs$core$chunkIteratorSeq(iter){ -return (new cljs.core.LazySeq(null,(function (){ -if(iter.hasNext()){ -var arr = []; -var n = (0); -while(true){ -if(cljs.core.truth_((function (){var and__7791__auto__ = iter.hasNext(); -if(cljs.core.truth_(and__7791__auto__)){ -return (n < (32)); -} else { -return and__7791__auto__; -} -})())){ -(arr[n] = iter.next()); - -var G__11004 = (n + (1)); -n = G__11004; -continue; -} else { -return cljs.core.chunk_cons(cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$3(arr,(0),n),(cljs.core.chunkIteratorSeq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.chunkIteratorSeq.cljs$core$IFn$_invoke$arity$1(iter) : cljs.core.chunkIteratorSeq.call(null,iter))); -} -break; -} -} else { -return null; -} -}),null,null)); -}); - -/** -* @constructor -*/ -cljs.core.TransformerIterator = (function (buffer,_next,completed,xf,sourceIter,multi){ -this.buffer = buffer; -this._next = _next; -this.completed = completed; -this.xf = xf; -this.sourceIter = sourceIter; -this.multi = multi; -}); -cljs.core.TransformerIterator.prototype.step = (function (){ -var self__ = this; -var this$ = this; -if((!((self__._next === cljs.core.NONE)))){ -return true; -} else { -while(true){ -if((self__._next === cljs.core.NONE)){ -if(self__.buffer.isEmpty()){ -if(self__.completed){ -return false; -} else { -if(self__.sourceIter.hasNext()){ -var iter = ((self__.multi)?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(self__.xf,cljs.core.cons(null,self__.sourceIter.next())):(function (){var G__11005 = null; -var G__11006 = self__.sourceIter.next(); -return (self__.xf.cljs$core$IFn$_invoke$arity$2 ? self__.xf.cljs$core$IFn$_invoke$arity$2(G__11005,G__11006) : self__.xf.call(null,G__11005,G__11006)); -})()); -if(cljs.core.reduced_QMARK_(iter)){ -(self__.xf.cljs$core$IFn$_invoke$arity$1 ? self__.xf.cljs$core$IFn$_invoke$arity$1(null) : self__.xf.call(null,null)); - -self__.completed = true; -} else { -} - -continue; -} else { -(self__.xf.cljs$core$IFn$_invoke$arity$1 ? self__.xf.cljs$core$IFn$_invoke$arity$1(null) : self__.xf.call(null,null)); - -self__.completed = true; - -continue; -} -} -} else { -self__._next = self__.buffer.remove(); - -continue; -} -} else { -return true; -} -break; -} -} -}); - -cljs.core.TransformerIterator.prototype.hasNext = (function (){ -var self__ = this; -var this$ = this; -return this$.step(); -}); - -cljs.core.TransformerIterator.prototype.next = (function (){ -var self__ = this; -var this$ = this; -if(this$.hasNext()){ -var ret = self__._next; -self__._next = cljs.core.NONE; - -return ret; -} else { -throw (new Error("No such element")); -} -}); - -cljs.core.TransformerIterator.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.TransformerIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"buffer","buffer",-2037140571,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"_next","_next",101877036,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"completed","completed",1154475024,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"xf","xf",2042434515,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"sourceIter","sourceIter",1068220306,null),new cljs.core.Symbol(null,"multi","multi",1450238522,null)], null); -}); - -cljs.core.TransformerIterator.cljs$lang$type = true; - -cljs.core.TransformerIterator.cljs$lang$ctorStr = "cljs.core/TransformerIterator"; - -cljs.core.TransformerIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/TransformerIterator"); -}); - -/** - * Positional factory function for cljs.core/TransformerIterator. - */ -cljs.core.__GT_TransformerIterator = (function cljs$core$__GT_TransformerIterator(buffer,_next,completed,xf,sourceIter,multi){ -return (new cljs.core.TransformerIterator(buffer,_next,completed,xf,sourceIter,multi)); -}); - -var G__11007_11010 = cljs.core.TransformerIterator.prototype; -var G__11008_11011 = cljs.core.ITER_SYMBOL; -var G__11009_11012 = ((function (G__11007_11010,G__11008_11011){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11007_11010,G__11008_11011)) -; -goog.object.set(G__11007_11010,G__11008_11011,G__11009_11012); -cljs.core.transformer_iterator = (function cljs$core$transformer_iterator(xform,sourceIter,multi){ -var iterator = (new cljs.core.TransformerIterator(cljs.core.EMPTY,cljs.core.NONE,false,null,sourceIter,multi)); -iterator.xf = (function (){var G__11013 = ((function (iterator){ -return (function() { -var G__11014 = null; -var G__11014__0 = (function (){ -return null; -}); -var G__11014__1 = (function (acc){ -return acc; -}); -var G__11014__2 = (function (acc,o){ -iterator.buffer = iterator.buffer.add(o); - -return acc; -}); -G__11014 = function(acc,o){ -switch(arguments.length){ -case 0: -return G__11014__0.call(this); -case 1: -return G__11014__1.call(this,acc); -case 2: -return G__11014__2.call(this,acc,o); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11014.cljs$core$IFn$_invoke$arity$0 = G__11014__0; -G__11014.cljs$core$IFn$_invoke$arity$1 = G__11014__1; -G__11014.cljs$core$IFn$_invoke$arity$2 = G__11014__2; -return G__11014; -})() -;})(iterator)) -; -return (xform.cljs$core$IFn$_invoke$arity$1 ? xform.cljs$core$IFn$_invoke$arity$1(G__11013) : xform.call(null,G__11013)); -})(); - -return iterator; -}); -cljs.core.TransformerIterator.create = (function (xform,source){ -return cljs.core.transformer_iterator(xform,source,false); -}); -cljs.core.TransformerIterator.createMulti = (function (xform,sources){ -return cljs.core.transformer_iterator(xform,(new cljs.core.MultiIterator(cljs.core.to_array(sources))),true); -}); -/** - * Coerces coll to a (possibly empty) sequence, if it is not already - * one. Will not force a lazy seq. (sequence nil) yields (), When a - * transducer is supplied, returns a lazy sequence of applications of - * the transform to the items in coll(s), i.e. to the set of first - * items of each coll, followed by the set of second - * items in each coll, until any one of the colls is exhausted. Any - * remaining items in other colls are ignored. The transform should accept - * number-of-colls arguments - */ -cljs.core.sequence = (function cljs$core$sequence(var_args){ -var G__11019 = arguments.length; -switch (G__11019) { -case 1: -return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.sequence.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11021 = arguments.length; -var i__9001__auto___11022 = (0); -while(true){ -if((i__9001__auto___11022 < len__9000__auto___11021)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11022])); - -var G__11023 = (i__9001__auto___11022 + (1)); -i__9001__auto___11022 = G__11023; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.sequence.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.sequence.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -if(cljs.core.seq_QMARK_(coll)){ -return coll; -} else { -var or__7806__auto__ = cljs.core.seq(coll); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return cljs.core.List.EMPTY; -} -} -}); - -cljs.core.sequence.cljs$core$IFn$_invoke$arity$2 = (function (xform,coll){ -var or__7806__auto__ = cljs.core.chunkIteratorSeq(cljs.core.TransformerIterator.create(xform,cljs.core.iter(coll))); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.sequence.cljs$core$IFn$_invoke$arity$variadic = (function (xform,coll,colls){ -var or__7806__auto__ = cljs.core.chunkIteratorSeq(cljs.core.TransformerIterator.createMulti(xform,cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.iter,cljs.core.cons(coll,colls)))); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.List.EMPTY; -} -}); - -/** @this {Function} */ -cljs.core.sequence.cljs$lang$applyTo = (function (seq11016){ -var G__11017 = cljs.core.first(seq11016); -var seq11016__$1 = cljs.core.next(seq11016); -var G__11018 = cljs.core.first(seq11016__$1); -var seq11016__$2 = cljs.core.next(seq11016__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11017,G__11018,seq11016__$2); -}); - -cljs.core.sequence.cljs$lang$maxFixedArity = (2); - -/** - * Returns true if (pred x) is logical true for every x in coll, else - * false. - */ -cljs.core.every_QMARK_ = (function cljs$core$every_QMARK_(pred,coll){ -while(true){ -if((cljs.core.seq(coll) == null)){ -return true; -} else { -if(cljs.core.truth_((function (){var G__11024 = cljs.core.first(coll); -return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__11024) : pred.call(null,G__11024)); -})())){ -var G__11025 = pred; -var G__11026 = cljs.core.next(coll); -pred = G__11025; -coll = G__11026; -continue; -} else { -return false; - -} -} -break; -} -}); -/** - * Returns false if (pred x) is logical true for every x in - * coll, else true. - */ -cljs.core.not_every_QMARK_ = (function cljs$core$not_every_QMARK_(pred,coll){ -return (!(cljs.core.every_QMARK_(pred,coll))); -}); -/** - * Returns the first logical true value of (pred x) for any x in coll, - * else nil. One common idiom is to use a set as pred, for example - * this will return :fred if :fred is in the sequence, otherwise nil: - * (some #{:fred} coll) - */ -cljs.core.some = (function cljs$core$some(pred,coll){ -while(true){ -if(cljs.core.seq(coll)){ -var or__7806__auto__ = (function (){var G__11028 = cljs.core.first(coll); -return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__11028) : pred.call(null,G__11028)); -})(); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -var G__11029 = pred; -var G__11030 = cljs.core.next(coll); -pred = G__11029; -coll = G__11030; -continue; -} -} else { -return null; -} -break; -} -}); -/** - * Returns false if (pred x) is logical true for any x in coll, - * else true. - */ -cljs.core.not_any_QMARK_ = (function cljs$core$not_any_QMARK_(pred,coll){ -return cljs.core.not(cljs.core.some(pred,coll)); -}); -/** - * Returns true if n is even, throws an exception if n is not an integer - */ -cljs.core.even_QMARK_ = (function cljs$core$even_QMARK_(n){ -if(cljs.core.integer_QMARK_(n)){ -return ((n & (1)) === (0)); -} else { -throw (new Error(["Argument must be an integer: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)].join(''))); -} -}); -/** - * Returns true if n is odd, throws an exception if n is not an integer - */ -cljs.core.odd_QMARK_ = (function cljs$core$odd_QMARK_(n){ -return (!(cljs.core.even_QMARK_(n))); -}); -/** - * Takes a fn f and returns a fn that takes the same arguments as f, - * has the same effects, if any, and returns the opposite truth value. - */ -cljs.core.complement = (function cljs$core$complement(f){ -return (function() { -var G__11031 = null; -var G__11031__0 = (function (){ -return cljs.core.not((f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null))); -}); -var G__11031__1 = (function (x){ -return cljs.core.not((f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null,x))); -}); -var G__11031__2 = (function (x,y){ -return cljs.core.not((f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null,x,y))); -}); -var G__11031__3 = (function() { -var G__11032__delegate = function (x,y,zs){ -return cljs.core.not(cljs.core.apply.cljs$core$IFn$_invoke$arity$4(f,x,y,zs)); -}; -var G__11032 = function (x,y,var_args){ -var zs = null; -if (arguments.length > 2) { -var G__11033__i = 0, G__11033__a = new Array(arguments.length - 2); -while (G__11033__i < G__11033__a.length) {G__11033__a[G__11033__i] = arguments[G__11033__i + 2]; ++G__11033__i;} - zs = new cljs.core.IndexedSeq(G__11033__a,0,null); -} -return G__11032__delegate.call(this,x,y,zs);}; -G__11032.cljs$lang$maxFixedArity = 2; -G__11032.cljs$lang$applyTo = (function (arglist__11034){ -var x = cljs.core.first(arglist__11034); -arglist__11034 = cljs.core.next(arglist__11034); -var y = cljs.core.first(arglist__11034); -var zs = cljs.core.rest(arglist__11034); -return G__11032__delegate(x,y,zs); -}); -G__11032.cljs$core$IFn$_invoke$arity$variadic = G__11032__delegate; -return G__11032; -})() -; -G__11031 = function(x,y,var_args){ -var zs = var_args; -switch(arguments.length){ -case 0: -return G__11031__0.call(this); -case 1: -return G__11031__1.call(this,x); -case 2: -return G__11031__2.call(this,x,y); -default: -var G__11035 = null; -if (arguments.length > 2) { -var G__11036__i = 0, G__11036__a = new Array(arguments.length - 2); -while (G__11036__i < G__11036__a.length) {G__11036__a[G__11036__i] = arguments[G__11036__i + 2]; ++G__11036__i;} -G__11035 = new cljs.core.IndexedSeq(G__11036__a,0,null); -} -return G__11031__3.cljs$core$IFn$_invoke$arity$variadic(x,y, G__11035); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11031.cljs$lang$maxFixedArity = 2; -G__11031.cljs$lang$applyTo = G__11031__3.cljs$lang$applyTo; -G__11031.cljs$core$IFn$_invoke$arity$0 = G__11031__0; -G__11031.cljs$core$IFn$_invoke$arity$1 = G__11031__1; -G__11031.cljs$core$IFn$_invoke$arity$2 = G__11031__2; -G__11031.cljs$core$IFn$_invoke$arity$variadic = G__11031__3.cljs$core$IFn$_invoke$arity$variadic; -return G__11031; -})() -}); -/** - * Returns a function that takes any number of arguments and returns x. - */ -cljs.core.constantly = (function cljs$core$constantly(x){ -return (function() { -var G__11037__delegate = function (args){ -return x; -}; -var G__11037 = function (var_args){ -var args = null; -if (arguments.length > 0) { -var G__11038__i = 0, G__11038__a = new Array(arguments.length - 0); -while (G__11038__i < G__11038__a.length) {G__11038__a[G__11038__i] = arguments[G__11038__i + 0]; ++G__11038__i;} - args = new cljs.core.IndexedSeq(G__11038__a,0,null); -} -return G__11037__delegate.call(this,args);}; -G__11037.cljs$lang$maxFixedArity = 0; -G__11037.cljs$lang$applyTo = (function (arglist__11039){ -var args = cljs.core.seq(arglist__11039); -return G__11037__delegate(args); -}); -G__11037.cljs$core$IFn$_invoke$arity$variadic = G__11037__delegate; -return G__11037; -})() -; -}); -/** - * Takes a set of functions and returns a fn that is the composition - * of those fns. The returned fn takes a variable number of args, - * applies the rightmost of fns to the args, the next - * fn (right-to-left) to the result, etc. - */ -cljs.core.comp = (function cljs$core$comp(var_args){ -var G__11045 = arguments.length; -switch (G__11045) { -case 0: -return cljs.core.comp.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.comp.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.comp.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.comp.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11063 = arguments.length; -var i__9001__auto___11064 = (0); -while(true){ -if((i__9001__auto___11064 < len__9000__auto___11063)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11064])); - -var G__11065 = (i__9001__auto___11064 + (1)); -i__9001__auto___11064 = G__11065; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.comp.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.comp.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.identity; -}); - -cljs.core.comp.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return f; -}); - -cljs.core.comp.cljs$core$IFn$_invoke$arity$2 = (function (f,g){ -return (function() { -var G__11066 = null; -var G__11066__0 = (function (){ -var G__11046 = (g.cljs$core$IFn$_invoke$arity$0 ? g.cljs$core$IFn$_invoke$arity$0() : g.call(null)); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11046) : f.call(null,G__11046)); -}); -var G__11066__1 = (function (x){ -var G__11047 = (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(x) : g.call(null,x)); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11047) : f.call(null,G__11047)); -}); -var G__11066__2 = (function (x,y){ -var G__11048 = (g.cljs$core$IFn$_invoke$arity$2 ? g.cljs$core$IFn$_invoke$arity$2(x,y) : g.call(null,x,y)); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11048) : f.call(null,G__11048)); -}); -var G__11066__3 = (function (x,y,z){ -var G__11049 = (g.cljs$core$IFn$_invoke$arity$3 ? g.cljs$core$IFn$_invoke$arity$3(x,y,z) : g.call(null,x,y,z)); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11049) : f.call(null,G__11049)); -}); -var G__11066__4 = (function() { -var G__11067__delegate = function (x,y,z,args){ -var G__11050 = cljs.core.apply.cljs$core$IFn$_invoke$arity$5(g,x,y,z,args); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11050) : f.call(null,G__11050)); -}; -var G__11067 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11068__i = 0, G__11068__a = new Array(arguments.length - 3); -while (G__11068__i < G__11068__a.length) {G__11068__a[G__11068__i] = arguments[G__11068__i + 3]; ++G__11068__i;} - args = new cljs.core.IndexedSeq(G__11068__a,0,null); -} -return G__11067__delegate.call(this,x,y,z,args);}; -G__11067.cljs$lang$maxFixedArity = 3; -G__11067.cljs$lang$applyTo = (function (arglist__11069){ -var x = cljs.core.first(arglist__11069); -arglist__11069 = cljs.core.next(arglist__11069); -var y = cljs.core.first(arglist__11069); -arglist__11069 = cljs.core.next(arglist__11069); -var z = cljs.core.first(arglist__11069); -var args = cljs.core.rest(arglist__11069); -return G__11067__delegate(x,y,z,args); -}); -G__11067.cljs$core$IFn$_invoke$arity$variadic = G__11067__delegate; -return G__11067; -})() -; -G__11066 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return G__11066__0.call(this); -case 1: -return G__11066__1.call(this,x); -case 2: -return G__11066__2.call(this,x,y); -case 3: -return G__11066__3.call(this,x,y,z); -default: -var G__11070 = null; -if (arguments.length > 3) { -var G__11071__i = 0, G__11071__a = new Array(arguments.length - 3); -while (G__11071__i < G__11071__a.length) {G__11071__a[G__11071__i] = arguments[G__11071__i + 3]; ++G__11071__i;} -G__11070 = new cljs.core.IndexedSeq(G__11071__a,0,null); -} -return G__11066__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11070); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11066.cljs$lang$maxFixedArity = 3; -G__11066.cljs$lang$applyTo = G__11066__4.cljs$lang$applyTo; -G__11066.cljs$core$IFn$_invoke$arity$0 = G__11066__0; -G__11066.cljs$core$IFn$_invoke$arity$1 = G__11066__1; -G__11066.cljs$core$IFn$_invoke$arity$2 = G__11066__2; -G__11066.cljs$core$IFn$_invoke$arity$3 = G__11066__3; -G__11066.cljs$core$IFn$_invoke$arity$variadic = G__11066__4.cljs$core$IFn$_invoke$arity$variadic; -return G__11066; -})() -}); - -cljs.core.comp.cljs$core$IFn$_invoke$arity$3 = (function (f,g,h){ -return (function() { -var G__11072 = null; -var G__11072__0 = (function (){ -var G__11051 = (function (){var G__11052 = (h.cljs$core$IFn$_invoke$arity$0 ? h.cljs$core$IFn$_invoke$arity$0() : h.call(null)); -return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__11052) : g.call(null,G__11052)); -})(); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11051) : f.call(null,G__11051)); -}); -var G__11072__1 = (function (x){ -var G__11053 = (function (){var G__11054 = (h.cljs$core$IFn$_invoke$arity$1 ? h.cljs$core$IFn$_invoke$arity$1(x) : h.call(null,x)); -return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__11054) : g.call(null,G__11054)); -})(); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11053) : f.call(null,G__11053)); -}); -var G__11072__2 = (function (x,y){ -var G__11055 = (function (){var G__11056 = (h.cljs$core$IFn$_invoke$arity$2 ? h.cljs$core$IFn$_invoke$arity$2(x,y) : h.call(null,x,y)); -return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__11056) : g.call(null,G__11056)); -})(); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11055) : f.call(null,G__11055)); -}); -var G__11072__3 = (function (x,y,z){ -var G__11057 = (function (){var G__11058 = (h.cljs$core$IFn$_invoke$arity$3 ? h.cljs$core$IFn$_invoke$arity$3(x,y,z) : h.call(null,x,y,z)); -return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__11058) : g.call(null,G__11058)); -})(); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11057) : f.call(null,G__11057)); -}); -var G__11072__4 = (function() { -var G__11073__delegate = function (x,y,z,args){ -var G__11059 = (function (){var G__11060 = cljs.core.apply.cljs$core$IFn$_invoke$arity$5(h,x,y,z,args); -return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__11060) : g.call(null,G__11060)); -})(); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11059) : f.call(null,G__11059)); -}; -var G__11073 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11074__i = 0, G__11074__a = new Array(arguments.length - 3); -while (G__11074__i < G__11074__a.length) {G__11074__a[G__11074__i] = arguments[G__11074__i + 3]; ++G__11074__i;} - args = new cljs.core.IndexedSeq(G__11074__a,0,null); -} -return G__11073__delegate.call(this,x,y,z,args);}; -G__11073.cljs$lang$maxFixedArity = 3; -G__11073.cljs$lang$applyTo = (function (arglist__11075){ -var x = cljs.core.first(arglist__11075); -arglist__11075 = cljs.core.next(arglist__11075); -var y = cljs.core.first(arglist__11075); -arglist__11075 = cljs.core.next(arglist__11075); -var z = cljs.core.first(arglist__11075); -var args = cljs.core.rest(arglist__11075); -return G__11073__delegate(x,y,z,args); -}); -G__11073.cljs$core$IFn$_invoke$arity$variadic = G__11073__delegate; -return G__11073; -})() -; -G__11072 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return G__11072__0.call(this); -case 1: -return G__11072__1.call(this,x); -case 2: -return G__11072__2.call(this,x,y); -case 3: -return G__11072__3.call(this,x,y,z); -default: -var G__11076 = null; -if (arguments.length > 3) { -var G__11077__i = 0, G__11077__a = new Array(arguments.length - 3); -while (G__11077__i < G__11077__a.length) {G__11077__a[G__11077__i] = arguments[G__11077__i + 3]; ++G__11077__i;} -G__11076 = new cljs.core.IndexedSeq(G__11077__a,0,null); -} -return G__11072__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11076); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11072.cljs$lang$maxFixedArity = 3; -G__11072.cljs$lang$applyTo = G__11072__4.cljs$lang$applyTo; -G__11072.cljs$core$IFn$_invoke$arity$0 = G__11072__0; -G__11072.cljs$core$IFn$_invoke$arity$1 = G__11072__1; -G__11072.cljs$core$IFn$_invoke$arity$2 = G__11072__2; -G__11072.cljs$core$IFn$_invoke$arity$3 = G__11072__3; -G__11072.cljs$core$IFn$_invoke$arity$variadic = G__11072__4.cljs$core$IFn$_invoke$arity$variadic; -return G__11072; -})() -}); - -cljs.core.comp.cljs$core$IFn$_invoke$arity$variadic = (function (f1,f2,f3,fs){ -var fs__$1 = cljs.core.reverse(cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(f1,f2,f3,fs)); -return ((function (fs__$1){ -return (function() { -var G__11078__delegate = function (args){ -var ret = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.first(fs__$1),args); -var fs__$2 = cljs.core.next(fs__$1); -while(true){ -if(fs__$2){ -var G__11079 = (function (){var fexpr__11061 = cljs.core.first(fs__$2); -return (fexpr__11061.cljs$core$IFn$_invoke$arity$1 ? fexpr__11061.cljs$core$IFn$_invoke$arity$1(ret) : fexpr__11061.call(null,ret)); -})(); -var G__11080 = cljs.core.next(fs__$2); -ret = G__11079; -fs__$2 = G__11080; -continue; -} else { -return ret; -} -break; -} -}; -var G__11078 = function (var_args){ -var args = null; -if (arguments.length > 0) { -var G__11081__i = 0, G__11081__a = new Array(arguments.length - 0); -while (G__11081__i < G__11081__a.length) {G__11081__a[G__11081__i] = arguments[G__11081__i + 0]; ++G__11081__i;} - args = new cljs.core.IndexedSeq(G__11081__a,0,null); -} -return G__11078__delegate.call(this,args);}; -G__11078.cljs$lang$maxFixedArity = 0; -G__11078.cljs$lang$applyTo = (function (arglist__11082){ -var args = cljs.core.seq(arglist__11082); -return G__11078__delegate(args); -}); -G__11078.cljs$core$IFn$_invoke$arity$variadic = G__11078__delegate; -return G__11078; -})() -; -;})(fs__$1)) -}); - -/** @this {Function} */ -cljs.core.comp.cljs$lang$applyTo = (function (seq11041){ -var G__11042 = cljs.core.first(seq11041); -var seq11041__$1 = cljs.core.next(seq11041); -var G__11043 = cljs.core.first(seq11041__$1); -var seq11041__$2 = cljs.core.next(seq11041__$1); -var G__11044 = cljs.core.first(seq11041__$2); -var seq11041__$3 = cljs.core.next(seq11041__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11042,G__11043,G__11044,seq11041__$3); -}); - -cljs.core.comp.cljs$lang$maxFixedArity = (3); - -/** - * Takes a function f and fewer than the normal arguments to f, and - * returns a fn that takes a variable number of additional args. When - * called, the returned function calls f with args + additional args. - */ -cljs.core.partial = (function cljs$core$partial(var_args){ -var G__11089 = arguments.length; -switch (G__11089) { -case 1: -return cljs.core.partial.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.partial.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.partial.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.partial.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11091 = arguments.length; -var i__9001__auto___11092 = (0); -while(true){ -if((i__9001__auto___11092 < len__9000__auto___11091)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11092])); - -var G__11093 = (i__9001__auto___11092 + (1)); -i__9001__auto___11092 = G__11093; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((4)),(0),null)); -return cljs.core.partial.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__9026__auto__); - -} -}); - -cljs.core.partial.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return f; -}); - -cljs.core.partial.cljs$core$IFn$_invoke$arity$2 = (function (f,arg1){ -return (function() { -var G__11094 = null; -var G__11094__0 = (function (){ -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(arg1) : f.call(null,arg1)); -}); -var G__11094__1 = (function (x){ -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(arg1,x) : f.call(null,arg1,x)); -}); -var G__11094__2 = (function (x,y){ -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(arg1,x,y) : f.call(null,arg1,x,y)); -}); -var G__11094__3 = (function (x,y,z){ -return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(arg1,x,y,z) : f.call(null,arg1,x,y,z)); -}); -var G__11094__4 = (function() { -var G__11095__delegate = function (x,y,z,args){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,arg1,x,y,z,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([args], 0)); -}; -var G__11095 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11096__i = 0, G__11096__a = new Array(arguments.length - 3); -while (G__11096__i < G__11096__a.length) {G__11096__a[G__11096__i] = arguments[G__11096__i + 3]; ++G__11096__i;} - args = new cljs.core.IndexedSeq(G__11096__a,0,null); -} -return G__11095__delegate.call(this,x,y,z,args);}; -G__11095.cljs$lang$maxFixedArity = 3; -G__11095.cljs$lang$applyTo = (function (arglist__11097){ -var x = cljs.core.first(arglist__11097); -arglist__11097 = cljs.core.next(arglist__11097); -var y = cljs.core.first(arglist__11097); -arglist__11097 = cljs.core.next(arglist__11097); -var z = cljs.core.first(arglist__11097); -var args = cljs.core.rest(arglist__11097); -return G__11095__delegate(x,y,z,args); -}); -G__11095.cljs$core$IFn$_invoke$arity$variadic = G__11095__delegate; -return G__11095; -})() -; -G__11094 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return G__11094__0.call(this); -case 1: -return G__11094__1.call(this,x); -case 2: -return G__11094__2.call(this,x,y); -case 3: -return G__11094__3.call(this,x,y,z); -default: -var G__11098 = null; -if (arguments.length > 3) { -var G__11099__i = 0, G__11099__a = new Array(arguments.length - 3); -while (G__11099__i < G__11099__a.length) {G__11099__a[G__11099__i] = arguments[G__11099__i + 3]; ++G__11099__i;} -G__11098 = new cljs.core.IndexedSeq(G__11099__a,0,null); -} -return G__11094__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11098); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11094.cljs$lang$maxFixedArity = 3; -G__11094.cljs$lang$applyTo = G__11094__4.cljs$lang$applyTo; -G__11094.cljs$core$IFn$_invoke$arity$0 = G__11094__0; -G__11094.cljs$core$IFn$_invoke$arity$1 = G__11094__1; -G__11094.cljs$core$IFn$_invoke$arity$2 = G__11094__2; -G__11094.cljs$core$IFn$_invoke$arity$3 = G__11094__3; -G__11094.cljs$core$IFn$_invoke$arity$variadic = G__11094__4.cljs$core$IFn$_invoke$arity$variadic; -return G__11094; -})() -}); - -cljs.core.partial.cljs$core$IFn$_invoke$arity$3 = (function (f,arg1,arg2){ -return (function() { -var G__11100 = null; -var G__11100__0 = (function (){ -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(arg1,arg2) : f.call(null,arg1,arg2)); -}); -var G__11100__1 = (function (x){ -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(arg1,arg2,x) : f.call(null,arg1,arg2,x)); -}); -var G__11100__2 = (function (x,y){ -return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(arg1,arg2,x,y) : f.call(null,arg1,arg2,x,y)); -}); -var G__11100__3 = (function (x,y,z){ -return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(arg1,arg2,x,y,z) : f.call(null,arg1,arg2,x,y,z)); -}); -var G__11100__4 = (function() { -var G__11101__delegate = function (x,y,z,args){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,arg1,arg2,x,y,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([z,args], 0)); -}; -var G__11101 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11102__i = 0, G__11102__a = new Array(arguments.length - 3); -while (G__11102__i < G__11102__a.length) {G__11102__a[G__11102__i] = arguments[G__11102__i + 3]; ++G__11102__i;} - args = new cljs.core.IndexedSeq(G__11102__a,0,null); -} -return G__11101__delegate.call(this,x,y,z,args);}; -G__11101.cljs$lang$maxFixedArity = 3; -G__11101.cljs$lang$applyTo = (function (arglist__11103){ -var x = cljs.core.first(arglist__11103); -arglist__11103 = cljs.core.next(arglist__11103); -var y = cljs.core.first(arglist__11103); -arglist__11103 = cljs.core.next(arglist__11103); -var z = cljs.core.first(arglist__11103); -var args = cljs.core.rest(arglist__11103); -return G__11101__delegate(x,y,z,args); -}); -G__11101.cljs$core$IFn$_invoke$arity$variadic = G__11101__delegate; -return G__11101; -})() -; -G__11100 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return G__11100__0.call(this); -case 1: -return G__11100__1.call(this,x); -case 2: -return G__11100__2.call(this,x,y); -case 3: -return G__11100__3.call(this,x,y,z); -default: -var G__11104 = null; -if (arguments.length > 3) { -var G__11105__i = 0, G__11105__a = new Array(arguments.length - 3); -while (G__11105__i < G__11105__a.length) {G__11105__a[G__11105__i] = arguments[G__11105__i + 3]; ++G__11105__i;} -G__11104 = new cljs.core.IndexedSeq(G__11105__a,0,null); -} -return G__11100__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11104); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11100.cljs$lang$maxFixedArity = 3; -G__11100.cljs$lang$applyTo = G__11100__4.cljs$lang$applyTo; -G__11100.cljs$core$IFn$_invoke$arity$0 = G__11100__0; -G__11100.cljs$core$IFn$_invoke$arity$1 = G__11100__1; -G__11100.cljs$core$IFn$_invoke$arity$2 = G__11100__2; -G__11100.cljs$core$IFn$_invoke$arity$3 = G__11100__3; -G__11100.cljs$core$IFn$_invoke$arity$variadic = G__11100__4.cljs$core$IFn$_invoke$arity$variadic; -return G__11100; -})() -}); - -cljs.core.partial.cljs$core$IFn$_invoke$arity$4 = (function (f,arg1,arg2,arg3){ -return (function() { -var G__11106 = null; -var G__11106__0 = (function (){ -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(arg1,arg2,arg3) : f.call(null,arg1,arg2,arg3)); -}); -var G__11106__1 = (function (x){ -return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(arg1,arg2,arg3,x) : f.call(null,arg1,arg2,arg3,x)); -}); -var G__11106__2 = (function (x,y){ -return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(arg1,arg2,arg3,x,y) : f.call(null,arg1,arg2,arg3,x,y)); -}); -var G__11106__3 = (function (x,y,z){ -return (f.cljs$core$IFn$_invoke$arity$6 ? f.cljs$core$IFn$_invoke$arity$6(arg1,arg2,arg3,x,y,z) : f.call(null,arg1,arg2,arg3,x,y,z)); -}); -var G__11106__4 = (function() { -var G__11107__delegate = function (x,y,z,args){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,arg1,arg2,arg3,x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([y,z,args], 0)); -}; -var G__11107 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11108__i = 0, G__11108__a = new Array(arguments.length - 3); -while (G__11108__i < G__11108__a.length) {G__11108__a[G__11108__i] = arguments[G__11108__i + 3]; ++G__11108__i;} - args = new cljs.core.IndexedSeq(G__11108__a,0,null); -} -return G__11107__delegate.call(this,x,y,z,args);}; -G__11107.cljs$lang$maxFixedArity = 3; -G__11107.cljs$lang$applyTo = (function (arglist__11109){ -var x = cljs.core.first(arglist__11109); -arglist__11109 = cljs.core.next(arglist__11109); -var y = cljs.core.first(arglist__11109); -arglist__11109 = cljs.core.next(arglist__11109); -var z = cljs.core.first(arglist__11109); -var args = cljs.core.rest(arglist__11109); -return G__11107__delegate(x,y,z,args); -}); -G__11107.cljs$core$IFn$_invoke$arity$variadic = G__11107__delegate; -return G__11107; -})() -; -G__11106 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return G__11106__0.call(this); -case 1: -return G__11106__1.call(this,x); -case 2: -return G__11106__2.call(this,x,y); -case 3: -return G__11106__3.call(this,x,y,z); -default: -var G__11110 = null; -if (arguments.length > 3) { -var G__11111__i = 0, G__11111__a = new Array(arguments.length - 3); -while (G__11111__i < G__11111__a.length) {G__11111__a[G__11111__i] = arguments[G__11111__i + 3]; ++G__11111__i;} -G__11110 = new cljs.core.IndexedSeq(G__11111__a,0,null); -} -return G__11106__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11110); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11106.cljs$lang$maxFixedArity = 3; -G__11106.cljs$lang$applyTo = G__11106__4.cljs$lang$applyTo; -G__11106.cljs$core$IFn$_invoke$arity$0 = G__11106__0; -G__11106.cljs$core$IFn$_invoke$arity$1 = G__11106__1; -G__11106.cljs$core$IFn$_invoke$arity$2 = G__11106__2; -G__11106.cljs$core$IFn$_invoke$arity$3 = G__11106__3; -G__11106.cljs$core$IFn$_invoke$arity$variadic = G__11106__4.cljs$core$IFn$_invoke$arity$variadic; -return G__11106; -})() -}); - -cljs.core.partial.cljs$core$IFn$_invoke$arity$variadic = (function (f,arg1,arg2,arg3,more){ -return (function() { -var G__11112__delegate = function (args){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,arg1,arg2,arg3,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(more,args)); -}; -var G__11112 = function (var_args){ -var args = null; -if (arguments.length > 0) { -var G__11113__i = 0, G__11113__a = new Array(arguments.length - 0); -while (G__11113__i < G__11113__a.length) {G__11113__a[G__11113__i] = arguments[G__11113__i + 0]; ++G__11113__i;} - args = new cljs.core.IndexedSeq(G__11113__a,0,null); -} -return G__11112__delegate.call(this,args);}; -G__11112.cljs$lang$maxFixedArity = 0; -G__11112.cljs$lang$applyTo = (function (arglist__11114){ -var args = cljs.core.seq(arglist__11114); -return G__11112__delegate(args); -}); -G__11112.cljs$core$IFn$_invoke$arity$variadic = G__11112__delegate; -return G__11112; -})() -; -}); - -/** @this {Function} */ -cljs.core.partial.cljs$lang$applyTo = (function (seq11084){ -var G__11085 = cljs.core.first(seq11084); -var seq11084__$1 = cljs.core.next(seq11084); -var G__11086 = cljs.core.first(seq11084__$1); -var seq11084__$2 = cljs.core.next(seq11084__$1); -var G__11087 = cljs.core.first(seq11084__$2); -var seq11084__$3 = cljs.core.next(seq11084__$2); -var G__11088 = cljs.core.first(seq11084__$3); -var seq11084__$4 = cljs.core.next(seq11084__$3); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11085,G__11086,G__11087,G__11088,seq11084__$4); -}); - -cljs.core.partial.cljs$lang$maxFixedArity = (4); - -/** - * Takes a function f, and returns a function that calls f, replacing - * a nil first argument to f with the supplied value x. Higher arity - * versions can replace arguments in the second and third - * positions (y, z). Note that the function f can take any number of - * arguments, not just the one(s) being nil-patched. - */ -cljs.core.fnil = (function cljs$core$fnil(var_args){ -var G__11116 = arguments.length; -switch (G__11116) { -case 2: -return cljs.core.fnil.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.fnil.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.fnil.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.fnil.cljs$core$IFn$_invoke$arity$2 = (function (f,x){ -return (function() { -var G__11134 = null; -var G__11134__1 = (function (a){ -var G__11117 = (((a == null))?x:a); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11117) : f.call(null,G__11117)); -}); -var G__11134__2 = (function (a,b){ -var G__11118 = (((a == null))?x:a); -var G__11119 = b; -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11118,G__11119) : f.call(null,G__11118,G__11119)); -}); -var G__11134__3 = (function (a,b,c){ -var G__11120 = (((a == null))?x:a); -var G__11121 = b; -var G__11122 = c; -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11120,G__11121,G__11122) : f.call(null,G__11120,G__11121,G__11122)); -}); -var G__11134__4 = (function() { -var G__11135__delegate = function (a,b,c,ds){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,(((a == null))?x:a),b,c,ds); -}; -var G__11135 = function (a,b,c,var_args){ -var ds = null; -if (arguments.length > 3) { -var G__11136__i = 0, G__11136__a = new Array(arguments.length - 3); -while (G__11136__i < G__11136__a.length) {G__11136__a[G__11136__i] = arguments[G__11136__i + 3]; ++G__11136__i;} - ds = new cljs.core.IndexedSeq(G__11136__a,0,null); -} -return G__11135__delegate.call(this,a,b,c,ds);}; -G__11135.cljs$lang$maxFixedArity = 3; -G__11135.cljs$lang$applyTo = (function (arglist__11137){ -var a = cljs.core.first(arglist__11137); -arglist__11137 = cljs.core.next(arglist__11137); -var b = cljs.core.first(arglist__11137); -arglist__11137 = cljs.core.next(arglist__11137); -var c = cljs.core.first(arglist__11137); -var ds = cljs.core.rest(arglist__11137); -return G__11135__delegate(a,b,c,ds); -}); -G__11135.cljs$core$IFn$_invoke$arity$variadic = G__11135__delegate; -return G__11135; -})() -; -G__11134 = function(a,b,c,var_args){ -var ds = var_args; -switch(arguments.length){ -case 1: -return G__11134__1.call(this,a); -case 2: -return G__11134__2.call(this,a,b); -case 3: -return G__11134__3.call(this,a,b,c); -default: -var G__11138 = null; -if (arguments.length > 3) { -var G__11139__i = 0, G__11139__a = new Array(arguments.length - 3); -while (G__11139__i < G__11139__a.length) {G__11139__a[G__11139__i] = arguments[G__11139__i + 3]; ++G__11139__i;} -G__11138 = new cljs.core.IndexedSeq(G__11139__a,0,null); -} -return G__11134__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__11138); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11134.cljs$lang$maxFixedArity = 3; -G__11134.cljs$lang$applyTo = G__11134__4.cljs$lang$applyTo; -G__11134.cljs$core$IFn$_invoke$arity$1 = G__11134__1; -G__11134.cljs$core$IFn$_invoke$arity$2 = G__11134__2; -G__11134.cljs$core$IFn$_invoke$arity$3 = G__11134__3; -G__11134.cljs$core$IFn$_invoke$arity$variadic = G__11134__4.cljs$core$IFn$_invoke$arity$variadic; -return G__11134; -})() -}); - -cljs.core.fnil.cljs$core$IFn$_invoke$arity$3 = (function (f,x,y){ -return (function() { -var G__11140 = null; -var G__11140__2 = (function (a,b){ -var G__11123 = (((a == null))?x:a); -var G__11124 = (((b == null))?y:b); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11123,G__11124) : f.call(null,G__11123,G__11124)); -}); -var G__11140__3 = (function (a,b,c){ -var G__11125 = (((a == null))?x:a); -var G__11126 = (((b == null))?y:b); -var G__11127 = c; -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11125,G__11126,G__11127) : f.call(null,G__11125,G__11126,G__11127)); -}); -var G__11140__4 = (function() { -var G__11141__delegate = function (a,b,c,ds){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,(((a == null))?x:a),(((b == null))?y:b),c,ds); -}; -var G__11141 = function (a,b,c,var_args){ -var ds = null; -if (arguments.length > 3) { -var G__11142__i = 0, G__11142__a = new Array(arguments.length - 3); -while (G__11142__i < G__11142__a.length) {G__11142__a[G__11142__i] = arguments[G__11142__i + 3]; ++G__11142__i;} - ds = new cljs.core.IndexedSeq(G__11142__a,0,null); -} -return G__11141__delegate.call(this,a,b,c,ds);}; -G__11141.cljs$lang$maxFixedArity = 3; -G__11141.cljs$lang$applyTo = (function (arglist__11143){ -var a = cljs.core.first(arglist__11143); -arglist__11143 = cljs.core.next(arglist__11143); -var b = cljs.core.first(arglist__11143); -arglist__11143 = cljs.core.next(arglist__11143); -var c = cljs.core.first(arglist__11143); -var ds = cljs.core.rest(arglist__11143); -return G__11141__delegate(a,b,c,ds); -}); -G__11141.cljs$core$IFn$_invoke$arity$variadic = G__11141__delegate; -return G__11141; -})() -; -G__11140 = function(a,b,c,var_args){ -var ds = var_args; -switch(arguments.length){ -case 2: -return G__11140__2.call(this,a,b); -case 3: -return G__11140__3.call(this,a,b,c); -default: -var G__11144 = null; -if (arguments.length > 3) { -var G__11145__i = 0, G__11145__a = new Array(arguments.length - 3); -while (G__11145__i < G__11145__a.length) {G__11145__a[G__11145__i] = arguments[G__11145__i + 3]; ++G__11145__i;} -G__11144 = new cljs.core.IndexedSeq(G__11145__a,0,null); -} -return G__11140__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__11144); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11140.cljs$lang$maxFixedArity = 3; -G__11140.cljs$lang$applyTo = G__11140__4.cljs$lang$applyTo; -G__11140.cljs$core$IFn$_invoke$arity$2 = G__11140__2; -G__11140.cljs$core$IFn$_invoke$arity$3 = G__11140__3; -G__11140.cljs$core$IFn$_invoke$arity$variadic = G__11140__4.cljs$core$IFn$_invoke$arity$variadic; -return G__11140; -})() -}); - -cljs.core.fnil.cljs$core$IFn$_invoke$arity$4 = (function (f,x,y,z){ -return (function() { -var G__11146 = null; -var G__11146__2 = (function (a,b){ -var G__11128 = (((a == null))?x:a); -var G__11129 = (((b == null))?y:b); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11128,G__11129) : f.call(null,G__11128,G__11129)); -}); -var G__11146__3 = (function (a,b,c){ -var G__11130 = (((a == null))?x:a); -var G__11131 = (((b == null))?y:b); -var G__11132 = (((c == null))?z:c); -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11130,G__11131,G__11132) : f.call(null,G__11130,G__11131,G__11132)); -}); -var G__11146__4 = (function() { -var G__11147__delegate = function (a,b,c,ds){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,(((a == null))?x:a),(((b == null))?y:b),(((c == null))?z:c),ds); -}; -var G__11147 = function (a,b,c,var_args){ -var ds = null; -if (arguments.length > 3) { -var G__11148__i = 0, G__11148__a = new Array(arguments.length - 3); -while (G__11148__i < G__11148__a.length) {G__11148__a[G__11148__i] = arguments[G__11148__i + 3]; ++G__11148__i;} - ds = new cljs.core.IndexedSeq(G__11148__a,0,null); -} -return G__11147__delegate.call(this,a,b,c,ds);}; -G__11147.cljs$lang$maxFixedArity = 3; -G__11147.cljs$lang$applyTo = (function (arglist__11149){ -var a = cljs.core.first(arglist__11149); -arglist__11149 = cljs.core.next(arglist__11149); -var b = cljs.core.first(arglist__11149); -arglist__11149 = cljs.core.next(arglist__11149); -var c = cljs.core.first(arglist__11149); -var ds = cljs.core.rest(arglist__11149); -return G__11147__delegate(a,b,c,ds); -}); -G__11147.cljs$core$IFn$_invoke$arity$variadic = G__11147__delegate; -return G__11147; -})() -; -G__11146 = function(a,b,c,var_args){ -var ds = var_args; -switch(arguments.length){ -case 2: -return G__11146__2.call(this,a,b); -case 3: -return G__11146__3.call(this,a,b,c); -default: -var G__11150 = null; -if (arguments.length > 3) { -var G__11151__i = 0, G__11151__a = new Array(arguments.length - 3); -while (G__11151__i < G__11151__a.length) {G__11151__a[G__11151__i] = arguments[G__11151__i + 3]; ++G__11151__i;} -G__11150 = new cljs.core.IndexedSeq(G__11151__a,0,null); -} -return G__11146__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__11150); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11146.cljs$lang$maxFixedArity = 3; -G__11146.cljs$lang$applyTo = G__11146__4.cljs$lang$applyTo; -G__11146.cljs$core$IFn$_invoke$arity$2 = G__11146__2; -G__11146.cljs$core$IFn$_invoke$arity$3 = G__11146__3; -G__11146.cljs$core$IFn$_invoke$arity$variadic = G__11146__4.cljs$core$IFn$_invoke$arity$variadic; -return G__11146; -})() -}); - -cljs.core.fnil.cljs$lang$maxFixedArity = 4; - -/** - * Returns a lazy sequence consisting of the result of applying f to 0 - * and the first item of coll, followed by applying f to 1 and the second - * item in coll, etc, until coll is exhausted. Thus function f should - * accept 2 arguments, index and item. Returns a stateful transducer when - * no collection is provided. - */ -cljs.core.map_indexed = (function cljs$core$map_indexed(var_args){ -var G__11153 = arguments.length; -switch (G__11153) { -case 1: -return cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return (function (rf){ -var i = cljs.core.volatile_BANG_((-1)); -return ((function (i){ -return (function() { -var G__11167 = null; -var G__11167__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__11167__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__11167__2 = (function (result,input){ -var G__11154 = result; -var G__11155 = (function (){var G__11156 = i.cljs$core$IVolatile$_vreset_BANG_$arity$2(null,(i.cljs$core$IDeref$_deref$arity$1(null) + (1))); -var G__11157 = input; -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11156,G__11157) : f.call(null,G__11156,G__11157)); -})(); -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(G__11154,G__11155) : rf.call(null,G__11154,G__11155)); -}); -G__11167 = function(result,input){ -switch(arguments.length){ -case 0: -return G__11167__0.call(this); -case 1: -return G__11167__1.call(this,result); -case 2: -return G__11167__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11167.cljs$core$IFn$_invoke$arity$0 = G__11167__0; -G__11167.cljs$core$IFn$_invoke$arity$1 = G__11167__1; -G__11167.cljs$core$IFn$_invoke$arity$2 = G__11167__2; -return G__11167; -})() -;})(i)) -}); -}); - -cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ -var mapi = (function cljs$core$mapi(idx,coll__$1){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll__$1); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(s)){ -var c = cljs.core.chunk_first(s); -var size = cljs.core.count(c); -var b = cljs.core.chunk_buffer(size); -var n__8769__auto___11168 = size; -var i_11169 = (0); -while(true){ -if((i_11169 < n__8769__auto___11168)){ -cljs.core.chunk_append(b,(function (){var G__11162 = (idx + i_11169); -var G__11163 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_11169); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11162,G__11163) : f.call(null,G__11162,G__11163)); -})()); - -var G__11170 = (i_11169 + (1)); -i_11169 = G__11170; -continue; -} else { -} -break; -} - -return cljs.core.chunk_cons(cljs.core.chunk(b),cljs$core$mapi((idx + size),cljs.core.chunk_rest(s))); -} else { -return cljs.core.cons((function (){var G__11164 = idx; -var G__11165 = cljs.core.first(s); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11164,G__11165) : f.call(null,G__11164,G__11165)); -})(),cljs$core$mapi((idx + (1)),cljs.core.rest(s))); -} -} else { -return null; -} -}),null,null)); -}); -return mapi((0),coll); -}); - -cljs.core.map_indexed.cljs$lang$maxFixedArity = 2; - -/** - * Returns a lazy sequence of the non-nil results of (f item). Note, - * this means false return values will be included. f must be free of - * side-effects. Returns a transducer when no collection is provided. - */ -cljs.core.keep = (function cljs$core$keep(var_args){ -var G__11172 = arguments.length; -switch (G__11172) { -case 1: -return cljs.core.keep.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.keep.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.keep.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return (function (rf){ -return (function() { -var G__11176 = null; -var G__11176__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__11176__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__11176__2 = (function (result,input){ -var v = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(input) : f.call(null,input)); -if((v == null)){ -return result; -} else { -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null,result,v)); -} -}); -G__11176 = function(result,input){ -switch(arguments.length){ -case 0: -return G__11176__0.call(this); -case 1: -return G__11176__1.call(this,result); -case 2: -return G__11176__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11176.cljs$core$IFn$_invoke$arity$0 = G__11176__0; -G__11176.cljs$core$IFn$_invoke$arity$1 = G__11176__1; -G__11176.cljs$core$IFn$_invoke$arity$2 = G__11176__2; -return G__11176; -})() -}); -}); - -cljs.core.keep.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(s)){ -var c = cljs.core.chunk_first(s); -var size = cljs.core.count(c); -var b = cljs.core.chunk_buffer(size); -var n__8769__auto___11177 = size; -var i_11178 = (0); -while(true){ -if((i_11178 < n__8769__auto___11177)){ -var x_11179 = (function (){var G__11173 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_11178); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11173) : f.call(null,G__11173)); -})(); -if((x_11179 == null)){ -} else { -cljs.core.chunk_append(b,x_11179); -} - -var G__11180 = (i_11178 + (1)); -i_11178 = G__11180; -continue; -} else { -} -break; -} - -return cljs.core.chunk_cons(cljs.core.chunk(b),cljs.core.keep.cljs$core$IFn$_invoke$arity$2(f,cljs.core.chunk_rest(s))); -} else { -var x = (function (){var G__11174 = cljs.core.first(s); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11174) : f.call(null,G__11174)); -})(); -if((x == null)){ -return cljs.core.keep.cljs$core$IFn$_invoke$arity$2(f,cljs.core.rest(s)); -} else { -return cljs.core.cons(x,cljs.core.keep.cljs$core$IFn$_invoke$arity$2(f,cljs.core.rest(s))); -} -} -} else { -return null; -} -}),null,null)); -}); - -cljs.core.keep.cljs$lang$maxFixedArity = 2; - - -/** -* @constructor - * @implements {cljs.core.IWatchable} - * @implements {cljs.core.IAtom} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.IDeref} -*/ -cljs.core.Atom = (function (state,meta,validator,watches){ -this.state = state; -this.meta = meta; -this.validator = validator; -this.watches = watches; -this.cljs$lang$protocol_mask$partition1$ = 16386; -this.cljs$lang$protocol_mask$partition0$ = 6455296; -}); -cljs.core.Atom.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.Atom.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (o,other){ -var self__ = this; -var o__$1 = this; -return (o__$1 === other); -}); - -cljs.core.Atom.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.state; -}); - -cljs.core.Atom.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.meta; -}); - -cljs.core.Atom.prototype.cljs$core$IWatchable$_notify_watches$arity$3 = (function (this$,oldval,newval){ -var self__ = this; -var this$__$1 = this; -var seq__11181 = cljs.core.seq(self__.watches); -var chunk__11182 = null; -var count__11183 = (0); -var i__11184 = (0); -while(true){ -if((i__11184 < count__11183)){ -var vec__11185 = chunk__11182.cljs$core$IIndexed$_nth$arity$2(null,i__11184); -var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11185,(0),null); -var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11185,(1),null); -(f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(key,this$__$1,oldval,newval) : f.call(null,key,this$__$1,oldval,newval)); - - -var G__11191 = seq__11181; -var G__11192 = chunk__11182; -var G__11193 = count__11183; -var G__11194 = (i__11184 + (1)); -seq__11181 = G__11191; -chunk__11182 = G__11192; -count__11183 = G__11193; -i__11184 = G__11194; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__11181); -if(temp__4657__auto__){ -var seq__11181__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__11181__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__11181__$1); -var G__11195 = cljs.core.chunk_rest(seq__11181__$1); -var G__11196 = c__8664__auto__; -var G__11197 = cljs.core.count(c__8664__auto__); -var G__11198 = (0); -seq__11181 = G__11195; -chunk__11182 = G__11196; -count__11183 = G__11197; -i__11184 = G__11198; -continue; -} else { -var vec__11188 = cljs.core.first(seq__11181__$1); -var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11188,(0),null); -var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11188,(1),null); -(f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(key,this$__$1,oldval,newval) : f.call(null,key,this$__$1,oldval,newval)); - - -var G__11199 = cljs.core.next(seq__11181__$1); -var G__11200 = null; -var G__11201 = (0); -var G__11202 = (0); -seq__11181 = G__11199; -chunk__11182 = G__11200; -count__11183 = G__11201; -i__11184 = G__11202; -continue; -} -} else { -return null; -} -} -break; -} -}); - -cljs.core.Atom.prototype.cljs$core$IWatchable$_add_watch$arity$3 = (function (this$,key,f){ -var self__ = this; -var this$__$1 = this; -this$__$1.watches = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.watches,key,f); - -return this$__$1; -}); - -cljs.core.Atom.prototype.cljs$core$IWatchable$_remove_watch$arity$2 = (function (this$,key){ -var self__ = this; -var this$__$1 = this; -return this$__$1.watches = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.watches,key); -}); - -cljs.core.Atom.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return goog.getUid(this$__$1); -}); - -cljs.core.Atom.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"state","state",-348086572,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"validator","validator",-325659154,null),new cljs.core.Symbol(null,"watches","watches",1367433992,null)], null); -}); - -cljs.core.Atom.cljs$lang$type = true; - -cljs.core.Atom.cljs$lang$ctorStr = "cljs.core/Atom"; - -cljs.core.Atom.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Atom"); -}); - -/** - * Positional factory function for cljs.core/Atom. - */ -cljs.core.__GT_Atom = (function cljs$core$__GT_Atom(state,meta,validator,watches){ -return (new cljs.core.Atom(state,meta,validator,watches)); -}); - -/** - * Creates and returns an Atom with an initial value of x and zero or - * more options (in any order): - * - * :meta metadata-map - * - * :validator validate-fn - * - * If metadata-map is supplied, it will be come the metadata on the - * atom. validate-fn must be nil or a side-effect-free fn of one - * argument, which will be passed the intended new state on any state - * change. If the new state is unacceptable, the validate-fn should - * return false or throw an Error. If either of these error conditions - * occur, then the value of the atom will not change. - */ -cljs.core.atom = (function cljs$core$atom(var_args){ -var G__11206 = arguments.length; -switch (G__11206) { -case 1: -return cljs.core.atom.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11211 = arguments.length; -var i__9001__auto___11212 = (0); -while(true){ -if((i__9001__auto___11212 < len__9000__auto___11211)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11212])); - -var G__11213 = (i__9001__auto___11212 + (1)); -i__9001__auto___11212 = G__11213; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((1)),(0),null)); -return cljs.core.atom.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9026__auto__); - -} -}); - -cljs.core.atom.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return (new cljs.core.Atom(x,null,null,null)); -}); - -cljs.core.atom.cljs$core$IFn$_invoke$arity$variadic = (function (x,p__11207){ -var map__11208 = p__11207; -var map__11208__$1 = (((((!((map__11208 == null))))?(((((map__11208.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__11208.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__11208):map__11208); -var meta = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__11208__$1,new cljs.core.Keyword(null,"meta","meta",1499536964)); -var validator = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__11208__$1,new cljs.core.Keyword(null,"validator","validator",-1966190681)); -return (new cljs.core.Atom(x,meta,validator,null)); -}); - -/** @this {Function} */ -cljs.core.atom.cljs$lang$applyTo = (function (seq11204){ -var G__11205 = cljs.core.first(seq11204); -var seq11204__$1 = cljs.core.next(seq11204); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11205,seq11204__$1); -}); - -cljs.core.atom.cljs$lang$maxFixedArity = (1); - -/** - * Sets the value of atom to newval without regard for the - * current value. Returns new-value. - */ -cljs.core.reset_BANG_ = (function cljs$core$reset_BANG_(a,new_value){ -if((a instanceof cljs.core.Atom)){ -var validate = a.validator; -if((validate == null)){ -} else { -if(cljs.core.truth_((validate.cljs$core$IFn$_invoke$arity$1 ? validate.cljs$core$IFn$_invoke$arity$1(new_value) : validate.call(null,new_value)))){ -} else { -throw (new Error("Validator rejected reference state")); -} -} - -var old_value = a.state; -a.state = new_value; - -if((a.watches == null)){ -} else { -cljs.core._notify_watches(a,old_value,new_value); -} - -return new_value; -} else { -return cljs.core._reset_BANG_(a,new_value); -} -}); -/** - * Sets the value of atom to newval. Returns [old new], the value of the - * atom before and after the reset. - */ -cljs.core.reset_vals_BANG_ = (function cljs$core$reset_vals_BANG_(a,new_value){ -var validate = a.validator; -if((validate == null)){ -} else { -if(cljs.core.truth_((validate.cljs$core$IFn$_invoke$arity$1 ? validate.cljs$core$IFn$_invoke$arity$1(new_value) : validate.call(null,new_value)))){ -} else { -throw (new Error("Validator rejected reference state")); -} -} - -var old_value = a.state; -a.state = new_value; - -if((a.watches == null)){ -} else { -cljs.core._notify_watches(a,old_value,new_value); -} - -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [old_value,new_value], null); -}); -/** - * Atomically swaps the value of atom to be: - * (apply f current-value-of-atom args). Note that f may be called - * multiple times, and thus should be free of side effects. Returns - * the value that was swapped in. - */ -cljs.core.swap_BANG_ = (function cljs$core$swap_BANG_(var_args){ -var G__11220 = arguments.length; -switch (G__11220) { -case 2: -return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11228 = arguments.length; -var i__9001__auto___11229 = (0); -while(true){ -if((i__9001__auto___11229 < len__9000__auto___11228)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11229])); - -var G__11230 = (i__9001__auto___11229 + (1)); -i__9001__auto___11229 = G__11230; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((4)),(0),null)); -return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__9026__auto__); - -} -}); - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (a,f){ -if((a instanceof cljs.core.Atom)){ -return cljs.core.reset_BANG_(a,(function (){var G__11221 = a.state; -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11221) : f.call(null,G__11221)); -})()); -} else { -return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$2(a,f); -} -}); - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (a,f,x){ -if((a instanceof cljs.core.Atom)){ -return cljs.core.reset_BANG_(a,(function (){var G__11222 = a.state; -var G__11223 = x; -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11222,G__11223) : f.call(null,G__11222,G__11223)); -})()); -} else { -return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$3(a,f,x); -} -}); - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4 = (function (a,f,x,y){ -if((a instanceof cljs.core.Atom)){ -return cljs.core.reset_BANG_(a,(function (){var G__11224 = a.state; -var G__11225 = x; -var G__11226 = y; -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11224,G__11225,G__11226) : f.call(null,G__11224,G__11225,G__11226)); -})()); -} else { -return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$4(a,f,x,y); -} -}); - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (a,f,x,y,more){ -if((a instanceof cljs.core.Atom)){ -return cljs.core.reset_BANG_(a,cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,a.state,x,y,more)); -} else { -return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$5(a,f,x,y,more); -} -}); - -/** @this {Function} */ -cljs.core.swap_BANG_.cljs$lang$applyTo = (function (seq11215){ -var G__11216 = cljs.core.first(seq11215); -var seq11215__$1 = cljs.core.next(seq11215); -var G__11217 = cljs.core.first(seq11215__$1); -var seq11215__$2 = cljs.core.next(seq11215__$1); -var G__11218 = cljs.core.first(seq11215__$2); -var seq11215__$3 = cljs.core.next(seq11215__$2); -var G__11219 = cljs.core.first(seq11215__$3); -var seq11215__$4 = cljs.core.next(seq11215__$3); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11216,G__11217,G__11218,G__11219,seq11215__$4); -}); - -cljs.core.swap_BANG_.cljs$lang$maxFixedArity = (4); - -/** - * Atomically swaps the value of atom to be: - * (apply f current-value-of-atom args). Note that f may be called - * multiple times, and thus should be free of side effects. - * Returns [old new], the value of the atom before and after the swap. - */ -cljs.core.swap_vals_BANG_ = (function cljs$core$swap_vals_BANG_(var_args){ -var G__11237 = arguments.length; -switch (G__11237) { -case 2: -return cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11245 = arguments.length; -var i__9001__auto___11246 = (0); -while(true){ -if((i__9001__auto___11246 < len__9000__auto___11245)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11246])); - -var G__11247 = (i__9001__auto___11246 + (1)); -i__9001__auto___11246 = G__11247; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((4)),(0),null)); -return cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__9026__auto__); - -} -}); - -cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (a,f){ -return cljs.core.reset_vals_BANG_(a,(function (){var G__11238 = a.state; -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11238) : f.call(null,G__11238)); -})()); -}); - -cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (a,f,x){ -return cljs.core.reset_vals_BANG_(a,(function (){var G__11239 = a.state; -var G__11240 = x; -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11239,G__11240) : f.call(null,G__11239,G__11240)); -})()); -}); - -cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$4 = (function (a,f,x,y){ -return cljs.core.reset_vals_BANG_(a,(function (){var G__11241 = a.state; -var G__11242 = x; -var G__11243 = y; -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11241,G__11242,G__11243) : f.call(null,G__11241,G__11242,G__11243)); -})()); -}); - -cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (a,f,x,y,more){ -return cljs.core.reset_vals_BANG_(a,cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,a.state,x,y,more)); -}); - -/** @this {Function} */ -cljs.core.swap_vals_BANG_.cljs$lang$applyTo = (function (seq11232){ -var G__11233 = cljs.core.first(seq11232); -var seq11232__$1 = cljs.core.next(seq11232); -var G__11234 = cljs.core.first(seq11232__$1); -var seq11232__$2 = cljs.core.next(seq11232__$1); -var G__11235 = cljs.core.first(seq11232__$2); -var seq11232__$3 = cljs.core.next(seq11232__$2); -var G__11236 = cljs.core.first(seq11232__$3); -var seq11232__$4 = cljs.core.next(seq11232__$3); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11233,G__11234,G__11235,G__11236,seq11232__$4); -}); - -cljs.core.swap_vals_BANG_.cljs$lang$maxFixedArity = (4); - -/** - * Atomically sets the value of atom to newval if and only if the - * current value of the atom is equal to oldval. Returns true if - * set happened, else false. - */ -cljs.core.compare_and_set_BANG_ = (function cljs$core$compare_and_set_BANG_(a,oldval,newval){ -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(a.cljs$core$IDeref$_deref$arity$1(null),oldval)){ -cljs.core.reset_BANG_(a,newval); - -return true; -} else { -return false; -} -}); -/** - * Sets the validator-fn for an atom. validator-fn must be nil or a - * side-effect-free fn of one argument, which will be passed the intended - * new state on any state change. If the new state is unacceptable, the - * validator-fn should return false or throw an Error. If the current state - * is not acceptable to the new validator, an Error will be thrown and the - * validator will not be changed. - */ -cljs.core.set_validator_BANG_ = (function cljs$core$set_validator_BANG_(iref,val){ -if((((!((val == null)))) && (cljs.core.not((function (){var G__11249 = cljs.core._deref(iref); -return (val.cljs$core$IFn$_invoke$arity$1 ? val.cljs$core$IFn$_invoke$arity$1(G__11249) : val.call(null,G__11249)); -})())))){ -throw (new Error("Validator rejected reference state")); -} else { -} - -return iref.validator = val; -}); -/** - * Gets the validator-fn for a var/ref/agent/atom. - */ -cljs.core.get_validator = (function cljs$core$get_validator(iref){ -return iref.validator; -}); - -/** -* @constructor - * @implements {cljs.core.IVolatile} - * @implements {cljs.core.IDeref} -*/ -cljs.core.Volatile = (function (state){ -this.state = state; -this.cljs$lang$protocol_mask$partition0$ = 32768; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.Volatile.prototype.cljs$core$IVolatile$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Volatile.prototype.cljs$core$IVolatile$_vreset_BANG_$arity$2 = (function (_,new_state){ -var self__ = this; -var ___$1 = this; -return self__.state = new_state; -}); - -cljs.core.Volatile.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return self__.state; -}); - -cljs.core.Volatile.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"state","state",-348086572,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Volatile.cljs$lang$type = true; - -cljs.core.Volatile.cljs$lang$ctorStr = "cljs.core/Volatile"; - -cljs.core.Volatile.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Volatile"); -}); - -/** - * Positional factory function for cljs.core/Volatile. - */ -cljs.core.__GT_Volatile = (function cljs$core$__GT_Volatile(state){ -return (new cljs.core.Volatile(state)); -}); - -/** - * Creates and returns a Volatile with an initial value of val. - */ -cljs.core.volatile_BANG_ = (function cljs$core$volatile_BANG_(val){ -return (new cljs.core.Volatile(val)); -}); -/** - * Returns true if x is a volatile. - */ -cljs.core.volatile_QMARK_ = (function cljs$core$volatile_QMARK_(x){ -return (x instanceof cljs.core.Volatile); -}); -/** - * Sets the value of volatile to newval without regard for the - * current value. Returns newval. - */ -cljs.core.vreset_BANG_ = (function cljs$core$vreset_BANG_(vol,newval){ -return cljs.core._vreset_BANG_(vol,newval); -}); -/** - * Returns a lazy sequence of the non-nil results of (f index item). Note, - * this means false return values will be included. f must be free of - * side-effects. Returns a stateful transducer when no collection is - * provided. - */ -cljs.core.keep_indexed = (function cljs$core$keep_indexed(var_args){ -var G__11251 = arguments.length; -switch (G__11251) { -case 1: -return cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return (function (rf){ -var ia = cljs.core.volatile_BANG_((-1)); -return ((function (ia){ -return (function() { -var G__11261 = null; -var G__11261__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__11261__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__11261__2 = (function (result,input){ -var i = ia.cljs$core$IVolatile$_vreset_BANG_$arity$2(null,(ia.cljs$core$IDeref$_deref$arity$1(null) + (1))); -var v = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(i,input) : f.call(null,i,input)); -if((v == null)){ -return result; -} else { -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null,result,v)); -} -}); -G__11261 = function(result,input){ -switch(arguments.length){ -case 0: -return G__11261__0.call(this); -case 1: -return G__11261__1.call(this,result); -case 2: -return G__11261__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11261.cljs$core$IFn$_invoke$arity$0 = G__11261__0; -G__11261.cljs$core$IFn$_invoke$arity$1 = G__11261__1; -G__11261.cljs$core$IFn$_invoke$arity$2 = G__11261__2; -return G__11261; -})() -;})(ia)) -}); -}); - -cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ -var keepi = (function cljs$core$keepi(idx,coll__$1){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll__$1); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(s)){ -var c = cljs.core.chunk_first(s); -var size = cljs.core.count(c); -var b = cljs.core.chunk_buffer(size); -var n__8769__auto___11262 = size; -var i_11263 = (0); -while(true){ -if((i_11263 < n__8769__auto___11262)){ -var x_11264 = (function (){var G__11256 = (idx + i_11263); -var G__11257 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_11263); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11256,G__11257) : f.call(null,G__11256,G__11257)); -})(); -if((x_11264 == null)){ -} else { -cljs.core.chunk_append(b,x_11264); -} - -var G__11265 = (i_11263 + (1)); -i_11263 = G__11265; -continue; -} else { -} -break; -} - -return cljs.core.chunk_cons(cljs.core.chunk(b),cljs$core$keepi((idx + size),cljs.core.chunk_rest(s))); -} else { -var x = (function (){var G__11258 = idx; -var G__11259 = cljs.core.first(s); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11258,G__11259) : f.call(null,G__11258,G__11259)); -})(); -if((x == null)){ -return cljs$core$keepi((idx + (1)),cljs.core.rest(s)); -} else { -return cljs.core.cons(x,cljs$core$keepi((idx + (1)),cljs.core.rest(s))); -} -} -} else { -return null; -} -}),null,null)); -}); -return keepi((0),coll); -}); - -cljs.core.keep_indexed.cljs$lang$maxFixedArity = 2; - -/** - * Takes a set of predicates and returns a function f that returns true if all of its - * composing predicates return a logical true value against all of its arguments, else it returns - * false. Note that f is short-circuiting in that it will stop execution on the first - * argument that triggers a logical false result against the original predicates. - */ -cljs.core.every_pred = (function cljs$core$every_pred(var_args){ -var G__11277 = arguments.length; -switch (G__11277) { -case 1: -return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11279 = arguments.length; -var i__9001__auto___11280 = (0); -while(true){ -if((i__9001__auto___11280 < len__9000__auto___11279)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11280])); - -var G__11281 = (i__9001__auto___11280 + (1)); -i__9001__auto___11280 = G__11281; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.every_pred.cljs$core$IFn$_invoke$arity$1 = (function (p){ -return (function() { -var cljs$core$ep1 = null; -var cljs$core$ep1__0 = (function (){ -return true; -}); -var cljs$core$ep1__1 = (function (x){ -return cljs.core.boolean$((p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null,x))); -}); -var cljs$core$ep1__2 = (function (x,y){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null,y)); -} else { -return and__7791__auto__; -} -})()); -}); -var cljs$core$ep1__3 = (function (x,y,z){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -var and__7791__auto____$1 = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$1)){ -return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(z) : p.call(null,z)); -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -})()); -}); -var cljs$core$ep1__4 = (function() { -var G__11282__delegate = function (x,y,z,args){ -return cljs.core.boolean$((function (){var and__7791__auto__ = cljs$core$ep1.cljs$core$IFn$_invoke$arity$3(x,y,z); -if(cljs.core.truth_(and__7791__auto__)){ -return cljs.core.every_QMARK_(p,args); -} else { -return and__7791__auto__; -} -})()); -}; -var G__11282 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11283__i = 0, G__11283__a = new Array(arguments.length - 3); -while (G__11283__i < G__11283__a.length) {G__11283__a[G__11283__i] = arguments[G__11283__i + 3]; ++G__11283__i;} - args = new cljs.core.IndexedSeq(G__11283__a,0,null); -} -return G__11282__delegate.call(this,x,y,z,args);}; -G__11282.cljs$lang$maxFixedArity = 3; -G__11282.cljs$lang$applyTo = (function (arglist__11284){ -var x = cljs.core.first(arglist__11284); -arglist__11284 = cljs.core.next(arglist__11284); -var y = cljs.core.first(arglist__11284); -arglist__11284 = cljs.core.next(arglist__11284); -var z = cljs.core.first(arglist__11284); -var args = cljs.core.rest(arglist__11284); -return G__11282__delegate(x,y,z,args); -}); -G__11282.cljs$core$IFn$_invoke$arity$variadic = G__11282__delegate; -return G__11282; -})() -; -cljs$core$ep1 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return cljs$core$ep1__0.call(this); -case 1: -return cljs$core$ep1__1.call(this,x); -case 2: -return cljs$core$ep1__2.call(this,x,y); -case 3: -return cljs$core$ep1__3.call(this,x,y,z); -default: -var G__11285 = null; -if (arguments.length > 3) { -var G__11286__i = 0, G__11286__a = new Array(arguments.length - 3); -while (G__11286__i < G__11286__a.length) {G__11286__a[G__11286__i] = arguments[G__11286__i + 3]; ++G__11286__i;} -G__11285 = new cljs.core.IndexedSeq(G__11286__a,0,null); -} -return cljs$core$ep1__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11285); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -cljs$core$ep1.cljs$lang$maxFixedArity = 3; -cljs$core$ep1.cljs$lang$applyTo = cljs$core$ep1__4.cljs$lang$applyTo; -cljs$core$ep1.cljs$core$IFn$_invoke$arity$0 = cljs$core$ep1__0; -cljs$core$ep1.cljs$core$IFn$_invoke$arity$1 = cljs$core$ep1__1; -cljs$core$ep1.cljs$core$IFn$_invoke$arity$2 = cljs$core$ep1__2; -cljs$core$ep1.cljs$core$IFn$_invoke$arity$3 = cljs$core$ep1__3; -cljs$core$ep1.cljs$core$IFn$_invoke$arity$variadic = cljs$core$ep1__4.cljs$core$IFn$_invoke$arity$variadic; -return cljs$core$ep1; -})() -}); - -cljs.core.every_pred.cljs$core$IFn$_invoke$arity$2 = (function (p1,p2){ -return (function() { -var cljs$core$ep2 = null; -var cljs$core$ep2__0 = (function (){ -return true; -}); -var cljs$core$ep2__1 = (function (x){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -} else { -return and__7791__auto__; -} -})()); -}); -var cljs$core$ep2__2 = (function (x,y){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -var and__7791__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$1)){ -var and__7791__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(and__7791__auto____$2)){ -return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null,y)); -} else { -return and__7791__auto____$2; -} -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -})()); -}); -var cljs$core$ep2__3 = (function (x,y,z){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -var and__7791__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$1)){ -var and__7791__auto____$2 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null,z)); -if(cljs.core.truth_(and__7791__auto____$2)){ -var and__7791__auto____$3 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(and__7791__auto____$3)){ -var and__7791__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$4)){ -return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null,z)); -} else { -return and__7791__auto____$4; -} -} else { -return and__7791__auto____$3; -} -} else { -return and__7791__auto____$2; -} -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -})()); -}); -var cljs$core$ep2__4 = (function() { -var G__11287__delegate = function (x,y,z,args){ -return cljs.core.boolean$((function (){var and__7791__auto__ = cljs$core$ep2.cljs$core$IFn$_invoke$arity$3(x,y,z); -if(cljs.core.truth_(and__7791__auto__)){ -return cljs.core.every_QMARK_(((function (and__7791__auto__){ -return (function (p1__11266_SHARP_){ -var and__7791__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__11266_SHARP_) : p1.call(null,p1__11266_SHARP_)); -if(cljs.core.truth_(and__7791__auto____$1)){ -return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__11266_SHARP_) : p2.call(null,p1__11266_SHARP_)); -} else { -return and__7791__auto____$1; -} -});})(and__7791__auto__)) -,args); -} else { -return and__7791__auto__; -} -})()); -}; -var G__11287 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11288__i = 0, G__11288__a = new Array(arguments.length - 3); -while (G__11288__i < G__11288__a.length) {G__11288__a[G__11288__i] = arguments[G__11288__i + 3]; ++G__11288__i;} - args = new cljs.core.IndexedSeq(G__11288__a,0,null); -} -return G__11287__delegate.call(this,x,y,z,args);}; -G__11287.cljs$lang$maxFixedArity = 3; -G__11287.cljs$lang$applyTo = (function (arglist__11289){ -var x = cljs.core.first(arglist__11289); -arglist__11289 = cljs.core.next(arglist__11289); -var y = cljs.core.first(arglist__11289); -arglist__11289 = cljs.core.next(arglist__11289); -var z = cljs.core.first(arglist__11289); -var args = cljs.core.rest(arglist__11289); -return G__11287__delegate(x,y,z,args); -}); -G__11287.cljs$core$IFn$_invoke$arity$variadic = G__11287__delegate; -return G__11287; -})() -; -cljs$core$ep2 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return cljs$core$ep2__0.call(this); -case 1: -return cljs$core$ep2__1.call(this,x); -case 2: -return cljs$core$ep2__2.call(this,x,y); -case 3: -return cljs$core$ep2__3.call(this,x,y,z); -default: -var G__11290 = null; -if (arguments.length > 3) { -var G__11291__i = 0, G__11291__a = new Array(arguments.length - 3); -while (G__11291__i < G__11291__a.length) {G__11291__a[G__11291__i] = arguments[G__11291__i + 3]; ++G__11291__i;} -G__11290 = new cljs.core.IndexedSeq(G__11291__a,0,null); -} -return cljs$core$ep2__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11290); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -cljs$core$ep2.cljs$lang$maxFixedArity = 3; -cljs$core$ep2.cljs$lang$applyTo = cljs$core$ep2__4.cljs$lang$applyTo; -cljs$core$ep2.cljs$core$IFn$_invoke$arity$0 = cljs$core$ep2__0; -cljs$core$ep2.cljs$core$IFn$_invoke$arity$1 = cljs$core$ep2__1; -cljs$core$ep2.cljs$core$IFn$_invoke$arity$2 = cljs$core$ep2__2; -cljs$core$ep2.cljs$core$IFn$_invoke$arity$3 = cljs$core$ep2__3; -cljs$core$ep2.cljs$core$IFn$_invoke$arity$variadic = cljs$core$ep2__4.cljs$core$IFn$_invoke$arity$variadic; -return cljs$core$ep2; -})() -}); - -cljs.core.every_pred.cljs$core$IFn$_invoke$arity$3 = (function (p1,p2,p3){ -return (function() { -var cljs$core$ep3 = null; -var cljs$core$ep3__0 = (function (){ -return true; -}); -var cljs$core$ep3__1 = (function (x){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -var and__7791__auto____$1 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(and__7791__auto____$1)){ -return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -})()); -}); -var cljs$core$ep3__2 = (function (x,y){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -var and__7791__auto____$1 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(and__7791__auto____$1)){ -var and__7791__auto____$2 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); -if(cljs.core.truth_(and__7791__auto____$2)){ -var and__7791__auto____$3 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$3)){ -var and__7791__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$4)){ -return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null,y)); -} else { -return and__7791__auto____$4; -} -} else { -return and__7791__auto____$3; -} -} else { -return and__7791__auto____$2; -} -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -})()); -}); -var cljs$core$ep3__3 = (function (x,y,z){ -return cljs.core.boolean$((function (){var and__7791__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -var and__7791__auto____$1 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(and__7791__auto____$1)){ -var and__7791__auto____$2 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); -if(cljs.core.truth_(and__7791__auto____$2)){ -var and__7791__auto____$3 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$3)){ -var and__7791__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$4)){ -var and__7791__auto____$5 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$5)){ -var and__7791__auto____$6 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null,z)); -if(cljs.core.truth_(and__7791__auto____$6)){ -var and__7791__auto____$7 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null,z)); -if(cljs.core.truth_(and__7791__auto____$7)){ -return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(z) : p3.call(null,z)); -} else { -return and__7791__auto____$7; -} -} else { -return and__7791__auto____$6; -} -} else { -return and__7791__auto____$5; -} -} else { -return and__7791__auto____$4; -} -} else { -return and__7791__auto____$3; -} -} else { -return and__7791__auto____$2; -} -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -})()); -}); -var cljs$core$ep3__4 = (function() { -var G__11292__delegate = function (x,y,z,args){ -return cljs.core.boolean$((function (){var and__7791__auto__ = cljs$core$ep3.cljs$core$IFn$_invoke$arity$3(x,y,z); -if(cljs.core.truth_(and__7791__auto__)){ -return cljs.core.every_QMARK_(((function (and__7791__auto__){ -return (function (p1__11267_SHARP_){ -var and__7791__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__11267_SHARP_) : p1.call(null,p1__11267_SHARP_)); -if(cljs.core.truth_(and__7791__auto____$1)){ -var and__7791__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__11267_SHARP_) : p2.call(null,p1__11267_SHARP_)); -if(cljs.core.truth_(and__7791__auto____$2)){ -return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(p1__11267_SHARP_) : p3.call(null,p1__11267_SHARP_)); -} else { -return and__7791__auto____$2; -} -} else { -return and__7791__auto____$1; -} -});})(and__7791__auto__)) -,args); -} else { -return and__7791__auto__; -} -})()); -}; -var G__11292 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11293__i = 0, G__11293__a = new Array(arguments.length - 3); -while (G__11293__i < G__11293__a.length) {G__11293__a[G__11293__i] = arguments[G__11293__i + 3]; ++G__11293__i;} - args = new cljs.core.IndexedSeq(G__11293__a,0,null); -} -return G__11292__delegate.call(this,x,y,z,args);}; -G__11292.cljs$lang$maxFixedArity = 3; -G__11292.cljs$lang$applyTo = (function (arglist__11294){ -var x = cljs.core.first(arglist__11294); -arglist__11294 = cljs.core.next(arglist__11294); -var y = cljs.core.first(arglist__11294); -arglist__11294 = cljs.core.next(arglist__11294); -var z = cljs.core.first(arglist__11294); -var args = cljs.core.rest(arglist__11294); -return G__11292__delegate(x,y,z,args); -}); -G__11292.cljs$core$IFn$_invoke$arity$variadic = G__11292__delegate; -return G__11292; -})() -; -cljs$core$ep3 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return cljs$core$ep3__0.call(this); -case 1: -return cljs$core$ep3__1.call(this,x); -case 2: -return cljs$core$ep3__2.call(this,x,y); -case 3: -return cljs$core$ep3__3.call(this,x,y,z); -default: -var G__11295 = null; -if (arguments.length > 3) { -var G__11296__i = 0, G__11296__a = new Array(arguments.length - 3); -while (G__11296__i < G__11296__a.length) {G__11296__a[G__11296__i] = arguments[G__11296__i + 3]; ++G__11296__i;} -G__11295 = new cljs.core.IndexedSeq(G__11296__a,0,null); -} -return cljs$core$ep3__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11295); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -cljs$core$ep3.cljs$lang$maxFixedArity = 3; -cljs$core$ep3.cljs$lang$applyTo = cljs$core$ep3__4.cljs$lang$applyTo; -cljs$core$ep3.cljs$core$IFn$_invoke$arity$0 = cljs$core$ep3__0; -cljs$core$ep3.cljs$core$IFn$_invoke$arity$1 = cljs$core$ep3__1; -cljs$core$ep3.cljs$core$IFn$_invoke$arity$2 = cljs$core$ep3__2; -cljs$core$ep3.cljs$core$IFn$_invoke$arity$3 = cljs$core$ep3__3; -cljs$core$ep3.cljs$core$IFn$_invoke$arity$variadic = cljs$core$ep3__4.cljs$core$IFn$_invoke$arity$variadic; -return cljs$core$ep3; -})() -}); - -cljs.core.every_pred.cljs$core$IFn$_invoke$arity$variadic = (function (p1,p2,p3,ps){ -var ps__$1 = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(p1,p2,p3,ps); -return ((function (ps__$1){ -return (function() { -var cljs$core$epn = null; -var cljs$core$epn__0 = (function (){ -return true; -}); -var cljs$core$epn__1 = (function (x){ -return cljs.core.every_QMARK_(((function (ps__$1){ -return (function (p1__11268_SHARP_){ -return (p1__11268_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11268_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__11268_SHARP_.call(null,x)); -});})(ps__$1)) -,ps__$1); -}); -var cljs$core$epn__2 = (function (x,y){ -return cljs.core.every_QMARK_(((function (ps__$1){ -return (function (p1__11269_SHARP_){ -var and__7791__auto__ = (p1__11269_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11269_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__11269_SHARP_.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -return (p1__11269_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11269_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__11269_SHARP_.call(null,y)); -} else { -return and__7791__auto__; -} -});})(ps__$1)) -,ps__$1); -}); -var cljs$core$epn__3 = (function (x,y,z){ -return cljs.core.every_QMARK_(((function (ps__$1){ -return (function (p1__11270_SHARP_){ -var and__7791__auto__ = (p1__11270_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11270_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__11270_SHARP_.call(null,x)); -if(cljs.core.truth_(and__7791__auto__)){ -var and__7791__auto____$1 = (p1__11270_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11270_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__11270_SHARP_.call(null,y)); -if(cljs.core.truth_(and__7791__auto____$1)){ -return (p1__11270_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11270_SHARP_.cljs$core$IFn$_invoke$arity$1(z) : p1__11270_SHARP_.call(null,z)); -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -});})(ps__$1)) -,ps__$1); -}); -var cljs$core$epn__4 = (function() { -var G__11297__delegate = function (x,y,z,args){ -return cljs.core.boolean$((function (){var and__7791__auto__ = cljs$core$epn.cljs$core$IFn$_invoke$arity$3(x,y,z); -if(cljs.core.truth_(and__7791__auto__)){ -return cljs.core.every_QMARK_(((function (and__7791__auto__,ps__$1){ -return (function (p1__11271_SHARP_){ -return cljs.core.every_QMARK_(p1__11271_SHARP_,args); -});})(and__7791__auto__,ps__$1)) -,ps__$1); -} else { -return and__7791__auto__; -} -})()); -}; -var G__11297 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11298__i = 0, G__11298__a = new Array(arguments.length - 3); -while (G__11298__i < G__11298__a.length) {G__11298__a[G__11298__i] = arguments[G__11298__i + 3]; ++G__11298__i;} - args = new cljs.core.IndexedSeq(G__11298__a,0,null); -} -return G__11297__delegate.call(this,x,y,z,args);}; -G__11297.cljs$lang$maxFixedArity = 3; -G__11297.cljs$lang$applyTo = (function (arglist__11299){ -var x = cljs.core.first(arglist__11299); -arglist__11299 = cljs.core.next(arglist__11299); -var y = cljs.core.first(arglist__11299); -arglist__11299 = cljs.core.next(arglist__11299); -var z = cljs.core.first(arglist__11299); -var args = cljs.core.rest(arglist__11299); -return G__11297__delegate(x,y,z,args); -}); -G__11297.cljs$core$IFn$_invoke$arity$variadic = G__11297__delegate; -return G__11297; -})() -; -cljs$core$epn = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return cljs$core$epn__0.call(this); -case 1: -return cljs$core$epn__1.call(this,x); -case 2: -return cljs$core$epn__2.call(this,x,y); -case 3: -return cljs$core$epn__3.call(this,x,y,z); -default: -var G__11300 = null; -if (arguments.length > 3) { -var G__11301__i = 0, G__11301__a = new Array(arguments.length - 3); -while (G__11301__i < G__11301__a.length) {G__11301__a[G__11301__i] = arguments[G__11301__i + 3]; ++G__11301__i;} -G__11300 = new cljs.core.IndexedSeq(G__11301__a,0,null); -} -return cljs$core$epn__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11300); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -cljs$core$epn.cljs$lang$maxFixedArity = 3; -cljs$core$epn.cljs$lang$applyTo = cljs$core$epn__4.cljs$lang$applyTo; -cljs$core$epn.cljs$core$IFn$_invoke$arity$0 = cljs$core$epn__0; -cljs$core$epn.cljs$core$IFn$_invoke$arity$1 = cljs$core$epn__1; -cljs$core$epn.cljs$core$IFn$_invoke$arity$2 = cljs$core$epn__2; -cljs$core$epn.cljs$core$IFn$_invoke$arity$3 = cljs$core$epn__3; -cljs$core$epn.cljs$core$IFn$_invoke$arity$variadic = cljs$core$epn__4.cljs$core$IFn$_invoke$arity$variadic; -return cljs$core$epn; -})() -;})(ps__$1)) -}); - -/** @this {Function} */ -cljs.core.every_pred.cljs$lang$applyTo = (function (seq11273){ -var G__11274 = cljs.core.first(seq11273); -var seq11273__$1 = cljs.core.next(seq11273); -var G__11275 = cljs.core.first(seq11273__$1); -var seq11273__$2 = cljs.core.next(seq11273__$1); -var G__11276 = cljs.core.first(seq11273__$2); -var seq11273__$3 = cljs.core.next(seq11273__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11274,G__11275,G__11276,seq11273__$3); -}); - -cljs.core.every_pred.cljs$lang$maxFixedArity = (3); - -/** - * Takes a set of predicates and returns a function f that returns the first logical true value - * returned by one of its composing predicates against any of its arguments, else it returns - * logical false. Note that f is short-circuiting in that it will stop execution on the first - * argument that triggers a logical true result against the original predicates. - */ -cljs.core.some_fn = (function cljs$core$some_fn(var_args){ -var G__11313 = arguments.length; -switch (G__11313) { -case 1: -return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11315 = arguments.length; -var i__9001__auto___11316 = (0); -while(true){ -if((i__9001__auto___11316 < len__9000__auto___11315)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11316])); - -var G__11317 = (i__9001__auto___11316 + (1)); -i__9001__auto___11316 = G__11317; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.some_fn.cljs$core$IFn$_invoke$arity$1 = (function (p){ -return (function() { -var cljs$core$sp1 = null; -var cljs$core$sp1__0 = (function (){ -return null; -}); -var cljs$core$sp1__1 = (function (x){ -return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null,x)); -}); -var cljs$core$sp1__2 = (function (x,y){ -var or__7806__auto__ = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null,y)); -} -}); -var cljs$core$sp1__3 = (function (x,y,z){ -var or__7806__auto__ = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(z) : p.call(null,z)); -} -} -}); -var cljs$core$sp1__4 = (function() { -var G__11318__delegate = function (x,y,z,args){ -var or__7806__auto__ = cljs$core$sp1.cljs$core$IFn$_invoke$arity$3(x,y,z); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.some(p,args); -} -}; -var G__11318 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11319__i = 0, G__11319__a = new Array(arguments.length - 3); -while (G__11319__i < G__11319__a.length) {G__11319__a[G__11319__i] = arguments[G__11319__i + 3]; ++G__11319__i;} - args = new cljs.core.IndexedSeq(G__11319__a,0,null); -} -return G__11318__delegate.call(this,x,y,z,args);}; -G__11318.cljs$lang$maxFixedArity = 3; -G__11318.cljs$lang$applyTo = (function (arglist__11320){ -var x = cljs.core.first(arglist__11320); -arglist__11320 = cljs.core.next(arglist__11320); -var y = cljs.core.first(arglist__11320); -arglist__11320 = cljs.core.next(arglist__11320); -var z = cljs.core.first(arglist__11320); -var args = cljs.core.rest(arglist__11320); -return G__11318__delegate(x,y,z,args); -}); -G__11318.cljs$core$IFn$_invoke$arity$variadic = G__11318__delegate; -return G__11318; -})() -; -cljs$core$sp1 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return cljs$core$sp1__0.call(this); -case 1: -return cljs$core$sp1__1.call(this,x); -case 2: -return cljs$core$sp1__2.call(this,x,y); -case 3: -return cljs$core$sp1__3.call(this,x,y,z); -default: -var G__11321 = null; -if (arguments.length > 3) { -var G__11322__i = 0, G__11322__a = new Array(arguments.length - 3); -while (G__11322__i < G__11322__a.length) {G__11322__a[G__11322__i] = arguments[G__11322__i + 3]; ++G__11322__i;} -G__11321 = new cljs.core.IndexedSeq(G__11322__a,0,null); -} -return cljs$core$sp1__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11321); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -cljs$core$sp1.cljs$lang$maxFixedArity = 3; -cljs$core$sp1.cljs$lang$applyTo = cljs$core$sp1__4.cljs$lang$applyTo; -cljs$core$sp1.cljs$core$IFn$_invoke$arity$0 = cljs$core$sp1__0; -cljs$core$sp1.cljs$core$IFn$_invoke$arity$1 = cljs$core$sp1__1; -cljs$core$sp1.cljs$core$IFn$_invoke$arity$2 = cljs$core$sp1__2; -cljs$core$sp1.cljs$core$IFn$_invoke$arity$3 = cljs$core$sp1__3; -cljs$core$sp1.cljs$core$IFn$_invoke$arity$variadic = cljs$core$sp1__4.cljs$core$IFn$_invoke$arity$variadic; -return cljs$core$sp1; -})() -}); - -cljs.core.some_fn.cljs$core$IFn$_invoke$arity$2 = (function (p1,p2){ -return (function() { -var cljs$core$sp2 = null; -var cljs$core$sp2__0 = (function (){ -return null; -}); -var cljs$core$sp2__1 = (function (x){ -var or__7806__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -} -}); -var cljs$core$sp2__2 = (function (x,y){ -var or__7806__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -var or__7806__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(or__7806__auto____$2)){ -return or__7806__auto____$2; -} else { -return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null,y)); -} -} -} -}); -var cljs$core$sp2__3 = (function (x,y,z){ -var or__7806__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -var or__7806__auto____$2 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null,z)); -if(cljs.core.truth_(or__7806__auto____$2)){ -return or__7806__auto____$2; -} else { -var or__7806__auto____$3 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(or__7806__auto____$3)){ -return or__7806__auto____$3; -} else { -var or__7806__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$4)){ -return or__7806__auto____$4; -} else { -return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null,z)); -} -} -} -} -} -}); -var cljs$core$sp2__4 = (function() { -var G__11323__delegate = function (x,y,z,args){ -var or__7806__auto__ = cljs$core$sp2.cljs$core$IFn$_invoke$arity$3(x,y,z); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.some(((function (or__7806__auto__){ -return (function (p1__11302_SHARP_){ -var or__7806__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__11302_SHARP_) : p1.call(null,p1__11302_SHARP_)); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__11302_SHARP_) : p2.call(null,p1__11302_SHARP_)); -} -});})(or__7806__auto__)) -,args); -} -}; -var G__11323 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11324__i = 0, G__11324__a = new Array(arguments.length - 3); -while (G__11324__i < G__11324__a.length) {G__11324__a[G__11324__i] = arguments[G__11324__i + 3]; ++G__11324__i;} - args = new cljs.core.IndexedSeq(G__11324__a,0,null); -} -return G__11323__delegate.call(this,x,y,z,args);}; -G__11323.cljs$lang$maxFixedArity = 3; -G__11323.cljs$lang$applyTo = (function (arglist__11325){ -var x = cljs.core.first(arglist__11325); -arglist__11325 = cljs.core.next(arglist__11325); -var y = cljs.core.first(arglist__11325); -arglist__11325 = cljs.core.next(arglist__11325); -var z = cljs.core.first(arglist__11325); -var args = cljs.core.rest(arglist__11325); -return G__11323__delegate(x,y,z,args); -}); -G__11323.cljs$core$IFn$_invoke$arity$variadic = G__11323__delegate; -return G__11323; -})() -; -cljs$core$sp2 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return cljs$core$sp2__0.call(this); -case 1: -return cljs$core$sp2__1.call(this,x); -case 2: -return cljs$core$sp2__2.call(this,x,y); -case 3: -return cljs$core$sp2__3.call(this,x,y,z); -default: -var G__11326 = null; -if (arguments.length > 3) { -var G__11327__i = 0, G__11327__a = new Array(arguments.length - 3); -while (G__11327__i < G__11327__a.length) {G__11327__a[G__11327__i] = arguments[G__11327__i + 3]; ++G__11327__i;} -G__11326 = new cljs.core.IndexedSeq(G__11327__a,0,null); -} -return cljs$core$sp2__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11326); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -cljs$core$sp2.cljs$lang$maxFixedArity = 3; -cljs$core$sp2.cljs$lang$applyTo = cljs$core$sp2__4.cljs$lang$applyTo; -cljs$core$sp2.cljs$core$IFn$_invoke$arity$0 = cljs$core$sp2__0; -cljs$core$sp2.cljs$core$IFn$_invoke$arity$1 = cljs$core$sp2__1; -cljs$core$sp2.cljs$core$IFn$_invoke$arity$2 = cljs$core$sp2__2; -cljs$core$sp2.cljs$core$IFn$_invoke$arity$3 = cljs$core$sp2__3; -cljs$core$sp2.cljs$core$IFn$_invoke$arity$variadic = cljs$core$sp2__4.cljs$core$IFn$_invoke$arity$variadic; -return cljs$core$sp2; -})() -}); - -cljs.core.some_fn.cljs$core$IFn$_invoke$arity$3 = (function (p1,p2,p3){ -return (function() { -var cljs$core$sp3 = null; -var cljs$core$sp3__0 = (function (){ -return null; -}); -var cljs$core$sp3__1 = (function (x){ -var or__7806__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); -} -} -}); -var cljs$core$sp3__2 = (function (x,y){ -var or__7806__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -var or__7806__auto____$2 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); -if(cljs.core.truth_(or__7806__auto____$2)){ -return or__7806__auto____$2; -} else { -var or__7806__auto____$3 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$3)){ -return or__7806__auto____$3; -} else { -var or__7806__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$4)){ -return or__7806__auto____$4; -} else { -return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null,y)); -} -} -} -} -} -}); -var cljs$core$sp3__3 = (function (x,y,z){ -var or__7806__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null,x)); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -var or__7806__auto____$2 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null,x)); -if(cljs.core.truth_(or__7806__auto____$2)){ -return or__7806__auto____$2; -} else { -var or__7806__auto____$3 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$3)){ -return or__7806__auto____$3; -} else { -var or__7806__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$4)){ -return or__7806__auto____$4; -} else { -var or__7806__auto____$5 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$5)){ -return or__7806__auto____$5; -} else { -var or__7806__auto____$6 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null,z)); -if(cljs.core.truth_(or__7806__auto____$6)){ -return or__7806__auto____$6; -} else { -var or__7806__auto____$7 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null,z)); -if(cljs.core.truth_(or__7806__auto____$7)){ -return or__7806__auto____$7; -} else { -return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(z) : p3.call(null,z)); -} -} -} -} -} -} -} -} -}); -var cljs$core$sp3__4 = (function() { -var G__11328__delegate = function (x,y,z,args){ -var or__7806__auto__ = cljs$core$sp3.cljs$core$IFn$_invoke$arity$3(x,y,z); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.some(((function (or__7806__auto__){ -return (function (p1__11303_SHARP_){ -var or__7806__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__11303_SHARP_) : p1.call(null,p1__11303_SHARP_)); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -var or__7806__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__11303_SHARP_) : p2.call(null,p1__11303_SHARP_)); -if(cljs.core.truth_(or__7806__auto____$2)){ -return or__7806__auto____$2; -} else { -return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(p1__11303_SHARP_) : p3.call(null,p1__11303_SHARP_)); -} -} -});})(or__7806__auto__)) -,args); -} -}; -var G__11328 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11329__i = 0, G__11329__a = new Array(arguments.length - 3); -while (G__11329__i < G__11329__a.length) {G__11329__a[G__11329__i] = arguments[G__11329__i + 3]; ++G__11329__i;} - args = new cljs.core.IndexedSeq(G__11329__a,0,null); -} -return G__11328__delegate.call(this,x,y,z,args);}; -G__11328.cljs$lang$maxFixedArity = 3; -G__11328.cljs$lang$applyTo = (function (arglist__11330){ -var x = cljs.core.first(arglist__11330); -arglist__11330 = cljs.core.next(arglist__11330); -var y = cljs.core.first(arglist__11330); -arglist__11330 = cljs.core.next(arglist__11330); -var z = cljs.core.first(arglist__11330); -var args = cljs.core.rest(arglist__11330); -return G__11328__delegate(x,y,z,args); -}); -G__11328.cljs$core$IFn$_invoke$arity$variadic = G__11328__delegate; -return G__11328; -})() -; -cljs$core$sp3 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return cljs$core$sp3__0.call(this); -case 1: -return cljs$core$sp3__1.call(this,x); -case 2: -return cljs$core$sp3__2.call(this,x,y); -case 3: -return cljs$core$sp3__3.call(this,x,y,z); -default: -var G__11331 = null; -if (arguments.length > 3) { -var G__11332__i = 0, G__11332__a = new Array(arguments.length - 3); -while (G__11332__i < G__11332__a.length) {G__11332__a[G__11332__i] = arguments[G__11332__i + 3]; ++G__11332__i;} -G__11331 = new cljs.core.IndexedSeq(G__11332__a,0,null); -} -return cljs$core$sp3__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11331); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -cljs$core$sp3.cljs$lang$maxFixedArity = 3; -cljs$core$sp3.cljs$lang$applyTo = cljs$core$sp3__4.cljs$lang$applyTo; -cljs$core$sp3.cljs$core$IFn$_invoke$arity$0 = cljs$core$sp3__0; -cljs$core$sp3.cljs$core$IFn$_invoke$arity$1 = cljs$core$sp3__1; -cljs$core$sp3.cljs$core$IFn$_invoke$arity$2 = cljs$core$sp3__2; -cljs$core$sp3.cljs$core$IFn$_invoke$arity$3 = cljs$core$sp3__3; -cljs$core$sp3.cljs$core$IFn$_invoke$arity$variadic = cljs$core$sp3__4.cljs$core$IFn$_invoke$arity$variadic; -return cljs$core$sp3; -})() -}); - -cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic = (function (p1,p2,p3,ps){ -var ps__$1 = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(p1,p2,p3,ps); -return ((function (ps__$1){ -return (function() { -var cljs$core$spn = null; -var cljs$core$spn__0 = (function (){ -return null; -}); -var cljs$core$spn__1 = (function (x){ -return cljs.core.some(((function (ps__$1){ -return (function (p1__11304_SHARP_){ -return (p1__11304_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11304_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__11304_SHARP_.call(null,x)); -});})(ps__$1)) -,ps__$1); -}); -var cljs$core$spn__2 = (function (x,y){ -return cljs.core.some(((function (ps__$1){ -return (function (p1__11305_SHARP_){ -var or__7806__auto__ = (p1__11305_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11305_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__11305_SHARP_.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return (p1__11305_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11305_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__11305_SHARP_.call(null,y)); -} -});})(ps__$1)) -,ps__$1); -}); -var cljs$core$spn__3 = (function (x,y,z){ -return cljs.core.some(((function (ps__$1){ -return (function (p1__11306_SHARP_){ -var or__7806__auto__ = (p1__11306_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11306_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__11306_SHARP_.call(null,x)); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (p1__11306_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11306_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__11306_SHARP_.call(null,y)); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -return (p1__11306_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__11306_SHARP_.cljs$core$IFn$_invoke$arity$1(z) : p1__11306_SHARP_.call(null,z)); -} -} -});})(ps__$1)) -,ps__$1); -}); -var cljs$core$spn__4 = (function() { -var G__11333__delegate = function (x,y,z,args){ -var or__7806__auto__ = cljs$core$spn.cljs$core$IFn$_invoke$arity$3(x,y,z); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.some(((function (or__7806__auto__,ps__$1){ -return (function (p1__11307_SHARP_){ -return cljs.core.some(p1__11307_SHARP_,args); -});})(or__7806__auto__,ps__$1)) -,ps__$1); -} -}; -var G__11333 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__11334__i = 0, G__11334__a = new Array(arguments.length - 3); -while (G__11334__i < G__11334__a.length) {G__11334__a[G__11334__i] = arguments[G__11334__i + 3]; ++G__11334__i;} - args = new cljs.core.IndexedSeq(G__11334__a,0,null); -} -return G__11333__delegate.call(this,x,y,z,args);}; -G__11333.cljs$lang$maxFixedArity = 3; -G__11333.cljs$lang$applyTo = (function (arglist__11335){ -var x = cljs.core.first(arglist__11335); -arglist__11335 = cljs.core.next(arglist__11335); -var y = cljs.core.first(arglist__11335); -arglist__11335 = cljs.core.next(arglist__11335); -var z = cljs.core.first(arglist__11335); -var args = cljs.core.rest(arglist__11335); -return G__11333__delegate(x,y,z,args); -}); -G__11333.cljs$core$IFn$_invoke$arity$variadic = G__11333__delegate; -return G__11333; -})() -; -cljs$core$spn = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return cljs$core$spn__0.call(this); -case 1: -return cljs$core$spn__1.call(this,x); -case 2: -return cljs$core$spn__2.call(this,x,y); -case 3: -return cljs$core$spn__3.call(this,x,y,z); -default: -var G__11336 = null; -if (arguments.length > 3) { -var G__11337__i = 0, G__11337__a = new Array(arguments.length - 3); -while (G__11337__i < G__11337__a.length) {G__11337__a[G__11337__i] = arguments[G__11337__i + 3]; ++G__11337__i;} -G__11336 = new cljs.core.IndexedSeq(G__11337__a,0,null); -} -return cljs$core$spn__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__11336); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -cljs$core$spn.cljs$lang$maxFixedArity = 3; -cljs$core$spn.cljs$lang$applyTo = cljs$core$spn__4.cljs$lang$applyTo; -cljs$core$spn.cljs$core$IFn$_invoke$arity$0 = cljs$core$spn__0; -cljs$core$spn.cljs$core$IFn$_invoke$arity$1 = cljs$core$spn__1; -cljs$core$spn.cljs$core$IFn$_invoke$arity$2 = cljs$core$spn__2; -cljs$core$spn.cljs$core$IFn$_invoke$arity$3 = cljs$core$spn__3; -cljs$core$spn.cljs$core$IFn$_invoke$arity$variadic = cljs$core$spn__4.cljs$core$IFn$_invoke$arity$variadic; -return cljs$core$spn; -})() -;})(ps__$1)) -}); - -/** @this {Function} */ -cljs.core.some_fn.cljs$lang$applyTo = (function (seq11309){ -var G__11310 = cljs.core.first(seq11309); -var seq11309__$1 = cljs.core.next(seq11309); -var G__11311 = cljs.core.first(seq11309__$1); -var seq11309__$2 = cljs.core.next(seq11309__$1); -var G__11312 = cljs.core.first(seq11309__$2); -var seq11309__$3 = cljs.core.next(seq11309__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11310,G__11311,G__11312,seq11309__$3); -}); - -cljs.core.some_fn.cljs$lang$maxFixedArity = (3); - -/** - * Returns a lazy sequence consisting of the result of applying f to - * the set of first items of each coll, followed by applying f to the - * set of second items in each coll, until any one of the colls is - * exhausted. Any remaining items in other colls are ignored. Function - * f should accept number-of-colls arguments. Returns a transducer when - * no collection is provided. - */ -cljs.core.map = (function cljs$core$map(var_args){ -var G__11345 = arguments.length; -switch (G__11345) { -case 1: -return cljs.core.map.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.map.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.map.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.map.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11358 = arguments.length; -var i__9001__auto___11359 = (0); -while(true){ -if((i__9001__auto___11359 < len__9000__auto___11358)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11359])); - -var G__11360 = (i__9001__auto___11359 + (1)); -i__9001__auto___11359 = G__11360; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((4)),(0),null)); -return cljs.core.map.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__9026__auto__); - -} -}); - -cljs.core.map.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return (function (rf){ -return (function() { -var G__11361 = null; -var G__11361__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__11361__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__11361__2 = (function (result,input){ -var G__11346 = result; -var G__11347 = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(input) : f.call(null,input)); -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(G__11346,G__11347) : rf.call(null,G__11346,G__11347)); -}); -var G__11361__3 = (function() { -var G__11362__delegate = function (result,input,inputs){ -var G__11348 = result; -var G__11349 = cljs.core.apply.cljs$core$IFn$_invoke$arity$3(f,input,inputs); -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(G__11348,G__11349) : rf.call(null,G__11348,G__11349)); -}; -var G__11362 = function (result,input,var_args){ -var inputs = null; -if (arguments.length > 2) { -var G__11363__i = 0, G__11363__a = new Array(arguments.length - 2); -while (G__11363__i < G__11363__a.length) {G__11363__a[G__11363__i] = arguments[G__11363__i + 2]; ++G__11363__i;} - inputs = new cljs.core.IndexedSeq(G__11363__a,0,null); -} -return G__11362__delegate.call(this,result,input,inputs);}; -G__11362.cljs$lang$maxFixedArity = 2; -G__11362.cljs$lang$applyTo = (function (arglist__11364){ -var result = cljs.core.first(arglist__11364); -arglist__11364 = cljs.core.next(arglist__11364); -var input = cljs.core.first(arglist__11364); -var inputs = cljs.core.rest(arglist__11364); -return G__11362__delegate(result,input,inputs); -}); -G__11362.cljs$core$IFn$_invoke$arity$variadic = G__11362__delegate; -return G__11362; -})() -; -G__11361 = function(result,input,var_args){ -var inputs = var_args; -switch(arguments.length){ -case 0: -return G__11361__0.call(this); -case 1: -return G__11361__1.call(this,result); -case 2: -return G__11361__2.call(this,result,input); -default: -var G__11365 = null; -if (arguments.length > 2) { -var G__11366__i = 0, G__11366__a = new Array(arguments.length - 2); -while (G__11366__i < G__11366__a.length) {G__11366__a[G__11366__i] = arguments[G__11366__i + 2]; ++G__11366__i;} -G__11365 = new cljs.core.IndexedSeq(G__11366__a,0,null); -} -return G__11361__3.cljs$core$IFn$_invoke$arity$variadic(result,input, G__11365); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11361.cljs$lang$maxFixedArity = 2; -G__11361.cljs$lang$applyTo = G__11361__3.cljs$lang$applyTo; -G__11361.cljs$core$IFn$_invoke$arity$0 = G__11361__0; -G__11361.cljs$core$IFn$_invoke$arity$1 = G__11361__1; -G__11361.cljs$core$IFn$_invoke$arity$2 = G__11361__2; -G__11361.cljs$core$IFn$_invoke$arity$variadic = G__11361__3.cljs$core$IFn$_invoke$arity$variadic; -return G__11361; -})() -}); -}); - -cljs.core.map.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(s)){ -var c = cljs.core.chunk_first(s); -var size = cljs.core.count(c); -var b = cljs.core.chunk_buffer(size); -var n__8769__auto___11367 = size; -var i_11368 = (0); -while(true){ -if((i_11368 < n__8769__auto___11367)){ -cljs.core.chunk_append(b,(function (){var G__11350 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_11368); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11350) : f.call(null,G__11350)); -})()); - -var G__11369 = (i_11368 + (1)); -i_11368 = G__11369; -continue; -} else { -} -break; -} - -return cljs.core.chunk_cons(cljs.core.chunk(b),cljs.core.map.cljs$core$IFn$_invoke$arity$2(f,cljs.core.chunk_rest(s))); -} else { -return cljs.core.cons((function (){var G__11351 = cljs.core.first(s); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11351) : f.call(null,G__11351)); -})(),cljs.core.map.cljs$core$IFn$_invoke$arity$2(f,cljs.core.rest(s))); -} -} else { -return null; -} -}),null,null)); -}); - -cljs.core.map.cljs$core$IFn$_invoke$arity$3 = (function (f,c1,c2){ -return (new cljs.core.LazySeq(null,(function (){ -var s1 = cljs.core.seq(c1); -var s2 = cljs.core.seq(c2); -if(((s1) && (s2))){ -return cljs.core.cons((function (){var G__11352 = cljs.core.first(s1); -var G__11353 = cljs.core.first(s2); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11352,G__11353) : f.call(null,G__11352,G__11353)); -})(),cljs.core.map.cljs$core$IFn$_invoke$arity$3(f,cljs.core.rest(s1),cljs.core.rest(s2))); -} else { -return null; -} -}),null,null)); -}); - -cljs.core.map.cljs$core$IFn$_invoke$arity$4 = (function (f,c1,c2,c3){ -return (new cljs.core.LazySeq(null,(function (){ -var s1 = cljs.core.seq(c1); -var s2 = cljs.core.seq(c2); -var s3 = cljs.core.seq(c3); -if(((s1) && (s2) && (s3))){ -return cljs.core.cons((function (){var G__11354 = cljs.core.first(s1); -var G__11355 = cljs.core.first(s2); -var G__11356 = cljs.core.first(s3); -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11354,G__11355,G__11356) : f.call(null,G__11354,G__11355,G__11356)); -})(),cljs.core.map.cljs$core$IFn$_invoke$arity$4(f,cljs.core.rest(s1),cljs.core.rest(s2),cljs.core.rest(s3))); -} else { -return null; -} -}),null,null)); -}); - -cljs.core.map.cljs$core$IFn$_invoke$arity$variadic = (function (f,c1,c2,c3,colls){ -var step = (function cljs$core$step(cs){ -return (new cljs.core.LazySeq(null,(function (){ -var ss = cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.seq,cs); -if(cljs.core.every_QMARK_(cljs.core.identity,ss)){ -return cljs.core.cons(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.first,ss),cljs$core$step(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.rest,ss))); -} else { -return null; -} -}),null,null)); -}); -return cljs.core.map.cljs$core$IFn$_invoke$arity$2(((function (step){ -return (function (p1__11338_SHARP_){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,p1__11338_SHARP_); -});})(step)) -,step(cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(colls,c3,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([c2,c1], 0)))); -}); - -/** @this {Function} */ -cljs.core.map.cljs$lang$applyTo = (function (seq11340){ -var G__11341 = cljs.core.first(seq11340); -var seq11340__$1 = cljs.core.next(seq11340); -var G__11342 = cljs.core.first(seq11340__$1); -var seq11340__$2 = cljs.core.next(seq11340__$1); -var G__11343 = cljs.core.first(seq11340__$2); -var seq11340__$3 = cljs.core.next(seq11340__$2); -var G__11344 = cljs.core.first(seq11340__$3); -var seq11340__$4 = cljs.core.next(seq11340__$3); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11341,G__11342,G__11343,G__11344,seq11340__$4); -}); - -cljs.core.map.cljs$lang$maxFixedArity = (4); - -/** - * Returns a lazy sequence of the first n items in coll, or all items if - * there are fewer than n. Returns a stateful transducer when - * no collection is provided. - */ -cljs.core.take = (function cljs$core$take(var_args){ -var G__11371 = arguments.length; -switch (G__11371) { -case 1: -return cljs.core.take.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.take.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.take.cljs$core$IFn$_invoke$arity$1 = (function (n){ -if(typeof n === 'number'){ -} else { -throw (new Error("Assert failed: (number? n)")); -} - -return (function (rf){ -var na = cljs.core.volatile_BANG_(n); -return ((function (na){ -return (function() { -var G__11373 = null; -var G__11373__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__11373__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__11373__2 = (function (result,input){ -var n__$1 = cljs.core.deref(na); -var nn = na.cljs$core$IVolatile$_vreset_BANG_$arity$2(null,(na.cljs$core$IDeref$_deref$arity$1(null) - (1))); -var result__$1 = (((n__$1 > (0)))?(rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)):result); -if((!((nn > (0))))){ -return cljs.core.ensure_reduced(result__$1); -} else { -return result__$1; -} -}); -G__11373 = function(result,input){ -switch(arguments.length){ -case 0: -return G__11373__0.call(this); -case 1: -return G__11373__1.call(this,result); -case 2: -return G__11373__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11373.cljs$core$IFn$_invoke$arity$0 = G__11373__0; -G__11373.cljs$core$IFn$_invoke$arity$1 = G__11373__1; -G__11373.cljs$core$IFn$_invoke$arity$2 = G__11373__2; -return G__11373; -})() -;})(na)) -}); -}); - -cljs.core.take.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ -if(typeof n === 'number'){ -} else { -throw (new Error("Assert failed: (number? n)")); -} - -return (new cljs.core.LazySeq(null,(function (){ -if((n > (0))){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -return cljs.core.cons(cljs.core.first(s),cljs.core.take.cljs$core$IFn$_invoke$arity$2((n - (1)),cljs.core.rest(s))); -} else { -return null; -} -} else { -return null; -} -}),null,null)); -}); - -cljs.core.take.cljs$lang$maxFixedArity = 2; - -/** - * Returns a lazy sequence of all but the first n items in coll. - * Returns a stateful transducer when no collection is provided. - */ -cljs.core.drop = (function cljs$core$drop(var_args){ -var G__11375 = arguments.length; -switch (G__11375) { -case 1: -return cljs.core.drop.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.drop.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.drop.cljs$core$IFn$_invoke$arity$1 = (function (n){ -if(typeof n === 'number'){ -} else { -throw (new Error("Assert failed: (number? n)")); -} - -return (function (rf){ -var na = cljs.core.volatile_BANG_(n); -return ((function (na){ -return (function() { -var G__11377 = null; -var G__11377__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__11377__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__11377__2 = (function (result,input){ -var n__$1 = cljs.core.deref(na); -na.cljs$core$IVolatile$_vreset_BANG_$arity$2(null,(na.cljs$core$IDeref$_deref$arity$1(null) - (1))); - -if((n__$1 > (0))){ -return result; -} else { -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); -} -}); -G__11377 = function(result,input){ -switch(arguments.length){ -case 0: -return G__11377__0.call(this); -case 1: -return G__11377__1.call(this,result); -case 2: -return G__11377__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11377.cljs$core$IFn$_invoke$arity$0 = G__11377__0; -G__11377.cljs$core$IFn$_invoke$arity$1 = G__11377__1; -G__11377.cljs$core$IFn$_invoke$arity$2 = G__11377__2; -return G__11377; -})() -;})(na)) -}); -}); - -cljs.core.drop.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ -if(typeof n === 'number'){ -} else { -throw (new Error("Assert failed: (number? n)")); -} - -var step = (function (n__$1,coll__$1){ -while(true){ -var s = cljs.core.seq(coll__$1); -if((((n__$1 > (0))) && (s))){ -var G__11378 = (n__$1 - (1)); -var G__11379 = cljs.core.rest(s); -n__$1 = G__11378; -coll__$1 = G__11379; -continue; -} else { -return s; -} -break; -} -}); -return (new cljs.core.LazySeq(null,((function (step){ -return (function (){ -return step(n,coll); -});})(step)) -,null,null)); -}); - -cljs.core.drop.cljs$lang$maxFixedArity = 2; - -/** - * Return a lazy sequence of all but the last n (default 1) items in coll - */ -cljs.core.drop_last = (function cljs$core$drop_last(var_args){ -var G__11381 = arguments.length; -switch (G__11381) { -case 1: -return cljs.core.drop_last.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.drop_last.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.drop_last.cljs$core$IFn$_invoke$arity$1 = (function (s){ -return cljs.core.drop_last.cljs$core$IFn$_invoke$arity$2((1),s); -}); - -cljs.core.drop_last.cljs$core$IFn$_invoke$arity$2 = (function (n,s){ -return cljs.core.map.cljs$core$IFn$_invoke$arity$3((function (x,_){ -return x; -}),s,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(n,s)); -}); - -cljs.core.drop_last.cljs$lang$maxFixedArity = 2; - -/** - * Returns a seq of the last n items in coll. Depending on the type - * of coll may be no better than linear time. For vectors, see also subvec. - */ -cljs.core.take_last = (function cljs$core$take_last(n,coll){ -var s = cljs.core.seq(coll); -var lead = cljs.core.seq(cljs.core.drop.cljs$core$IFn$_invoke$arity$2(n,coll)); -while(true){ -if(lead){ -var G__11383 = cljs.core.next(s); -var G__11384 = cljs.core.next(lead); -s = G__11383; -lead = G__11384; -continue; -} else { -return s; -} -break; -} -}); -/** - * Returns a lazy sequence of the items in coll starting from the - * first item for which (pred item) returns logical false. Returns a - * stateful transducer when no collection is provided. - */ -cljs.core.drop_while = (function cljs$core$drop_while(var_args){ -var G__11386 = arguments.length; -switch (G__11386) { -case 1: -return cljs.core.drop_while.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.drop_while.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.drop_while.cljs$core$IFn$_invoke$arity$1 = (function (pred){ -return (function (rf){ -var da = cljs.core.volatile_BANG_(true); -return ((function (da){ -return (function() { -var G__11390 = null; -var G__11390__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__11390__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__11390__2 = (function (result,input){ -var drop_QMARK_ = cljs.core.deref(da); -if(cljs.core.truth_((function (){var and__7791__auto__ = drop_QMARK_; -if(cljs.core.truth_(and__7791__auto__)){ -return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null,input)); -} else { -return and__7791__auto__; -} -})())){ -return result; -} else { -cljs.core.vreset_BANG_(da,null); - -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); -} -}); -G__11390 = function(result,input){ -switch(arguments.length){ -case 0: -return G__11390__0.call(this); -case 1: -return G__11390__1.call(this,result); -case 2: -return G__11390__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11390.cljs$core$IFn$_invoke$arity$0 = G__11390__0; -G__11390.cljs$core$IFn$_invoke$arity$1 = G__11390__1; -G__11390.cljs$core$IFn$_invoke$arity$2 = G__11390__2; -return G__11390; -})() -;})(da)) -}); -}); - -cljs.core.drop_while.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ -var step = (function (pred__$1,coll__$1){ -while(true){ -var s = cljs.core.seq(coll__$1); -if(cljs.core.truth_((function (){var and__7791__auto__ = s; -if(and__7791__auto__){ -var G__11388 = cljs.core.first(s); -return (pred__$1.cljs$core$IFn$_invoke$arity$1 ? pred__$1.cljs$core$IFn$_invoke$arity$1(G__11388) : pred__$1.call(null,G__11388)); -} else { -return and__7791__auto__; -} -})())){ -var G__11391 = pred__$1; -var G__11392 = cljs.core.rest(s); -pred__$1 = G__11391; -coll__$1 = G__11392; -continue; -} else { -return s; -} -break; -} -}); -return (new cljs.core.LazySeq(null,((function (step){ -return (function (){ -return step(pred,coll); -});})(step)) -,null,null)); -}); - -cljs.core.drop_while.cljs$lang$maxFixedArity = 2; - - -/** -* @constructor - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IPending} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.Cycle = (function (meta,all,prev,current,_next){ -this.meta = meta; -this.all = all; -this.prev = prev; -this.current = current; -this._next = _next; -this.cljs$lang$protocol_mask$partition0$ = 26083532; -this.cljs$lang$protocol_mask$partition1$ = 1; -}); -cljs.core.Cycle.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.Cycle.prototype.currentval = (function (){ -var self__ = this; -var coll = this; -if(self__.current){ -} else { -var temp__4655__auto___11397 = cljs.core.next(self__.prev); -if(temp__4655__auto___11397){ -var c_11398 = temp__4655__auto___11397; -self__.current = c_11398; -} else { -self__.current = self__.all; -} -} - -return self__.current; -}); - -cljs.core.Cycle.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.Cycle.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ISeq$_rest$arity$1(null); -}); - -cljs.core.Cycle.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.Cycle.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (!((self__.current == null))); -}); - -cljs.core.Cycle.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -var s = coll__$1.currentval(); -var ret = cljs.core.first(s); -while(true){ -var s__$1 = (function (){var or__7806__auto__ = cljs.core.next(s); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return self__.all; -} -})(); -var ret__$1 = (function (){var G__11393 = ret; -var G__11394 = cljs.core.first(s__$1); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11393,G__11394) : f.call(null,G__11393,G__11394)); -})(); -if(cljs.core.reduced_QMARK_(ret__$1)){ -return cljs.core.deref(ret__$1); -} else { -var G__11399 = s__$1; -var G__11400 = ret__$1; -s = G__11399; -ret = G__11400; -continue; -} -break; -} -}); - -cljs.core.Cycle.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -var s = coll__$1.currentval(); -var ret = start; -while(true){ -var ret__$1 = (function (){var G__11395 = ret; -var G__11396 = cljs.core.first(s); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11395,G__11396) : f.call(null,G__11395,G__11396)); -})(); -if(cljs.core.reduced_QMARK_(ret__$1)){ -return cljs.core.deref(ret__$1); -} else { -var G__11401 = (function (){var or__7806__auto__ = cljs.core.next(s); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return self__.all; -} -})(); -var G__11402 = ret__$1; -s = G__11401; -ret = G__11402; -continue; -} -break; -} -}); - -cljs.core.Cycle.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.first(coll__$1.currentval()); -}); - -cljs.core.Cycle.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__._next == null)){ -self__._next = (new cljs.core.Cycle(null,self__.all,coll__$1.currentval(),null,null)); -} else { -} - -return self__._next; -}); - -cljs.core.Cycle.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.Cycle.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.Cycle(meta__$1,self__.all,self__.prev,self__.current,self__._next)); -}); - -cljs.core.Cycle.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.Cycle.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"all","all",-1762306027,null),new cljs.core.Symbol(null,"prev","prev",43462301,null),cljs.core.with_meta(new cljs.core.Symbol(null,"current","current",552492924,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"_next","_next",101877036,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Cycle.cljs$lang$type = true; - -cljs.core.Cycle.cljs$lang$ctorStr = "cljs.core/Cycle"; - -cljs.core.Cycle.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Cycle"); -}); - -/** - * Positional factory function for cljs.core/Cycle. - */ -cljs.core.__GT_Cycle = (function cljs$core$__GT_Cycle(meta,all,prev,current,_next){ -return (new cljs.core.Cycle(meta,all,prev,current,_next)); -}); - -/** - * Returns a lazy (infinite!) sequence of repetitions of the items in coll. - */ -cljs.core.cycle = (function cljs$core$cycle(coll){ -var temp__4655__auto__ = cljs.core.seq(coll); -if(temp__4655__auto__){ -var vals = temp__4655__auto__; -return (new cljs.core.Cycle(null,vals,null,vals,null)); -} else { -return cljs.core.List.EMPTY; -} -}); -/** - * Returns a vector of [(take n coll) (drop n coll)] - */ -cljs.core.split_at = (function cljs$core$split_at(n,coll){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,coll),cljs.core.drop.cljs$core$IFn$_invoke$arity$2(n,coll)], null); -}); - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IPending} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.Repeat = (function (meta,count,val,next,__hash){ -this.meta = meta; -this.count = count; -this.val = val; -this.next = next; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 32374988; -this.cljs$lang$protocol_mask$partition1$ = 1; -}); -cljs.core.Repeat.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.Repeat.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.Repeat.prototype.indexOf = (function() { -var G__11403 = null; -var G__11403__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11403__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11403 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11403__1.call(this,x); -case 2: -return G__11403__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11403.cljs$core$IFn$_invoke$arity$1 = G__11403__1; -G__11403.cljs$core$IFn$_invoke$arity$2 = G__11403__2; -return G__11403; -})() -; - -cljs.core.Repeat.prototype.lastIndexOf = (function() { -var G__11404 = null; -var G__11404__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,self__.count); -}); -var G__11404__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11404 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11404__1.call(this,x); -case 2: -return G__11404__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11404.cljs$core$IFn$_invoke$arity$1 = G__11404__1; -G__11404.cljs$core$IFn$_invoke$arity$2 = G__11404__2; -return G__11404; -})() -; - -cljs.core.Repeat.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.Repeat.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.next == null)){ -if((self__.count > (1))){ -self__.next = (new cljs.core.Repeat(null,(self__.count - (1)),self__.val,null,null)); - -return self__.next; -} else { -if(((-1) === self__.count)){ -return coll__$1; -} else { -return null; -} -} -} else { -return self__.next; -} -}); - -cljs.core.Repeat.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.Repeat.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.Repeat.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.Repeat.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return false; -}); - -cljs.core.Repeat.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -if((self__.count === (-1))){ -var ret = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(self__.val,self__.val) : f.call(null,self__.val,self__.val)); -while(true){ -if(cljs.core.reduced_QMARK_(ret)){ -return cljs.core.deref(ret); -} else { -var G__11405 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,self__.val) : f.call(null,ret,self__.val)); -ret = G__11405; -continue; -} -break; -} -} else { -var i = (1); -var ret = self__.val; -while(true){ -if((i < self__.count)){ -var ret__$1 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,self__.val) : f.call(null,ret,self__.val)); -if(cljs.core.reduced_QMARK_(ret__$1)){ -return cljs.core.deref(ret__$1); -} else { -var G__11406 = (i + (1)); -var G__11407 = ret__$1; -i = G__11406; -ret = G__11407; -continue; -} -} else { -return ret; -} -break; -} -} -}); - -cljs.core.Repeat.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -if((self__.count === (-1))){ -var ret = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(start,self__.val) : f.call(null,start,self__.val)); -while(true){ -if(cljs.core.reduced_QMARK_(ret)){ -return cljs.core.deref(ret); -} else { -var G__11408 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,self__.val) : f.call(null,ret,self__.val)); -ret = G__11408; -continue; -} -break; -} -} else { -var i = (0); -var ret = start; -while(true){ -if((i < self__.count)){ -var ret__$1 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,self__.val) : f.call(null,ret,self__.val)); -if(cljs.core.reduced_QMARK_(ret__$1)){ -return cljs.core.deref(ret__$1); -} else { -var G__11409 = (i + (1)); -var G__11410 = ret__$1; -i = G__11409; -ret = G__11410; -continue; -} -} else { -return ret; -} -break; -} -} -}); - -cljs.core.Repeat.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.val; -}); - -cljs.core.Repeat.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.next == null)){ -if((self__.count > (1))){ -self__.next = (new cljs.core.Repeat(null,(self__.count - (1)),self__.val,null,null)); - -return self__.next; -} else { -if(((-1) === self__.count)){ -return coll__$1; -} else { -return cljs.core.List.EMPTY; -} -} -} else { -return self__.next; -} -}); - -cljs.core.Repeat.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.Repeat.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.Repeat(meta__$1,self__.count,self__.val,self__.next,null)); -}); - -cljs.core.Repeat.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.Repeat.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"count","count",-514511684,null),new cljs.core.Symbol(null,"val","val",1769233139,null),cljs.core.with_meta(new cljs.core.Symbol(null,"next","next",1522830042,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Repeat.cljs$lang$type = true; - -cljs.core.Repeat.cljs$lang$ctorStr = "cljs.core/Repeat"; - -cljs.core.Repeat.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Repeat"); -}); - -/** - * Positional factory function for cljs.core/Repeat. - */ -cljs.core.__GT_Repeat = (function cljs$core$__GT_Repeat(meta,count,val,next,__hash){ -return (new cljs.core.Repeat(meta,count,val,next,__hash)); -}); - -/** - * Returns a lazy (infinite!, or length n if supplied) sequence of xs. - */ -cljs.core.repeat = (function cljs$core$repeat(var_args){ -var G__11412 = arguments.length; -switch (G__11412) { -case 1: -return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.repeat.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return (new cljs.core.Repeat(null,(-1),x,null,null)); -}); - -cljs.core.repeat.cljs$core$IFn$_invoke$arity$2 = (function (n,x){ -if((n > (0))){ -return (new cljs.core.Repeat(null,n,x,null,null)); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.repeat.cljs$lang$maxFixedArity = 2; - -/** - * DEPRECATED: Use 'repeat' instead. - * Returns a lazy seq of n xs. - */ -cljs.core.replicate = (function cljs$core$replicate(n,x){ -return cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(x)); -}); -/** - * Takes a function of no args, presumably with side effects, and - * returns an infinite (or length n if supplied) lazy sequence of calls - * to it - */ -cljs.core.repeatedly = (function cljs$core$repeatedly(var_args){ -var G__11415 = arguments.length; -switch (G__11415) { -case 1: -return cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return (new cljs.core.LazySeq(null,(function (){ -return cljs.core.cons((f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)),cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1(f)); -}),null,null)); -}); - -cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$2 = (function (n,f){ -return cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1(f)); -}); - -cljs.core.repeatedly.cljs$lang$maxFixedArity = 2; - -cljs.core.UNREALIZED_SEED = ({}); - -/** -* @constructor - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IPending} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.Iterate = (function (meta,f,prev_seed,seed,next){ -this.meta = meta; -this.f = f; -this.prev_seed = prev_seed; -this.seed = seed; -this.next = next; -this.cljs$lang$protocol_mask$partition0$ = 26083532; -this.cljs$lang$protocol_mask$partition1$ = 1; -}); -cljs.core.Iterate.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.Iterate.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.Iterate.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ISeq$_rest$arity$1(null); -}); - -cljs.core.Iterate.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.Iterate.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (!((self__.seed === cljs.core.UNREALIZED_SEED))); -}); - -cljs.core.Iterate.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,rf){ -var self__ = this; -var coll__$1 = this; -var first = coll__$1.cljs$core$ISeq$_first$arity$1(null); -var v = (self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(first) : self__.f.call(null,first)); -var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(first,v) : rf.call(null,first,v)); -var v__$1 = v; -while(true){ -if(cljs.core.reduced_QMARK_(ret)){ -return cljs.core.deref(ret); -} else { -var v__$2 = (self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(v__$1) : self__.f.call(null,v__$1)); -var G__11417 = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(ret,v__$2) : rf.call(null,ret,v__$2)); -var G__11418 = v__$2; -ret = G__11417; -v__$1 = G__11418; -continue; -} -break; -} -}); - -cljs.core.Iterate.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,rf,start){ -var self__ = this; -var coll__$1 = this; -var v = coll__$1.cljs$core$ISeq$_first$arity$1(null); -var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(start,v) : rf.call(null,start,v)); -var v__$1 = v; -while(true){ -if(cljs.core.reduced_QMARK_(ret)){ -return cljs.core.deref(ret); -} else { -var v__$2 = (self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(v__$1) : self__.f.call(null,v__$1)); -var G__11419 = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(ret,v__$2) : rf.call(null,ret,v__$2)); -var G__11420 = v__$2; -ret = G__11419; -v__$1 = G__11420; -continue; -} -break; -} -}); - -cljs.core.Iterate.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((cljs.core.UNREALIZED_SEED === self__.seed)){ -self__.seed = (self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(self__.prev_seed) : self__.f.call(null,self__.prev_seed)); -} else { -} - -return self__.seed; -}); - -cljs.core.Iterate.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.next == null)){ -self__.next = (new cljs.core.Iterate(null,self__.f,coll__$1.cljs$core$ISeq$_first$arity$1(null),cljs.core.UNREALIZED_SEED,null)); -} else { -} - -return self__.next; -}); - -cljs.core.Iterate.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.Iterate.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.Iterate(meta__$1,self__.f,self__.prev_seed,self__.seed,self__.next)); -}); - -cljs.core.Iterate.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.Iterate.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"f","f",43394975,null),new cljs.core.Symbol(null,"prev-seed","prev-seed",2126381367,null),cljs.core.with_meta(new cljs.core.Symbol(null,"seed","seed",1709144854,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"next","next",1522830042,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Iterate.cljs$lang$type = true; - -cljs.core.Iterate.cljs$lang$ctorStr = "cljs.core/Iterate"; - -cljs.core.Iterate.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Iterate"); -}); - -/** - * Positional factory function for cljs.core/Iterate. - */ -cljs.core.__GT_Iterate = (function cljs$core$__GT_Iterate(meta,f,prev_seed,seed,next){ -return (new cljs.core.Iterate(meta,f,prev_seed,seed,next)); -}); - -/** - * Returns a lazy sequence of x, (f x), (f (f x)) etc. f must be free of side-effects - */ -cljs.core.iterate = (function cljs$core$iterate(f,x){ -return (new cljs.core.Iterate(null,f,null,x,null)); -}); -/** - * Returns a lazy seq of the first item in each coll, then the second etc. - */ -cljs.core.interleave = (function cljs$core$interleave(var_args){ -var G__11425 = arguments.length; -switch (G__11425) { -case 0: -return cljs.core.interleave.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.interleave.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.interleave.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11427 = arguments.length; -var i__9001__auto___11428 = (0); -while(true){ -if((i__9001__auto___11428 < len__9000__auto___11427)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11428])); - -var G__11429 = (i__9001__auto___11428 + (1)); -i__9001__auto___11428 = G__11429; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((2)),(0),null)); -return cljs.core.interleave.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9026__auto__); - -} -}); - -cljs.core.interleave.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.List.EMPTY; -}); - -cljs.core.interleave.cljs$core$IFn$_invoke$arity$1 = (function (c1){ -return (new cljs.core.LazySeq(null,(function (){ -return c1; -}),null,null)); -}); - -cljs.core.interleave.cljs$core$IFn$_invoke$arity$2 = (function (c1,c2){ -return (new cljs.core.LazySeq(null,(function (){ -var s1 = cljs.core.seq(c1); -var s2 = cljs.core.seq(c2); -if(((s1) && (s2))){ -return cljs.core.cons(cljs.core.first(s1),cljs.core.cons(cljs.core.first(s2),cljs.core.interleave.cljs$core$IFn$_invoke$arity$2(cljs.core.rest(s1),cljs.core.rest(s2)))); -} else { -return null; -} -}),null,null)); -}); - -cljs.core.interleave.cljs$core$IFn$_invoke$arity$variadic = (function (c1,c2,colls){ -return (new cljs.core.LazySeq(null,(function (){ -var ss = cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.seq,cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(colls,c2,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([c1], 0))); -if(cljs.core.every_QMARK_(cljs.core.identity,ss)){ -return cljs.core.concat.cljs$core$IFn$_invoke$arity$2(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.first,ss),cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.interleave,cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.rest,ss))); -} else { -return null; -} -}),null,null)); -}); - -/** @this {Function} */ -cljs.core.interleave.cljs$lang$applyTo = (function (seq11422){ -var G__11423 = cljs.core.first(seq11422); -var seq11422__$1 = cljs.core.next(seq11422); -var G__11424 = cljs.core.first(seq11422__$1); -var seq11422__$2 = cljs.core.next(seq11422__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11423,G__11424,seq11422__$2); -}); - -cljs.core.interleave.cljs$lang$maxFixedArity = (2); - -/** - * Returns a lazy seq of the elements of coll separated by sep. - * Returns a stateful transducer when no collection is provided. - */ -cljs.core.interpose = (function cljs$core$interpose(var_args){ -var G__11431 = arguments.length; -switch (G__11431) { -case 1: -return cljs.core.interpose.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.interpose.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.interpose.cljs$core$IFn$_invoke$arity$1 = (function (sep){ -return (function (rf){ -var started = cljs.core.volatile_BANG_(false); -return ((function (started){ -return (function() { -var G__11433 = null; -var G__11433__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__11433__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__11433__2 = (function (result,input){ -if(cljs.core.truth_(cljs.core.deref(started))){ -var sepr = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,sep) : rf.call(null,result,sep)); -if(cljs.core.reduced_QMARK_(sepr)){ -return sepr; -} else { -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(sepr,input) : rf.call(null,sepr,input)); -} -} else { -cljs.core.vreset_BANG_(started,true); - -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); -} -}); -G__11433 = function(result,input){ -switch(arguments.length){ -case 0: -return G__11433__0.call(this); -case 1: -return G__11433__1.call(this,result); -case 2: -return G__11433__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11433.cljs$core$IFn$_invoke$arity$0 = G__11433__0; -G__11433.cljs$core$IFn$_invoke$arity$1 = G__11433__1; -G__11433.cljs$core$IFn$_invoke$arity$2 = G__11433__2; -return G__11433; -})() -;})(started)) -}); -}); - -cljs.core.interpose.cljs$core$IFn$_invoke$arity$2 = (function (sep,coll){ -return cljs.core.drop.cljs$core$IFn$_invoke$arity$2((1),cljs.core.interleave.cljs$core$IFn$_invoke$arity$2(cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(sep),coll)); -}); - -cljs.core.interpose.cljs$lang$maxFixedArity = 2; - -/** - * Take a collection of collections, and return a lazy seq - * of items from the inner collection - */ -cljs.core.flatten1 = (function cljs$core$flatten1(colls){ -var cat = (function cljs$core$flatten1_$_cat(coll,colls__$1){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4655__auto__ = cljs.core.seq(coll); -if(temp__4655__auto__){ -var coll__$1 = temp__4655__auto__; -return cljs.core.cons(cljs.core.first(coll__$1),cljs$core$flatten1_$_cat(cljs.core.rest(coll__$1),colls__$1)); -} else { -if(cljs.core.seq(colls__$1)){ -return cljs$core$flatten1_$_cat(cljs.core.first(colls__$1),cljs.core.rest(colls__$1)); -} else { -return null; -} -} -}),null,null)); -}); -return cat(null,colls); -}); -/** - * Returns the result of applying concat to the result of applying map - * to f and colls. Thus function f should return a collection. Returns - * a transducer when no collections are provided - */ -cljs.core.mapcat = (function cljs$core$mapcat(var_args){ -var G__11437 = arguments.length; -switch (G__11437) { -case 1: -return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11439 = arguments.length; -var i__9001__auto___11440 = (0); -while(true){ -if((i__9001__auto___11440 < len__9000__auto___11439)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11440])); - -var G__11441 = (i__9001__auto___11440 + (1)); -i__9001__auto___11440 = G__11441; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((1)),(0),null)); -return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9026__auto__); - -} -}); - -cljs.core.mapcat.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return cljs.core.comp.cljs$core$IFn$_invoke$arity$2(cljs.core.map.cljs$core$IFn$_invoke$arity$1(f),cljs.core.cat); -}); - -cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic = (function (f,colls){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.map,f,colls)); -}); - -/** @this {Function} */ -cljs.core.mapcat.cljs$lang$applyTo = (function (seq11435){ -var G__11436 = cljs.core.first(seq11435); -var seq11435__$1 = cljs.core.next(seq11435); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11436,seq11435__$1); -}); - -cljs.core.mapcat.cljs$lang$maxFixedArity = (1); - -/** - * Returns a lazy sequence of the items in coll for which - * (pred item) returns logical true. pred must be free of side-effects. - * Returns a transducer when no collection is provided. - */ -cljs.core.filter = (function cljs$core$filter(var_args){ -var G__11443 = arguments.length; -switch (G__11443) { -case 1: -return cljs.core.filter.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.filter.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.filter.cljs$core$IFn$_invoke$arity$1 = (function (pred){ -return (function (rf){ -return (function() { -var G__11446 = null; -var G__11446__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__11446__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__11446__2 = (function (result,input){ -if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null,input)))){ -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); -} else { -return result; -} -}); -G__11446 = function(result,input){ -switch(arguments.length){ -case 0: -return G__11446__0.call(this); -case 1: -return G__11446__1.call(this,result); -case 2: -return G__11446__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11446.cljs$core$IFn$_invoke$arity$0 = G__11446__0; -G__11446.cljs$core$IFn$_invoke$arity$1 = G__11446__1; -G__11446.cljs$core$IFn$_invoke$arity$2 = G__11446__2; -return G__11446; -})() -}); -}); - -cljs.core.filter.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(s)){ -var c = cljs.core.chunk_first(s); -var size = cljs.core.count(c); -var b = cljs.core.chunk_buffer(size); -var n__8769__auto___11447 = size; -var i_11448 = (0); -while(true){ -if((i_11448 < n__8769__auto___11447)){ -if(cljs.core.truth_((function (){var G__11444 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_11448); -return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__11444) : pred.call(null,G__11444)); -})())){ -cljs.core.chunk_append(b,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(c,i_11448)); -} else { -} - -var G__11449 = (i_11448 + (1)); -i_11448 = G__11449; -continue; -} else { -} -break; -} - -return cljs.core.chunk_cons(cljs.core.chunk(b),cljs.core.filter.cljs$core$IFn$_invoke$arity$2(pred,cljs.core.chunk_rest(s))); -} else { -var f = cljs.core.first(s); -var r = cljs.core.rest(s); -if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(f) : pred.call(null,f)))){ -return cljs.core.cons(f,cljs.core.filter.cljs$core$IFn$_invoke$arity$2(pred,r)); -} else { -return cljs.core.filter.cljs$core$IFn$_invoke$arity$2(pred,r); -} -} -} else { -return null; -} -}),null,null)); -}); - -cljs.core.filter.cljs$lang$maxFixedArity = 2; - -/** - * Returns a lazy sequence of the items in coll for which - * (pred item) returns logical false. pred must be free of side-effects. - * Returns a transducer when no collection is provided. - */ -cljs.core.remove = (function cljs$core$remove(var_args){ -var G__11451 = arguments.length; -switch (G__11451) { -case 1: -return cljs.core.remove.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.remove.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.remove.cljs$core$IFn$_invoke$arity$1 = (function (pred){ -return cljs.core.filter.cljs$core$IFn$_invoke$arity$1(cljs.core.complement(pred)); -}); - -cljs.core.remove.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ -return cljs.core.filter.cljs$core$IFn$_invoke$arity$2(cljs.core.complement(pred),coll); -}); - -cljs.core.remove.cljs$lang$maxFixedArity = 2; - -/** - * Returns a lazy sequence of the nodes in a tree, via a depth-first walk. - * branch? must be a fn of one arg that returns true if passed a node - * that can have children (but may not). children must be a fn of one - * arg that returns a sequence of the children. Will only be called on - * nodes for which branch? returns true. Root is the root node of the - * tree. - */ -cljs.core.tree_seq = (function cljs$core$tree_seq(branch_QMARK_,children,root){ -var walk = (function cljs$core$tree_seq_$_walk(node){ -return (new cljs.core.LazySeq(null,(function (){ -return cljs.core.cons(node,(cljs.core.truth_((branch_QMARK_.cljs$core$IFn$_invoke$arity$1 ? branch_QMARK_.cljs$core$IFn$_invoke$arity$1(node) : branch_QMARK_.call(null,node)))?cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic(cljs$core$tree_seq_$_walk,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(children.cljs$core$IFn$_invoke$arity$1 ? children.cljs$core$IFn$_invoke$arity$1(node) : children.call(null,node))], 0)):null)); -}),null,null)); -}); -return walk(root); -}); -/** - * Takes any nested combination of sequential things (lists, vectors, - * etc.) and returns their contents as a single, flat sequence. - * (flatten nil) returns nil. - */ -cljs.core.flatten = (function cljs$core$flatten(x){ -return cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (p1__11453_SHARP_){ -return (!(cljs.core.sequential_QMARK_(p1__11453_SHARP_))); -}),cljs.core.rest(cljs.core.tree_seq(cljs.core.sequential_QMARK_,cljs.core.seq,x))); -}); -/** - * Returns a new coll consisting of to-coll with all of the items of - * from-coll conjoined. A transducer may be supplied. - */ -cljs.core.into = (function cljs$core$into(var_args){ -var G__11455 = arguments.length; -switch (G__11455) { -case 0: -return cljs.core.into.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.into.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.into.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.into.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.into.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.PersistentVector.EMPTY; -}); - -cljs.core.into.cljs$core$IFn$_invoke$arity$1 = (function (to){ -return to; -}); - -cljs.core.into.cljs$core$IFn$_invoke$arity$2 = (function (to,from){ -if((!((to == null)))){ -if((((!((to == null))))?(((((to.cljs$lang$protocol_mask$partition1$ & (4))) || ((cljs.core.PROTOCOL_SENTINEL === to.cljs$core$IEditableCollection$))))?true:false):false)){ -return cljs.core._with_meta(cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj_BANG_,cljs.core.transient$(to),from)),cljs.core.meta(to)); -} else { -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,to,from); -} -} else { -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.conj,cljs.core.List.EMPTY,from); -} -}); - -cljs.core.into.cljs$core$IFn$_invoke$arity$3 = (function (to,xform,from){ -if((((!((to == null))))?(((((to.cljs$lang$protocol_mask$partition1$ & (4))) || ((cljs.core.PROTOCOL_SENTINEL === to.cljs$core$IEditableCollection$))))?true:false):false)){ -return cljs.core._with_meta(cljs.core.persistent_BANG_(cljs.core.transduce.cljs$core$IFn$_invoke$arity$4(xform,cljs.core.conj_BANG_,cljs.core.transient$(to),from)),cljs.core.meta(to)); -} else { -return cljs.core.transduce.cljs$core$IFn$_invoke$arity$4(xform,cljs.core.conj,to,from); -} -}); - -cljs.core.into.cljs$lang$maxFixedArity = 3; - -/** - * Returns a vector consisting of the result of applying f to the - * set of first items of each coll, followed by applying f to the set - * of second items in each coll, until any one of the colls is - * exhausted. Any remaining items in other colls are ignored. Function - * f should accept number-of-colls arguments. - */ -cljs.core.mapv = (function cljs$core$mapv(var_args){ -var G__11465 = arguments.length; -switch (G__11465) { -case 2: -return cljs.core.mapv.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.mapv.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.mapv.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11467 = arguments.length; -var i__9001__auto___11468 = (0); -while(true){ -if((i__9001__auto___11468 < len__9000__auto___11467)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11468])); - -var G__11469 = (i__9001__auto___11468 + (1)); -i__9001__auto___11468 = G__11469; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((4)),(0),null)); -return cljs.core.mapv.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__9026__auto__); - -} -}); - -cljs.core.mapv.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ -return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (v,o){ -return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(v,(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(o) : f.call(null,o))); -}),cljs.core.transient$(cljs.core.PersistentVector.EMPTY),coll)); -}); - -cljs.core.mapv.cljs$core$IFn$_invoke$arity$3 = (function (f,c1,c2){ -return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$3(f,c1,c2)); -}); - -cljs.core.mapv.cljs$core$IFn$_invoke$arity$4 = (function (f,c1,c2,c3){ -return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$4(f,c1,c2,c3)); -}); - -cljs.core.mapv.cljs$core$IFn$_invoke$arity$variadic = (function (f,c1,c2,c3,colls){ -return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(cljs.core.map,f,c1,c2,c3,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([colls], 0))); -}); - -/** @this {Function} */ -cljs.core.mapv.cljs$lang$applyTo = (function (seq11460){ -var G__11461 = cljs.core.first(seq11460); -var seq11460__$1 = cljs.core.next(seq11460); -var G__11462 = cljs.core.first(seq11460__$1); -var seq11460__$2 = cljs.core.next(seq11460__$1); -var G__11463 = cljs.core.first(seq11460__$2); -var seq11460__$3 = cljs.core.next(seq11460__$2); -var G__11464 = cljs.core.first(seq11460__$3); -var seq11460__$4 = cljs.core.next(seq11460__$3); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11461,G__11462,G__11463,G__11464,seq11460__$4); -}); - -cljs.core.mapv.cljs$lang$maxFixedArity = (4); - -/** - * Returns a vector of the items in coll for which - * (pred item) returns logical true. pred must be free of side-effects. - */ -cljs.core.filterv = (function cljs$core$filterv(pred,coll){ -return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (v,o){ -if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(o) : pred.call(null,o)))){ -return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(v,o); -} else { -return v; -} -}),cljs.core.transient$(cljs.core.PersistentVector.EMPTY),coll)); -}); -/** - * Returns a lazy sequence of lists of n items each, at offsets step - * apart. If step is not supplied, defaults to n, i.e. the partitions - * do not overlap. If a pad collection is supplied, use its elements as - * necessary to complete last partition up to n items. In case there are - * not enough padding elements, return a partition with less than n items. - */ -cljs.core.partition = (function cljs$core$partition(var_args){ -var G__11471 = arguments.length; -switch (G__11471) { -case 2: -return cljs.core.partition.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.partition.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.partition.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.partition.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ -return cljs.core.partition.cljs$core$IFn$_invoke$arity$3(n,n,coll); -}); - -cljs.core.partition.cljs$core$IFn$_invoke$arity$3 = (function (n,step,coll){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -var p = cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,s); -if((n === cljs.core.count(p))){ -return cljs.core.cons(p,cljs.core.partition.cljs$core$IFn$_invoke$arity$3(n,step,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(step,s))); -} else { -return null; -} -} else { -return null; -} -}),null,null)); -}); - -cljs.core.partition.cljs$core$IFn$_invoke$arity$4 = (function (n,step,pad,coll){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -var p = cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,s); -if((n === cljs.core.count(p))){ -return cljs.core.cons(p,cljs.core.partition.cljs$core$IFn$_invoke$arity$4(n,step,pad,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(step,s))); -} else { -return (new cljs.core.List(null,cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(p,pad)),null,(1),null)); -} -} else { -return null; -} -}),null,null)); -}); - -cljs.core.partition.cljs$lang$maxFixedArity = 4; - -/** - * Returns the value in a nested associative structure, - * where ks is a sequence of keys. Returns nil if the key is not present, - * or the not-found value if supplied. - */ -cljs.core.get_in = (function cljs$core$get_in(var_args){ -var G__11474 = arguments.length; -switch (G__11474) { -case 2: -return cljs.core.get_in.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.get_in.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.get_in.cljs$core$IFn$_invoke$arity$2 = (function (m,ks){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.get,m,ks); -}); - -cljs.core.get_in.cljs$core$IFn$_invoke$arity$3 = (function (m,ks,not_found){ -var sentinel = cljs.core.lookup_sentinel; -var m__$1 = m; -var ks__$1 = cljs.core.seq(ks); -while(true){ -if((!((ks__$1 == null)))){ -var m__$2 = cljs.core.get.cljs$core$IFn$_invoke$arity$3(m__$1,cljs.core.first(ks__$1),sentinel); -if((sentinel === m__$2)){ -return not_found; -} else { -var G__11476 = sentinel; -var G__11477 = m__$2; -var G__11478 = cljs.core.next(ks__$1); -sentinel = G__11476; -m__$1 = G__11477; -ks__$1 = G__11478; -continue; -} -} else { -return m__$1; -} -break; -} -}); - -cljs.core.get_in.cljs$lang$maxFixedArity = 3; - -/** - * Associates a value in a nested associative structure, where ks is a - * sequence of keys and v is the new value and returns a new nested structure. - * If any levels do not exist, hash-maps will be created. - */ -cljs.core.assoc_in = (function cljs$core$assoc_in(m,p__11479,v){ -var vec__11480 = p__11479; -var seq__11481 = cljs.core.seq(vec__11480); -var first__11482 = cljs.core.first(seq__11481); -var seq__11481__$1 = cljs.core.next(seq__11481); -var k = first__11482; -var ks = seq__11481__$1; -if(ks){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11483 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -var G__11484 = ks; -var G__11485 = v; -return (cljs.core.assoc_in.cljs$core$IFn$_invoke$arity$3 ? cljs.core.assoc_in.cljs$core$IFn$_invoke$arity$3(G__11483,G__11484,G__11485) : cljs.core.assoc_in.call(null,G__11483,G__11484,G__11485)); -})()); -} else { -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,v); -} -}); -/** - * 'Updates' a value in a nested associative structure, where ks is a - * sequence of keys and f is a function that will take the old value - * and any supplied args and return the new value, and returns a new - * nested structure. If any levels do not exist, hash-maps will be - * created. - */ -cljs.core.update_in = (function cljs$core$update_in(var_args){ -var G__11494 = arguments.length; -switch (G__11494) { -case 3: -return cljs.core.update_in.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.update_in.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 5: -return cljs.core.update_in.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -case 6: -return cljs.core.update_in.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11526 = arguments.length; -var i__9001__auto___11527 = (0); -while(true){ -if((i__9001__auto___11527 < len__9000__auto___11526)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11527])); - -var G__11528 = (i__9001__auto___11527 + (1)); -i__9001__auto___11527 = G__11528; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((6)),(0),null)); -return cljs.core.update_in.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),argseq__9026__auto__); - -} -}); - -cljs.core.update_in.cljs$core$IFn$_invoke$arity$3 = (function (m,p__11495,f){ -var vec__11496 = p__11495; -var seq__11497 = cljs.core.seq(vec__11496); -var first__11498 = cljs.core.first(seq__11497); -var seq__11497__$1 = cljs.core.next(seq__11497); -var k = first__11498; -var ks = seq__11497__$1; -if(ks){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.update_in.cljs$core$IFn$_invoke$arity$3(cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f)); -} else { -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11499 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11499) : f.call(null,G__11499)); -})()); -} -}); - -cljs.core.update_in.cljs$core$IFn$_invoke$arity$4 = (function (m,p__11500,f,a){ -var vec__11501 = p__11500; -var seq__11502 = cljs.core.seq(vec__11501); -var first__11503 = cljs.core.first(seq__11502); -var seq__11502__$1 = cljs.core.next(seq__11502); -var k = first__11503; -var ks = seq__11502__$1; -if(ks){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.update_in.cljs$core$IFn$_invoke$arity$4(cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f,a)); -} else { -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11504 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -var G__11505 = a; -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11504,G__11505) : f.call(null,G__11504,G__11505)); -})()); -} -}); - -cljs.core.update_in.cljs$core$IFn$_invoke$arity$5 = (function (m,p__11506,f,a,b){ -var vec__11507 = p__11506; -var seq__11508 = cljs.core.seq(vec__11507); -var first__11509 = cljs.core.first(seq__11508); -var seq__11508__$1 = cljs.core.next(seq__11508); -var k = first__11509; -var ks = seq__11508__$1; -if(ks){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.update_in.cljs$core$IFn$_invoke$arity$5(cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f,a,b)); -} else { -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11510 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -var G__11511 = a; -var G__11512 = b; -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11510,G__11511,G__11512) : f.call(null,G__11510,G__11511,G__11512)); -})()); -} -}); - -cljs.core.update_in.cljs$core$IFn$_invoke$arity$6 = (function (m,p__11513,f,a,b,c){ -var vec__11514 = p__11513; -var seq__11515 = cljs.core.seq(vec__11514); -var first__11516 = cljs.core.first(seq__11515); -var seq__11515__$1 = cljs.core.next(seq__11515); -var k = first__11516; -var ks = seq__11515__$1; -if(ks){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.update_in.cljs$core$IFn$_invoke$arity$6(cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f,a,b,c)); -} else { -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11517 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -var G__11518 = a; -var G__11519 = b; -var G__11520 = c; -return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__11517,G__11518,G__11519,G__11520) : f.call(null,G__11517,G__11518,G__11519,G__11520)); -})()); -} -}); - -cljs.core.update_in.cljs$core$IFn$_invoke$arity$variadic = (function (m,p__11521,f,a,b,c,args){ -var vec__11522 = p__11521; -var seq__11523 = cljs.core.seq(vec__11522); -var first__11524 = cljs.core.first(seq__11523); -var seq__11523__$1 = cljs.core.next(seq__11523); -var k = first__11524; -var ks = seq__11523__$1; -if(ks){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(cljs.core.update_in,cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f,a,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([b,c,args], 0))); -} else { -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),a,b,c,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([args], 0))); -} -}); - -/** @this {Function} */ -cljs.core.update_in.cljs$lang$applyTo = (function (seq11487){ -var G__11488 = cljs.core.first(seq11487); -var seq11487__$1 = cljs.core.next(seq11487); -var G__11489 = cljs.core.first(seq11487__$1); -var seq11487__$2 = cljs.core.next(seq11487__$1); -var G__11490 = cljs.core.first(seq11487__$2); -var seq11487__$3 = cljs.core.next(seq11487__$2); -var G__11491 = cljs.core.first(seq11487__$3); -var seq11487__$4 = cljs.core.next(seq11487__$3); -var G__11492 = cljs.core.first(seq11487__$4); -var seq11487__$5 = cljs.core.next(seq11487__$4); -var G__11493 = cljs.core.first(seq11487__$5); -var seq11487__$6 = cljs.core.next(seq11487__$5); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11488,G__11489,G__11490,G__11491,G__11492,G__11493,seq11487__$6); -}); - -cljs.core.update_in.cljs$lang$maxFixedArity = (6); - -/** - * 'Updates' a value in an associative structure, where k is a - * key and f is a function that will take the old value - * and any supplied args and return the new value, and returns a new - * structure. If the key does not exist, nil is passed as the old value. - */ -cljs.core.update = (function cljs$core$update(var_args){ -var G__11537 = arguments.length; -switch (G__11537) { -case 3: -return cljs.core.update.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.update.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 5: -return cljs.core.update.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -case 6: -return cljs.core.update.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___11549 = arguments.length; -var i__9001__auto___11550 = (0); -while(true){ -if((i__9001__auto___11550 < len__9000__auto___11549)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___11550])); - -var G__11551 = (i__9001__auto___11550 + (1)); -i__9001__auto___11550 = G__11551; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((6)),(0),null)); -return cljs.core.update.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),argseq__9026__auto__); - -} -}); - -cljs.core.update.cljs$core$IFn$_invoke$arity$3 = (function (m,k,f){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11538 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__11538) : f.call(null,G__11538)); -})()); -}); - -cljs.core.update.cljs$core$IFn$_invoke$arity$4 = (function (m,k,f,x){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11539 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -var G__11540 = x; -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11539,G__11540) : f.call(null,G__11539,G__11540)); -})()); -}); - -cljs.core.update.cljs$core$IFn$_invoke$arity$5 = (function (m,k,f,x,y){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11541 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -var G__11542 = x; -var G__11543 = y; -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11541,G__11542,G__11543) : f.call(null,G__11541,G__11542,G__11543)); -})()); -}); - -cljs.core.update.cljs$core$IFn$_invoke$arity$6 = (function (m,k,f,x,y,z){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__11544 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -var G__11545 = x; -var G__11546 = y; -var G__11547 = z; -return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__11544,G__11545,G__11546,G__11547) : f.call(null,G__11544,G__11545,G__11546,G__11547)); -})()); -}); - -cljs.core.update.cljs$core$IFn$_invoke$arity$variadic = (function (m,k,f,x,y,z,more){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),x,y,z,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([more], 0))); -}); - -/** @this {Function} */ -cljs.core.update.cljs$lang$applyTo = (function (seq11530){ -var G__11531 = cljs.core.first(seq11530); -var seq11530__$1 = cljs.core.next(seq11530); -var G__11532 = cljs.core.first(seq11530__$1); -var seq11530__$2 = cljs.core.next(seq11530__$1); -var G__11533 = cljs.core.first(seq11530__$2); -var seq11530__$3 = cljs.core.next(seq11530__$2); -var G__11534 = cljs.core.first(seq11530__$3); -var seq11530__$4 = cljs.core.next(seq11530__$3); -var G__11535 = cljs.core.first(seq11530__$4); -var seq11530__$5 = cljs.core.next(seq11530__$4); -var G__11536 = cljs.core.first(seq11530__$5); -var seq11530__$6 = cljs.core.next(seq11530__$5); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__11531,G__11532,G__11533,G__11534,G__11535,G__11536,seq11530__$6); -}); - -cljs.core.update.cljs$lang$maxFixedArity = (6); - - -/** -* @constructor -*/ -cljs.core.VectorNode = (function (edit,arr){ -this.edit = edit; -this.arr = arr; -}); - -cljs.core.VectorNode.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"edit","edit",-1302639,null),new cljs.core.Symbol(null,"arr","arr",2115492975,null)], null); -}); - -cljs.core.VectorNode.cljs$lang$type = true; - -cljs.core.VectorNode.cljs$lang$ctorStr = "cljs.core/VectorNode"; - -cljs.core.VectorNode.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/VectorNode"); -}); - -/** - * Positional factory function for cljs.core/VectorNode. - */ -cljs.core.__GT_VectorNode = (function cljs$core$__GT_VectorNode(edit,arr){ -return (new cljs.core.VectorNode(edit,arr)); -}); - -cljs.core.pv_fresh_node = (function cljs$core$pv_fresh_node(edit){ -return (new cljs.core.VectorNode(edit,[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])); -}); -cljs.core.pv_aget = (function cljs$core$pv_aget(node,idx){ -return (node.arr[idx]); -}); -cljs.core.pv_aset = (function cljs$core$pv_aset(node,idx,val){ -return (node.arr[idx] = val); -}); -cljs.core.pv_clone_node = (function cljs$core$pv_clone_node(node){ -return (new cljs.core.VectorNode(node.edit,cljs.core.aclone(node.arr))); -}); -cljs.core.tail_off = (function cljs$core$tail_off(pv){ -var cnt = pv.cnt; -if((cnt < (32))){ -return (0); -} else { -return (((cnt - (1)) >>> (5)) << (5)); -} -}); -cljs.core.new_path = (function cljs$core$new_path(edit,level,node){ -var ll = level; -var ret = node; -while(true){ -if((ll === (0))){ -return ret; -} else { -var embed = ret; -var r = cljs.core.pv_fresh_node(edit); -var _ = cljs.core.pv_aset(r,(0),embed); -var G__11552 = (ll - (5)); -var G__11553 = r; -ll = G__11552; -ret = G__11553; -continue; -} -break; -} -}); -cljs.core.push_tail = (function cljs$core$push_tail(pv,level,parent,tailnode){ -var ret = cljs.core.pv_clone_node(parent); -var subidx = (((pv.cnt - (1)) >>> level) & (31)); -if(((5) === level)){ -cljs.core.pv_aset(ret,subidx,tailnode); - -return ret; -} else { -var child = cljs.core.pv_aget(parent,subidx); -if((!((child == null)))){ -var node_to_insert = (function (){var G__11554 = pv; -var G__11555 = (level - (5)); -var G__11556 = child; -var G__11557 = tailnode; -return (cljs.core.push_tail.cljs$core$IFn$_invoke$arity$4 ? cljs.core.push_tail.cljs$core$IFn$_invoke$arity$4(G__11554,G__11555,G__11556,G__11557) : cljs.core.push_tail.call(null,G__11554,G__11555,G__11556,G__11557)); -})(); -cljs.core.pv_aset(ret,subidx,node_to_insert); - -return ret; -} else { -var node_to_insert = cljs.core.new_path(null,(level - (5)),tailnode); -cljs.core.pv_aset(ret,subidx,node_to_insert); - -return ret; -} -} -}); -cljs.core.vector_index_out_of_bounds = (function cljs$core$vector_index_out_of_bounds(i,cnt){ -throw (new Error(["No item ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(i)," in vector of length ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cnt)].join(''))); -}); -cljs.core.first_array_for_longvec = (function cljs$core$first_array_for_longvec(pv){ -var node = pv.root; -var level = pv.shift; -while(true){ -if((level > (0))){ -var G__11558 = cljs.core.pv_aget(node,(0)); -var G__11559 = (level - (5)); -node = G__11558; -level = G__11559; -continue; -} else { -return node.arr; -} -break; -} -}); -cljs.core.unchecked_array_for = (function cljs$core$unchecked_array_for(pv,i){ -if((i >= cljs.core.tail_off(pv))){ -return pv.tail; -} else { -var node = pv.root; -var level = pv.shift; -while(true){ -if((level > (0))){ -var G__11560 = cljs.core.pv_aget(node,((i >>> level) & (31))); -var G__11561 = (level - (5)); -node = G__11560; -level = G__11561; -continue; -} else { -return node.arr; -} -break; -} -} -}); -cljs.core.array_for = (function cljs$core$array_for(pv,i){ -if(((((0) <= i)) && ((i < pv.cnt)))){ -return cljs.core.unchecked_array_for(pv,i); -} else { -return cljs.core.vector_index_out_of_bounds(i,pv.cnt); -} -}); -cljs.core.do_assoc = (function cljs$core$do_assoc(pv,level,node,i,val){ -var ret = cljs.core.pv_clone_node(node); -if((level === (0))){ -cljs.core.pv_aset(ret,(i & (31)),val); - -return ret; -} else { -var subidx = ((i >>> level) & (31)); -cljs.core.pv_aset(ret,subidx,(function (){var G__11562 = pv; -var G__11563 = (level - (5)); -var G__11564 = cljs.core.pv_aget(node,subidx); -var G__11565 = i; -var G__11566 = val; -return (cljs.core.do_assoc.cljs$core$IFn$_invoke$arity$5 ? cljs.core.do_assoc.cljs$core$IFn$_invoke$arity$5(G__11562,G__11563,G__11564,G__11565,G__11566) : cljs.core.do_assoc.call(null,G__11562,G__11563,G__11564,G__11565,G__11566)); -})()); - -return ret; -} -}); -cljs.core.pop_tail = (function cljs$core$pop_tail(pv,level,node){ -var subidx = (((pv.cnt - (2)) >>> level) & (31)); -if((level > (5))){ -var new_child = (function (){var G__11567 = pv; -var G__11568 = (level - (5)); -var G__11569 = cljs.core.pv_aget(node,subidx); -return (cljs.core.pop_tail.cljs$core$IFn$_invoke$arity$3 ? cljs.core.pop_tail.cljs$core$IFn$_invoke$arity$3(G__11567,G__11568,G__11569) : cljs.core.pop_tail.call(null,G__11567,G__11568,G__11569)); -})(); -if((((new_child == null)) && ((subidx === (0))))){ -return null; -} else { -var ret = cljs.core.pv_clone_node(node); -cljs.core.pv_aset(ret,subidx,new_child); - -return ret; -} -} else { -if((subidx === (0))){ -return null; -} else { -var ret = cljs.core.pv_clone_node(node); -cljs.core.pv_aset(ret,subidx,null); - -return ret; - -} -} -}); - -/** -* @constructor -*/ -cljs.core.RangedIterator = (function (i,base,arr,v,start,end){ -this.i = i; -this.base = base; -this.arr = arr; -this.v = v; -this.start = start; -this.end = end; -}); -cljs.core.RangedIterator.prototype.hasNext = (function (){ -var self__ = this; -var this$ = this; -return (self__.i < self__.end); -}); - -cljs.core.RangedIterator.prototype.next = (function (){ -var self__ = this; -var this$ = this; -if(((self__.i - self__.base) === (32))){ -self__.arr = cljs.core.unchecked_array_for(self__.v,self__.i); - -self__.base = (self__.base + (32)); -} else { -} - -var ret = (self__.arr[(self__.i & (31))]); -self__.i = (self__.i + (1)); - -return ret; -}); - -cljs.core.RangedIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"base","base",1825810849,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"v","v",1661996586,null),new cljs.core.Symbol(null,"start","start",1285322546,null),new cljs.core.Symbol(null,"end","end",1372345569,null)], null); -}); - -cljs.core.RangedIterator.cljs$lang$type = true; - -cljs.core.RangedIterator.cljs$lang$ctorStr = "cljs.core/RangedIterator"; - -cljs.core.RangedIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/RangedIterator"); -}); - -/** - * Positional factory function for cljs.core/RangedIterator. - */ -cljs.core.__GT_RangedIterator = (function cljs$core$__GT_RangedIterator(i,base,arr,v,start,end){ -return (new cljs.core.RangedIterator(i,base,arr,v,start,end)); -}); - -cljs.core.ranged_iterator = (function cljs$core$ranged_iterator(v,start,end){ -var i = start; -return (new cljs.core.RangedIterator(i,(i - (i % (32))),(((start < cljs.core.count(v)))?cljs.core.unchecked_array_for(v,i):null),v,start,end)); -}); -cljs.core.pv_reduce = (function cljs$core$pv_reduce(var_args){ -var G__11571 = arguments.length; -switch (G__11571) { -case 4: -return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 5: -return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4 = (function (pv,f,start,end){ -if((start < end)){ -return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5(pv,f,cljs.core.nth.cljs$core$IFn$_invoke$arity$2(pv,start),(start + (1)),end); -} else { -return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); -} -}); - -cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5 = (function (pv,f,init,start,end){ -var acc = init; -var i = start; -var arr = cljs.core.unchecked_array_for(pv,start); -while(true){ -if((i < end)){ -var j = (i & (31)); -var arr__$1 = (((j === (0)))?cljs.core.unchecked_array_for(pv,i):arr); -var nacc = (function (){var G__11572 = acc; -var G__11573 = (arr__$1[j]); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11572,G__11573) : f.call(null,G__11572,G__11573)); -})(); -if(cljs.core.reduced_QMARK_(nacc)){ -return cljs.core.deref(nacc); -} else { -var G__11575 = nacc; -var G__11576 = (i + (1)); -var G__11577 = arr__$1; -acc = G__11575; -i = G__11576; -arr = G__11577; -continue; -} -} else { -return acc; -} -break; -} -}); - -cljs.core.pv_reduce.cljs$lang$maxFixedArity = 5; - - - - - - - - -/** - * Marker protocol - * @interface - */ -cljs.core.APersistentVector = function(){}; - - -/** -* @constructor - * @implements {cljs.core.APersistentVector} - * @implements {cljs.core.IIndexed} - * @implements {cljs.core.IVector} - * @implements {cljs.core.IReversible} - * @implements {cljs.core.IKVReduce} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEditableCollection} - * @implements {cljs.core.IFind} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IStack} - * @implements {cljs.core.IIterable} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IAssociative} - * @implements {cljs.core.ILookup} - * @implements {cljs.core.IReduce} -*/ -cljs.core.PersistentVector = (function (meta,cnt,shift,root,tail,__hash){ -this.meta = meta; -this.cnt = cnt; -this.shift = shift; -this.root = root; -this.tail = tail; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 167666463; -this.cljs$lang$protocol_mask$partition1$ = 139268; -}); -cljs.core.PersistentVector.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentVector.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,n){ -var self__ = this; -var coll__$1 = this; -if(((((0) <= n)) && ((n < self__.cnt)))){ -return (new cljs.core.MapEntry(n,(cljs.core.unchecked_array_for(coll__$1,n)[(n & (31))]),null)); -} else { -return null; -} -}); - -cljs.core.PersistentVector.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentVector.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentVector.prototype.indexOf = (function() { -var G__11584 = null; -var G__11584__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11584__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11584 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11584__1.call(this,x); -case 2: -return G__11584__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11584.cljs$core$IFn$_invoke$arity$1 = G__11584__1; -G__11584.cljs$core$IFn$_invoke$arity$2 = G__11584__2; -return G__11584; -})() -; - -cljs.core.PersistentVector.prototype.lastIndexOf = (function() { -var G__11585 = null; -var G__11585__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11585__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11585 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11585__1.call(this,x); -case 2: -return G__11585__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11585.cljs$core$IFn$_invoke$arity$1 = G__11585__1; -G__11585.cljs$core$IFn$_invoke$arity$2 = G__11585__2; -return G__11585; -})() -; - -cljs.core.PersistentVector.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ILookup$_lookup$arity$3(null,k,null); -}); - -cljs.core.PersistentVector.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ -var self__ = this; -var coll__$1 = this; -if(typeof k === 'number'){ -return coll__$1.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -} else { -return not_found; -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (v,f,init){ -var self__ = this; -var v__$1 = this; -var i = (0); -var init__$1 = init; -while(true){ -if((i < self__.cnt)){ -var arr = cljs.core.unchecked_array_for(v__$1,i); -var len = arr.length; -var init__$2 = (function (){var j = (0); -var init__$2 = init__$1; -while(true){ -if((j < len)){ -var init__$3 = (function (){var G__11579 = init__$2; -var G__11580 = (j + i); -var G__11581 = (arr[j]); -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11579,G__11580,G__11581) : f.call(null,G__11579,G__11580,G__11581)); -})(); -if(cljs.core.reduced_QMARK_(init__$3)){ -return init__$3; -} else { -var G__11586 = (j + (1)); -var G__11587 = init__$3; -j = G__11586; -init__$2 = G__11587; -continue; -} -} else { -return init__$2; -} -break; -} -})(); -if(cljs.core.reduced_QMARK_(init__$2)){ -return cljs.core.deref(init__$2); -} else { -var G__11588 = (i + len); -var G__11589 = init__$2; -i = G__11588; -init__$1 = G__11589; -continue; -} -} else { -return init__$1; -} -break; -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$APersistentVector$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentVector.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,n){ -var self__ = this; -var coll__$1 = this; -return (cljs.core.array_for(coll__$1,n)[(n & (31))]); -}); - -cljs.core.PersistentVector.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ -var self__ = this; -var coll__$1 = this; -if(((((0) <= n)) && ((n < self__.cnt)))){ -return (cljs.core.unchecked_array_for(coll__$1,n)[(n & (31))]); -} else { -return not_found; -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (coll,n,val){ -var self__ = this; -var coll__$1 = this; -if(((((0) <= n)) && ((n < self__.cnt)))){ -if((cljs.core.tail_off(coll__$1) <= n)){ -var new_tail = cljs.core.aclone(self__.tail); -(new_tail[(n & (31))] = val); - -return (new cljs.core.PersistentVector(self__.meta,self__.cnt,self__.shift,self__.root,new_tail,null)); -} else { -return (new cljs.core.PersistentVector(self__.meta,self__.cnt,self__.shift,cljs.core.do_assoc(coll__$1,self__.shift,self__.root,n,val),self__.tail,null)); -} -} else { -if((n === self__.cnt)){ -return coll__$1.cljs$core$ICollection$_conj$arity$2(null,val); -} else { -throw (new Error(["Index ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," out of bounds [0,",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.cnt),"]"].join(''))); - -} -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return cljs.core.ranged_iterator(this$__$1,(0),self__.cnt); -}); - -cljs.core.PersistentVector.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.PersistentVector.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.PersistentVector(self__.meta,self__.cnt,self__.shift,self__.root,self__.tail,self__.__hash)); -}); - -cljs.core.PersistentVector.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.cnt; -}); - -cljs.core.PersistentVector.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt > (0))){ -return coll__$1.cljs$core$IIndexed$_nth$arity$2(null,(self__.cnt - (1))); -} else { -return null; -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt === (0))){ -throw (new Error("Can't pop empty vector")); -} else { -if(((1) === self__.cnt)){ -return cljs.core._with_meta(cljs.core.PersistentVector.EMPTY,self__.meta); -} else { -if(((1) < (self__.cnt - cljs.core.tail_off(coll__$1)))){ -return (new cljs.core.PersistentVector(self__.meta,(self__.cnt - (1)),self__.shift,self__.root,self__.tail.slice((0),(-1)),null)); -} else { -var new_tail = cljs.core.unchecked_array_for(coll__$1,(self__.cnt - (2))); -var nr = cljs.core.pop_tail(coll__$1,self__.shift,self__.root); -var new_root = (((nr == null))?cljs.core.PersistentVector.EMPTY_NODE:nr); -var cnt_1 = (self__.cnt - (1)); -if(((((5) < self__.shift)) && ((cljs.core.pv_aget(new_root,(1)) == null)))){ -return (new cljs.core.PersistentVector(self__.meta,cnt_1,(self__.shift - (5)),cljs.core.pv_aget(new_root,(0)),new_tail,null)); -} else { -return (new cljs.core.PersistentVector(self__.meta,cnt_1,self__.shift,new_root,new_tail,null)); -} - -} -} -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt > (0))){ -return (new cljs.core.RSeq(coll__$1,(self__.cnt - (1)),null)); -} else { -return null; -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -if((other instanceof cljs.core.PersistentVector)){ -if((self__.cnt === cljs.core.count(other))){ -var me_iter = coll__$1.cljs$core$IIterable$_iterator$arity$1(null); -var you_iter = cljs.core._iterator(other); -while(true){ -if(me_iter.hasNext()){ -var x = me_iter.next(); -var y = you_iter.next(); -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y)){ -continue; -} else { -return false; -} -} else { -return true; -} -break; -} -} else { -return false; -} -} else { -return cljs.core.equiv_sequential(coll__$1,other); -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.TransientVector(self__.cnt,self__.shift,cljs.core.tv_editable_root(self__.root),cljs.core.tv_editable_tail(self__.tail))); -}); - -cljs.core.PersistentVector.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.PersistentVector.EMPTY,self__.meta); -}); - -cljs.core.PersistentVector.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (v,f){ -var self__ = this; -var v__$1 = this; -return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4(v__$1,f,(0),self__.cnt); -}); - -cljs.core.PersistentVector.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (v,f,init){ -var self__ = this; -var v__$1 = this; -var i = (0); -var init__$1 = init; -while(true){ -if((i < self__.cnt)){ -var arr = cljs.core.unchecked_array_for(v__$1,i); -var len = arr.length; -var init__$2 = (function (){var j = (0); -var init__$2 = init__$1; -while(true){ -if((j < len)){ -var init__$3 = (function (){var G__11582 = init__$2; -var G__11583 = (arr[j]); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__11582,G__11583) : f.call(null,G__11582,G__11583)); -})(); -if(cljs.core.reduced_QMARK_(init__$3)){ -return init__$3; -} else { -var G__11590 = (j + (1)); -var G__11591 = init__$3; -j = G__11590; -init__$2 = G__11591; -continue; -} -} else { -return init__$2; -} -break; -} -})(); -if(cljs.core.reduced_QMARK_(init__$2)){ -return cljs.core.deref(init__$2); -} else { -var G__11592 = (i + len); -var G__11593 = init__$2; -i = G__11592; -init__$1 = G__11593; -continue; -} -} else { -return init__$1; -} -break; -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ -var self__ = this; -var coll__$1 = this; -if(typeof k === 'number'){ -return coll__$1.cljs$core$IVector$_assoc_n$arity$3(null,k,v); -} else { -throw (new Error("Vector's key for assoc must be a number.")); -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -if(cljs.core.integer_QMARK_(k)){ -return ((((0) <= k)) && ((k < self__.cnt))); -} else { -return false; -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt === (0))){ -return null; -} else { -if((self__.cnt <= (32))){ -return (new cljs.core.IndexedSeq(self__.tail,(0),null)); -} else { -return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(coll__$1,cljs.core.first_array_for_longvec(coll__$1),(0),(0)); - -} -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentVector(meta__$1,self__.cnt,self__.shift,self__.root,self__.tail,self__.__hash)); -}); - -cljs.core.PersistentVector.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -if(((self__.cnt - cljs.core.tail_off(coll__$1)) < (32))){ -var len = self__.tail.length; -var new_tail = (new Array((len + (1)))); -var n__8769__auto___11594 = len; -var i_11595 = (0); -while(true){ -if((i_11595 < n__8769__auto___11594)){ -(new_tail[i_11595] = (self__.tail[i_11595])); - -var G__11596 = (i_11595 + (1)); -i_11595 = G__11596; -continue; -} else { -} -break; -} - -(new_tail[len] = o); - -return (new cljs.core.PersistentVector(self__.meta,(self__.cnt + (1)),self__.shift,self__.root,new_tail,null)); -} else { -var root_overflow_QMARK_ = ((self__.cnt >>> (5)) > ((1) << self__.shift)); -var new_shift = ((root_overflow_QMARK_)?(self__.shift + (5)):self__.shift); -var new_root = ((root_overflow_QMARK_)?(function (){var n_r = cljs.core.pv_fresh_node(null); -cljs.core.pv_aset(n_r,(0),self__.root); - -cljs.core.pv_aset(n_r,(1),cljs.core.new_path(null,self__.shift,(new cljs.core.VectorNode(null,self__.tail)))); - -return n_r; -})():cljs.core.push_tail(coll__$1,self__.shift,self__.root,(new cljs.core.VectorNode(null,self__.tail)))); -return (new cljs.core.PersistentVector(self__.meta,(self__.cnt + (1)),new_shift,new_root,[o],null)); -} -}); - -cljs.core.PersistentVector.prototype.call = (function() { -var G__11597 = null; -var G__11597__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$IIndexed$_nth$arity$2(null,k); -}); -var G__11597__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); -G__11597 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__11597__2.call(this,self__,k); -case 3: -return G__11597__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11597.cljs$core$IFn$_invoke$arity$2 = G__11597__2; -G__11597.cljs$core$IFn$_invoke$arity$3 = G__11597__3; -return G__11597; -})() -; - -cljs.core.PersistentVector.prototype.apply = (function (self__,args11578){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11578))); -}); - -cljs.core.PersistentVector.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var coll = this; -return coll.cljs$core$IIndexed$_nth$arity$2(null,k); -}); - -cljs.core.PersistentVector.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); - -cljs.core.PersistentVector.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"shift","shift",-1657295705,null),new cljs.core.Symbol(null,"root","root",1191874074,null),new cljs.core.Symbol(null,"tail","tail",494507963,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.PersistentVector.cljs$lang$type = true; - -cljs.core.PersistentVector.cljs$lang$ctorStr = "cljs.core/PersistentVector"; - -cljs.core.PersistentVector.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentVector"); -}); - -/** - * Positional factory function for cljs.core/PersistentVector. - */ -cljs.core.__GT_PersistentVector = (function cljs$core$__GT_PersistentVector(meta,cnt,shift,root,tail,__hash){ -return (new cljs.core.PersistentVector(meta,cnt,shift,root,tail,__hash)); -}); - -cljs.core.PersistentVector.EMPTY_NODE = (new cljs.core.VectorNode(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,null])); -cljs.core.PersistentVector.EMPTY = (new cljs.core.PersistentVector(null,(0),(5),cljs.core.PersistentVector.EMPTY_NODE,[],cljs.core.empty_ordered_hash)); -cljs.core.PersistentVector.fromArray = (function (xs,no_clone){ -var l = xs.length; -var xs__$1 = ((no_clone)?xs:cljs.core.aclone(xs)); -if((l < (32))){ -return (new cljs.core.PersistentVector(null,l,(5),cljs.core.PersistentVector.EMPTY_NODE,xs__$1,null)); -} else { -var node = xs__$1.slice((0),(32)); -var v = (new cljs.core.PersistentVector(null,(32),(5),cljs.core.PersistentVector.EMPTY_NODE,node,null)); -var i = (32); -var out = v.cljs$core$IEditableCollection$_as_transient$arity$1(null); -while(true){ -if((i < l)){ -var G__11598 = (i + (1)); -var G__11599 = cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(out,(xs__$1[i])); -i = G__11598; -out = G__11599; -continue; -} else { -return cljs.core.persistent_BANG_(out); -} -break; -} -} -}); -var G__11600_11603 = cljs.core.PersistentVector.prototype; -var G__11601_11604 = cljs.core.ITER_SYMBOL; -var G__11602_11605 = ((function (G__11600_11603,G__11601_11604){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11600_11603,G__11601_11604)) -; -goog.object.set(G__11600_11603,G__11601_11604,G__11602_11605); -/** - * Creates a new vector containing the contents of coll. JavaScript arrays - * will be aliased and should not be modified. - */ -cljs.core.vec = (function cljs$core$vec(coll){ -if(cljs.core.map_entry_QMARK_(coll)){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.key(coll),cljs.core.val(coll)], null); -} else { -if(cljs.core.vector_QMARK_(coll)){ -return cljs.core.with_meta(coll,null); -} else { -if(cljs.core.array_QMARK_(coll)){ -return cljs.core.PersistentVector.fromArray(coll,true); -} else { -return cljs.core._persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj_BANG_,cljs.core._as_transient(cljs.core.PersistentVector.EMPTY),coll)); - -} -} -} -}); -/** - * Creates a new vector containing the args. - */ -cljs.core.vector = (function cljs$core$vector(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___11607 = arguments.length; -var i__9001__auto___11608 = (0); -while(true){ -if((i__9001__auto___11608 < len__9000__auto___11607)){ -args__9010__auto__.push((arguments[i__9001__auto___11608])); - -var G__11609 = (i__9001__auto___11608 + (1)); -i__9001__auto___11608 = G__11609; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.vector.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.vector.cljs$core$IFn$_invoke$arity$variadic = (function (args){ -if((((args instanceof cljs.core.IndexedSeq)) && ((args.i === (0))))){ -return cljs.core.PersistentVector.fromArray(args.arr,true); -} else { -return cljs.core.vec(args); -} -}); - -cljs.core.vector.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.vector.cljs$lang$applyTo = (function (seq11606){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq11606)); -}); - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ASeq} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IChunkedNext} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.IChunkedSeq} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.ChunkedSeq = (function (vec,node,i,off,meta,__hash){ -this.vec = vec; -this.node = node; -this.i = i; -this.off = off; -this.meta = meta; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 32375020; -this.cljs$lang$protocol_mask$partition1$ = 1536; -}); -cljs.core.ChunkedSeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.ChunkedSeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.ChunkedSeq.prototype.indexOf = (function() { -var G__11610 = null; -var G__11610__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11610__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11610 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11610__1.call(this,x); -case 2: -return G__11610__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11610.cljs$core$IFn$_invoke$arity$1 = G__11610__1; -G__11610.cljs$core$IFn$_invoke$arity$2 = G__11610__2; -return G__11610; -})() -; - -cljs.core.ChunkedSeq.prototype.lastIndexOf = (function() { -var G__11611 = null; -var G__11611__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11611__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11611 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11611__1.call(this,x); -case 2: -return G__11611__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11611.cljs$core$IFn$_invoke$arity$1 = G__11611__1; -G__11611.cljs$core$IFn$_invoke$arity$2 = G__11611__2; -return G__11611; -})() -; - -cljs.core.ChunkedSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if(((self__.off + (1)) < self__.node.length)){ -var s = cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(self__.vec,self__.node,self__.i,(self__.off + (1))); -if((s == null)){ -return null; -} else { -return s; -} -} else { -return coll__$1.cljs$core$IChunkedNext$_chunked_next$arity$1(null); -} -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.List.EMPTY; -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4(self__.vec,f,(self__.i + self__.off),cljs.core.count(self__.vec)); -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5(self__.vec,f,start,(self__.i + self__.off),cljs.core.count(self__.vec)); -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (self__.node[self__.off]); -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if(((self__.off + (1)) < self__.node.length)){ -var s = cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(self__.vec,self__.node,self__.i,(self__.off + (1))); -if((s == null)){ -return cljs.core.List.EMPTY; -} else { -return s; -} -} else { -return coll__$1.cljs$core$IChunkedSeq$_chunked_rest$arity$1(null); -} -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IChunkedSeq$_chunked_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2(self__.node,self__.off); -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IChunkedSeq$_chunked_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var end = (self__.i + self__.node.length); -if((end < cljs.core._count(self__.vec))){ -return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(self__.vec,cljs.core.unchecked_array_for(self__.vec,end),end,(0)); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,m){ -var self__ = this; -var coll__$1 = this; -return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5(self__.vec,self__.node,self__.i,self__.off,m); -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IChunkedNext$_chunked_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var end = (self__.i + self__.node.length); -if((end < cljs.core._count(self__.vec))){ -return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(self__.vec,cljs.core.unchecked_array_for(self__.vec,end),end,(0)); -} else { -return null; -} -}); - -cljs.core.ChunkedSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"vec","vec",982683596,null),new cljs.core.Symbol(null,"node","node",-2073234571,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"off","off",-2047994980,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ChunkedSeq.cljs$lang$type = true; - -cljs.core.ChunkedSeq.cljs$lang$ctorStr = "cljs.core/ChunkedSeq"; - -cljs.core.ChunkedSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ChunkedSeq"); -}); - -/** - * Positional factory function for cljs.core/ChunkedSeq. - */ -cljs.core.__GT_ChunkedSeq = (function cljs$core$__GT_ChunkedSeq(vec,node,i,off,meta,__hash){ -return (new cljs.core.ChunkedSeq(vec,node,i,off,meta,__hash)); -}); - -var G__11612_11615 = cljs.core.ChunkedSeq.prototype; -var G__11613_11616 = cljs.core.ITER_SYMBOL; -var G__11614_11617 = ((function (G__11612_11615,G__11613_11616){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11612_11615,G__11613_11616)) -; -goog.object.set(G__11612_11615,G__11613_11616,G__11614_11617); -cljs.core.chunked_seq = (function cljs$core$chunked_seq(var_args){ -var G__11619 = arguments.length; -switch (G__11619) { -case 3: -return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 4: -return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 5: -return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$3 = (function (vec,i,off){ -return (new cljs.core.ChunkedSeq(vec,cljs.core.array_for(vec,i),i,off,null,null)); -}); - -cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 = (function (vec,node,i,off){ -return (new cljs.core.ChunkedSeq(vec,node,i,off,null,null)); -}); - -cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5 = (function (vec,node,i,off,meta){ -return (new cljs.core.ChunkedSeq(vec,node,i,off,meta,null)); -}); - -cljs.core.chunked_seq.cljs$lang$maxFixedArity = 5; - - -/** -* @constructor - * @implements {cljs.core.IIndexed} - * @implements {cljs.core.IVector} - * @implements {cljs.core.IReversible} - * @implements {cljs.core.IKVReduce} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IFind} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IStack} - * @implements {cljs.core.IIterable} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IAssociative} - * @implements {cljs.core.ILookup} - * @implements {cljs.core.IReduce} -*/ -cljs.core.Subvec = (function (meta,v,start,end,__hash){ -this.meta = meta; -this.v = v; -this.start = start; -this.end = end; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 167666463; -this.cljs$lang$protocol_mask$partition1$ = 139264; -}); -cljs.core.Subvec.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Subvec.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,n){ -var self__ = this; -var coll__$1 = this; -if((n < (0))){ -return null; -} else { -var idx = (self__.start + n); -if((idx < self__.end)){ -return (new cljs.core.MapEntry(n,cljs.core._lookup.cljs$core$IFn$_invoke$arity$2(self__.v,idx),null)); -} else { -return null; -} -} -}); - -cljs.core.Subvec.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.Subvec.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.Subvec.prototype.indexOf = (function() { -var G__11628 = null; -var G__11628__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11628__2 = (function (x,start__$1){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); -}); -G__11628 = function(x,start__$1){ -switch(arguments.length){ -case 1: -return G__11628__1.call(this,x); -case 2: -return G__11628__2.call(this,x,start__$1); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11628.cljs$core$IFn$_invoke$arity$1 = G__11628__1; -G__11628.cljs$core$IFn$_invoke$arity$2 = G__11628__2; -return G__11628; -})() -; - -cljs.core.Subvec.prototype.lastIndexOf = (function() { -var G__11629 = null; -var G__11629__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11629__2 = (function (x,start__$1){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); -}); -G__11629 = function(x,start__$1){ -switch(arguments.length){ -case 1: -return G__11629__1.call(this,x); -case 2: -return G__11629__2.call(this,x,start__$1); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11629.cljs$core$IFn$_invoke$arity$1 = G__11629__1; -G__11629.cljs$core$IFn$_invoke$arity$2 = G__11629__2; -return G__11629; -})() -; - -cljs.core.Subvec.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ILookup$_lookup$arity$3(null,k,null); -}); - -cljs.core.Subvec.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ -var self__ = this; -var coll__$1 = this; -if(typeof k === 'number'){ -return coll__$1.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -} else { -return not_found; -} -}); - -cljs.core.Subvec.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ -var self__ = this; -var coll__$1 = this; -var i = self__.start; -var j = (0); -var init__$1 = init; -while(true){ -if((i < self__.end)){ -var init__$2 = (function (){var G__11622 = init__$1; -var G__11623 = j; -var G__11624 = cljs.core._nth.cljs$core$IFn$_invoke$arity$2(self__.v,i); -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11622,G__11623,G__11624) : f.call(null,G__11622,G__11623,G__11624)); -})(); -if(cljs.core.reduced_QMARK_(init__$2)){ -return cljs.core.deref(init__$2); -} else { -var G__11630 = (i + (1)); -var G__11631 = (j + (1)); -var G__11632 = init__$2; -i = G__11630; -j = G__11631; -init__$1 = G__11632; -continue; -} -} else { -return init__$1; -} -break; -} -}); - -cljs.core.Subvec.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,n){ -var self__ = this; -var coll__$1 = this; -if((((n < (0))) || ((self__.end <= (self__.start + n))))){ -return cljs.core.vector_index_out_of_bounds(n,(self__.end - self__.start)); -} else { -return cljs.core._nth.cljs$core$IFn$_invoke$arity$2(self__.v,(self__.start + n)); -} -}); - -cljs.core.Subvec.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ -var self__ = this; -var coll__$1 = this; -if((((n < (0))) || ((self__.end <= (self__.start + n))))){ -return not_found; -} else { -return cljs.core._nth.cljs$core$IFn$_invoke$arity$3(self__.v,(self__.start + n),not_found); -} -}); - -cljs.core.Subvec.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (coll,n,val){ -var self__ = this; -var coll__$1 = this; -var v_pos = (self__.start + n); -if((((n < (0))) || (((self__.end + (1)) <= v_pos)))){ -throw (new Error(["Index ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," out of bounds [0,",cljs.core.str.cljs$core$IFn$_invoke$arity$1(coll__$1.cljs$core$ICounted$_count$arity$1(null)),"]"].join(''))); -} else { -return cljs.core.build_subvec(self__.meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.v,v_pos,val),self__.start,(function (){var x__8162__auto__ = self__.end; -var y__8163__auto__ = (v_pos + (1)); -return ((x__8162__auto__ > y__8163__auto__) ? x__8162__auto__ : y__8163__auto__); -})(),null); -} -}); - -cljs.core.Subvec.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((((!((self__.v == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === self__.v.cljs$core$APersistentVector$))))?true:false):false)){ -return cljs.core.ranged_iterator(self__.v,self__.start,self__.end); -} else { -return cljs.core.seq_iter(coll__$1); -} -}); - -cljs.core.Subvec.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.Subvec.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.Subvec(self__.meta,self__.v,self__.start,self__.end,self__.__hash)); -}); - -cljs.core.Subvec.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (self__.end - self__.start); -}); - -cljs.core.Subvec.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._nth.cljs$core$IFn$_invoke$arity$2(self__.v,(self__.end - (1))); -}); - -cljs.core.Subvec.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.start === self__.end)){ -throw (new Error("Can't pop empty vector")); -} else { -return cljs.core.build_subvec(self__.meta,self__.v,self__.start,(self__.end - (1)),null); -} -}); - -cljs.core.Subvec.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((!((self__.start === self__.end)))){ -return (new cljs.core.RSeq(coll__$1,((self__.end - self__.start) - (1)),null)); -} else { -return null; -} -}); - -cljs.core.Subvec.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.Subvec.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.Subvec.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.PersistentVector.EMPTY,self__.meta); -}); - -cljs.core.Subvec.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -if((((!((self__.v == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === self__.v.cljs$core$APersistentVector$))))?true:false):false)){ -return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4(self__.v,f,self__.start,self__.end); -} else { -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(coll__$1,f); -} -}); - -cljs.core.Subvec.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,init){ -var self__ = this; -var coll__$1 = this; -if((((!((self__.v == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === self__.v.cljs$core$APersistentVector$))))?true:false):false)){ -return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5(self__.v,f,init,self__.start,self__.end); -} else { -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(coll__$1,f,init); -} -}); - -cljs.core.Subvec.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,key,val){ -var self__ = this; -var coll__$1 = this; -if(typeof key === 'number'){ -return coll__$1.cljs$core$IVector$_assoc_n$arity$3(null,key,val); -} else { -throw (new Error("Subvec's key for assoc must be a number.")); -} -}); - -cljs.core.Subvec.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var subvec_seq = ((function (coll__$1){ -return (function cljs$core$subvec_seq(i){ -if((i === self__.end)){ -return null; -} else { -return cljs.core.cons(cljs.core._nth.cljs$core$IFn$_invoke$arity$2(self__.v,i),(new cljs.core.LazySeq(null,((function (coll__$1){ -return (function (){ -return cljs$core$subvec_seq((i + (1))); -});})(coll__$1)) -,null,null))); -} -});})(coll__$1)) -; -return subvec_seq(self__.start); -}); - -cljs.core.Subvec.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return cljs.core.build_subvec(meta__$1,self__.v,self__.start,self__.end,self__.__hash); -}); - -cljs.core.Subvec.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.build_subvec(self__.meta,cljs.core._assoc_n(self__.v,self__.end,o),self__.start,(self__.end + (1)),null); -}); - -cljs.core.Subvec.prototype.call = (function() { -var G__11633 = null; -var G__11633__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$IIndexed$_nth$arity$2(null,k); -}); -var G__11633__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); -G__11633 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__11633__2.call(this,self__,k); -case 3: -return G__11633__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11633.cljs$core$IFn$_invoke$arity$2 = G__11633__2; -G__11633.cljs$core$IFn$_invoke$arity$3 = G__11633__3; -return G__11633; -})() -; - -cljs.core.Subvec.prototype.apply = (function (self__,args11621){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11621))); -}); - -cljs.core.Subvec.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var coll = this; -return coll.cljs$core$IIndexed$_nth$arity$2(null,k); -}); - -cljs.core.Subvec.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); - -cljs.core.Subvec.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"v","v",1661996586,null),new cljs.core.Symbol(null,"start","start",1285322546,null),new cljs.core.Symbol(null,"end","end",1372345569,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Subvec.cljs$lang$type = true; - -cljs.core.Subvec.cljs$lang$ctorStr = "cljs.core/Subvec"; - -cljs.core.Subvec.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Subvec"); -}); - -/** - * Positional factory function for cljs.core/Subvec. - */ -cljs.core.__GT_Subvec = (function cljs$core$__GT_Subvec(meta,v,start,end,__hash){ -return (new cljs.core.Subvec(meta,v,start,end,__hash)); -}); - -var G__11634_11637 = cljs.core.Subvec.prototype; -var G__11635_11638 = cljs.core.ITER_SYMBOL; -var G__11636_11639 = ((function (G__11634_11637,G__11635_11638){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11634_11637,G__11635_11638)) -; -goog.object.set(G__11634_11637,G__11635_11638,G__11636_11639); -cljs.core.build_subvec = (function cljs$core$build_subvec(meta,v,start,end,__hash){ -while(true){ -if((v instanceof cljs.core.Subvec)){ -var G__11640 = meta; -var G__11641 = v.v; -var G__11642 = (v.start + start); -var G__11643 = (v.start + end); -var G__11644 = __hash; -meta = G__11640; -v = G__11641; -start = G__11642; -end = G__11643; -__hash = G__11644; -continue; -} else { -if(cljs.core.vector_QMARK_(v)){ -} else { -throw (new Error("v must satisfy IVector")); -} - -var c_11645 = cljs.core.count(v); -if((((start < (0))) || ((end < (0))) || ((start > c_11645)) || ((end > c_11645)))){ -throw (new Error("Index out of bounds")); -} else { -} - -return (new cljs.core.Subvec(meta,v,start,end,__hash)); -} -break; -} -}); -/** - * Returns a persistent vector of the items in vector from - * start (inclusive) to end (exclusive). If end is not supplied, - * defaults to (count vector). This operation is O(1) and very fast, as - * the resulting vector shares structure with the original and no - * trimming is done. - */ -cljs.core.subvec = (function cljs$core$subvec(var_args){ -var G__11647 = arguments.length; -switch (G__11647) { -case 2: -return cljs.core.subvec.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.subvec.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.subvec.cljs$core$IFn$_invoke$arity$2 = (function (v,start){ -return cljs.core.subvec.cljs$core$IFn$_invoke$arity$3(v,start,cljs.core.count(v)); -}); - -cljs.core.subvec.cljs$core$IFn$_invoke$arity$3 = (function (v,start,end){ -if((((!((start == null)))) && ((!((end == null)))))){ -} else { -throw (new Error("Assert failed: (and (not (nil? start)) (not (nil? end)))")); -} - -return cljs.core.build_subvec(null,v,(start | (0)),(end | (0)),null); -}); - -cljs.core.subvec.cljs$lang$maxFixedArity = 3; - -cljs.core.tv_ensure_editable = (function cljs$core$tv_ensure_editable(edit,node){ -if((edit === node.edit)){ -return node; -} else { -return (new cljs.core.VectorNode(edit,cljs.core.aclone(node.arr))); -} -}); -cljs.core.tv_editable_root = (function cljs$core$tv_editable_root(node){ -return (new cljs.core.VectorNode({},cljs.core.aclone(node.arr))); -}); -cljs.core.tv_editable_tail = (function cljs$core$tv_editable_tail(tl){ -var ret = [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]; -cljs.core.array_copy(tl,(0),ret,(0),tl.length); - -return ret; -}); -cljs.core.tv_push_tail = (function cljs$core$tv_push_tail(tv,level,parent,tail_node){ -var ret = cljs.core.tv_ensure_editable(tv.root.edit,parent); -var subidx = (((tv.cnt - (1)) >>> level) & (31)); -cljs.core.pv_aset(ret,subidx,(((level === (5)))?tail_node:(function (){var child = cljs.core.pv_aget(ret,subidx); -if((!((child == null)))){ -var G__11651 = tv; -var G__11652 = (level - (5)); -var G__11653 = child; -var G__11654 = tail_node; -return (cljs.core.tv_push_tail.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tv_push_tail.cljs$core$IFn$_invoke$arity$4(G__11651,G__11652,G__11653,G__11654) : cljs.core.tv_push_tail.call(null,G__11651,G__11652,G__11653,G__11654)); -} else { -return cljs.core.new_path(tv.root.edit,(level - (5)),tail_node); -} -})())); - -return ret; -}); -cljs.core.tv_pop_tail = (function cljs$core$tv_pop_tail(tv,level,node){ -var node__$1 = cljs.core.tv_ensure_editable(tv.root.edit,node); -var subidx = (((tv.cnt - (2)) >>> level) & (31)); -if((level > (5))){ -var new_child = (function (){var G__11655 = tv; -var G__11656 = (level - (5)); -var G__11657 = cljs.core.pv_aget(node__$1,subidx); -return (cljs.core.tv_pop_tail.cljs$core$IFn$_invoke$arity$3 ? cljs.core.tv_pop_tail.cljs$core$IFn$_invoke$arity$3(G__11655,G__11656,G__11657) : cljs.core.tv_pop_tail.call(null,G__11655,G__11656,G__11657)); -})(); -if((((new_child == null)) && ((subidx === (0))))){ -return null; -} else { -cljs.core.pv_aset(node__$1,subidx,new_child); - -return node__$1; -} -} else { -if((subidx === (0))){ -return null; -} else { -cljs.core.pv_aset(node__$1,subidx,null); - -return node__$1; - -} -} -}); -cljs.core.unchecked_editable_array_for = (function cljs$core$unchecked_editable_array_for(tv,i){ -if((i >= cljs.core.tail_off(tv))){ -return tv.tail; -} else { -var root = tv.root; -var node = root; -var level = tv.shift; -while(true){ -if((level > (0))){ -var G__11658 = cljs.core.tv_ensure_editable(root.edit,cljs.core.pv_aget(node,((i >>> level) & (31)))); -var G__11659 = (level - (5)); -node = G__11658; -level = G__11659; -continue; -} else { -return node.arr; -} -break; -} -} -}); - -/** -* @constructor - * @implements {cljs.core.IIndexed} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ITransientCollection} - * @implements {cljs.core.ITransientVector} - * @implements {cljs.core.ITransientAssociative} - * @implements {cljs.core.ILookup} -*/ -cljs.core.TransientVector = (function (cnt,shift,root,tail){ -this.cnt = cnt; -this.shift = shift; -this.root = root; -this.tail = tail; -this.cljs$lang$protocol_mask$partition1$ = 88; -this.cljs$lang$protocol_mask$partition0$ = 275; -}); -cljs.core.TransientVector.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,o){ -var self__ = this; -var tcoll__$1 = this; -if(self__.root.edit){ -if(((self__.cnt - cljs.core.tail_off(tcoll__$1)) < (32))){ -(self__.tail[(self__.cnt & (31))] = o); - -self__.cnt = (self__.cnt + (1)); - -return tcoll__$1; -} else { -var tail_node = (new cljs.core.VectorNode(self__.root.edit,self__.tail)); -var new_tail = [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]; -(new_tail[(0)] = o); - -self__.tail = new_tail; - -if(((self__.cnt >>> (5)) > ((1) << self__.shift))){ -var new_root_array = [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]; -var new_shift = (self__.shift + (5)); -(new_root_array[(0)] = self__.root); - -(new_root_array[(1)] = cljs.core.new_path(self__.root.edit,self__.shift,tail_node)); - -self__.root = (new cljs.core.VectorNode(self__.root.edit,new_root_array)); - -self__.shift = new_shift; - -self__.cnt = (self__.cnt + (1)); - -return tcoll__$1; -} else { -var new_root = cljs.core.tv_push_tail(tcoll__$1,self__.shift,self__.root,tail_node); -self__.root = new_root; - -self__.cnt = (self__.cnt + (1)); - -return tcoll__$1; -} -} -} else { -throw (new Error("conj! after persistent!")); -} -}); - -cljs.core.TransientVector.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ -var self__ = this; -var tcoll__$1 = this; -if(self__.root.edit){ -self__.root.edit = null; - -var len = (self__.cnt - cljs.core.tail_off(tcoll__$1)); -var trimmed_tail = (new Array(len)); -cljs.core.array_copy(self__.tail,(0),trimmed_tail,(0),len); - -return (new cljs.core.PersistentVector(null,self__.cnt,self__.shift,self__.root,trimmed_tail,null)); -} else { -throw (new Error("persistent! called twice")); -} -}); - -cljs.core.TransientVector.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 = (function (tcoll,key,val){ -var self__ = this; -var tcoll__$1 = this; -if(typeof key === 'number'){ -return tcoll__$1.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3(null,key,val); -} else { -throw (new Error("TransientVector's key for assoc! must be a number.")); -} -}); - -cljs.core.TransientVector.prototype.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3 = (function (tcoll,n,val){ -var self__ = this; -var tcoll__$1 = this; -if(self__.root.edit){ -if(((((0) <= n)) && ((n < self__.cnt)))){ -if((cljs.core.tail_off(tcoll__$1) <= n)){ -(self__.tail[(n & (31))] = val); - -return tcoll__$1; -} else { -var new_root = (function (){var fexpr__11661 = ((function (tcoll__$1){ -return (function cljs$core$go(level,node){ -var node__$1 = cljs.core.tv_ensure_editable(self__.root.edit,node); -if((level === (0))){ -cljs.core.pv_aset(node__$1,(n & (31)),val); - -return node__$1; -} else { -var subidx = ((n >>> level) & (31)); -cljs.core.pv_aset(node__$1,subidx,cljs$core$go((level - (5)),cljs.core.pv_aget(node__$1,subidx))); - -return node__$1; -} -});})(tcoll__$1)) -; -return fexpr__11661(self__.shift,self__.root); -})(); -self__.root = new_root; - -return tcoll__$1; -} -} else { -if((n === self__.cnt)){ -return tcoll__$1.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null,val); -} else { -throw (new Error(["Index ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," out of bounds for TransientVector of length",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.cnt)].join(''))); - -} -} -} else { -throw (new Error("assoc! after persistent!")); -} -}); - -cljs.core.TransientVector.prototype.cljs$core$ITransientVector$_pop_BANG_$arity$1 = (function (tcoll){ -var self__ = this; -var tcoll__$1 = this; -if(self__.root.edit){ -if((self__.cnt === (0))){ -throw (new Error("Can't pop empty vector")); -} else { -if(((1) === self__.cnt)){ -self__.cnt = (0); - -return tcoll__$1; -} else { -if((((self__.cnt - (1)) & (31)) > (0))){ -self__.cnt = (self__.cnt - (1)); - -return tcoll__$1; -} else { -var new_tail = cljs.core.unchecked_editable_array_for(tcoll__$1,(self__.cnt - (2))); -var new_root = (function (){var nr = cljs.core.tv_pop_tail(tcoll__$1,self__.shift,self__.root); -if((!((nr == null)))){ -return nr; -} else { -return (new cljs.core.VectorNode(self__.root.edit,[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])); -} -})(); -if(((((5) < self__.shift)) && ((cljs.core.pv_aget(new_root,(1)) == null)))){ -var new_root__$1 = cljs.core.tv_ensure_editable(self__.root.edit,cljs.core.pv_aget(new_root,(0))); -self__.root = new_root__$1; - -self__.shift = (self__.shift - (5)); - -self__.cnt = (self__.cnt - (1)); - -self__.tail = new_tail; - -return tcoll__$1; -} else { -self__.root = new_root; - -self__.cnt = (self__.cnt - (1)); - -self__.tail = new_tail; - -return tcoll__$1; -} - -} -} -} -} else { -throw (new Error("pop! after persistent!")); -} -}); - -cljs.core.TransientVector.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if(self__.root.edit){ -return self__.cnt; -} else { -throw (new Error("count after persistent!")); -} -}); - -cljs.core.TransientVector.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,n){ -var self__ = this; -var coll__$1 = this; -if(self__.root.edit){ -return (cljs.core.array_for(coll__$1,n)[(n & (31))]); -} else { -throw (new Error("nth after persistent!")); -} -}); - -cljs.core.TransientVector.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ -var self__ = this; -var coll__$1 = this; -if(((((0) <= n)) && ((n < self__.cnt)))){ -return coll__$1.cljs$core$IIndexed$_nth$arity$2(null,n); -} else { -return not_found; -} -}); - -cljs.core.TransientVector.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ILookup$_lookup$arity$3(null,k,null); -}); - -cljs.core.TransientVector.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ -var self__ = this; -var coll__$1 = this; -if(typeof k === 'number'){ -return coll__$1.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -} else { -return not_found; -} -}); - -cljs.core.TransientVector.prototype.call = (function() { -var G__11662 = null; -var G__11662__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); -var G__11662__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); -G__11662 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__11662__2.call(this,self__,k); -case 3: -return G__11662__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11662.cljs$core$IFn$_invoke$arity$2 = G__11662__2; -G__11662.cljs$core$IFn$_invoke$arity$3 = G__11662__3; -return G__11662; -})() -; - -cljs.core.TransientVector.prototype.apply = (function (self__,args11660){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11660))); -}); - -cljs.core.TransientVector.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); - -cljs.core.TransientVector.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.TransientVector.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"shift","shift",-1657295705,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"root","root",1191874074,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"tail","tail",494507963,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.TransientVector.cljs$lang$type = true; - -cljs.core.TransientVector.cljs$lang$ctorStr = "cljs.core/TransientVector"; - -cljs.core.TransientVector.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/TransientVector"); -}); - -/** - * Positional factory function for cljs.core/TransientVector. - */ -cljs.core.__GT_TransientVector = (function cljs$core$__GT_TransientVector(cnt,shift,root,tail){ -return (new cljs.core.TransientVector(cnt,shift,root,tail)); -}); - - -/** -* @constructor -*/ -cljs.core.PersistentQueueIter = (function (fseq,riter){ -this.fseq = fseq; -this.riter = riter; -}); -cljs.core.PersistentQueueIter.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -var or__7806__auto__ = (((!((self__.fseq == null)))) && (cljs.core.seq(self__.fseq))); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -var and__7791__auto__ = (!((self__.riter == null))); -if(and__7791__auto__){ -return self__.riter.hasNext(); -} else { -return and__7791__auto__; -} -} -}); - -cljs.core.PersistentQueueIter.prototype.next = (function (){ -var self__ = this; -var _ = this; -if((!((self__.fseq == null)))){ -var ret = cljs.core.first(self__.fseq); -self__.fseq = cljs.core.next(self__.fseq); - -return ret; -} else { -if((((!((self__.riter == null)))) && (self__.riter.hasNext()))){ -return self__.riter.next(); -} else { -throw (new Error("No such element")); - -} -} -}); - -cljs.core.PersistentQueueIter.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.PersistentQueueIter.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"fseq","fseq",-1466412450,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"riter","riter",-237834262,null)], null); -}); - -cljs.core.PersistentQueueIter.cljs$lang$type = true; - -cljs.core.PersistentQueueIter.cljs$lang$ctorStr = "cljs.core/PersistentQueueIter"; - -cljs.core.PersistentQueueIter.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentQueueIter"); -}); - -/** - * Positional factory function for cljs.core/PersistentQueueIter. - */ -cljs.core.__GT_PersistentQueueIter = (function cljs$core$__GT_PersistentQueueIter(fseq,riter){ -return (new cljs.core.PersistentQueueIter(fseq,riter)); -}); - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} -*/ -cljs.core.PersistentQueueSeq = (function (meta,front,rear,__hash){ -this.meta = meta; -this.front = front; -this.rear = rear; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 31850700; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.PersistentQueueSeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentQueueSeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentQueueSeq.prototype.indexOf = (function() { -var G__11663 = null; -var G__11663__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11663__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11663 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11663__1.call(this,x); -case 2: -return G__11663__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11663.cljs$core$IFn$_invoke$arity$1 = G__11663__1; -G__11663.cljs$core$IFn$_invoke$arity$2 = G__11663__2; -return G__11663; -})() -; - -cljs.core.PersistentQueueSeq.prototype.lastIndexOf = (function() { -var G__11664 = null; -var G__11664__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11664__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11664 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11664__1.call(this,x); -case 2: -return G__11664__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11664.cljs$core$IFn$_invoke$arity$1 = G__11664__1; -G__11664.cljs$core$IFn$_invoke$arity$2 = G__11664__2; -return G__11664; -})() -; - -cljs.core.PersistentQueueSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var temp__4655__auto__ = cljs.core.next(self__.front); -if(temp__4655__auto__){ -var f1 = temp__4655__auto__; -return (new cljs.core.PersistentQueueSeq(self__.meta,f1,self__.rear,null)); -} else { -if((!((self__.rear == null)))){ -return (new cljs.core.PersistentQueueSeq(self__.meta,self__.rear,null,null)); -} else { -return null; -} -} -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.first(self__.front); -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var temp__4655__auto__ = cljs.core.next(self__.front); -if(temp__4655__auto__){ -var f1 = temp__4655__auto__; -return (new cljs.core.PersistentQueueSeq(self__.meta,f1,self__.rear,null)); -} else { -if((self__.rear == null)){ -return coll__$1.cljs$core$IEmptyableCollection$_empty$arity$1(null); -} else { -return (new cljs.core.PersistentQueueSeq(self__.meta,self__.rear,null,null)); -} -} -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentQueueSeq(meta__$1,self__.front,self__.rear,self__.__hash)); -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.PersistentQueueSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"front","front",117022539,null),new cljs.core.Symbol(null,"rear","rear",-900164830,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.PersistentQueueSeq.cljs$lang$type = true; - -cljs.core.PersistentQueueSeq.cljs$lang$ctorStr = "cljs.core/PersistentQueueSeq"; - -cljs.core.PersistentQueueSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentQueueSeq"); -}); - -/** - * Positional factory function for cljs.core/PersistentQueueSeq. - */ -cljs.core.__GT_PersistentQueueSeq = (function cljs$core$__GT_PersistentQueueSeq(meta,front,rear,__hash){ -return (new cljs.core.PersistentQueueSeq(meta,front,rear,__hash)); -}); - -var G__11665_11668 = cljs.core.PersistentQueueSeq.prototype; -var G__11666_11669 = cljs.core.ITER_SYMBOL; -var G__11667_11670 = ((function (G__11665_11668,G__11666_11669){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11665_11668,G__11666_11669)) -; -goog.object.set(G__11665_11668,G__11666_11669,G__11667_11670); - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IStack} - * @implements {cljs.core.IIterable} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} -*/ -cljs.core.PersistentQueue = (function (meta,count,front,rear,__hash){ -this.meta = meta; -this.count = count; -this.front = front; -this.rear = rear; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition1$ = 139264; -this.cljs$lang$protocol_mask$partition0$ = 31858766; -}); -cljs.core.PersistentQueue.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentQueue.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentQueue.prototype.indexOf = (function() { -var G__11671 = null; -var G__11671__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11671__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11671 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11671__1.call(this,x); -case 2: -return G__11671__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11671.cljs$core$IFn$_invoke$arity$1 = G__11671__1; -G__11671.cljs$core$IFn$_invoke$arity$2 = G__11671__2; -return G__11671; -})() -; - -cljs.core.PersistentQueue.prototype.lastIndexOf = (function() { -var G__11672 = null; -var G__11672__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(self__.count.cljs$core$IFn$_invoke$arity$1 ? self__.count.cljs$core$IFn$_invoke$arity$1(coll) : self__.count.call(null,coll))); -}); -var G__11672__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11672 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11672__1.call(this,x); -case 2: -return G__11672__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11672.cljs$core$IFn$_invoke$arity$1 = G__11672__1; -G__11672.cljs$core$IFn$_invoke$arity$2 = G__11672__2; -return G__11672; -})() -; - -cljs.core.PersistentQueue.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentQueueIter(self__.front,cljs.core._iterator(self__.rear))); -}); - -cljs.core.PersistentQueue.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.PersistentQueue.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentQueue(self__.meta,self__.count,self__.front,self__.rear,self__.__hash)); -}); - -cljs.core.PersistentQueue.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.count; -}); - -cljs.core.PersistentQueue.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.first(self__.front); -}); - -cljs.core.PersistentQueue.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if(cljs.core.truth_(self__.front)){ -var temp__4655__auto__ = cljs.core.next(self__.front); -if(temp__4655__auto__){ -var f1 = temp__4655__auto__; -return (new cljs.core.PersistentQueue(self__.meta,(self__.count - (1)),f1,self__.rear,null)); -} else { -return (new cljs.core.PersistentQueue(self__.meta,(self__.count - (1)),cljs.core.seq(self__.rear),cljs.core.PersistentVector.EMPTY,null)); -} -} else { -return coll__$1; -} -}); - -cljs.core.PersistentQueue.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.PersistentQueue.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.PersistentQueue.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.PersistentQueue.EMPTY,self__.meta); -}); - -cljs.core.PersistentQueue.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.first(self__.front); -}); - -cljs.core.PersistentQueue.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.rest(cljs.core.seq(coll__$1)); -}); - -cljs.core.PersistentQueue.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var rear__$1 = cljs.core.seq(self__.rear); -if(cljs.core.truth_((function (){var or__7806__auto__ = self__.front; -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return rear__$1; -} -})())){ -return (new cljs.core.PersistentQueueSeq(null,self__.front,cljs.core.seq(rear__$1),null)); -} else { -return null; -} -}); - -cljs.core.PersistentQueue.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentQueue(meta__$1,self__.count,self__.front,self__.rear,self__.__hash)); -}); - -cljs.core.PersistentQueue.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -if(cljs.core.truth_(self__.front)){ -return (new cljs.core.PersistentQueue(self__.meta,(self__.count + (1)),self__.front,cljs.core.conj.cljs$core$IFn$_invoke$arity$2((function (){var or__7806__auto__ = self__.rear; -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.PersistentVector.EMPTY; -} -})(),o),null)); -} else { -return (new cljs.core.PersistentQueue(self__.meta,(self__.count + (1)),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(self__.front,o),cljs.core.PersistentVector.EMPTY,null)); -} -}); - -cljs.core.PersistentQueue.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"count","count",-514511684,null),new cljs.core.Symbol(null,"front","front",117022539,null),new cljs.core.Symbol(null,"rear","rear",-900164830,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.PersistentQueue.cljs$lang$type = true; - -cljs.core.PersistentQueue.cljs$lang$ctorStr = "cljs.core/PersistentQueue"; - -cljs.core.PersistentQueue.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentQueue"); -}); - -/** - * Positional factory function for cljs.core/PersistentQueue. - */ -cljs.core.__GT_PersistentQueue = (function cljs$core$__GT_PersistentQueue(meta,count,front,rear,__hash){ -return (new cljs.core.PersistentQueue(meta,count,front,rear,__hash)); -}); - -cljs.core.PersistentQueue.EMPTY = (new cljs.core.PersistentQueue(null,(0),null,cljs.core.PersistentVector.EMPTY,cljs.core.empty_ordered_hash)); -var G__11673_11676 = cljs.core.PersistentQueue.prototype; -var G__11674_11677 = cljs.core.ITER_SYMBOL; -var G__11675_11678 = ((function (G__11673_11676,G__11674_11677){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11673_11676,G__11674_11677)) -; -goog.object.set(G__11673_11676,G__11674_11677,G__11675_11678); - -/** -* @constructor - * @implements {cljs.core.IEquiv} -*/ -cljs.core.NeverEquiv = (function (){ -this.cljs$lang$protocol_mask$partition0$ = 2097152; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.NeverEquiv.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.NeverEquiv.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (o,other){ -var self__ = this; -var o__$1 = this; -return false; -}); - -cljs.core.NeverEquiv.getBasis = (function (){ -return cljs.core.PersistentVector.EMPTY; -}); - -cljs.core.NeverEquiv.cljs$lang$type = true; - -cljs.core.NeverEquiv.cljs$lang$ctorStr = "cljs.core/NeverEquiv"; - -cljs.core.NeverEquiv.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/NeverEquiv"); -}); - -/** - * Positional factory function for cljs.core/NeverEquiv. - */ -cljs.core.__GT_NeverEquiv = (function cljs$core$__GT_NeverEquiv(){ -return (new cljs.core.NeverEquiv()); -}); - -cljs.core.never_equiv = (new cljs.core.NeverEquiv()); -/** - * Test map equivalence. Returns true if x equals y, otherwise returns false. - */ -cljs.core.equiv_map = (function cljs$core$equiv_map(x,y){ -return cljs.core.boolean$(((((cljs.core.map_QMARK_(y)) && ((!(cljs.core.record_QMARK_(y))))))?(((cljs.core.count(x) === cljs.core.count(y)))?(((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition0$ & (1048576))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IKVReduce$))))?true:(((!x.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IKVReduce,x):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IKVReduce,x)))?cljs.core.reduce_kv((function (_,k,v){ -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(y,k,cljs.core.never_equiv),v)){ -return true; -} else { -return cljs.core.reduced(false); -} -}),true,x):cljs.core.every_QMARK_((function (xkv){ -return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(y,cljs.core.first(xkv),cljs.core.never_equiv),cljs.core.second(xkv)); -}),x)):null):null)); -}); -cljs.core.scan_array = (function cljs$core$scan_array(incr,k,array){ -var len = array.length; -var i = (0); -while(true){ -if((i < len)){ -if((k === (array[i]))){ -return i; -} else { -var G__11680 = (i + incr); -i = G__11680; -continue; -} -} else { -return null; -} -break; -} -}); -cljs.core.obj_map_compare_keys = (function cljs$core$obj_map_compare_keys(a,b){ -var a__$1 = cljs.core.hash(a); -var b__$1 = cljs.core.hash(b); -if((a__$1 < b__$1)){ -return (-1); -} else { -if((a__$1 > b__$1)){ -return (1); -} else { -return (0); - -} -} -}); -cljs.core.obj_map__GT_hash_map = (function cljs$core$obj_map__GT_hash_map(m,k,v){ -var ks = m.keys; -var len = ks.length; -var so = m.strobj; -var mm = cljs.core.meta(m); -var i = (0); -var out = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); -while(true){ -if((i < len)){ -var k__$1 = (ks[i]); -var G__11681 = (i + (1)); -var G__11682 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,k__$1,goog.object.get(so,k__$1)); -i = G__11681; -out = G__11682; -continue; -} else { -return cljs.core._with_meta(cljs.core.persistent_BANG_(cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,k,v)),mm); -} -break; -} -}); -cljs.core.obj_clone = (function cljs$core$obj_clone(obj,ks){ -var new_obj = {}; -var l = ks.length; -var i_11688 = (0); -while(true){ -if((i_11688 < l)){ -var k_11689 = (ks[i_11688]); -var G__11685_11690 = new_obj; -var G__11686_11691 = k_11689; -var G__11687_11692 = goog.object.get(obj,k_11689); -goog.object.set(G__11685_11690,G__11686_11691,G__11687_11692); - -var G__11693 = (i_11688 + (1)); -i_11688 = G__11693; -continue; -} else { -} -break; -} - -return new_obj; -}); - -/** -* @constructor - * @implements {cljs.core.IKVReduce} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEditableCollection} - * @implements {cljs.core.IFind} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IAssociative} - * @implements {cljs.core.IMap} - * @implements {cljs.core.ILookup} -*/ -cljs.core.ObjMap = (function (meta,keys,strobj,update_count,__hash){ -this.meta = meta; -this.keys = keys; -this.strobj = strobj; -this.update_count = update_count; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 16123663; -this.cljs$lang$protocol_mask$partition1$ = 4; -}); -cljs.core.ObjMap.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.ObjMap.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -if(((goog.isString(k)) && ((!((cljs.core.scan_array((1),k,self__.keys) == null)))))){ -return (new cljs.core.MapEntry(k,(self__.strobj[k]),null)); -} else { -return null; -} -}); - -cljs.core.ObjMap.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.ObjMap.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.ObjMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ILookup$_lookup$arity$3(null,k,null); -}); - -cljs.core.ObjMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ -var self__ = this; -var coll__$1 = this; -if(((goog.isString(k)) && ((!((cljs.core.scan_array((1),k,self__.keys) == null)))))){ -return (self__.strobj[k]); -} else { -return not_found; -} -}); - -cljs.core.ObjMap.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ -var self__ = this; -var coll__$1 = this; -var len = self__.keys.length; -var keys__$1 = self__.keys.sort(cljs.core.obj_map_compare_keys); -var init__$1 = init; -while(true){ -if(cljs.core.seq(keys__$1)){ -var k = cljs.core.first(keys__$1); -var init__$2 = (function (){var G__11696 = init__$1; -var G__11697 = k; -var G__11698 = (self__.strobj[k]); -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11696,G__11697,G__11698) : f.call(null,G__11696,G__11697,G__11698)); -})(); -if(cljs.core.reduced_QMARK_(init__$2)){ -return cljs.core.deref(init__$2); -} else { -var G__11699 = cljs.core.rest(keys__$1); -var G__11700 = init__$2; -keys__$1 = G__11699; -init__$1 = G__11700; -continue; -} -} else { -return init__$1; -} -break; -} -}); - -cljs.core.ObjMap.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.ObjMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.keys.length; -}); - -cljs.core.ObjMap.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.ObjMap.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_map(coll__$1,other); -}); - -cljs.core.ObjMap.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.transient$(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentHashMap.EMPTY,coll__$1)); -}); - -cljs.core.ObjMap.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.ObjMap.EMPTY,self__.meta); -}); - -cljs.core.ObjMap.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -if(((goog.isString(k)) && ((!((cljs.core.scan_array((1),k,self__.keys) == null)))))){ -var new_keys = cljs.core.aclone(self__.keys); -var new_strobj = cljs.core.obj_clone(self__.strobj,self__.keys); -new_keys.splice(cljs.core.scan_array((1),k,new_keys),(1)); - -delete new_strobj[k]; - -return (new cljs.core.ObjMap(self__.meta,new_keys,new_strobj,(self__.update_count + (1)),null)); -} else { -return coll__$1; -} -}); - -cljs.core.ObjMap.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ -var self__ = this; -var coll__$1 = this; -if(goog.isString(k)){ -if((((self__.update_count > cljs.core.ObjMap.HASHMAP_THRESHOLD)) || ((self__.keys.length >= cljs.core.ObjMap.HASHMAP_THRESHOLD)))){ -return cljs.core.obj_map__GT_hash_map(coll__$1,k,v); -} else { -if((!((cljs.core.scan_array((1),k,self__.keys) == null)))){ -var new_strobj = cljs.core.obj_clone(self__.strobj,self__.keys); -goog.object.set(new_strobj,k,v); - -return (new cljs.core.ObjMap(self__.meta,self__.keys,new_strobj,(self__.update_count + (1)),null)); -} else { -var new_strobj = cljs.core.obj_clone(self__.strobj,self__.keys); -var new_keys = cljs.core.aclone(self__.keys); -goog.object.set(new_strobj,k,v); - -new_keys.push(k); - -return (new cljs.core.ObjMap(self__.meta,new_keys,new_strobj,(self__.update_count + (1)),null)); -} -} -} else { -return cljs.core.obj_map__GT_hash_map(coll__$1,k,v); -} -}); - -cljs.core.ObjMap.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -if(((goog.isString(k)) && ((!((cljs.core.scan_array((1),k,self__.keys) == null)))))){ -return true; -} else { -return false; -} -}); - -cljs.core.ObjMap.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.keys.length > (0))){ -return cljs.core.map.cljs$core$IFn$_invoke$arity$2(((function (coll__$1){ -return (function (p1__11694_SHARP_){ -return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__11694_SHARP_,(self__.strobj[p1__11694_SHARP_])],null)); -});})(coll__$1)) -,self__.keys.sort(cljs.core.obj_map_compare_keys)); -} else { -return null; -} -}); - -cljs.core.ObjMap.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.ObjMap(meta__$1,self__.keys,self__.strobj,self__.update_count,self__.__hash)); -}); - -cljs.core.ObjMap.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,entry){ -var self__ = this; -var coll__$1 = this; -if(cljs.core.vector_QMARK_(entry)){ -return coll__$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(entry,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(entry,(1))); -} else { -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,coll__$1,entry); -} -}); - -cljs.core.ObjMap.prototype.call = (function() { -var G__11701 = null; -var G__11701__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); -var G__11701__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); -G__11701 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__11701__2.call(this,self__,k); -case 3: -return G__11701__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11701.cljs$core$IFn$_invoke$arity$2 = G__11701__2; -G__11701.cljs$core$IFn$_invoke$arity$3 = G__11701__3; -return G__11701; -})() -; - -cljs.core.ObjMap.prototype.apply = (function (self__,args11695){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11695))); -}); - -cljs.core.ObjMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); - -cljs.core.ObjMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.ObjMap.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"keys","keys",-1586012071,null),new cljs.core.Symbol(null,"strobj","strobj",1088091283,null),new cljs.core.Symbol(null,"update-count","update-count",-411982269,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ObjMap.cljs$lang$type = true; - -cljs.core.ObjMap.cljs$lang$ctorStr = "cljs.core/ObjMap"; - -cljs.core.ObjMap.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ObjMap"); -}); - -/** - * Positional factory function for cljs.core/ObjMap. - */ -cljs.core.__GT_ObjMap = (function cljs$core$__GT_ObjMap(meta,keys,strobj,update_count,__hash){ -return (new cljs.core.ObjMap(meta,keys,strobj,update_count,__hash)); -}); - -cljs.core.ObjMap.EMPTY = (new cljs.core.ObjMap(null,[],{},(0),cljs.core.empty_unordered_hash)); -cljs.core.ObjMap.HASHMAP_THRESHOLD = (8); -cljs.core.ObjMap.fromObject = (function (ks,obj){ -return (new cljs.core.ObjMap(null,ks,obj,(0),null)); -}); - -/** -* @constructor -*/ -cljs.core.RecordIter = (function (i,record,base_count,fields,ext_map_iter){ -this.i = i; -this.record = record; -this.base_count = base_count; -this.fields = fields; -this.ext_map_iter = ext_map_iter; -}); -cljs.core.RecordIter.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -var or__7806__auto__ = (self__.i < self__.base_count); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return self__.ext_map_iter.hasNext(); -} -}); - -cljs.core.RecordIter.prototype.next = (function (){ -var self__ = this; -var _ = this; -if((self__.i < self__.base_count)){ -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(self__.fields,self__.i); -self__.i = (self__.i + (1)); - -return (new cljs.core.MapEntry(k,cljs.core._lookup.cljs$core$IFn$_invoke$arity$2(self__.record,k),null)); -} else { -return self__.ext_map_iter.next(); -} -}); - -cljs.core.RecordIter.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.RecordIter.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"record","record",861424668,null),new cljs.core.Symbol(null,"base-count","base-count",-1180647182,null),new cljs.core.Symbol(null,"fields","fields",-291534703,null),new cljs.core.Symbol(null,"ext-map-iter","ext-map-iter",-1215982757,null)], null); -}); - -cljs.core.RecordIter.cljs$lang$type = true; - -cljs.core.RecordIter.cljs$lang$ctorStr = "cljs.core/RecordIter"; - -cljs.core.RecordIter.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/RecordIter"); -}); - -/** - * Positional factory function for cljs.core/RecordIter. - */ -cljs.core.__GT_RecordIter = (function cljs$core$__GT_RecordIter(i,record,base_count,fields,ext_map_iter){ -return (new cljs.core.RecordIter(i,record,base_count,fields,ext_map_iter)); -}); - - -/** -* @constructor -*/ -cljs.core.ES6EntriesIterator = (function (s){ -this.s = s; -}); -cljs.core.ES6EntriesIterator.prototype.next = (function (){ -var self__ = this; -var _ = this; -if((!((self__.s == null)))){ -var vec__11704 = cljs.core.first(self__.s); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11704,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11704,(1),null); -self__.s = cljs.core.next(self__.s); - -return ({"value": [k,v], "done": false}); -} else { -return ({"value": null, "done": true}); -} -}); - -cljs.core.ES6EntriesIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"s","s",-948495851,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ES6EntriesIterator.cljs$lang$type = true; - -cljs.core.ES6EntriesIterator.cljs$lang$ctorStr = "cljs.core/ES6EntriesIterator"; - -cljs.core.ES6EntriesIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ES6EntriesIterator"); -}); - -/** - * Positional factory function for cljs.core/ES6EntriesIterator. - */ -cljs.core.__GT_ES6EntriesIterator = (function cljs$core$__GT_ES6EntriesIterator(s){ -return (new cljs.core.ES6EntriesIterator(s)); -}); - -cljs.core.es6_entries_iterator = (function cljs$core$es6_entries_iterator(coll){ -return (new cljs.core.ES6EntriesIterator(cljs.core.seq(coll))); -}); - -/** -* @constructor -*/ -cljs.core.ES6SetEntriesIterator = (function (s){ -this.s = s; -}); -cljs.core.ES6SetEntriesIterator.prototype.next = (function (){ -var self__ = this; -var _ = this; -if((!((self__.s == null)))){ -var x = cljs.core.first(self__.s); -self__.s = cljs.core.next(self__.s); - -return ({"value": [x,x], "done": false}); -} else { -return ({"value": null, "done": true}); -} -}); - -cljs.core.ES6SetEntriesIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"s","s",-948495851,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ES6SetEntriesIterator.cljs$lang$type = true; - -cljs.core.ES6SetEntriesIterator.cljs$lang$ctorStr = "cljs.core/ES6SetEntriesIterator"; - -cljs.core.ES6SetEntriesIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ES6SetEntriesIterator"); -}); - -/** - * Positional factory function for cljs.core/ES6SetEntriesIterator. - */ -cljs.core.__GT_ES6SetEntriesIterator = (function cljs$core$__GT_ES6SetEntriesIterator(s){ -return (new cljs.core.ES6SetEntriesIterator(s)); -}); - -cljs.core.es6_set_entries_iterator = (function cljs$core$es6_set_entries_iterator(coll){ -return (new cljs.core.ES6SetEntriesIterator(cljs.core.seq(coll))); -}); -cljs.core.array_index_of_nil_QMARK_ = (function cljs$core$array_index_of_nil_QMARK_(arr){ -var len = arr.length; -var i = (0); -while(true){ -if((len <= i)){ -return (-1); -} else { -if(((arr[i]) == null)){ -return i; -} else { -var G__11707 = (i + (2)); -i = G__11707; -continue; - -} -} -break; -} -}); -cljs.core.array_index_of_keyword_QMARK_ = (function cljs$core$array_index_of_keyword_QMARK_(arr,k){ -var len = arr.length; -var kstr = k.fqn; -var i = (0); -while(true){ -if((len <= i)){ -return (-1); -} else { -if(((((arr[i]) instanceof cljs.core.Keyword)) && ((kstr === (arr[i]).fqn)))){ -return i; -} else { -var G__11708 = (i + (2)); -i = G__11708; -continue; - -} -} -break; -} -}); -cljs.core.array_index_of_symbol_QMARK_ = (function cljs$core$array_index_of_symbol_QMARK_(arr,k){ -var len = arr.length; -var kstr = k.str; -var i = (0); -while(true){ -if((len <= i)){ -return (-1); -} else { -if(((((arr[i]) instanceof cljs.core.Symbol)) && ((kstr === (arr[i]).str)))){ -return i; -} else { -var G__11709 = (i + (2)); -i = G__11709; -continue; - -} -} -break; -} -}); -cljs.core.array_index_of_identical_QMARK_ = (function cljs$core$array_index_of_identical_QMARK_(arr,k){ -var len = arr.length; -var i = (0); -while(true){ -if((len <= i)){ -return (-1); -} else { -if((k === (arr[i]))){ -return i; -} else { -var G__11710 = (i + (2)); -i = G__11710; -continue; - -} -} -break; -} -}); -cljs.core.array_index_of_equiv_QMARK_ = (function cljs$core$array_index_of_equiv_QMARK_(arr,k){ -var len = arr.length; -var i = (0); -while(true){ -if((len <= i)){ -return (-1); -} else { -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(k,(arr[i]))){ -return i; -} else { -var G__11711 = (i + (2)); -i = G__11711; -continue; - -} -} -break; -} -}); -cljs.core.array_index_of = (function cljs$core$array_index_of(arr,k){ -if((k instanceof cljs.core.Keyword)){ -return cljs.core.array_index_of_keyword_QMARK_(arr,k); -} else { -if(((goog.isString(k)) || (typeof k === 'number'))){ -return cljs.core.array_index_of_identical_QMARK_(arr,k); -} else { -if((k instanceof cljs.core.Symbol)){ -return cljs.core.array_index_of_symbol_QMARK_(arr,k); -} else { -if((k == null)){ -return cljs.core.array_index_of_nil_QMARK_(arr); -} else { -return cljs.core.array_index_of_equiv_QMARK_(arr,k); - -} -} -} -} -}); -cljs.core.array_map_index_of = (function cljs$core$array_map_index_of(m,k){ -return cljs.core.array_index_of(m.arr,k); -}); -cljs.core.array_extend_kv = (function cljs$core$array_extend_kv(arr,k,v){ -var l = arr.length; -var narr = (new Array((l + (2)))); -var i_11712 = (0); -while(true){ -if((i_11712 < l)){ -(narr[i_11712] = (arr[i_11712])); - -var G__11713 = (i_11712 + (1)); -i_11712 = G__11713; -continue; -} else { -} -break; -} - -(narr[l] = k); - -(narr[(l + (1))] = v); - -return narr; -}); -cljs.core.array_map_extend_kv = (function cljs$core$array_map_extend_kv(m,k,v){ -return cljs.core.array_extend_kv(m.arr,k,v); -}); - -/** -* @constructor - * @implements {cljs.core.IIndexed} - * @implements {cljs.core.IVector} - * @implements {cljs.core.IReversible} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IFind} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.IStack} - * @implements {cljs.core.IMapEntry} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IAssociative} - * @implements {cljs.core.ILookup} - * @implements {cljs.core.IReduce} -*/ -cljs.core.MapEntry = (function (key,val,__hash){ -this.key = key; -this.val = val; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 166619935; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.MapEntry.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.MapEntry.prototype.cljs$core$IFind$_find$arity$2 = (function (node,k){ -var self__ = this; -var node__$1 = this; -var G__11715 = k; -switch (G__11715) { -case (0): -return (new cljs.core.MapEntry((0),self__.key,null)); - -break; -case (1): -return (new cljs.core.MapEntry((1),self__.val,null)); - -break; -default: -return null; - -} -}); - -cljs.core.MapEntry.prototype.indexOf = (function() { -var G__11717 = null; -var G__11717__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11717__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11717 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11717__1.call(this,x); -case 2: -return G__11717__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11717.cljs$core$IFn$_invoke$arity$1 = G__11717__1; -G__11717.cljs$core$IFn$_invoke$arity$2 = G__11717__2; -return G__11717; -})() -; - -cljs.core.MapEntry.prototype.lastIndexOf = (function() { -var G__11718 = null; -var G__11718__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11718__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11718 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11718__1.call(this,x); -case 2: -return G__11718__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11718.cljs$core$IFn$_invoke$arity$1 = G__11718__1; -G__11718.cljs$core$IFn$_invoke$arity$2 = G__11718__2; -return G__11718; -})() -; - -cljs.core.MapEntry.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (node,k){ -var self__ = this; -var node__$1 = this; -return node__$1.cljs$core$IIndexed$_nth$arity$3(null,k,null); -}); - -cljs.core.MapEntry.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (node,k,not_found){ -var self__ = this; -var node__$1 = this; -return node__$1.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); - -cljs.core.MapEntry.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (node,n){ -var self__ = this; -var node__$1 = this; -if((n === (0))){ -return self__.key; -} else { -if((n === (1))){ -return self__.val; -} else { -throw (new Error("Index out of bounds")); - -} -} -}); - -cljs.core.MapEntry.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (node,n,not_found){ -var self__ = this; -var node__$1 = this; -if((n === (0))){ -return self__.key; -} else { -if((n === (1))){ -return self__.val; -} else { -return not_found; - -} -} -}); - -cljs.core.MapEntry.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (node,n,v){ -var self__ = this; -var node__$1 = this; -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null).cljs$core$IVector$_assoc_n$arity$3(null,n,v); -}); - -cljs.core.MapEntry.prototype.cljs$core$IMeta$_meta$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return null; -}); - -cljs.core.MapEntry.prototype.cljs$core$ICounted$_count$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return (2); -}); - -cljs.core.MapEntry.prototype.cljs$core$IMapEntry$_key$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return self__.key; -}); - -cljs.core.MapEntry.prototype.cljs$core$IMapEntry$_val$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return self__.val; -}); - -cljs.core.MapEntry.prototype.cljs$core$IStack$_peek$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return self__.val; -}); - -cljs.core.MapEntry.prototype.cljs$core$IStack$_pop$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key], null); -}); - -cljs.core.MapEntry.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return (new cljs.core.IndexedSeq([self__.val,self__.key],(0),null)); -}); - -cljs.core.MapEntry.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.MapEntry.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.MapEntry.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return null; -}); - -cljs.core.MapEntry.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (node,f){ -var self__ = this; -var node__$1 = this; -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(node__$1,f); -}); - -cljs.core.MapEntry.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (node,f,start){ -var self__ = this; -var node__$1 = this; -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(node__$1,f,start); -}); - -cljs.core.MapEntry.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (node,k,v){ -var self__ = this; -var node__$1 = this; -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),k,v); -}); - -cljs.core.MapEntry.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (node,k){ -var self__ = this; -var node__$1 = this; -return (((k === (0))) || ((k === (1)))); -}); - -cljs.core.MapEntry.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return (new cljs.core.IndexedSeq([self__.key,self__.val],(0),null)); -}); - -cljs.core.MapEntry.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (node,meta){ -var self__ = this; -var node__$1 = this; -return cljs.core.with_meta(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),meta); -}); - -cljs.core.MapEntry.prototype.cljs$core$ICollection$_conj$arity$2 = (function (node,o){ -var self__ = this; -var node__$1 = this; -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val,o], null); -}); - -cljs.core.MapEntry.prototype.call = (function() { -var G__11719 = null; -var G__11719__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var node = self____$1; -return node.cljs$core$IIndexed$_nth$arity$2(null,k); -}); -var G__11719__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var node = self____$1; -return node.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); -G__11719 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__11719__2.call(this,self__,k); -case 3: -return G__11719__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11719.cljs$core$IFn$_invoke$arity$2 = G__11719__2; -G__11719.cljs$core$IFn$_invoke$arity$3 = G__11719__3; -return G__11719; -})() -; - -cljs.core.MapEntry.prototype.apply = (function (self__,args11714){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11714))); -}); - -cljs.core.MapEntry.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var node = this; -return node.cljs$core$IIndexed$_nth$arity$2(null,k); -}); - -cljs.core.MapEntry.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var node = this; -return node.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); - -cljs.core.MapEntry.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"key","key",124488940,null),new cljs.core.Symbol(null,"val","val",1769233139,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.MapEntry.cljs$lang$type = true; - -cljs.core.MapEntry.cljs$lang$ctorStr = "cljs.core/MapEntry"; - -cljs.core.MapEntry.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/MapEntry"); -}); - -/** - * Positional factory function for cljs.core/MapEntry. - */ -cljs.core.__GT_MapEntry = (function cljs$core$__GT_MapEntry(key,val,__hash){ -return (new cljs.core.MapEntry(key,val,__hash)); -}); - -/** - * Returns true if x satisfies IMapEntry - */ -cljs.core.map_entry_QMARK_ = (function cljs$core$map_entry_QMARK_(x){ -if((!((x == null)))){ -if((((x.cljs$lang$protocol_mask$partition0$ & (2048))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IMapEntry$)))){ -return true; -} else { -return false; -} -} else { -return false; -} -}); - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.PersistentArrayMapSeq = (function (arr,i,_meta){ -this.arr = arr; -this.i = i; -this._meta = _meta; -this.cljs$lang$protocol_mask$partition0$ = 32374990; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.PersistentArrayMapSeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentArrayMapSeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentArrayMapSeq.prototype.indexOf = (function() { -var G__11721 = null; -var G__11721__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11721__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11721 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11721__1.call(this,x); -case 2: -return G__11721__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11721.cljs$core$IFn$_invoke$arity$1 = G__11721__1; -G__11721.cljs$core$IFn$_invoke$arity$2 = G__11721__2; -return G__11721; -})() -; - -cljs.core.PersistentArrayMapSeq.prototype.lastIndexOf = (function() { -var G__11722 = null; -var G__11722__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11722__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11722 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11722__1.call(this,x); -case 2: -return G__11722__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11722.cljs$core$IFn$_invoke$arity$1 = G__11722__1; -G__11722.cljs$core$IFn$_invoke$arity$2 = G__11722__2; -return G__11722; -})() -; - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__._meta; -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.i < (self__.arr.length - (2)))){ -return (new cljs.core.PersistentArrayMapSeq(self__.arr,(self__.i + (2)),self__._meta)); -} else { -return null; -} -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return ((self__.arr.length - self__.i) / (2)); -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.hash_ordered_coll(coll__$1); -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__._meta); -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.MapEntry((self__.arr[self__.i]),(self__.arr[(self__.i + (1))]),null)); -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.i < (self__.arr.length - (2)))){ -return (new cljs.core.PersistentArrayMapSeq(self__.arr,(self__.i + (2)),self__._meta)); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentArrayMapSeq(self__.arr,self__.i,new_meta)); -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.PersistentArrayMapSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); -}); - -cljs.core.PersistentArrayMapSeq.cljs$lang$type = true; - -cljs.core.PersistentArrayMapSeq.cljs$lang$ctorStr = "cljs.core/PersistentArrayMapSeq"; - -cljs.core.PersistentArrayMapSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentArrayMapSeq"); -}); - -/** - * Positional factory function for cljs.core/PersistentArrayMapSeq. - */ -cljs.core.__GT_PersistentArrayMapSeq = (function cljs$core$__GT_PersistentArrayMapSeq(arr,i,_meta){ -return (new cljs.core.PersistentArrayMapSeq(arr,i,_meta)); -}); - -var G__11723_11726 = cljs.core.PersistentArrayMapSeq.prototype; -var G__11724_11727 = cljs.core.ITER_SYMBOL; -var G__11725_11728 = ((function (G__11723_11726,G__11724_11727){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11723_11726,G__11724_11727)) -; -goog.object.set(G__11723_11726,G__11724_11727,G__11725_11728); -cljs.core.persistent_array_map_seq = (function cljs$core$persistent_array_map_seq(arr,i,_meta){ -if((i <= (arr.length - (2)))){ -return (new cljs.core.PersistentArrayMapSeq(arr,i,_meta)); -} else { -return null; -} -}); - - -/** -* @constructor -*/ -cljs.core.PersistentArrayMapIterator = (function (arr,i,cnt){ -this.arr = arr; -this.i = i; -this.cnt = cnt; -}); -cljs.core.PersistentArrayMapIterator.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -return (self__.i < self__.cnt); -}); - -cljs.core.PersistentArrayMapIterator.prototype.next = (function (){ -var self__ = this; -var _ = this; -var ret = (new cljs.core.MapEntry((self__.arr[self__.i]),(self__.arr[(self__.i + (1))]),null)); -self__.i = (self__.i + (2)); - -return ret; -}); - -cljs.core.PersistentArrayMapIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null)], null); -}); - -cljs.core.PersistentArrayMapIterator.cljs$lang$type = true; - -cljs.core.PersistentArrayMapIterator.cljs$lang$ctorStr = "cljs.core/PersistentArrayMapIterator"; - -cljs.core.PersistentArrayMapIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentArrayMapIterator"); -}); - -/** - * Positional factory function for cljs.core/PersistentArrayMapIterator. - */ -cljs.core.__GT_PersistentArrayMapIterator = (function cljs$core$__GT_PersistentArrayMapIterator(arr,i,cnt){ -return (new cljs.core.PersistentArrayMapIterator(arr,i,cnt)); -}); - - -/** -* @constructor - * @implements {cljs.core.IKVReduce} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEditableCollection} - * @implements {cljs.core.IFind} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IIterable} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IAssociative} - * @implements {cljs.core.IMap} - * @implements {cljs.core.ILookup} - * @implements {cljs.core.IReduce} -*/ -cljs.core.PersistentArrayMap = (function (meta,cnt,arr,__hash){ -this.meta = meta; -this.cnt = cnt; -this.arr = arr; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 16647951; -this.cljs$lang$protocol_mask$partition1$ = 139268; -}); -cljs.core.PersistentArrayMap.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentArrayMap.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -var idx = cljs.core.array_map_index_of(coll__$1,k); -if((idx === (-1))){ -return null; -} else { -return (new cljs.core.MapEntry((self__.arr[idx]),(self__.arr[(idx + (1))]),null)); -} -}); - -cljs.core.PersistentArrayMap.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentArrayMap.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentArrayMap.prototype.keys = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.keys(coll)); -}); - -cljs.core.PersistentArrayMap.prototype.entries = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); -}); - -cljs.core.PersistentArrayMap.prototype.values = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.vals(coll)); -}); - -cljs.core.PersistentArrayMap.prototype.has = (function (k){ -var self__ = this; -var coll = this; -return cljs.core.contains_QMARK_(coll,k); -}); - -cljs.core.PersistentArrayMap.prototype.get = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.PersistentArrayMap.prototype.forEach = (function (f){ -var self__ = this; -var coll = this; -var seq__11730 = cljs.core.seq(coll); -var chunk__11731 = null; -var count__11732 = (0); -var i__11733 = (0); -while(true){ -if((i__11733 < count__11732)){ -var vec__11734 = chunk__11731.cljs$core$IIndexed$_nth$arity$2(null,i__11733); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11734,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11734,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__11746 = seq__11730; -var G__11747 = chunk__11731; -var G__11748 = count__11732; -var G__11749 = (i__11733 + (1)); -seq__11730 = G__11746; -chunk__11731 = G__11747; -count__11732 = G__11748; -i__11733 = G__11749; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__11730); -if(temp__4657__auto__){ -var seq__11730__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__11730__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__11730__$1); -var G__11750 = cljs.core.chunk_rest(seq__11730__$1); -var G__11751 = c__8664__auto__; -var G__11752 = cljs.core.count(c__8664__auto__); -var G__11753 = (0); -seq__11730 = G__11750; -chunk__11731 = G__11751; -count__11732 = G__11752; -i__11733 = G__11753; -continue; -} else { -var vec__11737 = cljs.core.first(seq__11730__$1); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11737,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11737,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__11754 = cljs.core.next(seq__11730__$1); -var G__11755 = null; -var G__11756 = (0); -var G__11757 = (0); -seq__11730 = G__11754; -chunk__11731 = G__11755; -count__11732 = G__11756; -i__11733 = G__11757; -continue; -} -} else { -return null; -} -} -break; -} -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ILookup$_lookup$arity$3(null,k,null); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ -var self__ = this; -var coll__$1 = this; -var idx = cljs.core.array_map_index_of(coll__$1,k); -if((idx === (-1))){ -return not_found; -} else { -return (self__.arr[(idx + (1))]); -} -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ -var self__ = this; -var coll__$1 = this; -var len = self__.arr.length; -var i = (0); -var init__$1 = init; -while(true){ -if((i < len)){ -var init__$2 = (function (){var G__11740 = init__$1; -var G__11741 = (self__.arr[i]); -var G__11742 = (self__.arr[(i + (1))]); -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11740,G__11741,G__11742) : f.call(null,G__11740,G__11741,G__11742)); -})(); -if(cljs.core.reduced_QMARK_(init__$2)){ -return cljs.core.deref(init__$2); -} else { -var G__11758 = (i + (2)); -var G__11759 = init__$2; -i = G__11758; -init__$1 = G__11759; -continue; -} -} else { -return init__$1; -} -break; -} -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return (new cljs.core.PersistentArrayMapIterator(self__.arr,(0),(self__.cnt * (2)))); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.PersistentArrayMap(self__.meta,self__.cnt,self__.arr,self__.__hash)); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.cnt; -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -if(((cljs.core.map_QMARK_(other)) && ((!(cljs.core.record_QMARK_(other)))))){ -var alen = self__.arr.length; -var other__$1 = other; -if((self__.cnt === other__$1.cljs$core$ICounted$_count$arity$1(null))){ -var i = (0); -while(true){ -if((i < alen)){ -var v = other__$1.cljs$core$ILookup$_lookup$arity$3(null,(self__.arr[i]),cljs.core.lookup_sentinel); -if((!((v === cljs.core.lookup_sentinel)))){ -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((self__.arr[(i + (1))]),v)){ -var G__11760 = (i + (2)); -i = G__11760; -continue; -} else { -return false; -} -} else { -return false; -} -} else { -return true; -} -break; -} -} else { -return false; -} -} else { -return false; -} -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.TransientArrayMap({},self__.arr.length,cljs.core.aclone(self__.arr))); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.PersistentArrayMap.EMPTY,self__.meta); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2(coll__$1,f); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3(coll__$1,f,start); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -var idx = cljs.core.array_map_index_of(coll__$1,k); -if((idx >= (0))){ -var len = self__.arr.length; -var new_len = (len - (2)); -if((new_len === (0))){ -return coll__$1.cljs$core$IEmptyableCollection$_empty$arity$1(null); -} else { -var new_arr = (new Array(new_len)); -var s = (0); -var d = (0); -while(true){ -if((s >= len)){ -return (new cljs.core.PersistentArrayMap(self__.meta,(self__.cnt - (1)),new_arr,null)); -} else { -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(k,(self__.arr[s]))){ -var G__11761 = (s + (2)); -var G__11762 = d; -s = G__11761; -d = G__11762; -continue; -} else { -(new_arr[d] = (self__.arr[s])); - -(new_arr[(d + (1))] = (self__.arr[(s + (1))])); - -var G__11763 = (s + (2)); -var G__11764 = (d + (2)); -s = G__11763; -d = G__11764; -continue; - -} -} -break; -} -} -} else { -return coll__$1; -} -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ -var self__ = this; -var coll__$1 = this; -var idx = cljs.core.array_map_index_of(coll__$1,k); -if((idx === (-1))){ -if((self__.cnt < cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD)){ -var arr__$1 = cljs.core.array_map_extend_kv(coll__$1,k,v); -return (new cljs.core.PersistentArrayMap(self__.meta,(self__.cnt + (1)),arr__$1,null)); -} else { -return cljs.core._with_meta(cljs.core._assoc(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentHashMap.EMPTY,coll__$1),k,v),self__.meta); -} -} else { -if((v === (self__.arr[(idx + (1))]))){ -return coll__$1; -} else { -var arr__$1 = (function (){var G__11745 = cljs.core.aclone(self__.arr); -(G__11745[(idx + (1))] = v); - -return G__11745; -})(); -return (new cljs.core.PersistentArrayMap(self__.meta,self__.cnt,arr__$1,null)); - -} -} -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return (!((cljs.core.array_map_index_of(coll__$1,k) === (-1)))); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.persistent_array_map_seq(self__.arr,(0),null); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentArrayMap(meta__$1,self__.cnt,self__.arr,self__.__hash)); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,entry){ -var self__ = this; -var coll__$1 = this; -if(cljs.core.vector_QMARK_(entry)){ -return coll__$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(entry,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(entry,(1))); -} else { -var ret = coll__$1; -var es = cljs.core.seq(entry); -while(true){ -if((es == null)){ -return ret; -} else { -var e = cljs.core.first(es); -if(cljs.core.vector_QMARK_(e)){ -var G__11765 = ret.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(1))); -var G__11766 = cljs.core.next(es); -ret = G__11765; -es = G__11766; -continue; -} else { -throw (new Error("conj on a map takes map entries or seqables of map entries")); -} -} -break; -} -} -}); - -cljs.core.PersistentArrayMap.prototype.call = (function() { -var G__11767 = null; -var G__11767__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); -var G__11767__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); -G__11767 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__11767__2.call(this,self__,k); -case 3: -return G__11767__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11767.cljs$core$IFn$_invoke$arity$2 = G__11767__2; -G__11767.cljs$core$IFn$_invoke$arity$3 = G__11767__3; -return G__11767; -})() -; - -cljs.core.PersistentArrayMap.prototype.apply = (function (self__,args11729){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11729))); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.PersistentArrayMap.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.PersistentArrayMap.cljs$lang$type = true; - -cljs.core.PersistentArrayMap.cljs$lang$ctorStr = "cljs.core/PersistentArrayMap"; - -cljs.core.PersistentArrayMap.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentArrayMap"); -}); - -/** - * Positional factory function for cljs.core/PersistentArrayMap. - */ -cljs.core.__GT_PersistentArrayMap = (function cljs$core$__GT_PersistentArrayMap(meta,cnt,arr,__hash){ -return (new cljs.core.PersistentArrayMap(meta,cnt,arr,__hash)); -}); - -cljs.core.PersistentArrayMap.EMPTY = (new cljs.core.PersistentArrayMap(null,(0),[],cljs.core.empty_unordered_hash)); -cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD = (8); -cljs.core.PersistentArrayMap.fromArray = (function (arr,no_clone,no_check){ -var arr__$1 = ((no_clone)?arr:cljs.core.aclone(arr)); -var arr__$2 = ((no_check)?arr__$1:(function (){var ret = []; -var i_11768 = (0); -while(true){ -if((i_11768 < arr__$1.length)){ -var k_11769 = (arr__$1[i_11768]); -var v_11770 = (arr__$1[(i_11768 + (1))]); -var idx_11771 = cljs.core.array_index_of(ret,k_11769); -if((idx_11771 === (-1))){ -ret.push(k_11769); - -ret.push(v_11770); -} else { -} - -var G__11772 = (i_11768 + (2)); -i_11768 = G__11772; -continue; -} else { -} -break; -} - -return ret; -})()); -var cnt = (arr__$2.length / (2)); -return (new cljs.core.PersistentArrayMap(null,cnt,arr__$2,null)); -}); -cljs.core.PersistentArrayMap.createWithCheck = (function (arr){ -var ret = []; -var i_11774 = (0); -while(true){ -if((i_11774 < arr.length)){ -var k_11775 = (arr[i_11774]); -var v_11776 = (arr[(i_11774 + (1))]); -var idx_11777 = cljs.core.array_index_of(ret,k_11775); -if((idx_11777 === (-1))){ -var G__11773_11778 = ret; -G__11773_11778.push(k_11775); - -G__11773_11778.push(v_11776); - -} else { -throw (new Error(["Duplicate key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(k_11775)].join(''))); -} - -var G__11779 = (i_11774 + (2)); -i_11774 = G__11779; -continue; -} else { -} -break; -} - -var cnt = (arr.length / (2)); -return (new cljs.core.PersistentArrayMap(null,cnt,arr,null)); -}); -cljs.core.PersistentArrayMap.createAsIfByAssoc = (function (arr){ -var ret = []; -var i_11781 = (0); -while(true){ -if((i_11781 < arr.length)){ -var k_11782 = (arr[i_11781]); -var v_11783 = (arr[(i_11781 + (1))]); -var idx_11784 = cljs.core.array_index_of(ret,k_11782); -if((idx_11784 === (-1))){ -var G__11780_11785 = ret; -G__11780_11785.push(k_11782); - -G__11780_11785.push(v_11783); - -} else { -(ret[(idx_11784 + (1))] = v_11783); -} - -var G__11786 = (i_11781 + (2)); -i_11781 = G__11786; -continue; -} else { -} -break; -} - -return (new cljs.core.PersistentArrayMap(null,(ret.length / (2)),ret,null)); -}); -var G__11787_11790 = cljs.core.PersistentArrayMap.prototype; -var G__11788_11791 = cljs.core.ITER_SYMBOL; -var G__11789_11792 = ((function (G__11787_11790,G__11788_11791){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11787_11790,G__11788_11791)) -; -goog.object.set(G__11787_11790,G__11788_11791,G__11789_11792); - -/** -* @constructor - * @implements {cljs.core.IFn} - * @implements {cljs.core.ITransientMap} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ITransientCollection} - * @implements {cljs.core.ITransientAssociative} - * @implements {cljs.core.ILookup} -*/ -cljs.core.TransientArrayMap = (function (editable_QMARK_,len,arr){ -this.editable_QMARK_ = editable_QMARK_; -this.len = len; -this.arr = arr; -this.cljs$lang$protocol_mask$partition0$ = 259; -this.cljs$lang$protocol_mask$partition1$ = 56; -}); -cljs.core.TransientArrayMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (tcoll){ -var self__ = this; -var tcoll__$1 = this; -if(cljs.core.truth_(self__.editable_QMARK_)){ -return cljs.core.quot(self__.len,(2)); -} else { -throw (new Error("count after persistent!")); -} -}); - -cljs.core.TransientArrayMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (tcoll,k){ -var self__ = this; -var tcoll__$1 = this; -return tcoll__$1.cljs$core$ILookup$_lookup$arity$3(null,k,null); -}); - -cljs.core.TransientArrayMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (tcoll,k,not_found){ -var self__ = this; -var tcoll__$1 = this; -if(cljs.core.truth_(self__.editable_QMARK_)){ -var idx = cljs.core.array_map_index_of(tcoll__$1,k); -if((idx === (-1))){ -return not_found; -} else { -return (self__.arr[(idx + (1))]); -} -} else { -throw (new Error("lookup after persistent!")); -} -}); - -cljs.core.TransientArrayMap.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,o){ -var self__ = this; -var tcoll__$1 = this; -if(cljs.core.truth_(self__.editable_QMARK_)){ -if(cljs.core.map_entry_QMARK_(o)){ -return tcoll__$1.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null,cljs.core.key(o),cljs.core.val(o)); -} else { -if(cljs.core.vector_QMARK_(o)){ -return tcoll__$1.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null,(o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((0)) : o.call(null,(0))),(o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((1)) : o.call(null,(1)))); -} else { -var es = cljs.core.seq(o); -var tcoll__$2 = tcoll__$1; -while(true){ -var temp__4655__auto__ = cljs.core.first(es); -if(cljs.core.truth_(temp__4655__auto__)){ -var e = temp__4655__auto__; -var G__11795 = cljs.core.next(es); -var G__11796 = tcoll__$2.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null,cljs.core.key(e),cljs.core.val(e)); -es = G__11795; -tcoll__$2 = G__11796; -continue; -} else { -return tcoll__$2; -} -break; -} - -} -} -} else { -throw (new Error("conj! after persistent!")); -} -}); - -cljs.core.TransientArrayMap.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ -var self__ = this; -var tcoll__$1 = this; -if(cljs.core.truth_(self__.editable_QMARK_)){ -self__.editable_QMARK_ = false; - -return (new cljs.core.PersistentArrayMap(null,cljs.core.quot(self__.len,(2)),self__.arr,null)); -} else { -throw (new Error("persistent! called twice")); -} -}); - -cljs.core.TransientArrayMap.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 = (function (tcoll,key,val){ -var self__ = this; -var tcoll__$1 = this; -if(cljs.core.truth_(self__.editable_QMARK_)){ -var idx = cljs.core.array_map_index_of(tcoll__$1,key); -if((idx === (-1))){ -if(((self__.len + (2)) <= ((2) * cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD))){ -self__.len = (self__.len + (2)); - -self__.arr.push(key); - -self__.arr.push(val); - -return tcoll__$1; -} else { -return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(cljs.core.array__GT_transient_hash_map(self__.len,self__.arr),key,val); -} -} else { -if((val === (self__.arr[(idx + (1))]))){ -return tcoll__$1; -} else { -(self__.arr[(idx + (1))] = val); - -return tcoll__$1; -} -} -} else { -throw (new Error("assoc! after persistent!")); -} -}); - -cljs.core.TransientArrayMap.prototype.cljs$core$ITransientMap$_dissoc_BANG_$arity$2 = (function (tcoll,key){ -var self__ = this; -var tcoll__$1 = this; -if(cljs.core.truth_(self__.editable_QMARK_)){ -var idx = cljs.core.array_map_index_of(tcoll__$1,key); -if((idx >= (0))){ -(self__.arr[idx] = (self__.arr[(self__.len - (2))])); - -(self__.arr[(idx + (1))] = (self__.arr[(self__.len - (1))])); - -var G__11794_11797 = self__.arr; -G__11794_11797.pop(); - -G__11794_11797.pop(); - - -self__.len = (self__.len - (2)); -} else { -} - -return tcoll__$1; -} else { -throw (new Error("dissoc! after persistent!")); -} -}); - -cljs.core.TransientArrayMap.prototype.call = (function() { -var G__11798 = null; -var G__11798__2 = (function (self__,key){ -var self__ = this; -var self____$1 = this; -var tcoll = self____$1; -return tcoll.cljs$core$ILookup$_lookup$arity$3(null,key,null); -}); -var G__11798__3 = (function (self__,key,not_found){ -var self__ = this; -var self____$1 = this; -var tcoll = self____$1; -return tcoll.cljs$core$ILookup$_lookup$arity$3(null,key,not_found); -}); -G__11798 = function(self__,key,not_found){ -switch(arguments.length){ -case 2: -return G__11798__2.call(this,self__,key); -case 3: -return G__11798__3.call(this,self__,key,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11798.cljs$core$IFn$_invoke$arity$2 = G__11798__2; -G__11798.cljs$core$IFn$_invoke$arity$3 = G__11798__3; -return G__11798; -})() -; - -cljs.core.TransientArrayMap.prototype.apply = (function (self__,args11793){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11793))); -}); - -cljs.core.TransientArrayMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (key){ -var self__ = this; -var tcoll = this; -return tcoll.cljs$core$ILookup$_lookup$arity$3(null,key,null); -}); - -cljs.core.TransientArrayMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (key,not_found){ -var self__ = this; -var tcoll = this; -return tcoll.cljs$core$ILookup$_lookup$arity$3(null,key,not_found); -}); - -cljs.core.TransientArrayMap.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"editable?","editable?",-164945806,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"len","len",-1230778691,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"arr","arr",2115492975,null)], null); -}); - -cljs.core.TransientArrayMap.cljs$lang$type = true; - -cljs.core.TransientArrayMap.cljs$lang$ctorStr = "cljs.core/TransientArrayMap"; - -cljs.core.TransientArrayMap.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/TransientArrayMap"); -}); - -/** - * Positional factory function for cljs.core/TransientArrayMap. - */ -cljs.core.__GT_TransientArrayMap = (function cljs$core$__GT_TransientArrayMap(editable_QMARK_,len,arr){ -return (new cljs.core.TransientArrayMap(editable_QMARK_,len,arr)); -}); - -cljs.core.array__GT_transient_hash_map = (function cljs$core$array__GT_transient_hash_map(len,arr){ -var out = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); -var i = (0); -while(true){ -if((i < len)){ -var G__11799 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,(arr[i]),(arr[(i + (1))])); -var G__11800 = (i + (2)); -out = G__11799; -i = G__11800; -continue; -} else { -return out; -} -break; -} -}); - -/** -* @constructor -*/ -cljs.core.Box = (function (val){ -this.val = val; -}); - -cljs.core.Box.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Box.cljs$lang$type = true; - -cljs.core.Box.cljs$lang$ctorStr = "cljs.core/Box"; - -cljs.core.Box.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Box"); -}); - -/** - * Positional factory function for cljs.core/Box. - */ -cljs.core.__GT_Box = (function cljs$core$__GT_Box(val){ -return (new cljs.core.Box(val)); -}); - - - - - - -cljs.core.key_test = (function cljs$core$key_test(key,other){ -if((key === other)){ -return true; -} else { -if(cljs.core.keyword_identical_QMARK_(key,other)){ -return true; -} else { -return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(key,other); - -} -} -}); -cljs.core.mask = (function cljs$core$mask(hash,shift){ -return ((hash >>> shift) & (31)); -}); -cljs.core.clone_and_set = (function cljs$core$clone_and_set(var_args){ -var G__11802 = arguments.length; -switch (G__11802) { -case 3: -return cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 5: -return cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3 = (function (arr,i,a){ -var G__11803 = cljs.core.aclone(arr); -(G__11803[i] = a); - -return G__11803; -}); - -cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5 = (function (arr,i,a,j,b){ -var G__11804 = cljs.core.aclone(arr); -(G__11804[i] = a); - -(G__11804[j] = b); - -return G__11804; -}); - -cljs.core.clone_and_set.cljs$lang$maxFixedArity = 5; - -cljs.core.remove_pair = (function cljs$core$remove_pair(arr,i){ -var new_arr = (new Array((arr.length - (2)))); -cljs.core.array_copy(arr,(0),new_arr,(0),((2) * i)); - -cljs.core.array_copy(arr,((2) * (i + (1))),new_arr,((2) * i),(new_arr.length - ((2) * i))); - -return new_arr; -}); -cljs.core.bitmap_indexed_node_index = (function cljs$core$bitmap_indexed_node_index(bitmap,bit){ -return cljs.core.bit_count((bitmap & (bit - (1)))); -}); -cljs.core.bitpos = (function cljs$core$bitpos(hash,shift){ -return ((1) << ((hash >>> shift) & 0x01f)); -}); -cljs.core.edit_and_set = (function cljs$core$edit_and_set(var_args){ -var G__11807 = arguments.length; -switch (G__11807) { -case 4: -return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -case 6: -return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4 = (function (inode,edit,i,a){ -var editable = inode.ensure_editable(edit); -(editable.arr[i] = a); - -return editable; -}); - -cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6 = (function (inode,edit,i,a,j,b){ -var editable = inode.ensure_editable(edit); -(editable.arr[i] = a); - -(editable.arr[j] = b); - -return editable; -}); - -cljs.core.edit_and_set.cljs$lang$maxFixedArity = 6; - -cljs.core.inode_kv_reduce = (function cljs$core$inode_kv_reduce(arr,f,init){ -var len = arr.length; -var i = (0); -var init__$1 = init; -while(true){ -if((i < len)){ -var init__$2 = (function (){var k = (arr[i]); -if((!((k == null)))){ -var G__11809 = init__$1; -var G__11810 = k; -var G__11811 = (arr[(i + (1))]); -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11809,G__11810,G__11811) : f.call(null,G__11809,G__11810,G__11811)); -} else { -var node = (arr[(i + (1))]); -if((!((node == null)))){ -return node.kv_reduce(f,init__$1); -} else { -return init__$1; -} -} -})(); -if(cljs.core.reduced_QMARK_(init__$2)){ -return init__$2; -} else { -var G__11812 = (i + (2)); -var G__11813 = init__$2; -i = G__11812; -init__$1 = G__11813; -continue; -} -} else { -return init__$1; -} -break; -} -}); - -/** -* @constructor -*/ -cljs.core.NodeIterator = (function (arr,i,next_entry,next_iter){ -this.arr = arr; -this.i = i; -this.next_entry = next_entry; -this.next_iter = next_iter; -}); -cljs.core.NodeIterator.prototype.advance = (function (){ -var self__ = this; -var this$ = this; -var len = self__.arr.length; -while(true){ -if((self__.i < len)){ -var key = (self__.arr[self__.i]); -var node_or_val = (self__.arr[(self__.i + (1))]); -var found = (((!((key == null))))?self__.next_entry = (new cljs.core.MapEntry(key,node_or_val,null)):(((!((node_or_val == null))))?(function (){var new_iter = cljs.core._iterator(node_or_val); -if(new_iter.hasNext()){ -return self__.next_iter = new_iter; -} else { -return false; -} -})():false -)); -self__.i = (self__.i + (2)); - -if(found){ -return true; -} else { -continue; -} -} else { -return false; -} -break; -} -}); - -cljs.core.NodeIterator.prototype.hasNext = (function (){ -var self__ = this; -var this$ = this; -var or__7806__auto__ = (!((self__.next_entry == null))); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (!((self__.next_iter == null))); -if(or__7806__auto____$1){ -return or__7806__auto____$1; -} else { -return this$.advance(); -} -} -}); - -cljs.core.NodeIterator.prototype.next = (function (){ -var self__ = this; -var this$ = this; -if((!((self__.next_entry == null)))){ -var ret = self__.next_entry; -self__.next_entry = null; - -return ret; -} else { -if((!((self__.next_iter == null)))){ -var ret = self__.next_iter.next(); -if(self__.next_iter.hasNext()){ -} else { -self__.next_iter = null; -} - -return ret; -} else { -if(this$.advance()){ -return this$.next(); -} else { -throw (new Error("No such element")); - -} -} -} -}); - -cljs.core.NodeIterator.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.NodeIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"next-entry","next-entry",1091342476,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"next-iter","next-iter",1526626239,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.NodeIterator.cljs$lang$type = true; - -cljs.core.NodeIterator.cljs$lang$ctorStr = "cljs.core/NodeIterator"; - -cljs.core.NodeIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/NodeIterator"); -}); - -/** - * Positional factory function for cljs.core/NodeIterator. - */ -cljs.core.__GT_NodeIterator = (function cljs$core$__GT_NodeIterator(arr,i,next_entry,next_iter){ -return (new cljs.core.NodeIterator(arr,i,next_entry,next_iter)); -}); - - -/** -* @constructor - * @implements {cljs.core.IIterable} -*/ -cljs.core.BitmapIndexedNode = (function (edit,bitmap,arr){ -this.edit = edit; -this.bitmap = bitmap; -this.arr = arr; -this.cljs$lang$protocol_mask$partition1$ = 131072; -this.cljs$lang$protocol_mask$partition0$ = 0; -}); -cljs.core.BitmapIndexedNode.prototype.ensure_editable = (function (e){ -var self__ = this; -var inode = this; -if((e === self__.edit)){ -return inode; -} else { -var n = cljs.core.bit_count(self__.bitmap); -var new_arr = (new Array((((n < (0)))?(4):((2) * (n + (1)))))); -cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * n)); - -return (new cljs.core.BitmapIndexedNode(e,self__.bitmap,new_arr)); -} -}); - -cljs.core.BitmapIndexedNode.prototype.inode_without_BANG_ = (function (edit__$1,shift,hash,key,removed_leaf_QMARK_){ -var self__ = this; -var inode = this; -var bit = (1 << ((hash >>> shift) & 0x01f)); -if(((self__.bitmap & bit) === (0))){ -return inode; -} else { -var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); -var key_or_nil = (self__.arr[((2) * idx)]); -var val_or_node = (self__.arr[(((2) * idx) + (1))]); -if((key_or_nil == null)){ -var n = val_or_node.inode_without_BANG_(edit__$1,(shift + (5)),hash,key,removed_leaf_QMARK_); -if((n === val_or_node)){ -return inode; -} else { -if((!((n == null)))){ -return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(((2) * idx) + (1)),n); -} else { -if((self__.bitmap === bit)){ -return null; -} else { -return inode.edit_and_remove_pair(edit__$1,bit,idx); - -} -} -} -} else { -if(cljs.core.key_test(key,key_or_nil)){ -removed_leaf_QMARK_.val = true; - -return inode.edit_and_remove_pair(edit__$1,bit,idx); -} else { -return inode; - -} -} -} -}); - -cljs.core.BitmapIndexedNode.prototype.edit_and_remove_pair = (function (e,bit,i){ -var self__ = this; -var inode = this; -if((self__.bitmap === bit)){ -return null; -} else { -var editable = inode.ensure_editable(e); -var earr = editable.arr; -var len = earr.length; -editable.bitmap = (bit ^ editable.bitmap); - -cljs.core.array_copy(earr,((2) * (i + (1))),earr,((2) * i),(len - ((2) * (i + (1))))); - -(earr[(len - (2))] = null); - -(earr[(len - (1))] = null); - -return editable; -} -}); - -cljs.core.BitmapIndexedNode.prototype.inode_seq = (function (){ -var self__ = this; -var inode = this; -return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1(self__.arr); -}); - -cljs.core.BitmapIndexedNode.prototype.kv_reduce = (function (f,init){ -var self__ = this; -var inode = this; -return cljs.core.inode_kv_reduce(self__.arr,f,init); -}); - -cljs.core.BitmapIndexedNode.prototype.inode_lookup = (function (shift,hash,key,not_found){ -var self__ = this; -var inode = this; -var bit = (1 << ((hash >>> shift) & 0x01f)); -if(((self__.bitmap & bit) === (0))){ -return not_found; -} else { -var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); -var key_or_nil = (self__.arr[((2) * idx)]); -var val_or_node = (self__.arr[(((2) * idx) + (1))]); -if((key_or_nil == null)){ -return val_or_node.inode_lookup((shift + (5)),hash,key,not_found); -} else { -if(cljs.core.key_test(key,key_or_nil)){ -return val_or_node; -} else { -return not_found; - -} -} -} -}); - -cljs.core.BitmapIndexedNode.prototype.inode_assoc_BANG_ = (function (edit__$1,shift,hash,key,val,added_leaf_QMARK_){ -var self__ = this; -var inode = this; -var bit = (1 << ((hash >>> shift) & 0x01f)); -var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); -if(((self__.bitmap & bit) === (0))){ -var n = cljs.core.bit_count(self__.bitmap); -if((((2) * n) < self__.arr.length)){ -var editable = inode.ensure_editable(edit__$1); -var earr = editable.arr; -added_leaf_QMARK_.val = true; - -cljs.core.array_copy_downward(earr,((2) * idx),earr,((2) * (idx + (1))),((2) * (n - idx))); - -(earr[((2) * idx)] = key); - -(earr[(((2) * idx) + (1))] = val); - -editable.bitmap = (editable.bitmap | bit); - -return editable; -} else { -if((n >= (16))){ -var nodes = [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]; -var jdx = ((hash >>> shift) & 0x01f); -(nodes[jdx] = cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_)); - -var i_11814 = (0); -var j_11815 = (0); -while(true){ -if((i_11814 < (32))){ -if((((self__.bitmap >>> i_11814) & (1)) === (0))){ -var G__11816 = (i_11814 + (1)); -var G__11817 = j_11815; -i_11814 = G__11816; -j_11815 = G__11817; -continue; -} else { -(nodes[i_11814] = (((!(((self__.arr[j_11815]) == null))))?cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit__$1,(shift + (5)),cljs.core.hash((self__.arr[j_11815])),(self__.arr[j_11815]),(self__.arr[(j_11815 + (1))]),added_leaf_QMARK_):(self__.arr[(j_11815 + (1))]))); - -var G__11818 = (i_11814 + (1)); -var G__11819 = (j_11815 + (2)); -i_11814 = G__11818; -j_11815 = G__11819; -continue; -} -} else { -} -break; -} - -return (new cljs.core.ArrayNode(edit__$1,(n + (1)),nodes)); -} else { -var new_arr = (new Array(((2) * (n + (4))))); -cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * idx)); - -(new_arr[((2) * idx)] = key); - -(new_arr[(((2) * idx) + (1))] = val); - -cljs.core.array_copy(self__.arr,((2) * idx),new_arr,((2) * (idx + (1))),((2) * (n - idx))); - -added_leaf_QMARK_.val = true; - -var editable = inode.ensure_editable(edit__$1); -editable.arr = new_arr; - -editable.bitmap = (editable.bitmap | bit); - -return editable; - -} -} -} else { -var key_or_nil = (self__.arr[((2) * idx)]); -var val_or_node = (self__.arr[(((2) * idx) + (1))]); -if((key_or_nil == null)){ -var n = val_or_node.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_); -if((n === val_or_node)){ -return inode; -} else { -return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(((2) * idx) + (1)),n); -} -} else { -if(cljs.core.key_test(key,key_or_nil)){ -if((val === val_or_node)){ -return inode; -} else { -return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(((2) * idx) + (1)),val); -} -} else { -added_leaf_QMARK_.val = true; - -return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6(inode,edit__$1,((2) * idx),null,(((2) * idx) + (1)),cljs.core.create_node.cljs$core$IFn$_invoke$arity$7(edit__$1,(shift + (5)),key_or_nil,val_or_node,hash,key,val)); - -} -} -} -}); - -cljs.core.BitmapIndexedNode.prototype.inode_assoc = (function (shift,hash,key,val,added_leaf_QMARK_){ -var self__ = this; -var inode = this; -var bit = (1 << ((hash >>> shift) & 0x01f)); -var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); -if(((self__.bitmap & bit) === (0))){ -var n = cljs.core.bit_count(self__.bitmap); -if((n >= (16))){ -var nodes = [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]; -var jdx = ((hash >>> shift) & 0x01f); -(nodes[jdx] = cljs.core.BitmapIndexedNode.EMPTY.inode_assoc((shift + (5)),hash,key,val,added_leaf_QMARK_)); - -var i_11820 = (0); -var j_11821 = (0); -while(true){ -if((i_11820 < (32))){ -if((((self__.bitmap >>> i_11820) & (1)) === (0))){ -var G__11822 = (i_11820 + (1)); -var G__11823 = j_11821; -i_11820 = G__11822; -j_11821 = G__11823; -continue; -} else { -(nodes[i_11820] = (((!(((self__.arr[j_11821]) == null))))?cljs.core.BitmapIndexedNode.EMPTY.inode_assoc((shift + (5)),cljs.core.hash((self__.arr[j_11821])),(self__.arr[j_11821]),(self__.arr[(j_11821 + (1))]),added_leaf_QMARK_):(self__.arr[(j_11821 + (1))]))); - -var G__11824 = (i_11820 + (1)); -var G__11825 = (j_11821 + (2)); -i_11820 = G__11824; -j_11821 = G__11825; -continue; -} -} else { -} -break; -} - -return (new cljs.core.ArrayNode(null,(n + (1)),nodes)); -} else { -var new_arr = (new Array(((2) * (n + (1))))); -cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * idx)); - -(new_arr[((2) * idx)] = key); - -(new_arr[(((2) * idx) + (1))] = val); - -cljs.core.array_copy(self__.arr,((2) * idx),new_arr,((2) * (idx + (1))),((2) * (n - idx))); - -added_leaf_QMARK_.val = true; - -return (new cljs.core.BitmapIndexedNode(null,(self__.bitmap | bit),new_arr)); -} -} else { -var key_or_nil = (self__.arr[((2) * idx)]); -var val_or_node = (self__.arr[(((2) * idx) + (1))]); -if((key_or_nil == null)){ -var n = val_or_node.inode_assoc((shift + (5)),hash,key,val,added_leaf_QMARK_); -if((n === val_or_node)){ -return inode; -} else { -return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(((2) * idx) + (1)),n))); -} -} else { -if(cljs.core.key_test(key,key_or_nil)){ -if((val === val_or_node)){ -return inode; -} else { -return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(((2) * idx) + (1)),val))); -} -} else { -added_leaf_QMARK_.val = true; - -return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5(self__.arr,((2) * idx),null,(((2) * idx) + (1)),cljs.core.create_node.cljs$core$IFn$_invoke$arity$6((shift + (5)),key_or_nil,val_or_node,hash,key,val)))); - -} -} -} -}); - -cljs.core.BitmapIndexedNode.prototype.inode_find = (function (shift,hash,key,not_found){ -var self__ = this; -var inode = this; -var bit = (1 << ((hash >>> shift) & 0x01f)); -if(((self__.bitmap & bit) === (0))){ -return not_found; -} else { -var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); -var key_or_nil = (self__.arr[((2) * idx)]); -var val_or_node = (self__.arr[(((2) * idx) + (1))]); -if((key_or_nil == null)){ -return val_or_node.inode_find((shift + (5)),hash,key,not_found); -} else { -if(cljs.core.key_test(key,key_or_nil)){ -return (new cljs.core.MapEntry(key_or_nil,val_or_node,null)); -} else { -return not_found; - -} -} -} -}); - -cljs.core.BitmapIndexedNode.prototype.inode_without = (function (shift,hash,key){ -var self__ = this; -var inode = this; -var bit = (1 << ((hash >>> shift) & 0x01f)); -if(((self__.bitmap & bit) === (0))){ -return inode; -} else { -var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); -var key_or_nil = (self__.arr[((2) * idx)]); -var val_or_node = (self__.arr[(((2) * idx) + (1))]); -if((key_or_nil == null)){ -var n = val_or_node.inode_without((shift + (5)),hash,key); -if((n === val_or_node)){ -return inode; -} else { -if((!((n == null)))){ -return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(((2) * idx) + (1)),n))); -} else { -if((self__.bitmap === bit)){ -return null; -} else { -return (new cljs.core.BitmapIndexedNode(null,(self__.bitmap ^ bit),cljs.core.remove_pair(self__.arr,idx))); - -} -} -} -} else { -if(cljs.core.key_test(key,key_or_nil)){ -return (new cljs.core.BitmapIndexedNode(null,(self__.bitmap ^ bit),cljs.core.remove_pair(self__.arr,idx))); -} else { -return inode; - -} -} -} -}); - -cljs.core.BitmapIndexedNode.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.NodeIterator(self__.arr,(0),null,null)); -}); - -cljs.core.BitmapIndexedNode.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"edit","edit",-1302639,null),cljs.core.with_meta(new cljs.core.Symbol(null,"bitmap","bitmap",501334601,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.BitmapIndexedNode.cljs$lang$type = true; - -cljs.core.BitmapIndexedNode.cljs$lang$ctorStr = "cljs.core/BitmapIndexedNode"; - -cljs.core.BitmapIndexedNode.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/BitmapIndexedNode"); -}); - -/** - * Positional factory function for cljs.core/BitmapIndexedNode. - */ -cljs.core.__GT_BitmapIndexedNode = (function cljs$core$__GT_BitmapIndexedNode(edit,bitmap,arr){ -return (new cljs.core.BitmapIndexedNode(edit,bitmap,arr)); -}); - -cljs.core.BitmapIndexedNode.EMPTY = (new cljs.core.BitmapIndexedNode(null,(0),[])); -cljs.core.pack_array_node = (function cljs$core$pack_array_node(array_node,edit,idx){ -var arr = array_node.arr; -var len = arr.length; -var new_arr = (new Array(((2) * (array_node.cnt - (1))))); -var i = (0); -var j = (1); -var bitmap = (0); -while(true){ -if((i < len)){ -if((((!((i === idx)))) && ((!(((arr[i]) == null)))))){ -(new_arr[j] = (arr[i])); - -var G__11826 = (i + (1)); -var G__11827 = (j + (2)); -var G__11828 = (bitmap | ((1) << i)); -i = G__11826; -j = G__11827; -bitmap = G__11828; -continue; -} else { -var G__11829 = (i + (1)); -var G__11830 = j; -var G__11831 = bitmap; -i = G__11829; -j = G__11830; -bitmap = G__11831; -continue; -} -} else { -return (new cljs.core.BitmapIndexedNode(edit,bitmap,new_arr)); -} -break; -} -}); - -/** -* @constructor -*/ -cljs.core.ArrayNodeIterator = (function (arr,i,next_iter){ -this.arr = arr; -this.i = i; -this.next_iter = next_iter; -}); -cljs.core.ArrayNodeIterator.prototype.hasNext = (function (){ -var self__ = this; -var this$ = this; -var len = self__.arr.length; -while(true){ -if((!((((!((self__.next_iter == null)))) && (self__.next_iter.hasNext()))))){ -if((self__.i < len)){ -var node = (self__.arr[self__.i]); -self__.i = (self__.i + (1)); - -if((!((node == null)))){ -self__.next_iter = cljs.core._iterator(node); -} else { -} - -continue; -} else { -return false; -} -} else { -return true; -} -break; -} -}); - -cljs.core.ArrayNodeIterator.prototype.next = (function (){ -var self__ = this; -var this$ = this; -if(this$.hasNext()){ -return self__.next_iter.next(); -} else { -throw (new Error("No such element")); -} -}); - -cljs.core.ArrayNodeIterator.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.ArrayNodeIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"next-iter","next-iter",1526626239,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ArrayNodeIterator.cljs$lang$type = true; - -cljs.core.ArrayNodeIterator.cljs$lang$ctorStr = "cljs.core/ArrayNodeIterator"; - -cljs.core.ArrayNodeIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ArrayNodeIterator"); -}); - -/** - * Positional factory function for cljs.core/ArrayNodeIterator. - */ -cljs.core.__GT_ArrayNodeIterator = (function cljs$core$__GT_ArrayNodeIterator(arr,i,next_iter){ -return (new cljs.core.ArrayNodeIterator(arr,i,next_iter)); -}); - - -/** -* @constructor - * @implements {cljs.core.IIterable} -*/ -cljs.core.ArrayNode = (function (edit,cnt,arr){ -this.edit = edit; -this.cnt = cnt; -this.arr = arr; -this.cljs$lang$protocol_mask$partition1$ = 131072; -this.cljs$lang$protocol_mask$partition0$ = 0; -}); -cljs.core.ArrayNode.prototype.ensure_editable = (function (e){ -var self__ = this; -var inode = this; -if((e === self__.edit)){ -return inode; -} else { -return (new cljs.core.ArrayNode(e,self__.cnt,cljs.core.aclone(self__.arr))); -} -}); - -cljs.core.ArrayNode.prototype.inode_without_BANG_ = (function (edit__$1,shift,hash,key,removed_leaf_QMARK_){ -var self__ = this; -var inode = this; -var idx = ((hash >>> shift) & 0x01f); -var node = (self__.arr[idx]); -if((node == null)){ -return inode; -} else { -var n = node.inode_without_BANG_(edit__$1,(shift + (5)),hash,key,removed_leaf_QMARK_); -if((n === node)){ -return inode; -} else { -if((n == null)){ -if((self__.cnt <= (8))){ -return cljs.core.pack_array_node(inode,edit__$1,idx); -} else { -var editable = cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,n); -editable.cnt = (editable.cnt - (1)); - -return editable; -} -} else { -return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,n); - -} -} -} -}); - -cljs.core.ArrayNode.prototype.inode_seq = (function (){ -var self__ = this; -var inode = this; -return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1(self__.arr); -}); - -cljs.core.ArrayNode.prototype.kv_reduce = (function (f,init){ -var self__ = this; -var inode = this; -var len = self__.arr.length; -var i = (0); -var init__$1 = init; -while(true){ -if((i < len)){ -var node = (self__.arr[i]); -if((!((node == null)))){ -var init__$2 = node.kv_reduce(f,init__$1); -if(cljs.core.reduced_QMARK_(init__$2)){ -return init__$2; -} else { -var G__11832 = (i + (1)); -var G__11833 = init__$2; -i = G__11832; -init__$1 = G__11833; -continue; -} -} else { -var G__11834 = (i + (1)); -var G__11835 = init__$1; -i = G__11834; -init__$1 = G__11835; -continue; -} -} else { -return init__$1; -} -break; -} -}); - -cljs.core.ArrayNode.prototype.inode_lookup = (function (shift,hash,key,not_found){ -var self__ = this; -var inode = this; -var idx = ((hash >>> shift) & 0x01f); -var node = (self__.arr[idx]); -if((!((node == null)))){ -return node.inode_lookup((shift + (5)),hash,key,not_found); -} else { -return not_found; -} -}); - -cljs.core.ArrayNode.prototype.inode_assoc_BANG_ = (function (edit__$1,shift,hash,key,val,added_leaf_QMARK_){ -var self__ = this; -var inode = this; -var idx = ((hash >>> shift) & 0x01f); -var node = (self__.arr[idx]); -if((node == null)){ -var editable = cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_)); -editable.cnt = (editable.cnt + (1)); - -return editable; -} else { -var n = node.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_); -if((n === node)){ -return inode; -} else { -return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,n); -} -} -}); - -cljs.core.ArrayNode.prototype.inode_assoc = (function (shift,hash,key,val,added_leaf_QMARK_){ -var self__ = this; -var inode = this; -var idx = ((hash >>> shift) & 0x01f); -var node = (self__.arr[idx]); -if((node == null)){ -return (new cljs.core.ArrayNode(null,(self__.cnt + (1)),cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,idx,cljs.core.BitmapIndexedNode.EMPTY.inode_assoc((shift + (5)),hash,key,val,added_leaf_QMARK_)))); -} else { -var n = node.inode_assoc((shift + (5)),hash,key,val,added_leaf_QMARK_); -if((n === node)){ -return inode; -} else { -return (new cljs.core.ArrayNode(null,self__.cnt,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,idx,n))); -} -} -}); - -cljs.core.ArrayNode.prototype.inode_find = (function (shift,hash,key,not_found){ -var self__ = this; -var inode = this; -var idx = ((hash >>> shift) & 0x01f); -var node = (self__.arr[idx]); -if((!((node == null)))){ -return node.inode_find((shift + (5)),hash,key,not_found); -} else { -return not_found; -} -}); - -cljs.core.ArrayNode.prototype.inode_without = (function (shift,hash,key){ -var self__ = this; -var inode = this; -var idx = ((hash >>> shift) & 0x01f); -var node = (self__.arr[idx]); -if((!((node == null)))){ -var n = node.inode_without((shift + (5)),hash,key); -if((n === node)){ -return inode; -} else { -if((n == null)){ -if((self__.cnt <= (8))){ -return cljs.core.pack_array_node(inode,null,idx); -} else { -return (new cljs.core.ArrayNode(null,(self__.cnt - (1)),cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,idx,n))); -} -} else { -return (new cljs.core.ArrayNode(null,self__.cnt,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,idx,n))); - -} -} -} else { -return inode; -} -}); - -cljs.core.ArrayNode.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.ArrayNodeIterator(self__.arr,(0),null)); -}); - -cljs.core.ArrayNode.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"edit","edit",-1302639,null),cljs.core.with_meta(new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ArrayNode.cljs$lang$type = true; - -cljs.core.ArrayNode.cljs$lang$ctorStr = "cljs.core/ArrayNode"; - -cljs.core.ArrayNode.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ArrayNode"); -}); - -/** - * Positional factory function for cljs.core/ArrayNode. - */ -cljs.core.__GT_ArrayNode = (function cljs$core$__GT_ArrayNode(edit,cnt,arr){ -return (new cljs.core.ArrayNode(edit,cnt,arr)); -}); - -cljs.core.hash_collision_node_find_index = (function cljs$core$hash_collision_node_find_index(arr,cnt,key){ -var lim = ((2) * cnt); -var i = (0); -while(true){ -if((i < lim)){ -if(cljs.core.key_test(key,(arr[i]))){ -return i; -} else { -var G__11836 = (i + (2)); -i = G__11836; -continue; -} -} else { -return (-1); -} -break; -} -}); - -/** -* @constructor - * @implements {cljs.core.IIterable} -*/ -cljs.core.HashCollisionNode = (function (edit,collision_hash,cnt,arr){ -this.edit = edit; -this.collision_hash = collision_hash; -this.cnt = cnt; -this.arr = arr; -this.cljs$lang$protocol_mask$partition1$ = 131072; -this.cljs$lang$protocol_mask$partition0$ = 0; -}); -cljs.core.HashCollisionNode.prototype.ensure_editable = (function (e){ -var self__ = this; -var inode = this; -if((e === self__.edit)){ -return inode; -} else { -var new_arr = (new Array(((2) * (self__.cnt + (1))))); -cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * self__.cnt)); - -return (new cljs.core.HashCollisionNode(e,self__.collision_hash,self__.cnt,new_arr)); -} -}); - -cljs.core.HashCollisionNode.prototype.inode_without_BANG_ = (function (edit__$1,shift,hash,key,removed_leaf_QMARK_){ -var self__ = this; -var inode = this; -var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); -if((idx === (-1))){ -return inode; -} else { -removed_leaf_QMARK_.val = true; - -if((self__.cnt === (1))){ -return null; -} else { -var editable = inode.ensure_editable(edit__$1); -var earr = editable.arr; -(earr[idx] = (earr[(((2) * self__.cnt) - (2))])); - -(earr[(idx + (1))] = (earr[(((2) * self__.cnt) - (1))])); - -(earr[(((2) * self__.cnt) - (1))] = null); - -(earr[(((2) * self__.cnt) - (2))] = null); - -editable.cnt = (editable.cnt - (1)); - -return editable; -} -} -}); - -cljs.core.HashCollisionNode.prototype.inode_seq = (function (){ -var self__ = this; -var inode = this; -return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1(self__.arr); -}); - -cljs.core.HashCollisionNode.prototype.kv_reduce = (function (f,init){ -var self__ = this; -var inode = this; -return cljs.core.inode_kv_reduce(self__.arr,f,init); -}); - -cljs.core.HashCollisionNode.prototype.inode_lookup = (function (shift,hash,key,not_found){ -var self__ = this; -var inode = this; -var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); -if((idx < (0))){ -return not_found; -} else { -if(cljs.core.key_test(key,(self__.arr[idx]))){ -return (self__.arr[(idx + (1))]); -} else { -return not_found; - -} -} -}); - -cljs.core.HashCollisionNode.prototype.inode_assoc_BANG_ = (function (edit__$1,shift,hash,key,val,added_leaf_QMARK_){ -var self__ = this; -var inode = this; -if((hash === self__.collision_hash)){ -var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); -if((idx === (-1))){ -if((self__.arr.length > ((2) * self__.cnt))){ -var editable = cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6(inode,edit__$1,((2) * self__.cnt),key,(((2) * self__.cnt) + (1)),val); -added_leaf_QMARK_.val = true; - -editable.cnt = (editable.cnt + (1)); - -return editable; -} else { -var len = self__.arr.length; -var new_arr = (new Array((len + (2)))); -cljs.core.array_copy(self__.arr,(0),new_arr,(0),len); - -(new_arr[len] = key); - -(new_arr[(len + (1))] = val); - -added_leaf_QMARK_.val = true; - -return inode.ensure_editable_array(edit__$1,(self__.cnt + (1)),new_arr); -} -} else { -if(((self__.arr[(idx + (1))]) === val)){ -return inode; -} else { -return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(idx + (1)),val); -} -} -} else { -return (new cljs.core.BitmapIndexedNode(edit__$1,(1 << ((self__.collision_hash >>> shift) & 0x01f)),[null,inode,null,null])).inode_assoc_BANG_(edit__$1,shift,hash,key,val,added_leaf_QMARK_); -} -}); - -cljs.core.HashCollisionNode.prototype.inode_assoc = (function (shift,hash,key,val,added_leaf_QMARK_){ -var self__ = this; -var inode = this; -if((hash === self__.collision_hash)){ -var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); -if((idx === (-1))){ -var len = ((2) * self__.cnt); -var new_arr = (new Array((len + (2)))); -cljs.core.array_copy(self__.arr,(0),new_arr,(0),len); - -(new_arr[len] = key); - -(new_arr[(len + (1))] = val); - -added_leaf_QMARK_.val = true; - -return (new cljs.core.HashCollisionNode(null,self__.collision_hash,(self__.cnt + (1)),new_arr)); -} else { -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((self__.arr[(idx + (1))]),val)){ -return inode; -} else { -return (new cljs.core.HashCollisionNode(null,self__.collision_hash,self__.cnt,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(idx + (1)),val))); -} -} -} else { -return (new cljs.core.BitmapIndexedNode(null,(1 << ((self__.collision_hash >>> shift) & 0x01f)),[null,inode])).inode_assoc(shift,hash,key,val,added_leaf_QMARK_); -} -}); - -cljs.core.HashCollisionNode.prototype.ensure_editable_array = (function (e,count,array){ -var self__ = this; -var inode = this; -if((e === self__.edit)){ -self__.arr = array; - -self__.cnt = count; - -return inode; -} else { -return (new cljs.core.HashCollisionNode(self__.edit,self__.collision_hash,count,array)); -} -}); - -cljs.core.HashCollisionNode.prototype.inode_find = (function (shift,hash,key,not_found){ -var self__ = this; -var inode = this; -var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); -if((idx < (0))){ -return not_found; -} else { -if(cljs.core.key_test(key,(self__.arr[idx]))){ -return (new cljs.core.MapEntry((self__.arr[idx]),(self__.arr[(idx + (1))]),null)); -} else { -return not_found; - -} -} -}); - -cljs.core.HashCollisionNode.prototype.inode_without = (function (shift,hash,key){ -var self__ = this; -var inode = this; -var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); -if((idx === (-1))){ -return inode; -} else { -if((self__.cnt === (1))){ -return null; -} else { -return (new cljs.core.HashCollisionNode(null,self__.collision_hash,(self__.cnt - (1)),cljs.core.remove_pair(self__.arr,cljs.core.quot(idx,(2))))); - -} -} -}); - -cljs.core.HashCollisionNode.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.NodeIterator(self__.arr,(0),null,null)); -}); - -cljs.core.HashCollisionNode.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"edit","edit",-1302639,null),cljs.core.with_meta(new cljs.core.Symbol(null,"collision-hash","collision-hash",-35831342,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.HashCollisionNode.cljs$lang$type = true; - -cljs.core.HashCollisionNode.cljs$lang$ctorStr = "cljs.core/HashCollisionNode"; - -cljs.core.HashCollisionNode.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/HashCollisionNode"); -}); - -/** - * Positional factory function for cljs.core/HashCollisionNode. - */ -cljs.core.__GT_HashCollisionNode = (function cljs$core$__GT_HashCollisionNode(edit,collision_hash,cnt,arr){ -return (new cljs.core.HashCollisionNode(edit,collision_hash,cnt,arr)); -}); - -cljs.core.create_node = (function cljs$core$create_node(var_args){ -var G__11838 = arguments.length; -switch (G__11838) { -case 6: -return cljs.core.create_node.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); - -break; -case 7: -return cljs.core.create_node.cljs$core$IFn$_invoke$arity$7((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.create_node.cljs$core$IFn$_invoke$arity$6 = (function (shift,key1,val1,key2hash,key2,val2){ -var key1hash = cljs.core.hash(key1); -if((key1hash === key2hash)){ -return (new cljs.core.HashCollisionNode(null,key1hash,(2),[key1,val1,key2,val2])); -} else { -var added_leaf_QMARK_ = (new cljs.core.Box(false)); -return cljs.core.BitmapIndexedNode.EMPTY.inode_assoc(shift,key1hash,key1,val1,added_leaf_QMARK_).inode_assoc(shift,key2hash,key2,val2,added_leaf_QMARK_); -} -}); - -cljs.core.create_node.cljs$core$IFn$_invoke$arity$7 = (function (edit,shift,key1,val1,key2hash,key2,val2){ -var key1hash = cljs.core.hash(key1); -if((key1hash === key2hash)){ -return (new cljs.core.HashCollisionNode(null,key1hash,(2),[key1,val1,key2,val2])); -} else { -var added_leaf_QMARK_ = (new cljs.core.Box(false)); -return cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit,shift,key1hash,key1,val1,added_leaf_QMARK_).inode_assoc_BANG_(edit,shift,key2hash,key2,val2,added_leaf_QMARK_); -} -}); - -cljs.core.create_node.cljs$lang$maxFixedArity = 7; - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.NodeSeq = (function (meta,nodes,i,s,__hash){ -this.meta = meta; -this.nodes = nodes; -this.i = i; -this.s = s; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 32374988; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.NodeSeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.NodeSeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.NodeSeq.prototype.indexOf = (function() { -var G__11840 = null; -var G__11840__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11840__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11840 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11840__1.call(this,x); -case 2: -return G__11840__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11840.cljs$core$IFn$_invoke$arity$1 = G__11840__1; -G__11840.cljs$core$IFn$_invoke$arity$2 = G__11840__2; -return G__11840; -})() -; - -cljs.core.NodeSeq.prototype.lastIndexOf = (function() { -var G__11841 = null; -var G__11841__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11841__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11841 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11841__1.call(this,x); -case 2: -return G__11841__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11841.cljs$core$IFn$_invoke$arity$1 = G__11841__1; -G__11841.cljs$core$IFn$_invoke$arity$2 = G__11841__2; -return G__11841; -})() -; - -cljs.core.NodeSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.NodeSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.s == null)){ -return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(self__.nodes,(self__.i + (2)),null); -} else { -return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(self__.nodes,self__.i,cljs.core.next(self__.s)); -} -}); - -cljs.core.NodeSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.NodeSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.NodeSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.NodeSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.NodeSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.NodeSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.s == null)){ -return (new cljs.core.MapEntry((self__.nodes[self__.i]),(self__.nodes[(self__.i + (1))]),null)); -} else { -return cljs.core.first(self__.s); -} -}); - -cljs.core.NodeSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var ret = (((self__.s == null))?cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(self__.nodes,(self__.i + (2)),null):cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(self__.nodes,self__.i,cljs.core.next(self__.s))); -if((!((ret == null)))){ -return ret; -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.NodeSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return this$__$1; -}); - -cljs.core.NodeSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.NodeSeq(meta__$1,self__.nodes,self__.i,self__.s,self__.__hash)); -}); - -cljs.core.NodeSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.NodeSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"nodes","nodes",-459054278,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"s","s",-948495851,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.NodeSeq.cljs$lang$type = true; - -cljs.core.NodeSeq.cljs$lang$ctorStr = "cljs.core/NodeSeq"; - -cljs.core.NodeSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/NodeSeq"); -}); - -/** - * Positional factory function for cljs.core/NodeSeq. - */ -cljs.core.__GT_NodeSeq = (function cljs$core$__GT_NodeSeq(meta,nodes,i,s,__hash){ -return (new cljs.core.NodeSeq(meta,nodes,i,s,__hash)); -}); - -var G__11842_11845 = cljs.core.NodeSeq.prototype; -var G__11843_11846 = cljs.core.ITER_SYMBOL; -var G__11844_11847 = ((function (G__11842_11845,G__11843_11846){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11842_11845,G__11843_11846)) -; -goog.object.set(G__11842_11845,G__11843_11846,G__11844_11847); -cljs.core.create_inode_seq = (function cljs$core$create_inode_seq(var_args){ -var G__11849 = arguments.length; -switch (G__11849) { -case 1: -return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 3: -return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1 = (function (nodes){ -return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(nodes,(0),null); -}); - -cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3 = (function (nodes,i,s){ -if((s == null)){ -var len = nodes.length; -var j = i; -while(true){ -if((j < len)){ -if((!(((nodes[j]) == null)))){ -return (new cljs.core.NodeSeq(null,nodes,j,null,null)); -} else { -var temp__4655__auto__ = (nodes[(j + (1))]); -if(cljs.core.truth_(temp__4655__auto__)){ -var node = temp__4655__auto__; -var temp__4655__auto____$1 = node.inode_seq(); -if(cljs.core.truth_(temp__4655__auto____$1)){ -var node_seq = temp__4655__auto____$1; -return (new cljs.core.NodeSeq(null,nodes,(j + (2)),node_seq,null)); -} else { -var G__11851 = (j + (2)); -j = G__11851; -continue; -} -} else { -var G__11852 = (j + (2)); -j = G__11852; -continue; -} -} -} else { -return null; -} -break; -} -} else { -return (new cljs.core.NodeSeq(null,nodes,i,s,null)); -} -}); - -cljs.core.create_inode_seq.cljs$lang$maxFixedArity = 3; - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.ArrayNodeSeq = (function (meta,nodes,i,s,__hash){ -this.meta = meta; -this.nodes = nodes; -this.i = i; -this.s = s; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 32374988; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.ArrayNodeSeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.ArrayNodeSeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.ArrayNodeSeq.prototype.indexOf = (function() { -var G__11853 = null; -var G__11853__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11853__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11853 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11853__1.call(this,x); -case 2: -return G__11853__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11853.cljs$core$IFn$_invoke$arity$1 = G__11853__1; -G__11853.cljs$core$IFn$_invoke$arity$2 = G__11853__2; -return G__11853; -})() -; - -cljs.core.ArrayNodeSeq.prototype.lastIndexOf = (function() { -var G__11854 = null; -var G__11854__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11854__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11854 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11854__1.call(this,x); -case 2: -return G__11854__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11854.cljs$core$IFn$_invoke$arity$1 = G__11854__1; -G__11854.cljs$core$IFn$_invoke$arity$2 = G__11854__2; -return G__11854; -})() -; - -cljs.core.ArrayNodeSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4(null,self__.nodes,self__.i,cljs.core.next(self__.s)); -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.first(self__.s); -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var ret = cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4(null,self__.nodes,self__.i,cljs.core.next(self__.s)); -if((!((ret == null)))){ -return ret; -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return this$__$1; -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.ArrayNodeSeq(meta__$1,self__.nodes,self__.i,self__.s,self__.__hash)); -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.ArrayNodeSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"nodes","nodes",-459054278,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"s","s",-948495851,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ArrayNodeSeq.cljs$lang$type = true; - -cljs.core.ArrayNodeSeq.cljs$lang$ctorStr = "cljs.core/ArrayNodeSeq"; - -cljs.core.ArrayNodeSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ArrayNodeSeq"); -}); - -/** - * Positional factory function for cljs.core/ArrayNodeSeq. - */ -cljs.core.__GT_ArrayNodeSeq = (function cljs$core$__GT_ArrayNodeSeq(meta,nodes,i,s,__hash){ -return (new cljs.core.ArrayNodeSeq(meta,nodes,i,s,__hash)); -}); - -var G__11855_11858 = cljs.core.ArrayNodeSeq.prototype; -var G__11856_11859 = cljs.core.ITER_SYMBOL; -var G__11857_11860 = ((function (G__11855_11858,G__11856_11859){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11855_11858,G__11856_11859)) -; -goog.object.set(G__11855_11858,G__11856_11859,G__11857_11860); -cljs.core.create_array_node_seq = (function cljs$core$create_array_node_seq(var_args){ -var G__11862 = arguments.length; -switch (G__11862) { -case 1: -return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 4: -return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1 = (function (nodes){ -return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4(null,nodes,(0),null); -}); - -cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4 = (function (meta,nodes,i,s){ -if((s == null)){ -var len = nodes.length; -var j = i; -while(true){ -if((j < len)){ -var temp__4655__auto__ = (nodes[j]); -if(cljs.core.truth_(temp__4655__auto__)){ -var nj = temp__4655__auto__; -var temp__4655__auto____$1 = nj.inode_seq(); -if(cljs.core.truth_(temp__4655__auto____$1)){ -var ns = temp__4655__auto____$1; -return (new cljs.core.ArrayNodeSeq(meta,nodes,(j + (1)),ns,null)); -} else { -var G__11864 = (j + (1)); -j = G__11864; -continue; -} -} else { -var G__11865 = (j + (1)); -j = G__11865; -continue; -} -} else { -return null; -} -break; -} -} else { -return (new cljs.core.ArrayNodeSeq(meta,nodes,i,s,null)); -} -}); - -cljs.core.create_array_node_seq.cljs$lang$maxFixedArity = 4; - - -/** -* @constructor -*/ -cljs.core.HashMapIter = (function (nil_val,root_iter,seen){ -this.nil_val = nil_val; -this.root_iter = root_iter; -this.seen = seen; -}); -cljs.core.HashMapIter.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -return (((!(self__.seen))) || (self__.root_iter.hasNext())); -}); - -cljs.core.HashMapIter.prototype.next = (function (){ -var self__ = this; -var _ = this; -if((!(self__.seen))){ -self__.seen = true; - -return (new cljs.core.MapEntry(null,self__.nil_val,null)); -} else { -return self__.root_iter.next(); -} -}); - -cljs.core.HashMapIter.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.HashMapIter.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"nil-val","nil-val",-513933559,null),new cljs.core.Symbol(null,"root-iter","root-iter",1974672108,null),cljs.core.with_meta(new cljs.core.Symbol(null,"seen","seen",1121531738,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.HashMapIter.cljs$lang$type = true; - -cljs.core.HashMapIter.cljs$lang$ctorStr = "cljs.core/HashMapIter"; - -cljs.core.HashMapIter.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/HashMapIter"); -}); - -/** - * Positional factory function for cljs.core/HashMapIter. - */ -cljs.core.__GT_HashMapIter = (function cljs$core$__GT_HashMapIter(nil_val,root_iter,seen){ -return (new cljs.core.HashMapIter(nil_val,root_iter,seen)); -}); - - -/** -* @constructor - * @implements {cljs.core.IKVReduce} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEditableCollection} - * @implements {cljs.core.IFind} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IIterable} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IAssociative} - * @implements {cljs.core.IMap} - * @implements {cljs.core.ILookup} -*/ -cljs.core.PersistentHashMap = (function (meta,cnt,root,has_nil_QMARK_,nil_val,__hash){ -this.meta = meta; -this.cnt = cnt; -this.root = root; -this.has_nil_QMARK_ = has_nil_QMARK_; -this.nil_val = nil_val; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 16123663; -this.cljs$lang$protocol_mask$partition1$ = 139268; -}); -cljs.core.PersistentHashMap.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentHashMap.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -if((k == null)){ -if(self__.has_nil_QMARK_){ -return (new cljs.core.MapEntry(null,self__.nil_val,null)); -} else { -return null; -} -} else { -if((self__.root == null)){ -return null; -} else { -return self__.root.inode_find((0),cljs.core.hash(k),k,null); - -} -} -}); - -cljs.core.PersistentHashMap.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentHashMap.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentHashMap.prototype.keys = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.keys(coll)); -}); - -cljs.core.PersistentHashMap.prototype.entries = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); -}); - -cljs.core.PersistentHashMap.prototype.values = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.vals(coll)); -}); - -cljs.core.PersistentHashMap.prototype.has = (function (k){ -var self__ = this; -var coll = this; -return cljs.core.contains_QMARK_(coll,k); -}); - -cljs.core.PersistentHashMap.prototype.get = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.PersistentHashMap.prototype.forEach = (function (f){ -var self__ = this; -var coll = this; -var seq__11867 = cljs.core.seq(coll); -var chunk__11868 = null; -var count__11869 = (0); -var i__11870 = (0); -while(true){ -if((i__11870 < count__11869)){ -var vec__11871 = chunk__11868.cljs$core$IIndexed$_nth$arity$2(null,i__11870); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11871,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11871,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__11879 = seq__11867; -var G__11880 = chunk__11868; -var G__11881 = count__11869; -var G__11882 = (i__11870 + (1)); -seq__11867 = G__11879; -chunk__11868 = G__11880; -count__11869 = G__11881; -i__11870 = G__11882; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__11867); -if(temp__4657__auto__){ -var seq__11867__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__11867__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__11867__$1); -var G__11883 = cljs.core.chunk_rest(seq__11867__$1); -var G__11884 = c__8664__auto__; -var G__11885 = cljs.core.count(c__8664__auto__); -var G__11886 = (0); -seq__11867 = G__11883; -chunk__11868 = G__11884; -count__11869 = G__11885; -i__11870 = G__11886; -continue; -} else { -var vec__11874 = cljs.core.first(seq__11867__$1); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11874,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11874,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__11887 = cljs.core.next(seq__11867__$1); -var G__11888 = null; -var G__11889 = (0); -var G__11890 = (0); -seq__11867 = G__11887; -chunk__11868 = G__11888; -count__11869 = G__11889; -i__11870 = G__11890; -continue; -} -} else { -return null; -} -} -break; -} -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ILookup$_lookup$arity$3(null,k,null); -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ -var self__ = this; -var coll__$1 = this; -if((k == null)){ -if(self__.has_nil_QMARK_){ -return self__.nil_val; -} else { -return not_found; -} -} else { -if((self__.root == null)){ -return not_found; -} else { -return self__.root.inode_lookup((0),cljs.core.hash(k),k,not_found); - -} -} -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ -var self__ = this; -var coll__$1 = this; -var init__$1 = ((self__.has_nil_QMARK_)?(f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(init,null,self__.nil_val) : f.call(null,init,null,self__.nil_val)):init); -if(cljs.core.reduced_QMARK_(init__$1)){ -return cljs.core.deref(init__$1); -} else { -if((!((self__.root == null)))){ -return cljs.core.unreduced(self__.root.kv_reduce(f,init__$1)); -} else { -return init__$1; - -} -} -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var root_iter = ((self__.root)?cljs.core._iterator(self__.root):cljs.core.nil_iter()); -if(self__.has_nil_QMARK_){ -return (new cljs.core.HashMapIter(self__.nil_val,root_iter,false)); -} else { -return root_iter; -} -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.PersistentHashMap(self__.meta,self__.cnt,self__.root,self__.has_nil_QMARK_,self__.nil_val,self__.__hash)); -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.cnt; -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_map(coll__$1,other); -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.TransientHashMap({},self__.root,self__.cnt,self__.has_nil_QMARK_,self__.nil_val)); -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.PersistentHashMap.EMPTY,self__.meta); -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -if((k == null)){ -if(self__.has_nil_QMARK_){ -return (new cljs.core.PersistentHashMap(self__.meta,(self__.cnt - (1)),self__.root,false,null,null)); -} else { -return coll__$1; -} -} else { -if((self__.root == null)){ -return coll__$1; -} else { -var new_root = self__.root.inode_without((0),cljs.core.hash(k),k); -if((new_root === self__.root)){ -return coll__$1; -} else { -return (new cljs.core.PersistentHashMap(self__.meta,(self__.cnt - (1)),new_root,self__.has_nil_QMARK_,self__.nil_val,null)); -} - -} -} -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ -var self__ = this; -var coll__$1 = this; -if((k == null)){ -if(((self__.has_nil_QMARK_) && ((v === self__.nil_val)))){ -return coll__$1; -} else { -return (new cljs.core.PersistentHashMap(self__.meta,((self__.has_nil_QMARK_)?self__.cnt:(self__.cnt + (1))),self__.root,true,v,null)); -} -} else { -var added_leaf_QMARK_ = (new cljs.core.Box(false)); -var new_root = (((self__.root == null))?cljs.core.BitmapIndexedNode.EMPTY:self__.root).inode_assoc((0),cljs.core.hash(k),k,v,added_leaf_QMARK_); -if((new_root === self__.root)){ -return coll__$1; -} else { -return (new cljs.core.PersistentHashMap(self__.meta,((added_leaf_QMARK_.val)?(self__.cnt + (1)):self__.cnt),new_root,self__.has_nil_QMARK_,self__.nil_val,null)); -} -} -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -if((k == null)){ -return self__.has_nil_QMARK_; -} else { -if((self__.root == null)){ -return false; -} else { -return (!((self__.root.inode_lookup((0),cljs.core.hash(k),k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel))); - -} -} -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt > (0))){ -var s = (((!((self__.root == null))))?self__.root.inode_seq():null); -if(self__.has_nil_QMARK_){ -return cljs.core.cons((new cljs.core.MapEntry(null,self__.nil_val,null)),s); -} else { -return s; -} -} else { -return null; -} -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentHashMap(meta__$1,self__.cnt,self__.root,self__.has_nil_QMARK_,self__.nil_val,self__.__hash)); -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,entry){ -var self__ = this; -var coll__$1 = this; -if(cljs.core.vector_QMARK_(entry)){ -return coll__$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(entry,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(entry,(1))); -} else { -var ret = coll__$1; -var es = cljs.core.seq(entry); -while(true){ -if((es == null)){ -return ret; -} else { -var e = cljs.core.first(es); -if(cljs.core.vector_QMARK_(e)){ -var G__11891 = ret.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(1))); -var G__11892 = cljs.core.next(es); -ret = G__11891; -es = G__11892; -continue; -} else { -throw (new Error("conj on a map takes map entries or seqables of map entries")); -} -} -break; -} -} -}); - -cljs.core.PersistentHashMap.prototype.call = (function() { -var G__11893 = null; -var G__11893__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); -var G__11893__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); -G__11893 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__11893__2.call(this,self__,k); -case 3: -return G__11893__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11893.cljs$core$IFn$_invoke$arity$2 = G__11893__2; -G__11893.cljs$core$IFn$_invoke$arity$3 = G__11893__3; -return G__11893; -})() -; - -cljs.core.PersistentHashMap.prototype.apply = (function (self__,args11866){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11866))); -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.PersistentHashMap.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"root","root",1191874074,null),cljs.core.with_meta(new cljs.core.Symbol(null,"has-nil?","has-nil?",825886722,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null)], null)),new cljs.core.Symbol(null,"nil-val","nil-val",-513933559,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.PersistentHashMap.cljs$lang$type = true; - -cljs.core.PersistentHashMap.cljs$lang$ctorStr = "cljs.core/PersistentHashMap"; - -cljs.core.PersistentHashMap.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentHashMap"); -}); - -/** - * Positional factory function for cljs.core/PersistentHashMap. - */ -cljs.core.__GT_PersistentHashMap = (function cljs$core$__GT_PersistentHashMap(meta,cnt,root,has_nil_QMARK_,nil_val,__hash){ -return (new cljs.core.PersistentHashMap(meta,cnt,root,has_nil_QMARK_,nil_val,__hash)); -}); - -cljs.core.PersistentHashMap.EMPTY = (new cljs.core.PersistentHashMap(null,(0),null,false,null,cljs.core.empty_unordered_hash)); -cljs.core.PersistentHashMap.fromArray = (function (arr,no_clone){ -var arr__$1 = ((no_clone)?arr:cljs.core.aclone(arr)); -var len = arr__$1.length; -var i = (0); -var ret = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); -while(true){ -if((i < len)){ -var G__11894 = (i + (2)); -var G__11895 = cljs.core._assoc_BANG_(ret,(arr__$1[i]),(arr__$1[(i + (1))])); -i = G__11894; -ret = G__11895; -continue; -} else { -return cljs.core._persistent_BANG_(ret); -} -break; -} -}); -cljs.core.PersistentHashMap.fromArrays = (function (ks,vs){ -var len = ks.length; -var i = (0); -var out = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); -while(true){ -if((i < len)){ -var G__11896 = (i + (1)); -var G__11897 = out.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null,(ks[i]),(vs[i])); -i = G__11896; -out = G__11897; -continue; -} else { -return cljs.core.persistent_BANG_(out); -} -break; -} -}); -cljs.core.PersistentHashMap.createWithCheck = (function (arr){ -var len = arr.length; -var ret = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); -var i_11898 = (0); -while(true){ -if((i_11898 < len)){ -cljs.core._assoc_BANG_(ret,(arr[i_11898]),(arr[(i_11898 + (1))])); - -if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core._count(ret),((i_11898 / (2)) + (1)))){ -throw (new Error(["Duplicate key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arr[i_11898]))].join(''))); -} else { -var G__11899 = (i_11898 + (2)); -i_11898 = G__11899; -continue; -} -} else { -} -break; -} - -return cljs.core._persistent_BANG_(ret); -}); -var G__11900_11903 = cljs.core.PersistentHashMap.prototype; -var G__11901_11904 = cljs.core.ITER_SYMBOL; -var G__11902_11905 = ((function (G__11900_11903,G__11901_11904){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11900_11903,G__11901_11904)) -; -goog.object.set(G__11900_11903,G__11901_11904,G__11902_11905); - -/** -* @constructor - * @implements {cljs.core.IFn} - * @implements {cljs.core.ITransientMap} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ITransientCollection} - * @implements {cljs.core.ITransientAssociative} - * @implements {cljs.core.ILookup} -*/ -cljs.core.TransientHashMap = (function (edit,root,count,has_nil_QMARK_,nil_val){ -this.edit = edit; -this.root = root; -this.count = count; -this.has_nil_QMARK_ = has_nil_QMARK_; -this.nil_val = nil_val; -this.cljs$lang$protocol_mask$partition0$ = 259; -this.cljs$lang$protocol_mask$partition1$ = 56; -}); -cljs.core.TransientHashMap.prototype.conj_BANG_ = (function (o){ -var self__ = this; -var tcoll = this; -if(self__.edit){ -if(cljs.core.map_entry_QMARK_(o)){ -return tcoll.assoc_BANG_(cljs.core.key(o),cljs.core.val(o)); -} else { -if(cljs.core.vector_QMARK_(o)){ -return tcoll.assoc_BANG_((o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((0)) : o.call(null,(0))),(o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((1)) : o.call(null,(1)))); -} else { -var es = cljs.core.seq(o); -var tcoll__$1 = tcoll; -while(true){ -var temp__4655__auto__ = cljs.core.first(es); -if(cljs.core.truth_(temp__4655__auto__)){ -var e = temp__4655__auto__; -var G__11907 = cljs.core.next(es); -var G__11908 = tcoll__$1.assoc_BANG_(cljs.core.key(e),cljs.core.val(e)); -es = G__11907; -tcoll__$1 = G__11908; -continue; -} else { -return tcoll__$1; -} -break; -} - -} -} -} else { -throw (new Error("conj! after persistent")); -} -}); - -cljs.core.TransientHashMap.prototype.assoc_BANG_ = (function (k,v){ -var self__ = this; -var tcoll = this; -if(self__.edit){ -if((k == null)){ -if((self__.nil_val === v)){ -} else { -self__.nil_val = v; -} - -if(self__.has_nil_QMARK_){ -} else { -self__.count = (self__.count + (1)); - -self__.has_nil_QMARK_ = true; -} - -return tcoll; -} else { -var added_leaf_QMARK_ = (new cljs.core.Box(false)); -var node = (((self__.root == null))?cljs.core.BitmapIndexedNode.EMPTY:self__.root).inode_assoc_BANG_(self__.edit,(0),cljs.core.hash(k),k,v,added_leaf_QMARK_); -if((node === self__.root)){ -} else { -self__.root = node; -} - -if(added_leaf_QMARK_.val){ -self__.count = (self__.count + (1)); -} else { -} - -return tcoll; -} -} else { -throw (new Error("assoc! after persistent!")); -} -}); - -cljs.core.TransientHashMap.prototype.without_BANG_ = (function (k){ -var self__ = this; -var tcoll = this; -if(self__.edit){ -if((k == null)){ -if(self__.has_nil_QMARK_){ -self__.has_nil_QMARK_ = false; - -self__.nil_val = null; - -self__.count = (self__.count - (1)); - -return tcoll; -} else { -return tcoll; -} -} else { -if((self__.root == null)){ -return tcoll; -} else { -var removed_leaf_QMARK_ = (new cljs.core.Box(false)); -var node = self__.root.inode_without_BANG_(self__.edit,(0),cljs.core.hash(k),k,removed_leaf_QMARK_); -if((node === self__.root)){ -} else { -self__.root = node; -} - -if(removed_leaf_QMARK_.val){ -self__.count = (self__.count - (1)); -} else { -} - -return tcoll; -} -} -} else { -throw (new Error("dissoc! after persistent!")); -} -}); - -cljs.core.TransientHashMap.prototype.persistent_BANG_ = (function (){ -var self__ = this; -var tcoll = this; -if(self__.edit){ -self__.edit = null; - -return (new cljs.core.PersistentHashMap(null,self__.count,self__.root,self__.has_nil_QMARK_,self__.nil_val,null)); -} else { -throw (new Error("persistent! called twice")); -} -}); - -cljs.core.TransientHashMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if(self__.edit){ -return self__.count; -} else { -throw (new Error("count after persistent!")); -} -}); - -cljs.core.TransientHashMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (tcoll,k){ -var self__ = this; -var tcoll__$1 = this; -if((k == null)){ -if(self__.has_nil_QMARK_){ -return self__.nil_val; -} else { -return null; -} -} else { -if((self__.root == null)){ -return null; -} else { -return self__.root.inode_lookup((0),cljs.core.hash(k),k); -} -} -}); - -cljs.core.TransientHashMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (tcoll,k,not_found){ -var self__ = this; -var tcoll__$1 = this; -if((k == null)){ -if(self__.has_nil_QMARK_){ -return self__.nil_val; -} else { -return not_found; -} -} else { -if((self__.root == null)){ -return not_found; -} else { -return self__.root.inode_lookup((0),cljs.core.hash(k),k,not_found); -} -} -}); - -cljs.core.TransientHashMap.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,val){ -var self__ = this; -var tcoll__$1 = this; -return tcoll__$1.conj_BANG_(val); -}); - -cljs.core.TransientHashMap.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ -var self__ = this; -var tcoll__$1 = this; -return tcoll__$1.persistent_BANG_(); -}); - -cljs.core.TransientHashMap.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 = (function (tcoll,key,val){ -var self__ = this; -var tcoll__$1 = this; -return tcoll__$1.assoc_BANG_(key,val); -}); - -cljs.core.TransientHashMap.prototype.cljs$core$ITransientMap$_dissoc_BANG_$arity$2 = (function (tcoll,key){ -var self__ = this; -var tcoll__$1 = this; -return tcoll__$1.without_BANG_(key); -}); - -cljs.core.TransientHashMap.prototype.call = (function() { -var G__11909 = null; -var G__11909__2 = (function (self__,key){ -var self__ = this; -var self____$1 = this; -var tcoll = self____$1; -return tcoll.cljs$core$ILookup$_lookup$arity$2(null,key); -}); -var G__11909__3 = (function (self__,key,not_found){ -var self__ = this; -var self____$1 = this; -var tcoll = self____$1; -return tcoll.cljs$core$ILookup$_lookup$arity$3(null,key,not_found); -}); -G__11909 = function(self__,key,not_found){ -switch(arguments.length){ -case 2: -return G__11909__2.call(this,self__,key); -case 3: -return G__11909__3.call(this,self__,key,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11909.cljs$core$IFn$_invoke$arity$2 = G__11909__2; -G__11909.cljs$core$IFn$_invoke$arity$3 = G__11909__3; -return G__11909; -})() -; - -cljs.core.TransientHashMap.prototype.apply = (function (self__,args11906){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11906))); -}); - -cljs.core.TransientHashMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (key){ -var self__ = this; -var tcoll = this; -return tcoll.cljs$core$ILookup$_lookup$arity$2(null,key); -}); - -cljs.core.TransientHashMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (key,not_found){ -var self__ = this; -var tcoll = this; -return tcoll.cljs$core$ILookup$_lookup$arity$3(null,key,not_found); -}); - -cljs.core.TransientHashMap.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"edit","edit",-1302639,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null),new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"root","root",1191874074,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"count","count",-514511684,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"has-nil?","has-nil?",825886722,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null),new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"nil-val","nil-val",-513933559,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.TransientHashMap.cljs$lang$type = true; - -cljs.core.TransientHashMap.cljs$lang$ctorStr = "cljs.core/TransientHashMap"; - -cljs.core.TransientHashMap.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/TransientHashMap"); -}); - -/** - * Positional factory function for cljs.core/TransientHashMap. - */ -cljs.core.__GT_TransientHashMap = (function cljs$core$__GT_TransientHashMap(edit,root,count,has_nil_QMARK_,nil_val){ -return (new cljs.core.TransientHashMap(edit,root,count,has_nil_QMARK_,nil_val)); -}); - -cljs.core.tree_map_seq_push = (function cljs$core$tree_map_seq_push(node,stack,ascending_QMARK_){ -var t = node; -var stack__$1 = stack; -while(true){ -if((!((t == null)))){ -var G__11910 = ((ascending_QMARK_)?t.left:t.right); -var G__11911 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack__$1,t); -t = G__11910; -stack__$1 = G__11911; -continue; -} else { -return stack__$1; -} -break; -} -}); - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.PersistentTreeMapSeq = (function (meta,stack,ascending_QMARK_,cnt,__hash){ -this.meta = meta; -this.stack = stack; -this.ascending_QMARK_ = ascending_QMARK_; -this.cnt = cnt; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 32374990; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.PersistentTreeMapSeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentTreeMapSeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentTreeMapSeq.prototype.indexOf = (function() { -var G__11912 = null; -var G__11912__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11912__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11912 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11912__1.call(this,x); -case 2: -return G__11912__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11912.cljs$core$IFn$_invoke$arity$1 = G__11912__1; -G__11912.cljs$core$IFn$_invoke$arity$2 = G__11912__2; -return G__11912; -})() -; - -cljs.core.PersistentTreeMapSeq.prototype.lastIndexOf = (function() { -var G__11913 = null; -var G__11913__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11913__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11913 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11913__1.call(this,x); -case 2: -return G__11913__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11913.cljs$core$IFn$_invoke$arity$1 = G__11913__1; -G__11913.cljs$core$IFn$_invoke$arity$2 = G__11913__2; -return G__11913; -})() -; - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$INext$_next$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -var t = cljs.core.first(self__.stack); -var next_stack = cljs.core.tree_map_seq_push(((self__.ascending_QMARK_)?t.right:t.left),cljs.core.next(self__.stack),self__.ascending_QMARK_); -if((next_stack == null)){ -return null; -} else { -return (new cljs.core.PersistentTreeMapSeq(null,next_stack,self__.ascending_QMARK_,(self__.cnt - (1)),null)); -} -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt < (0))){ -return (cljs.core.count(cljs.core.next(coll__$1)) + (1)); -} else { -return self__.cnt; -} -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return cljs.core.peek(self__.stack); -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -var t = cljs.core.first(self__.stack); -var next_stack = cljs.core.tree_map_seq_push(((self__.ascending_QMARK_)?t.right:t.left),cljs.core.next(self__.stack),self__.ascending_QMARK_); -if((!((next_stack == null)))){ -return (new cljs.core.PersistentTreeMapSeq(null,next_stack,self__.ascending_QMARK_,(self__.cnt - (1)),null)); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return this$__$1; -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentTreeMapSeq(meta__$1,self__.stack,self__.ascending_QMARK_,self__.cnt,self__.__hash)); -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.PersistentTreeMapSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"stack","stack",847125597,null),cljs.core.with_meta(new cljs.core.Symbol(null,"ascending?","ascending?",-1938452653,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null)], null)),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.PersistentTreeMapSeq.cljs$lang$type = true; - -cljs.core.PersistentTreeMapSeq.cljs$lang$ctorStr = "cljs.core/PersistentTreeMapSeq"; - -cljs.core.PersistentTreeMapSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentTreeMapSeq"); -}); - -/** - * Positional factory function for cljs.core/PersistentTreeMapSeq. - */ -cljs.core.__GT_PersistentTreeMapSeq = (function cljs$core$__GT_PersistentTreeMapSeq(meta,stack,ascending_QMARK_,cnt,__hash){ -return (new cljs.core.PersistentTreeMapSeq(meta,stack,ascending_QMARK_,cnt,__hash)); -}); - -var G__11914_11917 = cljs.core.PersistentTreeMapSeq.prototype; -var G__11915_11918 = cljs.core.ITER_SYMBOL; -var G__11916_11919 = ((function (G__11914_11917,G__11915_11918){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11914_11917,G__11915_11918)) -; -goog.object.set(G__11914_11917,G__11915_11918,G__11916_11919); -cljs.core.create_tree_map_seq = (function cljs$core$create_tree_map_seq(tree,ascending_QMARK_,cnt){ -return (new cljs.core.PersistentTreeMapSeq(null,cljs.core.tree_map_seq_push(tree,null,ascending_QMARK_),ascending_QMARK_,cnt,null)); -}); - -cljs.core.balance_left = (function cljs$core$balance_left(key,val,ins,right){ -if((ins instanceof cljs.core.RedNode)){ -if((ins.left instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(ins.key,ins.val,ins.left.blacken(),(new cljs.core.BlackNode(key,val,ins.right,right,null)),null)); -} else { -if((ins.right instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(ins.right.key,ins.right.val,(new cljs.core.BlackNode(ins.key,ins.val,ins.left,ins.right.left,null)),(new cljs.core.BlackNode(key,val,ins.right.right,right,null)),null)); -} else { -return (new cljs.core.BlackNode(key,val,ins,right,null)); - -} -} -} else { -return (new cljs.core.BlackNode(key,val,ins,right,null)); -} -}); -cljs.core.balance_right = (function cljs$core$balance_right(key,val,left,ins){ -if((ins instanceof cljs.core.RedNode)){ -if((ins.right instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(ins.key,ins.val,(new cljs.core.BlackNode(key,val,left,ins.left,null)),ins.right.blacken(),null)); -} else { -if((ins.left instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(ins.left.key,ins.left.val,(new cljs.core.BlackNode(key,val,left,ins.left.left,null)),(new cljs.core.BlackNode(ins.key,ins.val,ins.left.right,ins.right,null)),null)); -} else { -return (new cljs.core.BlackNode(key,val,left,ins,null)); - -} -} -} else { -return (new cljs.core.BlackNode(key,val,left,ins,null)); -} -}); -cljs.core.balance_left_del = (function cljs$core$balance_left_del(key,val,del,right){ -if((del instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(key,val,del.blacken(),right,null)); -} else { -if((right instanceof cljs.core.BlackNode)){ -return cljs.core.balance_right(key,val,del,right.redden()); -} else { -if((((right instanceof cljs.core.RedNode)) && ((right.left instanceof cljs.core.BlackNode)))){ -return (new cljs.core.RedNode(right.left.key,right.left.val,(new cljs.core.BlackNode(key,val,del,right.left.left,null)),cljs.core.balance_right(right.key,right.val,right.left.right,right.right.redden()),null)); -} else { -throw (new Error("red-black tree invariant violation")); - -} -} -} -}); -cljs.core.balance_right_del = (function cljs$core$balance_right_del(key,val,left,del){ -if((del instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(key,val,left,del.blacken(),null)); -} else { -if((left instanceof cljs.core.BlackNode)){ -return cljs.core.balance_left(key,val,left.redden(),del); -} else { -if((((left instanceof cljs.core.RedNode)) && ((left.right instanceof cljs.core.BlackNode)))){ -return (new cljs.core.RedNode(left.right.key,left.right.val,cljs.core.balance_left(left.key,left.val,left.left.redden(),left.right.left),(new cljs.core.BlackNode(key,val,left.right.right,del,null)),null)); -} else { -throw (new Error("red-black tree invariant violation")); - -} -} -} -}); -cljs.core.tree_map_kv_reduce = (function cljs$core$tree_map_kv_reduce(node,f,init){ -var init__$1 = (((!((node.left == null))))?(function (){var G__11920 = node.left; -var G__11921 = f; -var G__11922 = init; -return (cljs.core.tree_map_kv_reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.tree_map_kv_reduce.cljs$core$IFn$_invoke$arity$3(G__11920,G__11921,G__11922) : cljs.core.tree_map_kv_reduce.call(null,G__11920,G__11921,G__11922)); -})():init); -if(cljs.core.reduced_QMARK_(init__$1)){ -return init__$1; -} else { -var init__$2 = (function (){var G__11923 = init__$1; -var G__11924 = node.key; -var G__11925 = node.val; -return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__11923,G__11924,G__11925) : f.call(null,G__11923,G__11924,G__11925)); -})(); -if(cljs.core.reduced_QMARK_(init__$2)){ -return init__$2; -} else { -if((!((node.right == null)))){ -var G__11926 = node.right; -var G__11927 = f; -var G__11928 = init__$2; -return (cljs.core.tree_map_kv_reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.tree_map_kv_reduce.cljs$core$IFn$_invoke$arity$3(G__11926,G__11927,G__11928) : cljs.core.tree_map_kv_reduce.call(null,G__11926,G__11927,G__11928)); -} else { -return init__$2; -} -} -} -}); - -/** -* @constructor - * @implements {cljs.core.IIndexed} - * @implements {cljs.core.IVector} - * @implements {cljs.core.IReversible} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IFind} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.IStack} - * @implements {cljs.core.IMapEntry} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IAssociative} - * @implements {cljs.core.ILookup} - * @implements {cljs.core.IReduce} -*/ -cljs.core.BlackNode = (function (key,val,left,right,__hash){ -this.key = key; -this.val = val; -this.left = left; -this.right = right; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 166619935; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.BlackNode.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.BlackNode.prototype.cljs$core$IFind$_find$arity$2 = (function (node,k){ -var self__ = this; -var node__$1 = this; -var G__11930 = k; -switch (G__11930) { -case (0): -return (new cljs.core.MapEntry((0),self__.key,null)); - -break; -case (1): -return (new cljs.core.MapEntry((1),self__.val,null)); - -break; -default: -return null; - -} -}); - -cljs.core.BlackNode.prototype.lastIndexOf = (function() { -var G__11932 = null; -var G__11932__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11932__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11932 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11932__1.call(this,x); -case 2: -return G__11932__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11932.cljs$core$IFn$_invoke$arity$1 = G__11932__1; -G__11932.cljs$core$IFn$_invoke$arity$2 = G__11932__2; -return G__11932; -})() -; - -cljs.core.BlackNode.prototype.indexOf = (function() { -var G__11933 = null; -var G__11933__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11933__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11933 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11933__1.call(this,x); -case 2: -return G__11933__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11933.cljs$core$IFn$_invoke$arity$1 = G__11933__1; -G__11933.cljs$core$IFn$_invoke$arity$2 = G__11933__2; -return G__11933; -})() -; - -cljs.core.BlackNode.prototype.add_right = (function (ins){ -var self__ = this; -var node = this; -return ins.balance_right(node); -}); - -cljs.core.BlackNode.prototype.redden = (function (){ -var self__ = this; -var node = this; -return (new cljs.core.RedNode(self__.key,self__.val,self__.left,self__.right,null)); -}); - -cljs.core.BlackNode.prototype.blacken = (function (){ -var self__ = this; -var node = this; -return node; -}); - -cljs.core.BlackNode.prototype.add_left = (function (ins){ -var self__ = this; -var node = this; -return ins.balance_left(node); -}); - -cljs.core.BlackNode.prototype.replace = (function (key__$1,val__$1,left__$1,right__$1){ -var self__ = this; -var node = this; -return (new cljs.core.BlackNode(key__$1,val__$1,left__$1,right__$1,null)); -}); - -cljs.core.BlackNode.prototype.balance_left = (function (parent){ -var self__ = this; -var node = this; -return (new cljs.core.BlackNode(parent.key,parent.val,node,parent.right,null)); -}); - -cljs.core.BlackNode.prototype.balance_right = (function (parent){ -var self__ = this; -var node = this; -return (new cljs.core.BlackNode(parent.key,parent.val,parent.left,node,null)); -}); - -cljs.core.BlackNode.prototype.remove_left = (function (del){ -var self__ = this; -var node = this; -return cljs.core.balance_left_del(self__.key,self__.val,del,self__.right); -}); - -cljs.core.BlackNode.prototype.kv_reduce = (function (f,init){ -var self__ = this; -var node = this; -return cljs.core.tree_map_kv_reduce(node,f,init); -}); - -cljs.core.BlackNode.prototype.remove_right = (function (del){ -var self__ = this; -var node = this; -return cljs.core.balance_right_del(self__.key,self__.val,self__.left,del); -}); - -cljs.core.BlackNode.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (node,k){ -var self__ = this; -var node__$1 = this; -return node__$1.cljs$core$IIndexed$_nth$arity$3(null,k,null); -}); - -cljs.core.BlackNode.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (node,k,not_found){ -var self__ = this; -var node__$1 = this; -return node__$1.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); - -cljs.core.BlackNode.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (node,n){ -var self__ = this; -var node__$1 = this; -if((n === (0))){ -return self__.key; -} else { -if((n === (1))){ -return self__.val; -} else { -throw (new Error("Index out of bounds")); - -} -} -}); - -cljs.core.BlackNode.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (node,n,not_found){ -var self__ = this; -var node__$1 = this; -if((n === (0))){ -return self__.key; -} else { -if((n === (1))){ -return self__.val; -} else { -return not_found; - -} -} -}); - -cljs.core.BlackNode.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (node,n,v){ -var self__ = this; -var node__$1 = this; -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null).cljs$core$IVector$_assoc_n$arity$3(null,n,v); -}); - -cljs.core.BlackNode.prototype.cljs$core$IMeta$_meta$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return null; -}); - -cljs.core.BlackNode.prototype.cljs$core$ICounted$_count$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return (2); -}); - -cljs.core.BlackNode.prototype.cljs$core$IMapEntry$_key$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return self__.key; -}); - -cljs.core.BlackNode.prototype.cljs$core$IMapEntry$_val$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return self__.val; -}); - -cljs.core.BlackNode.prototype.cljs$core$IStack$_peek$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return self__.val; -}); - -cljs.core.BlackNode.prototype.cljs$core$IStack$_pop$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key], null); -}); - -cljs.core.BlackNode.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return (new cljs.core.IndexedSeq([self__.val,self__.key],(0),null)); -}); - -cljs.core.BlackNode.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.BlackNode.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.BlackNode.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return null; -}); - -cljs.core.BlackNode.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (node,f){ -var self__ = this; -var node__$1 = this; -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(node__$1,f); -}); - -cljs.core.BlackNode.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (node,f,start){ -var self__ = this; -var node__$1 = this; -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(node__$1,f,start); -}); - -cljs.core.BlackNode.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (node,k,v){ -var self__ = this; -var node__$1 = this; -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),k,v); -}); - -cljs.core.BlackNode.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (node,k){ -var self__ = this; -var node__$1 = this; -return (((k === (0))) || ((k === (1)))); -}); - -cljs.core.BlackNode.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return (new cljs.core.IndexedSeq([self__.key,self__.val],(0),null)); -}); - -cljs.core.BlackNode.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (node,meta){ -var self__ = this; -var node__$1 = this; -return cljs.core._with_meta(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),meta); -}); - -cljs.core.BlackNode.prototype.cljs$core$ICollection$_conj$arity$2 = (function (node,o){ -var self__ = this; -var node__$1 = this; -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val,o], null); -}); - -cljs.core.BlackNode.prototype.call = (function() { -var G__11934 = null; -var G__11934__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var node = self____$1; -return node.cljs$core$IIndexed$_nth$arity$2(null,k); -}); -var G__11934__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var node = self____$1; -return node.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); -G__11934 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__11934__2.call(this,self__,k); -case 3: -return G__11934__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11934.cljs$core$IFn$_invoke$arity$2 = G__11934__2; -G__11934.cljs$core$IFn$_invoke$arity$3 = G__11934__3; -return G__11934; -})() -; - -cljs.core.BlackNode.prototype.apply = (function (self__,args11929){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11929))); -}); - -cljs.core.BlackNode.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var node = this; -return node.cljs$core$IIndexed$_nth$arity$2(null,k); -}); - -cljs.core.BlackNode.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var node = this; -return node.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); - -cljs.core.BlackNode.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"key","key",124488940,null),new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.Symbol(null,"left","left",1241415590,null),new cljs.core.Symbol(null,"right","right",1187949694,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.BlackNode.cljs$lang$type = true; - -cljs.core.BlackNode.cljs$lang$ctorStr = "cljs.core/BlackNode"; - -cljs.core.BlackNode.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/BlackNode"); -}); - -/** - * Positional factory function for cljs.core/BlackNode. - */ -cljs.core.__GT_BlackNode = (function cljs$core$__GT_BlackNode(key,val,left,right,__hash){ -return (new cljs.core.BlackNode(key,val,left,right,__hash)); -}); - -var G__11935_11938 = cljs.core.BlackNode.prototype; -var G__11936_11939 = cljs.core.ITER_SYMBOL; -var G__11937_11940 = ((function (G__11935_11938,G__11936_11939){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11935_11938,G__11936_11939)) -; -goog.object.set(G__11935_11938,G__11936_11939,G__11937_11940); - -/** -* @constructor - * @implements {cljs.core.IIndexed} - * @implements {cljs.core.IVector} - * @implements {cljs.core.IReversible} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IFind} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.IStack} - * @implements {cljs.core.IMapEntry} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IAssociative} - * @implements {cljs.core.ILookup} - * @implements {cljs.core.IReduce} -*/ -cljs.core.RedNode = (function (key,val,left,right,__hash){ -this.key = key; -this.val = val; -this.left = left; -this.right = right; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 166619935; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.RedNode.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.RedNode.prototype.cljs$core$IFind$_find$arity$2 = (function (node,k){ -var self__ = this; -var node__$1 = this; -var G__11942 = k; -switch (G__11942) { -case (0): -return (new cljs.core.MapEntry((0),self__.key,null)); - -break; -case (1): -return (new cljs.core.MapEntry((1),self__.val,null)); - -break; -default: -return null; - -} -}); - -cljs.core.RedNode.prototype.lastIndexOf = (function() { -var G__11944 = null; -var G__11944__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__11944__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11944 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11944__1.call(this,x); -case 2: -return G__11944__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11944.cljs$core$IFn$_invoke$arity$1 = G__11944__1; -G__11944.cljs$core$IFn$_invoke$arity$2 = G__11944__2; -return G__11944; -})() -; - -cljs.core.RedNode.prototype.indexOf = (function() { -var G__11945 = null; -var G__11945__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__11945__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__11945 = function(x,start){ -switch(arguments.length){ -case 1: -return G__11945__1.call(this,x); -case 2: -return G__11945__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__11945.cljs$core$IFn$_invoke$arity$1 = G__11945__1; -G__11945.cljs$core$IFn$_invoke$arity$2 = G__11945__2; -return G__11945; -})() -; - -cljs.core.RedNode.prototype.add_right = (function (ins){ -var self__ = this; -var node = this; -return (new cljs.core.RedNode(self__.key,self__.val,self__.left,ins,null)); -}); - -cljs.core.RedNode.prototype.redden = (function (){ -var self__ = this; -var node = this; -throw (new Error("red-black tree invariant violation")); -}); - -cljs.core.RedNode.prototype.blacken = (function (){ -var self__ = this; -var node = this; -return (new cljs.core.BlackNode(self__.key,self__.val,self__.left,self__.right,null)); -}); - -cljs.core.RedNode.prototype.add_left = (function (ins){ -var self__ = this; -var node = this; -return (new cljs.core.RedNode(self__.key,self__.val,ins,self__.right,null)); -}); - -cljs.core.RedNode.prototype.replace = (function (key__$1,val__$1,left__$1,right__$1){ -var self__ = this; -var node = this; -return (new cljs.core.RedNode(key__$1,val__$1,left__$1,right__$1,null)); -}); - -cljs.core.RedNode.prototype.balance_left = (function (parent){ -var self__ = this; -var node = this; -if((self__.left instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(self__.key,self__.val,self__.left.blacken(),(new cljs.core.BlackNode(parent.key,parent.val,self__.right,parent.right,null)),null)); -} else { -if((self__.right instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(self__.right.key,self__.right.val,(new cljs.core.BlackNode(self__.key,self__.val,self__.left,self__.right.left,null)),(new cljs.core.BlackNode(parent.key,parent.val,self__.right.right,parent.right,null)),null)); -} else { -return (new cljs.core.BlackNode(parent.key,parent.val,node,parent.right,null)); - -} -} -}); - -cljs.core.RedNode.prototype.balance_right = (function (parent){ -var self__ = this; -var node = this; -if((self__.right instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(self__.key,self__.val,(new cljs.core.BlackNode(parent.key,parent.val,parent.left,self__.left,null)),self__.right.blacken(),null)); -} else { -if((self__.left instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(self__.left.key,self__.left.val,(new cljs.core.BlackNode(parent.key,parent.val,parent.left,self__.left.left,null)),(new cljs.core.BlackNode(self__.key,self__.val,self__.left.right,self__.right,null)),null)); -} else { -return (new cljs.core.BlackNode(parent.key,parent.val,parent.left,node,null)); - -} -} -}); - -cljs.core.RedNode.prototype.remove_left = (function (del){ -var self__ = this; -var node = this; -return (new cljs.core.RedNode(self__.key,self__.val,del,self__.right,null)); -}); - -cljs.core.RedNode.prototype.kv_reduce = (function (f,init){ -var self__ = this; -var node = this; -return cljs.core.tree_map_kv_reduce(node,f,init); -}); - -cljs.core.RedNode.prototype.remove_right = (function (del){ -var self__ = this; -var node = this; -return (new cljs.core.RedNode(self__.key,self__.val,self__.left,del,null)); -}); - -cljs.core.RedNode.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (node,k){ -var self__ = this; -var node__$1 = this; -return node__$1.cljs$core$IIndexed$_nth$arity$3(null,k,null); -}); - -cljs.core.RedNode.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (node,k,not_found){ -var self__ = this; -var node__$1 = this; -return node__$1.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); - -cljs.core.RedNode.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (node,n){ -var self__ = this; -var node__$1 = this; -if((n === (0))){ -return self__.key; -} else { -if((n === (1))){ -return self__.val; -} else { -throw (new Error("Index out of bounds")); - -} -} -}); - -cljs.core.RedNode.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (node,n,not_found){ -var self__ = this; -var node__$1 = this; -if((n === (0))){ -return self__.key; -} else { -if((n === (1))){ -return self__.val; -} else { -return not_found; - -} -} -}); - -cljs.core.RedNode.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (node,n,v){ -var self__ = this; -var node__$1 = this; -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null).cljs$core$IVector$_assoc_n$arity$3(null,n,v); -}); - -cljs.core.RedNode.prototype.cljs$core$IMeta$_meta$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return null; -}); - -cljs.core.RedNode.prototype.cljs$core$ICounted$_count$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return (2); -}); - -cljs.core.RedNode.prototype.cljs$core$IMapEntry$_key$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return self__.key; -}); - -cljs.core.RedNode.prototype.cljs$core$IMapEntry$_val$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return self__.val; -}); - -cljs.core.RedNode.prototype.cljs$core$IStack$_peek$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return self__.val; -}); - -cljs.core.RedNode.prototype.cljs$core$IStack$_pop$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key], null); -}); - -cljs.core.RedNode.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return (new cljs.core.IndexedSeq([self__.val,self__.key],(0),null)); -}); - -cljs.core.RedNode.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.RedNode.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.RedNode.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return null; -}); - -cljs.core.RedNode.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (node,f){ -var self__ = this; -var node__$1 = this; -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(node__$1,f); -}); - -cljs.core.RedNode.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (node,f,start){ -var self__ = this; -var node__$1 = this; -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(node__$1,f,start); -}); - -cljs.core.RedNode.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (node,k,v){ -var self__ = this; -var node__$1 = this; -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),k,v); -}); - -cljs.core.RedNode.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (node,k){ -var self__ = this; -var node__$1 = this; -return (((k === (0))) || ((k === (1)))); -}); - -cljs.core.RedNode.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (node){ -var self__ = this; -var node__$1 = this; -return (new cljs.core.IndexedSeq([self__.key,self__.val],(0),null)); -}); - -cljs.core.RedNode.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (node,meta){ -var self__ = this; -var node__$1 = this; -return cljs.core._with_meta(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),meta); -}); - -cljs.core.RedNode.prototype.cljs$core$ICollection$_conj$arity$2 = (function (node,o){ -var self__ = this; -var node__$1 = this; -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val,o], null); -}); - -cljs.core.RedNode.prototype.call = (function() { -var G__11946 = null; -var G__11946__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var node = self____$1; -return node.cljs$core$IIndexed$_nth$arity$2(null,k); -}); -var G__11946__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var node = self____$1; -return node.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); -G__11946 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__11946__2.call(this,self__,k); -case 3: -return G__11946__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__11946.cljs$core$IFn$_invoke$arity$2 = G__11946__2; -G__11946.cljs$core$IFn$_invoke$arity$3 = G__11946__3; -return G__11946; -})() -; - -cljs.core.RedNode.prototype.apply = (function (self__,args11941){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11941))); -}); - -cljs.core.RedNode.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var node = this; -return node.cljs$core$IIndexed$_nth$arity$2(null,k); -}); - -cljs.core.RedNode.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var node = this; -return node.cljs$core$IIndexed$_nth$arity$3(null,k,not_found); -}); - -cljs.core.RedNode.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"key","key",124488940,null),new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.Symbol(null,"left","left",1241415590,null),new cljs.core.Symbol(null,"right","right",1187949694,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.RedNode.cljs$lang$type = true; - -cljs.core.RedNode.cljs$lang$ctorStr = "cljs.core/RedNode"; - -cljs.core.RedNode.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/RedNode"); -}); - -/** - * Positional factory function for cljs.core/RedNode. - */ -cljs.core.__GT_RedNode = (function cljs$core$__GT_RedNode(key,val,left,right,__hash){ -return (new cljs.core.RedNode(key,val,left,right,__hash)); -}); - -var G__11947_11950 = cljs.core.RedNode.prototype; -var G__11948_11951 = cljs.core.ITER_SYMBOL; -var G__11949_11952 = ((function (G__11947_11950,G__11948_11951){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__11947_11950,G__11948_11951)) -; -goog.object.set(G__11947_11950,G__11948_11951,G__11949_11952); -cljs.core.tree_map_add = (function cljs$core$tree_map_add(comp,tree,k,v,found){ -if((tree == null)){ -return (new cljs.core.RedNode(k,v,null,null,null)); -} else { -var c = (function (){var G__11953 = k; -var G__11954 = tree.key; -return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__11953,G__11954) : comp.call(null,G__11953,G__11954)); -})(); -if((c === (0))){ -(found[(0)] = tree); - -return null; -} else { -if((c < (0))){ -var ins = (function (){var G__11955 = comp; -var G__11956 = tree.left; -var G__11957 = k; -var G__11958 = v; -var G__11959 = found; -return (cljs.core.tree_map_add.cljs$core$IFn$_invoke$arity$5 ? cljs.core.tree_map_add.cljs$core$IFn$_invoke$arity$5(G__11955,G__11956,G__11957,G__11958,G__11959) : cljs.core.tree_map_add.call(null,G__11955,G__11956,G__11957,G__11958,G__11959)); -})(); -if((!((ins == null)))){ -return tree.add_left(ins); -} else { -return null; -} -} else { -var ins = (function (){var G__11960 = comp; -var G__11961 = tree.right; -var G__11962 = k; -var G__11963 = v; -var G__11964 = found; -return (cljs.core.tree_map_add.cljs$core$IFn$_invoke$arity$5 ? cljs.core.tree_map_add.cljs$core$IFn$_invoke$arity$5(G__11960,G__11961,G__11962,G__11963,G__11964) : cljs.core.tree_map_add.call(null,G__11960,G__11961,G__11962,G__11963,G__11964)); -})(); -if((!((ins == null)))){ -return tree.add_right(ins); -} else { -return null; -} - -} -} -} -}); -cljs.core.tree_map_append = (function cljs$core$tree_map_append(left,right){ -if((left == null)){ -return right; -} else { -if((right == null)){ -return left; -} else { -if((left instanceof cljs.core.RedNode)){ -if((right instanceof cljs.core.RedNode)){ -var app = (function (){var G__11965 = left.right; -var G__11966 = right.left; -return (cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2 ? cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2(G__11965,G__11966) : cljs.core.tree_map_append.call(null,G__11965,G__11966)); -})(); -if((app instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(app.key,app.val,(new cljs.core.RedNode(left.key,left.val,left.left,app.left,null)),(new cljs.core.RedNode(right.key,right.val,app.right,right.right,null)),null)); -} else { -return (new cljs.core.RedNode(left.key,left.val,left.left,(new cljs.core.RedNode(right.key,right.val,app,right.right,null)),null)); -} -} else { -return (new cljs.core.RedNode(left.key,left.val,left.left,(function (){var G__11967 = left.right; -var G__11968 = right; -return (cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2 ? cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2(G__11967,G__11968) : cljs.core.tree_map_append.call(null,G__11967,G__11968)); -})(),null)); -} -} else { -if((right instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(right.key,right.val,(function (){var G__11969 = left; -var G__11970 = right.left; -return (cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2 ? cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2(G__11969,G__11970) : cljs.core.tree_map_append.call(null,G__11969,G__11970)); -})(),right.right,null)); -} else { -var app = (function (){var G__11971 = left.right; -var G__11972 = right.left; -return (cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2 ? cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2(G__11971,G__11972) : cljs.core.tree_map_append.call(null,G__11971,G__11972)); -})(); -if((app instanceof cljs.core.RedNode)){ -return (new cljs.core.RedNode(app.key,app.val,(new cljs.core.BlackNode(left.key,left.val,left.left,app.left,null)),(new cljs.core.BlackNode(right.key,right.val,app.right,right.right,null)),null)); -} else { -return cljs.core.balance_left_del(left.key,left.val,left.left,(new cljs.core.BlackNode(right.key,right.val,app,right.right,null))); -} - -} -} -} -} -}); -cljs.core.tree_map_remove = (function cljs$core$tree_map_remove(comp,tree,k,found){ -if((!((tree == null)))){ -var c = (function (){var G__11973 = k; -var G__11974 = tree.key; -return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__11973,G__11974) : comp.call(null,G__11973,G__11974)); -})(); -if((c === (0))){ -(found[(0)] = tree); - -return cljs.core.tree_map_append(tree.left,tree.right); -} else { -if((c < (0))){ -var del = (function (){var G__11975 = comp; -var G__11976 = tree.left; -var G__11977 = k; -var G__11978 = found; -return (cljs.core.tree_map_remove.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tree_map_remove.cljs$core$IFn$_invoke$arity$4(G__11975,G__11976,G__11977,G__11978) : cljs.core.tree_map_remove.call(null,G__11975,G__11976,G__11977,G__11978)); -})(); -if((((!((del == null)))) || ((!(((found[(0)]) == null)))))){ -if((tree.left instanceof cljs.core.BlackNode)){ -return cljs.core.balance_left_del(tree.key,tree.val,del,tree.right); -} else { -return (new cljs.core.RedNode(tree.key,tree.val,del,tree.right,null)); -} -} else { -return null; -} -} else { -var del = (function (){var G__11979 = comp; -var G__11980 = tree.right; -var G__11981 = k; -var G__11982 = found; -return (cljs.core.tree_map_remove.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tree_map_remove.cljs$core$IFn$_invoke$arity$4(G__11979,G__11980,G__11981,G__11982) : cljs.core.tree_map_remove.call(null,G__11979,G__11980,G__11981,G__11982)); -})(); -if((((!((del == null)))) || ((!(((found[(0)]) == null)))))){ -if((tree.right instanceof cljs.core.BlackNode)){ -return cljs.core.balance_right_del(tree.key,tree.val,tree.left,del); -} else { -return (new cljs.core.RedNode(tree.key,tree.val,tree.left,del,null)); -} -} else { -return null; -} - -} -} -} else { -return null; -} -}); -cljs.core.tree_map_replace = (function cljs$core$tree_map_replace(comp,tree,k,v){ -var tk = tree.key; -var c = (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(k,tk) : comp.call(null,k,tk)); -if((c === (0))){ -return tree.replace(tk,v,tree.left,tree.right); -} else { -if((c < (0))){ -return tree.replace(tk,tree.val,(function (){var G__11983 = comp; -var G__11984 = tree.left; -var G__11985 = k; -var G__11986 = v; -return (cljs.core.tree_map_replace.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tree_map_replace.cljs$core$IFn$_invoke$arity$4(G__11983,G__11984,G__11985,G__11986) : cljs.core.tree_map_replace.call(null,G__11983,G__11984,G__11985,G__11986)); -})(),tree.right); -} else { -return tree.replace(tk,tree.val,tree.left,(function (){var G__11987 = comp; -var G__11988 = tree.right; -var G__11989 = k; -var G__11990 = v; -return (cljs.core.tree_map_replace.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tree_map_replace.cljs$core$IFn$_invoke$arity$4(G__11987,G__11988,G__11989,G__11990) : cljs.core.tree_map_replace.call(null,G__11987,G__11988,G__11989,G__11990)); -})()); - -} -} -}); - -/** -* @constructor - * @implements {cljs.core.IReversible} - * @implements {cljs.core.IKVReduce} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IFind} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISorted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IAssociative} - * @implements {cljs.core.IMap} - * @implements {cljs.core.ILookup} -*/ -cljs.core.PersistentTreeMap = (function (comp,tree,cnt,meta,__hash){ -this.comp = comp; -this.tree = tree; -this.cnt = cnt; -this.meta = meta; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 418776847; -this.cljs$lang$protocol_mask$partition1$ = 8192; -}); -cljs.core.PersistentTreeMap.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentTreeMap.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return coll__$1.entry_at(k); -}); - -cljs.core.PersistentTreeMap.prototype.forEach = (function (f){ -var self__ = this; -var coll = this; -var seq__11992 = cljs.core.seq(coll); -var chunk__11993 = null; -var count__11994 = (0); -var i__11995 = (0); -while(true){ -if((i__11995 < count__11994)){ -var vec__11996 = chunk__11993.cljs$core$IIndexed$_nth$arity$2(null,i__11995); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11996,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11996,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__12006 = seq__11992; -var G__12007 = chunk__11993; -var G__12008 = count__11994; -var G__12009 = (i__11995 + (1)); -seq__11992 = G__12006; -chunk__11993 = G__12007; -count__11994 = G__12008; -i__11995 = G__12009; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__11992); -if(temp__4657__auto__){ -var seq__11992__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__11992__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__11992__$1); -var G__12010 = cljs.core.chunk_rest(seq__11992__$1); -var G__12011 = c__8664__auto__; -var G__12012 = cljs.core.count(c__8664__auto__); -var G__12013 = (0); -seq__11992 = G__12010; -chunk__11993 = G__12011; -count__11994 = G__12012; -i__11995 = G__12013; -continue; -} else { -var vec__11999 = cljs.core.first(seq__11992__$1); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11999,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__11999,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__12014 = cljs.core.next(seq__11992__$1); -var G__12015 = null; -var G__12016 = (0); -var G__12017 = (0); -seq__11992 = G__12014; -chunk__11993 = G__12015; -count__11994 = G__12016; -i__11995 = G__12017; -continue; -} -} else { -return null; -} -} -break; -} -}); - -cljs.core.PersistentTreeMap.prototype.get = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.PersistentTreeMap.prototype.entries = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); -}); - -cljs.core.PersistentTreeMap.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentTreeMap.prototype.keys = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.keys(coll)); -}); - -cljs.core.PersistentTreeMap.prototype.values = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.vals(coll)); -}); - -cljs.core.PersistentTreeMap.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentTreeMap.prototype.entry_at = (function (k){ -var self__ = this; -var coll = this; -var t = self__.tree; -while(true){ -if((!((t == null)))){ -var c = (function (){var G__12002 = k; -var G__12003 = t.key; -return (self__.comp.cljs$core$IFn$_invoke$arity$2 ? self__.comp.cljs$core$IFn$_invoke$arity$2(G__12002,G__12003) : self__.comp.call(null,G__12002,G__12003)); -})(); -if((c === (0))){ -return t; -} else { -if((c < (0))){ -var G__12018 = t.left; -t = G__12018; -continue; -} else { -var G__12019 = t.right; -t = G__12019; -continue; - -} -} -} else { -return null; -} -break; -} -}); - -cljs.core.PersistentTreeMap.prototype.has = (function (k){ -var self__ = this; -var coll = this; -return cljs.core.contains_QMARK_(coll,k); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ILookup$_lookup$arity$3(null,k,null); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ -var self__ = this; -var coll__$1 = this; -var n = coll__$1.entry_at(k); -if((!((n == null)))){ -return n.val; -} else { -return not_found; -} -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ -var self__ = this; -var coll__$1 = this; -if((!((self__.tree == null)))){ -return cljs.core.unreduced(cljs.core.tree_map_kv_reduce(self__.tree,f,init)); -} else { -return init; -} -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.PersistentTreeMap(self__.comp,self__.tree,self__.cnt,self__.meta,self__.__hash)); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.cnt; -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt > (0))){ -return cljs.core.create_tree_map_seq(self__.tree,false,self__.cnt); -} else { -return null; -} -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_map(coll__$1,other); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentTreeMap(self__.comp,null,(0),self__.meta,(0))); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -var found = [null]; -var t = cljs.core.tree_map_remove(self__.comp,self__.tree,k,found); -if((t == null)){ -if((cljs.core.nth.cljs$core$IFn$_invoke$arity$2(found,(0)) == null)){ -return coll__$1; -} else { -return (new cljs.core.PersistentTreeMap(self__.comp,null,(0),self__.meta,null)); -} -} else { -return (new cljs.core.PersistentTreeMap(self__.comp,t.blacken(),(self__.cnt - (1)),self__.meta,null)); -} -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ -var self__ = this; -var coll__$1 = this; -var found = [null]; -var t = cljs.core.tree_map_add(self__.comp,self__.tree,k,v,found); -if((t == null)){ -var found_node = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(found,(0)); -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(v,found_node.val)){ -return coll__$1; -} else { -return (new cljs.core.PersistentTreeMap(self__.comp,cljs.core.tree_map_replace(self__.comp,self__.tree,k,v),self__.cnt,self__.meta,null)); -} -} else { -return (new cljs.core.PersistentTreeMap(self__.comp,t.blacken(),(self__.cnt + (1)),self__.meta,null)); -} -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ -var self__ = this; -var coll__$1 = this; -return (!((coll__$1.entry_at(k) == null))); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt > (0))){ -return cljs.core.create_tree_map_seq(self__.tree,true,self__.cnt); -} else { -return null; -} -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentTreeMap(self__.comp,self__.tree,self__.cnt,meta__$1,self__.__hash)); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,entry){ -var self__ = this; -var coll__$1 = this; -if(cljs.core.vector_QMARK_(entry)){ -return coll__$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(entry,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(entry,(1))); -} else { -var ret = coll__$1; -var es = cljs.core.seq(entry); -while(true){ -if((es == null)){ -return ret; -} else { -var e = cljs.core.first(es); -if(cljs.core.vector_QMARK_(e)){ -var G__12020 = ret.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(0)),cljs.core._nth.cljs$core$IFn$_invoke$arity$2(e,(1))); -var G__12021 = cljs.core.next(es); -ret = G__12020; -es = G__12021; -continue; -} else { -throw (new Error("conj on a map takes map entries or seqables of map entries")); -} -} -break; -} -} -}); - -cljs.core.PersistentTreeMap.prototype.call = (function() { -var G__12022 = null; -var G__12022__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); -var G__12022__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); -G__12022 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__12022__2.call(this,self__,k); -case 3: -return G__12022__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__12022.cljs$core$IFn$_invoke$arity$2 = G__12022__2; -G__12022.cljs$core$IFn$_invoke$arity$3 = G__12022__3; -return G__12022; -})() -; - -cljs.core.PersistentTreeMap.prototype.apply = (function (self__,args11991){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args11991))); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_sorted_seq$arity$2 = (function (coll,ascending_QMARK_){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt > (0))){ -return cljs.core.create_tree_map_seq(self__.tree,ascending_QMARK_,self__.cnt); -} else { -return null; -} -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_sorted_seq_from$arity$3 = (function (coll,k,ascending_QMARK_){ -var self__ = this; -var coll__$1 = this; -if((self__.cnt > (0))){ -var stack = null; -var t = self__.tree; -while(true){ -if((!((t == null)))){ -var c = (function (){var G__12004 = k; -var G__12005 = t.key; -return (self__.comp.cljs$core$IFn$_invoke$arity$2 ? self__.comp.cljs$core$IFn$_invoke$arity$2(G__12004,G__12005) : self__.comp.call(null,G__12004,G__12005)); -})(); -if((c === (0))){ -return (new cljs.core.PersistentTreeMapSeq(null,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t),ascending_QMARK_,(-1),null)); -} else { -if(cljs.core.truth_(ascending_QMARK_)){ -if((c < (0))){ -var G__12023 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t); -var G__12024 = t.left; -stack = G__12023; -t = G__12024; -continue; -} else { -var G__12025 = stack; -var G__12026 = t.right; -stack = G__12025; -t = G__12026; -continue; -} -} else { -if((c > (0))){ -var G__12027 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t); -var G__12028 = t.right; -stack = G__12027; -t = G__12028; -continue; -} else { -var G__12029 = stack; -var G__12030 = t.left; -stack = G__12029; -t = G__12030; -continue; -} - -} -} -} else { -if((stack == null)){ -return null; -} else { -return (new cljs.core.PersistentTreeMapSeq(null,stack,ascending_QMARK_,(-1),null)); -} -} -break; -} -} else { -return null; -} -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_entry_key$arity$2 = (function (coll,entry){ -var self__ = this; -var coll__$1 = this; -return cljs.core.key(entry); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_comparator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.comp; -}); - -cljs.core.PersistentTreeMap.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"comp","comp",-1462482139,null),new cljs.core.Symbol(null,"tree","tree",1444219499,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.PersistentTreeMap.cljs$lang$type = true; - -cljs.core.PersistentTreeMap.cljs$lang$ctorStr = "cljs.core/PersistentTreeMap"; - -cljs.core.PersistentTreeMap.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentTreeMap"); -}); - -/** - * Positional factory function for cljs.core/PersistentTreeMap. - */ -cljs.core.__GT_PersistentTreeMap = (function cljs$core$__GT_PersistentTreeMap(comp,tree,cnt,meta,__hash){ -return (new cljs.core.PersistentTreeMap(comp,tree,cnt,meta,__hash)); -}); - -cljs.core.PersistentTreeMap.EMPTY = (new cljs.core.PersistentTreeMap(cljs.core.compare,null,(0),null,cljs.core.empty_unordered_hash)); -var G__12031_12034 = cljs.core.PersistentTreeMap.prototype; -var G__12032_12035 = cljs.core.ITER_SYMBOL; -var G__12033_12036 = ((function (G__12031_12034,G__12032_12035){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__12031_12034,G__12032_12035)) -; -goog.object.set(G__12031_12034,G__12032_12035,G__12033_12036); -/** - * keyval => key val - * Returns a new hash map with supplied mappings. - */ -cljs.core.hash_map = (function cljs$core$hash_map(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12038 = arguments.length; -var i__9001__auto___12039 = (0); -while(true){ -if((i__9001__auto___12039 < len__9000__auto___12038)){ -args__9010__auto__.push((arguments[i__9001__auto___12039])); - -var G__12040 = (i__9001__auto___12039 + (1)); -i__9001__auto___12039 = G__12040; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.hash_map.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.hash_map.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ -var in$ = cljs.core.seq(keyvals); -var out = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); -while(true){ -if(in$){ -var G__12041 = cljs.core.nnext(in$); -var G__12042 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); -in$ = G__12041; -out = G__12042; -continue; -} else { -return cljs.core.persistent_BANG_(out); -} -break; -} -}); - -cljs.core.hash_map.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.hash_map.cljs$lang$applyTo = (function (seq12037){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12037)); -}); - -/** - * keyval => key val - * Returns a new array map with supplied mappings. - */ -cljs.core.array_map = (function cljs$core$array_map(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12044 = arguments.length; -var i__9001__auto___12045 = (0); -while(true){ -if((i__9001__auto___12045 < len__9000__auto___12044)){ -args__9010__auto__.push((arguments[i__9001__auto___12045])); - -var G__12046 = (i__9001__auto___12045 + (1)); -i__9001__auto___12045 = G__12046; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.array_map.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.array_map.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ -var arr = (((((keyvals instanceof cljs.core.IndexedSeq)) && ((keyvals.i === (0)))))?keyvals.arr:cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(keyvals)); -return cljs.core.PersistentArrayMap.createAsIfByAssoc(arr); -}); - -cljs.core.array_map.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.array_map.cljs$lang$applyTo = (function (seq12043){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12043)); -}); - -/** - * keyval => key val - * Returns a new object map with supplied mappings. - */ -cljs.core.obj_map = (function cljs$core$obj_map(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12053 = arguments.length; -var i__9001__auto___12054 = (0); -while(true){ -if((i__9001__auto___12054 < len__9000__auto___12053)){ -args__9010__auto__.push((arguments[i__9001__auto___12054])); - -var G__12055 = (i__9001__auto___12054 + (1)); -i__9001__auto___12054 = G__12055; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.obj_map.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.obj_map.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ -var ks = []; -var obj = {}; -var kvs = cljs.core.seq(keyvals); -while(true){ -if(kvs){ -ks.push(cljs.core.first(kvs)); - -var G__12050_12056 = obj; -var G__12051_12057 = cljs.core.first(kvs); -var G__12052_12058 = cljs.core.second(kvs); -goog.object.set(G__12050_12056,G__12051_12057,G__12052_12058); - -var G__12059 = cljs.core.nnext(kvs); -kvs = G__12059; -continue; -} else { -return cljs.core.ObjMap.fromObject(ks,obj); -} -break; -} -}); - -cljs.core.obj_map.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.obj_map.cljs$lang$applyTo = (function (seq12047){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12047)); -}); - -/** - * keyval => key val - * Returns a new sorted map with supplied mappings. - */ -cljs.core.sorted_map = (function cljs$core$sorted_map(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12061 = arguments.length; -var i__9001__auto___12062 = (0); -while(true){ -if((i__9001__auto___12062 < len__9000__auto___12061)){ -args__9010__auto__.push((arguments[i__9001__auto___12062])); - -var G__12063 = (i__9001__auto___12062 + (1)); -i__9001__auto___12062 = G__12063; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.sorted_map.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.sorted_map.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ -var in$ = cljs.core.seq(keyvals); -var out = cljs.core.PersistentTreeMap.EMPTY; -while(true){ -if(in$){ -var G__12064 = cljs.core.nnext(in$); -var G__12065 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); -in$ = G__12064; -out = G__12065; -continue; -} else { -return out; -} -break; -} -}); - -cljs.core.sorted_map.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.sorted_map.cljs$lang$applyTo = (function (seq12060){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12060)); -}); - -/** - * keyval => key val - * Returns a new sorted map with supplied mappings, using the supplied comparator. - */ -cljs.core.sorted_map_by = (function cljs$core$sorted_map_by(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12068 = arguments.length; -var i__9001__auto___12069 = (0); -while(true){ -if((i__9001__auto___12069 < len__9000__auto___12068)){ -args__9010__auto__.push((arguments[i__9001__auto___12069])); - -var G__12070 = (i__9001__auto___12069 + (1)); -i__9001__auto___12069 = G__12070; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((1) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((1)),(0),null)):null); -return cljs.core.sorted_map_by.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9011__auto__); -}); - -cljs.core.sorted_map_by.cljs$core$IFn$_invoke$arity$variadic = (function (comparator,keyvals){ -var in$ = cljs.core.seq(keyvals); -var out = (new cljs.core.PersistentTreeMap(cljs.core.fn__GT_comparator(comparator),null,(0),null,(0))); -while(true){ -if(in$){ -var G__12071 = cljs.core.nnext(in$); -var G__12072 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); -in$ = G__12071; -out = G__12072; -continue; -} else { -return out; -} -break; -} -}); - -cljs.core.sorted_map_by.cljs$lang$maxFixedArity = (1); - -/** @this {Function} */ -cljs.core.sorted_map_by.cljs$lang$applyTo = (function (seq12066){ -var G__12067 = cljs.core.first(seq12066); -var seq12066__$1 = cljs.core.next(seq12066); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12067,seq12066__$1); -}); - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.KeySeq = (function (mseq,_meta){ -this.mseq = mseq; -this._meta = _meta; -this.cljs$lang$protocol_mask$partition0$ = 32374988; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.KeySeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.KeySeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.KeySeq.prototype.indexOf = (function() { -var G__12075 = null; -var G__12075__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__12075__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__12075 = function(x,start){ -switch(arguments.length){ -case 1: -return G__12075__1.call(this,x); -case 2: -return G__12075__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12075.cljs$core$IFn$_invoke$arity$1 = G__12075__1; -G__12075.cljs$core$IFn$_invoke$arity$2 = G__12075__2; -return G__12075; -})() -; - -cljs.core.KeySeq.prototype.lastIndexOf = (function() { -var G__12076 = null; -var G__12076__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__12076__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__12076 = function(x,start){ -switch(arguments.length){ -case 1: -return G__12076__1.call(this,x); -case 2: -return G__12076__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12076.cljs$core$IFn$_invoke$arity$1 = G__12076__1; -G__12076.cljs$core$IFn$_invoke$arity$2 = G__12076__2; -return G__12076; -})() -; - -cljs.core.KeySeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__._meta; -}); - -cljs.core.KeySeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var nseq = (((((!((self__.mseq == null))))?(((((self__.mseq.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === self__.mseq.cljs$core$INext$))))?true:(((!self__.mseq.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq):false)):cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq)))?self__.mseq.cljs$core$INext$_next$arity$1(null):cljs.core.next(self__.mseq)); -if((nseq == null)){ -return null; -} else { -return (new cljs.core.KeySeq(nseq,self__._meta)); -} -}); - -cljs.core.KeySeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.hash_ordered_coll(coll__$1); -}); - -cljs.core.KeySeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.KeySeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__._meta); -}); - -cljs.core.KeySeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.KeySeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.KeySeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var me = self__.mseq.cljs$core$ISeq$_first$arity$1(null); -return me.cljs$core$IMapEntry$_key$arity$1(null); -}); - -cljs.core.KeySeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var nseq = (((((!((self__.mseq == null))))?(((((self__.mseq.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === self__.mseq.cljs$core$INext$))))?true:(((!self__.mseq.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq):false)):cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq)))?self__.mseq.cljs$core$INext$_next$arity$1(null):cljs.core.next(self__.mseq)); -if((!((nseq == null)))){ -return (new cljs.core.KeySeq(nseq,self__._meta)); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.KeySeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.KeySeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.KeySeq(self__.mseq,new_meta)); -}); - -cljs.core.KeySeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.KeySeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"mseq","mseq",1602647196,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"not-native","not-native",-236392494,null)], null)),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); -}); - -cljs.core.KeySeq.cljs$lang$type = true; - -cljs.core.KeySeq.cljs$lang$ctorStr = "cljs.core/KeySeq"; - -cljs.core.KeySeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/KeySeq"); -}); - -/** - * Positional factory function for cljs.core/KeySeq. - */ -cljs.core.__GT_KeySeq = (function cljs$core$__GT_KeySeq(mseq,_meta){ -return (new cljs.core.KeySeq(mseq,_meta)); -}); - -var G__12077_12080 = cljs.core.KeySeq.prototype; -var G__12078_12081 = cljs.core.ITER_SYMBOL; -var G__12079_12082 = ((function (G__12077_12080,G__12078_12081){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__12077_12080,G__12078_12081)) -; -goog.object.set(G__12077_12080,G__12078_12081,G__12079_12082); -/** - * Returns a sequence of the map's keys. - */ -cljs.core.keys = (function cljs$core$keys(hash_map){ -var temp__4657__auto__ = cljs.core.seq(hash_map); -if(temp__4657__auto__){ -var mseq = temp__4657__auto__; -return (new cljs.core.KeySeq(mseq,null)); -} else { -return null; -} -}); -/** - * Returns the key of the map entry. - */ -cljs.core.key = (function cljs$core$key(map_entry){ -return cljs.core._key(map_entry); -}); - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.ValSeq = (function (mseq,_meta){ -this.mseq = mseq; -this._meta = _meta; -this.cljs$lang$protocol_mask$partition0$ = 32374988; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.ValSeq.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.ValSeq.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.ValSeq.prototype.indexOf = (function() { -var G__12085 = null; -var G__12085__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__12085__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__12085 = function(x,start){ -switch(arguments.length){ -case 1: -return G__12085__1.call(this,x); -case 2: -return G__12085__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12085.cljs$core$IFn$_invoke$arity$1 = G__12085__1; -G__12085.cljs$core$IFn$_invoke$arity$2 = G__12085__2; -return G__12085; -})() -; - -cljs.core.ValSeq.prototype.lastIndexOf = (function() { -var G__12086 = null; -var G__12086__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__12086__2 = (function (x,start){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); -}); -G__12086 = function(x,start){ -switch(arguments.length){ -case 1: -return G__12086__1.call(this,x); -case 2: -return G__12086__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12086.cljs$core$IFn$_invoke$arity$1 = G__12086__1; -G__12086.cljs$core$IFn$_invoke$arity$2 = G__12086__2; -return G__12086; -})() -; - -cljs.core.ValSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__._meta; -}); - -cljs.core.ValSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var nseq = (((((!((self__.mseq == null))))?(((((self__.mseq.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === self__.mseq.cljs$core$INext$))))?true:(((!self__.mseq.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq):false)):cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq)))?self__.mseq.cljs$core$INext$_next$arity$1(null):cljs.core.next(self__.mseq)); -if((nseq == null)){ -return null; -} else { -return (new cljs.core.ValSeq(nseq,self__._meta)); -} -}); - -cljs.core.ValSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.hash_ordered_coll(coll__$1); -}); - -cljs.core.ValSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -return cljs.core.equiv_sequential(coll__$1,other); -}); - -cljs.core.ValSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__._meta); -}); - -cljs.core.ValSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); -}); - -cljs.core.ValSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); -}); - -cljs.core.ValSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var me = self__.mseq.cljs$core$ISeq$_first$arity$1(null); -return me.cljs$core$IMapEntry$_val$arity$1(null); -}); - -cljs.core.ValSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var nseq = (((((!((self__.mseq == null))))?(((((self__.mseq.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === self__.mseq.cljs$core$INext$))))?true:(((!self__.mseq.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq):false)):cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq)))?self__.mseq.cljs$core$INext$_next$arity$1(null):cljs.core.next(self__.mseq)); -if((!((nseq == null)))){ -return (new cljs.core.ValSeq(nseq,self__._meta)); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.ValSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return coll__$1; -}); - -cljs.core.ValSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.ValSeq(self__.mseq,new_meta)); -}); - -cljs.core.ValSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return cljs.core.cons(o,coll__$1); -}); - -cljs.core.ValSeq.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"mseq","mseq",1602647196,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"not-native","not-native",-236392494,null)], null)),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); -}); - -cljs.core.ValSeq.cljs$lang$type = true; - -cljs.core.ValSeq.cljs$lang$ctorStr = "cljs.core/ValSeq"; - -cljs.core.ValSeq.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ValSeq"); -}); - -/** - * Positional factory function for cljs.core/ValSeq. - */ -cljs.core.__GT_ValSeq = (function cljs$core$__GT_ValSeq(mseq,_meta){ -return (new cljs.core.ValSeq(mseq,_meta)); -}); - -var G__12087_12090 = cljs.core.ValSeq.prototype; -var G__12088_12091 = cljs.core.ITER_SYMBOL; -var G__12089_12092 = ((function (G__12087_12090,G__12088_12091){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__12087_12090,G__12088_12091)) -; -goog.object.set(G__12087_12090,G__12088_12091,G__12089_12092); -/** - * Returns a sequence of the map's values. - */ -cljs.core.vals = (function cljs$core$vals(hash_map){ -var temp__4657__auto__ = cljs.core.seq(hash_map); -if(temp__4657__auto__){ -var mseq = temp__4657__auto__; -return (new cljs.core.ValSeq(mseq,null)); -} else { -return null; -} -}); -/** - * Returns the value in the map entry. - */ -cljs.core.val = (function cljs$core$val(map_entry){ -return cljs.core._val(map_entry); -}); -/** - * Returns a map that consists of the rest of the maps conj-ed onto - * the first. If a key occurs in more than one map, the mapping from - * the latter (left-to-right) will be the mapping in the result. - */ -cljs.core.merge = (function cljs$core$merge(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12096 = arguments.length; -var i__9001__auto___12097 = (0); -while(true){ -if((i__9001__auto___12097 < len__9000__auto___12096)){ -args__9010__auto__.push((arguments[i__9001__auto___12097])); - -var G__12098 = (i__9001__auto___12097 + (1)); -i__9001__auto___12097 = G__12098; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic = (function (maps){ -if(cljs.core.truth_(cljs.core.some(cljs.core.identity,maps))){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$2((function (p1__12093_SHARP_,p2__12094_SHARP_){ -return cljs.core.conj.cljs$core$IFn$_invoke$arity$2((function (){var or__7806__auto__ = p1__12093_SHARP_; -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.PersistentArrayMap.EMPTY; -} -})(),p2__12094_SHARP_); -}),maps); -} else { -return null; -} -}); - -cljs.core.merge.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.merge.cljs$lang$applyTo = (function (seq12095){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12095)); -}); - -/** - * Returns a map that consists of the rest of the maps conj-ed onto - * the first. If a key occurs in more than one map, the mapping(s) - * from the latter (left-to-right) will be combined with the mapping in - * the result by calling (f val-in-result val-in-latter). - */ -cljs.core.merge_with = (function cljs$core$merge_with(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12103 = arguments.length; -var i__9001__auto___12104 = (0); -while(true){ -if((i__9001__auto___12104 < len__9000__auto___12103)){ -args__9010__auto__.push((arguments[i__9001__auto___12104])); - -var G__12105 = (i__9001__auto___12104 + (1)); -i__9001__auto___12104 = G__12105; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((1) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((1)),(0),null)):null); -return cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9011__auto__); -}); - -cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic = (function (f,maps){ -if(cljs.core.truth_(cljs.core.some(cljs.core.identity,maps))){ -var merge_entry = (function (m,e){ -var k = cljs.core.key(e); -var v = cljs.core.val(e); -if(cljs.core.contains_QMARK_(m,k)){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__12101 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); -var G__12102 = v; -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__12101,G__12102) : f.call(null,G__12101,G__12102)); -})()); -} else { -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,v); -} -}); -var merge2 = ((function (merge_entry){ -return (function (m1,m2){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(merge_entry,(function (){var or__7806__auto__ = m1; -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.PersistentArrayMap.EMPTY; -} -})(),cljs.core.seq(m2)); -});})(merge_entry)) -; -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$2(merge2,maps); -} else { -return null; -} -}); - -cljs.core.merge_with.cljs$lang$maxFixedArity = (1); - -/** @this {Function} */ -cljs.core.merge_with.cljs$lang$applyTo = (function (seq12099){ -var G__12100 = cljs.core.first(seq12099); -var seq12099__$1 = cljs.core.next(seq12099); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12100,seq12099__$1); -}); - -/** - * Returns a map containing only those entries in map whose key is in keys - */ -cljs.core.select_keys = (function cljs$core$select_keys(map,keyseq){ -var ret = cljs.core.PersistentArrayMap.EMPTY; -var keys = cljs.core.seq(keyseq); -while(true){ -if(keys){ -var key = cljs.core.first(keys); -var entry = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map,key,new cljs.core.Keyword("cljs.core","not-found","cljs.core/not-found",-1572889185)); -var G__12106 = ((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(entry,new cljs.core.Keyword("cljs.core","not-found","cljs.core/not-found",-1572889185)))?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,key,entry):ret); -var G__12107 = cljs.core.next(keys); -ret = G__12106; -keys = G__12107; -continue; -} else { -return cljs.core._with_meta(ret,cljs.core.meta(map)); -} -break; -} -}); - -/** -* @constructor -*/ -cljs.core.HashSetIter = (function (iter){ -this.iter = iter; -}); -cljs.core.HashSetIter.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -return self__.iter.hasNext(); -}); - -cljs.core.HashSetIter.prototype.next = (function (){ -var self__ = this; -var _ = this; -if(self__.iter.hasNext()){ -return self__.iter.next().key; -} else { -throw (new Error("No such element")); -} -}); - -cljs.core.HashSetIter.prototype.remove = (function (){ -var self__ = this; -var _ = this; -return (new Error("Unsupported operation")); -}); - -cljs.core.HashSetIter.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"iter","iter",-1346195486,null)], null); -}); - -cljs.core.HashSetIter.cljs$lang$type = true; - -cljs.core.HashSetIter.cljs$lang$ctorStr = "cljs.core/HashSetIter"; - -cljs.core.HashSetIter.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/HashSetIter"); -}); - -/** - * Positional factory function for cljs.core/HashSetIter. - */ -cljs.core.__GT_HashSetIter = (function cljs$core$__GT_HashSetIter(iter){ -return (new cljs.core.HashSetIter(iter)); -}); - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEditableCollection} - * @implements {cljs.core.ISet} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IIterable} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.ILookup} -*/ -cljs.core.PersistentHashSet = (function (meta,hash_map,__hash){ -this.meta = meta; -this.hash_map = hash_map; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 15077647; -this.cljs$lang$protocol_mask$partition1$ = 139268; -}); -cljs.core.PersistentHashSet.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentHashSet.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentHashSet.prototype.keys = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.seq(coll)); -}); - -cljs.core.PersistentHashSet.prototype.entries = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_set_entries_iterator(cljs.core.seq(coll)); -}); - -cljs.core.PersistentHashSet.prototype.values = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.seq(coll)); -}); - -cljs.core.PersistentHashSet.prototype.has = (function (k){ -var self__ = this; -var coll = this; -return cljs.core.contains_QMARK_(coll,k); -}); - -cljs.core.PersistentHashSet.prototype.forEach = (function (f){ -var self__ = this; -var coll = this; -var seq__12111 = cljs.core.seq(coll); -var chunk__12112 = null; -var count__12113 = (0); -var i__12114 = (0); -while(true){ -if((i__12114 < count__12113)){ -var vec__12115 = chunk__12112.cljs$core$IIndexed$_nth$arity$2(null,i__12114); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12115,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12115,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__12124 = seq__12111; -var G__12125 = chunk__12112; -var G__12126 = count__12113; -var G__12127 = (i__12114 + (1)); -seq__12111 = G__12124; -chunk__12112 = G__12125; -count__12113 = G__12126; -i__12114 = G__12127; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__12111); -if(temp__4657__auto__){ -var seq__12111__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__12111__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__12111__$1); -var G__12128 = cljs.core.chunk_rest(seq__12111__$1); -var G__12129 = c__8664__auto__; -var G__12130 = cljs.core.count(c__8664__auto__); -var G__12131 = (0); -seq__12111 = G__12128; -chunk__12112 = G__12129; -count__12113 = G__12130; -i__12114 = G__12131; -continue; -} else { -var vec__12118 = cljs.core.first(seq__12111__$1); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12118,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12118,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__12132 = cljs.core.next(seq__12111__$1); -var G__12133 = null; -var G__12134 = (0); -var G__12135 = (0); -seq__12111 = G__12132; -chunk__12112 = G__12133; -count__12113 = G__12134; -i__12114 = G__12135; -continue; -} -} else { -return null; -} -} -break; -} -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,v){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ILookup$_lookup$arity$3(null,v,null); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,v,not_found){ -var self__ = this; -var coll__$1 = this; -var temp__4655__auto__ = cljs.core._find(self__.hash_map,v); -if(cljs.core.truth_(temp__4655__auto__)){ -var entry = temp__4655__auto__; -return cljs.core.key(entry); -} else { -return not_found; -} -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.HashSetIter(cljs.core._iterator(self__.hash_map))); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.PersistentHashSet(self__.meta,self__.hash_map,self__.__hash)); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._count(self__.hash_map); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -var and__7791__auto__ = cljs.core.set_QMARK_(other); -if(and__7791__auto__){ -var and__7791__auto____$1 = (cljs.core.count(coll__$1) === cljs.core.count(other)); -if(and__7791__auto____$1){ -try{return cljs.core.reduce_kv(((function (and__7791__auto____$1,and__7791__auto__,coll__$1){ -return (function (p1__12109_SHARP_,p2__12108_SHARP_){ -var or__7806__auto__ = cljs.core.contains_QMARK_(other,p2__12108_SHARP_); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return cljs.core.reduced(false); -} -});})(and__7791__auto____$1,and__7791__auto__,coll__$1)) -,true,self__.hash_map); -}catch (e12123){if((e12123 instanceof Error)){ -var ex = e12123; -return false; -} else { -throw e12123; - -} -}} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.TransientHashSet(cljs.core._as_transient(self__.hash_map))); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._with_meta(cljs.core.PersistentHashSet.EMPTY,self__.meta); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$ISet$_disjoin$arity$2 = (function (coll,v){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentHashSet(self__.meta,cljs.core._dissoc(self__.hash_map,v),null)); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.keys(self__.hash_map); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentHashSet(meta__$1,self__.hash_map,self__.__hash)); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentHashSet(self__.meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.hash_map,o,null),null)); -}); - -cljs.core.PersistentHashSet.prototype.call = (function() { -var G__12136 = null; -var G__12136__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); -var G__12136__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); -G__12136 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__12136__2.call(this,self__,k); -case 3: -return G__12136__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__12136.cljs$core$IFn$_invoke$arity$2 = G__12136__2; -G__12136.cljs$core$IFn$_invoke$arity$3 = G__12136__3; -return G__12136; -})() -; - -cljs.core.PersistentHashSet.prototype.apply = (function (self__,args12110){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args12110))); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.PersistentHashSet.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"hash-map","hash-map",-439030950,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.PersistentHashSet.cljs$lang$type = true; - -cljs.core.PersistentHashSet.cljs$lang$ctorStr = "cljs.core/PersistentHashSet"; - -cljs.core.PersistentHashSet.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentHashSet"); -}); - -/** - * Positional factory function for cljs.core/PersistentHashSet. - */ -cljs.core.__GT_PersistentHashSet = (function cljs$core$__GT_PersistentHashSet(meta,hash_map,__hash){ -return (new cljs.core.PersistentHashSet(meta,hash_map,__hash)); -}); - -cljs.core.PersistentHashSet.EMPTY = (new cljs.core.PersistentHashSet(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.empty_unordered_hash)); -cljs.core.PersistentHashSet.fromArray = (function (items,no_clone){ -var len = items.length; -if((len <= cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD)){ -var arr = ((no_clone)?items:cljs.core.aclone(items)); -var i = (0); -var out = cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY); -while(true){ -if((i < len)){ -var G__12137 = (i + (1)); -var G__12138 = cljs.core._assoc_BANG_(out,(items[i]),null); -i = G__12137; -out = G__12138; -continue; -} else { -return (new cljs.core.PersistentHashSet(null,cljs.core._persistent_BANG_(out),null)); -} -break; -} -} else { -var i = (0); -var out = cljs.core.transient$(cljs.core.PersistentHashSet.EMPTY); -while(true){ -if((i < len)){ -var G__12139 = (i + (1)); -var G__12140 = cljs.core._conj_BANG_(out,(items[i])); -i = G__12139; -out = G__12140; -continue; -} else { -return cljs.core._persistent_BANG_(out); -} -break; -} -} -}); -cljs.core.PersistentHashSet.createWithCheck = (function (items){ -var len = items.length; -var t = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); -var n__8769__auto___12141 = len; -var i_12142 = (0); -while(true){ -if((i_12142 < n__8769__auto___12141)){ -cljs.core._conj_BANG_(t,(items[i_12142])); - -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(t),(i_12142 + (1)))){ -} else { -throw (new Error(["Duplicate key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((items[i_12142]))].join(''))); -} - -var G__12143 = (i_12142 + (1)); -i_12142 = G__12143; -continue; -} else { -} -break; -} - -return cljs.core._persistent_BANG_(t); -}); -cljs.core.PersistentHashSet.createAsIfByAssoc = (function (items){ -var len = items.length; -var t = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); -var n__8769__auto___12144 = len; -var i_12145 = (0); -while(true){ -if((i_12145 < n__8769__auto___12144)){ -cljs.core._conj_BANG_(t,(items[i_12145])); - -var G__12146 = (i_12145 + (1)); -i_12145 = G__12146; -continue; -} else { -} -break; -} - -return cljs.core._persistent_BANG_(t); -}); -var G__12147_12150 = cljs.core.PersistentHashSet.prototype; -var G__12148_12151 = cljs.core.ITER_SYMBOL; -var G__12149_12152 = ((function (G__12147_12150,G__12148_12151){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__12147_12150,G__12148_12151)) -; -goog.object.set(G__12147_12150,G__12148_12151,G__12149_12152); - -/** -* @constructor - * @implements {cljs.core.ITransientSet} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ITransientCollection} - * @implements {cljs.core.ILookup} -*/ -cljs.core.TransientHashSet = (function (transient_map){ -this.transient_map = transient_map; -this.cljs$lang$protocol_mask$partition1$ = 136; -this.cljs$lang$protocol_mask$partition0$ = 259; -}); -cljs.core.TransientHashSet.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,o){ -var self__ = this; -var tcoll__$1 = this; -self__.transient_map = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(self__.transient_map,o,null); - -return tcoll__$1; -}); - -cljs.core.TransientHashSet.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ -var self__ = this; -var tcoll__$1 = this; -return (new cljs.core.PersistentHashSet(null,cljs.core.persistent_BANG_(self__.transient_map),null)); -}); - -cljs.core.TransientHashSet.prototype.cljs$core$ITransientSet$_disjoin_BANG_$arity$2 = (function (tcoll,v){ -var self__ = this; -var tcoll__$1 = this; -self__.transient_map = cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2(self__.transient_map,v); - -return tcoll__$1; -}); - -cljs.core.TransientHashSet.prototype.cljs$core$ICounted$_count$arity$1 = (function (tcoll){ -var self__ = this; -var tcoll__$1 = this; -return cljs.core.count(self__.transient_map); -}); - -cljs.core.TransientHashSet.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (tcoll,v){ -var self__ = this; -var tcoll__$1 = this; -return tcoll__$1.cljs$core$ILookup$_lookup$arity$3(null,v,null); -}); - -cljs.core.TransientHashSet.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (tcoll,v,not_found){ -var self__ = this; -var tcoll__$1 = this; -if((cljs.core._lookup.cljs$core$IFn$_invoke$arity$3(self__.transient_map,v,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ -return not_found; -} else { -return v; -} -}); - -cljs.core.TransientHashSet.prototype.call = (function() { -var G__12154 = null; -var G__12154__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var tcoll = self____$1; -if((cljs.core._lookup.cljs$core$IFn$_invoke$arity$3(self__.transient_map,k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ -return null; -} else { -return k; -} -}); -var G__12154__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var tcoll = self____$1; -if((cljs.core._lookup.cljs$core$IFn$_invoke$arity$3(self__.transient_map,k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ -return not_found; -} else { -return k; -} -}); -G__12154 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__12154__2.call(this,self__,k); -case 3: -return G__12154__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__12154.cljs$core$IFn$_invoke$arity$2 = G__12154__2; -G__12154.cljs$core$IFn$_invoke$arity$3 = G__12154__3; -return G__12154; -})() -; - -cljs.core.TransientHashSet.prototype.apply = (function (self__,args12153){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args12153))); -}); - -cljs.core.TransientHashSet.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var tcoll = this; -if((cljs.core._lookup.cljs$core$IFn$_invoke$arity$3(self__.transient_map,k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ -return null; -} else { -return k; -} -}); - -cljs.core.TransientHashSet.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var tcoll = this; -if((cljs.core._lookup.cljs$core$IFn$_invoke$arity$3(self__.transient_map,k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ -return not_found; -} else { -return k; -} -}); - -cljs.core.TransientHashSet.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"transient-map","transient-map",351764893,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.TransientHashSet.cljs$lang$type = true; - -cljs.core.TransientHashSet.cljs$lang$ctorStr = "cljs.core/TransientHashSet"; - -cljs.core.TransientHashSet.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/TransientHashSet"); -}); - -/** - * Positional factory function for cljs.core/TransientHashSet. - */ -cljs.core.__GT_TransientHashSet = (function cljs$core$__GT_TransientHashSet(transient_map){ -return (new cljs.core.TransientHashSet(transient_map)); -}); - - -/** -* @constructor - * @implements {cljs.core.IReversible} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.ISet} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISorted} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.ILookup} -*/ -cljs.core.PersistentTreeSet = (function (meta,tree_map,__hash){ -this.meta = meta; -this.tree_map = tree_map; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 417730831; -this.cljs$lang$protocol_mask$partition1$ = 8192; -}); -cljs.core.PersistentTreeSet.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.PersistentTreeSet.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.PersistentTreeSet.prototype.keys = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.seq(coll)); -}); - -cljs.core.PersistentTreeSet.prototype.entries = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_set_entries_iterator(cljs.core.seq(coll)); -}); - -cljs.core.PersistentTreeSet.prototype.values = (function (){ -var self__ = this; -var coll = this; -return cljs.core.es6_iterator(cljs.core.seq(coll)); -}); - -cljs.core.PersistentTreeSet.prototype.has = (function (k){ -var self__ = this; -var coll = this; -return cljs.core.contains_QMARK_(coll,k); -}); - -cljs.core.PersistentTreeSet.prototype.forEach = (function (f){ -var self__ = this; -var coll = this; -var seq__12158 = cljs.core.seq(coll); -var chunk__12159 = null; -var count__12160 = (0); -var i__12161 = (0); -while(true){ -if((i__12161 < count__12160)){ -var vec__12162 = chunk__12159.cljs$core$IIndexed$_nth$arity$2(null,i__12161); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12162,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12162,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__12171 = seq__12158; -var G__12172 = chunk__12159; -var G__12173 = count__12160; -var G__12174 = (i__12161 + (1)); -seq__12158 = G__12171; -chunk__12159 = G__12172; -count__12160 = G__12173; -i__12161 = G__12174; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__12158); -if(temp__4657__auto__){ -var seq__12158__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__12158__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__12158__$1); -var G__12175 = cljs.core.chunk_rest(seq__12158__$1); -var G__12176 = c__8664__auto__; -var G__12177 = cljs.core.count(c__8664__auto__); -var G__12178 = (0); -seq__12158 = G__12175; -chunk__12159 = G__12176; -count__12160 = G__12177; -i__12161 = G__12178; -continue; -} else { -var vec__12165 = cljs.core.first(seq__12158__$1); -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12165,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12165,(1),null); -(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null,v,k)); - - -var G__12179 = cljs.core.next(seq__12158__$1); -var G__12180 = null; -var G__12181 = (0); -var G__12182 = (0); -seq__12158 = G__12179; -chunk__12159 = G__12180; -count__12160 = G__12181; -i__12161 = G__12182; -continue; -} -} else { -return null; -} -} -break; -} -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,v){ -var self__ = this; -var coll__$1 = this; -return coll__$1.cljs$core$ILookup$_lookup$arity$3(null,v,null); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,v,not_found){ -var self__ = this; -var coll__$1 = this; -var n = self__.tree_map.entry_at(v); -if((!((n == null)))){ -return n.key; -} else { -return not_found; -} -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return self__.meta; -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.PersistentTreeSet(self__.meta,self__.tree_map,self__.__hash)); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.count(self__.tree_map); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -if((cljs.core.count(self__.tree_map) > (0))){ -return cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.key,cljs.core.rseq(self__.tree_map)); -} else { -return null; -} -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ -var self__ = this; -var coll__$1 = this; -var and__7791__auto__ = cljs.core.set_QMARK_(other); -if(and__7791__auto__){ -var and__7791__auto____$1 = (cljs.core.count(coll__$1) === cljs.core.count(other)); -if(and__7791__auto____$1){ -try{return cljs.core.reduce_kv(((function (and__7791__auto____$1,and__7791__auto__,coll__$1){ -return (function (p1__12156_SHARP_,p2__12155_SHARP_){ -var or__7806__auto__ = cljs.core.contains_QMARK_(other,p2__12155_SHARP_); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return cljs.core.reduced(false); -} -});})(and__7791__auto____$1,and__7791__auto__,coll__$1)) -,true,self__.tree_map); -}catch (e12170){if((e12170 instanceof Error)){ -var ex = e12170; -return false; -} else { -throw e12170; - -} -}} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentTreeSet(self__.meta,cljs.core._empty(self__.tree_map),(0))); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ISet$_disjoin$arity$2 = (function (coll,v){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentTreeSet(self__.meta,cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.tree_map,v),null)); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core.keys(self__.tree_map); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,meta__$1){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentTreeSet(meta__$1,self__.tree_map,self__.__hash)); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ -var self__ = this; -var coll__$1 = this; -return (new cljs.core.PersistentTreeSet(self__.meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.tree_map,o,null),null)); -}); - -cljs.core.PersistentTreeSet.prototype.call = (function() { -var G__12183 = null; -var G__12183__2 = (function (self__,k){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); -var G__12183__3 = (function (self__,k,not_found){ -var self__ = this; -var self____$1 = this; -var coll = self____$1; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); -G__12183 = function(self__,k,not_found){ -switch(arguments.length){ -case 2: -return G__12183__2.call(this,self__,k); -case 3: -return G__12183__3.call(this,self__,k,not_found); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__12183.cljs$core$IFn$_invoke$arity$2 = G__12183__2; -G__12183.cljs$core$IFn$_invoke$arity$3 = G__12183__3; -return G__12183; -})() -; - -cljs.core.PersistentTreeSet.prototype.apply = (function (self__,args12157){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args12157))); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$2(null,k); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ -var self__ = this; -var coll = this; -return coll.cljs$core$ILookup$_lookup$arity$3(null,k,not_found); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ISorted$_sorted_seq$arity$2 = (function (coll,ascending_QMARK_){ -var self__ = this; -var coll__$1 = this; -return cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.key,cljs.core._sorted_seq(self__.tree_map,ascending_QMARK_)); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ISorted$_sorted_seq_from$arity$3 = (function (coll,k,ascending_QMARK_){ -var self__ = this; -var coll__$1 = this; -return cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.key,cljs.core._sorted_seq_from(self__.tree_map,k,ascending_QMARK_)); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ISorted$_entry_key$arity$2 = (function (coll,entry){ -var self__ = this; -var coll__$1 = this; -return entry; -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$ISorted$_comparator$arity$1 = (function (coll){ -var self__ = this; -var coll__$1 = this; -return cljs.core._comparator(self__.tree_map); -}); - -cljs.core.PersistentTreeSet.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"tree-map","tree-map",1373073049,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.PersistentTreeSet.cljs$lang$type = true; - -cljs.core.PersistentTreeSet.cljs$lang$ctorStr = "cljs.core/PersistentTreeSet"; - -cljs.core.PersistentTreeSet.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/PersistentTreeSet"); -}); - -/** - * Positional factory function for cljs.core/PersistentTreeSet. - */ -cljs.core.__GT_PersistentTreeSet = (function cljs$core$__GT_PersistentTreeSet(meta,tree_map,__hash){ -return (new cljs.core.PersistentTreeSet(meta,tree_map,__hash)); -}); - -cljs.core.PersistentTreeSet.EMPTY = (new cljs.core.PersistentTreeSet(null,cljs.core.PersistentTreeMap.EMPTY,cljs.core.empty_unordered_hash)); -var G__12184_12187 = cljs.core.PersistentTreeSet.prototype; -var G__12185_12188 = cljs.core.ITER_SYMBOL; -var G__12186_12189 = ((function (G__12184_12187,G__12185_12188){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__12184_12187,G__12185_12188)) -; -goog.object.set(G__12184_12187,G__12185_12188,G__12186_12189); -cljs.core.set_from_indexed_seq = (function cljs$core$set_from_indexed_seq(iseq){ -var arr = iseq.arr; -var ret = (function (){var a__8762__auto__ = arr; -var l__8763__auto__ = a__8762__auto__.length; -var i = (0); -var res = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); -while(true){ -if((i < l__8763__auto__)){ -var G__12190 = (i + (1)); -var G__12191 = res.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null,(arr[i])); -i = G__12190; -res = G__12191; -continue; -} else { -return res; -} -break; -} -})(); -return ret.cljs$core$ITransientCollection$_persistent_BANG_$arity$1(null); -}); -/** - * Returns a set of the distinct elements of coll. - */ -cljs.core.set = (function cljs$core$set(coll){ -if(cljs.core.set_QMARK_(coll)){ -return cljs.core.with_meta(coll,null); -} else { -var in$ = cljs.core.seq(coll); -if((in$ == null)){ -return cljs.core.PersistentHashSet.EMPTY; -} else { -if((((in$ instanceof cljs.core.IndexedSeq)) && ((in$.i === (0))))){ -return cljs.core.PersistentHashSet.createAsIfByAssoc(in$.arr); -} else { -var in$__$1 = in$; -var out = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); -while(true){ -if((!((in$__$1 == null)))){ -var G__12192 = cljs.core.next(in$__$1); -var G__12193 = out.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null,in$__$1.cljs$core$ISeq$_first$arity$1(null)); -in$__$1 = G__12192; -out = G__12193; -continue; -} else { -return cljs.core.persistent_BANG_(out); -} -break; -} - -} -} -} -}); -/** - * Returns a new hash set with supplied keys. Any equal keys are - * handled as if by repeated uses of conj. - */ -cljs.core.hash_set = (function cljs$core$hash_set(var_args){ -var G__12196 = arguments.length; -switch (G__12196) { -case 0: -return cljs.core.hash_set.cljs$core$IFn$_invoke$arity$0(); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___12198 = arguments.length; -var i__9001__auto___12199 = (0); -while(true){ -if((i__9001__auto___12199 < len__9000__auto___12198)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___12199])); - -var G__12200 = (i__9001__auto___12199 + (1)); -i__9001__auto___12199 = G__12200; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((0)),(0),null)); -return cljs.core.hash_set.cljs$core$IFn$_invoke$arity$variadic(argseq__9026__auto__); - -} -}); - -cljs.core.hash_set.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.PersistentHashSet.EMPTY; -}); - -cljs.core.hash_set.cljs$core$IFn$_invoke$arity$variadic = (function (keys){ -return cljs.core.set(keys); -}); - -/** @this {Function} */ -cljs.core.hash_set.cljs$lang$applyTo = (function (seq12195){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12195)); -}); - -cljs.core.hash_set.cljs$lang$maxFixedArity = (0); - -/** - * Returns a new sorted set with supplied keys. - */ -cljs.core.sorted_set = (function cljs$core$sorted_set(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12202 = arguments.length; -var i__9001__auto___12203 = (0); -while(true){ -if((i__9001__auto___12203 < len__9000__auto___12202)){ -args__9010__auto__.push((arguments[i__9001__auto___12203])); - -var G__12204 = (i__9001__auto___12203 + (1)); -i__9001__auto___12203 = G__12204; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.sorted_set.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.sorted_set.cljs$core$IFn$_invoke$arity$variadic = (function (keys){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,cljs.core.PersistentTreeSet.EMPTY,keys); -}); - -cljs.core.sorted_set.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.sorted_set.cljs$lang$applyTo = (function (seq12201){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12201)); -}); - -/** - * Returns a new sorted set with supplied keys, using the supplied comparator. - */ -cljs.core.sorted_set_by = (function cljs$core$sorted_set_by(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12207 = arguments.length; -var i__9001__auto___12208 = (0); -while(true){ -if((i__9001__auto___12208 < len__9000__auto___12207)){ -args__9010__auto__.push((arguments[i__9001__auto___12208])); - -var G__12209 = (i__9001__auto___12208 + (1)); -i__9001__auto___12208 = G__12209; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((1) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((1)),(0),null)):null); -return cljs.core.sorted_set_by.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9011__auto__); -}); - -cljs.core.sorted_set_by.cljs$core$IFn$_invoke$arity$variadic = (function (comparator,keys){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,(new cljs.core.PersistentTreeSet(null,cljs.core.sorted_map_by(comparator),(0))),keys); -}); - -cljs.core.sorted_set_by.cljs$lang$maxFixedArity = (1); - -/** @this {Function} */ -cljs.core.sorted_set_by.cljs$lang$applyTo = (function (seq12205){ -var G__12206 = cljs.core.first(seq12205); -var seq12205__$1 = cljs.core.next(seq12205); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12206,seq12205__$1); -}); - -/** - * Given a map of replacement pairs and a vector/collection, returns a - * vector/seq with any elements = a key in smap replaced with the - * corresponding val in smap. Returns a transducer when no collection - * is provided. - */ -cljs.core.replace = (function cljs$core$replace(var_args){ -var G__12213 = arguments.length; -switch (G__12213) { -case 1: -return cljs.core.replace.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.replace.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.replace.cljs$core$IFn$_invoke$arity$1 = (function (smap){ -return cljs.core.map.cljs$core$IFn$_invoke$arity$1((function (p1__12210_SHARP_){ -var temp__4655__auto__ = cljs.core.find(smap,p1__12210_SHARP_); -if(cljs.core.truth_(temp__4655__auto__)){ -var e = temp__4655__auto__; -return cljs.core.val(e); -} else { -return p1__12210_SHARP_; -} -})); -}); - -cljs.core.replace.cljs$core$IFn$_invoke$arity$2 = (function (smap,coll){ -if(cljs.core.vector_QMARK_(coll)){ -var n = cljs.core.count(coll); -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (n){ -return (function (v,i){ -var temp__4655__auto__ = cljs.core.find(smap,cljs.core.nth.cljs$core$IFn$_invoke$arity$2(v,i)); -if(cljs.core.truth_(temp__4655__auto__)){ -var e = temp__4655__auto__; -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(v,i,cljs.core.second(e)); -} else { -return v; -} -});})(n)) -,coll,cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.iterate(cljs.core.inc,(0)))); -} else { -return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__12211_SHARP_){ -var temp__4655__auto__ = cljs.core.find(smap,p1__12211_SHARP_); -if(cljs.core.truth_(temp__4655__auto__)){ -var e = temp__4655__auto__; -return cljs.core.second(e); -} else { -return p1__12211_SHARP_; -} -}),coll); -} -}); - -cljs.core.replace.cljs$lang$maxFixedArity = 2; - -/** - * Returns a lazy sequence of the elements of coll with duplicates removed. - * Returns a stateful transducer when no collection is provided. - */ -cljs.core.distinct = (function cljs$core$distinct(var_args){ -var G__12216 = arguments.length; -switch (G__12216) { -case 0: -return cljs.core.distinct.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.distinct.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.distinct.cljs$core$IFn$_invoke$arity$0 = (function (){ -return (function (rf){ -var seen = cljs.core.volatile_BANG_(cljs.core.PersistentHashSet.EMPTY); -return ((function (seen){ -return (function() { -var G__12227 = null; -var G__12227__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__12227__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__12227__2 = (function (result,input){ -if(cljs.core.contains_QMARK_(cljs.core.deref(seen),input)){ -return result; -} else { -seen.cljs$core$IVolatile$_vreset_BANG_$arity$2(null,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(seen.cljs$core$IDeref$_deref$arity$1(null),input)); - -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); -} -}); -G__12227 = function(result,input){ -switch(arguments.length){ -case 0: -return G__12227__0.call(this); -case 1: -return G__12227__1.call(this,result); -case 2: -return G__12227__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12227.cljs$core$IFn$_invoke$arity$0 = G__12227__0; -G__12227.cljs$core$IFn$_invoke$arity$1 = G__12227__1; -G__12227.cljs$core$IFn$_invoke$arity$2 = G__12227__2; -return G__12227; -})() -;})(seen)) -}); -}); - -cljs.core.distinct.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -var step = (function cljs$core$step(xs,seen){ -return (new cljs.core.LazySeq(null,(function (){ -var fexpr__12221 = (function (p__12222,seen__$1){ -while(true){ -var vec__12223 = p__12222; -var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12223,(0),null); -var xs__$1 = vec__12223; -var temp__4657__auto__ = cljs.core.seq(xs__$1); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -if(cljs.core.contains_QMARK_(seen__$1,f)){ -var G__12228 = cljs.core.rest(s); -var G__12229 = seen__$1; -p__12222 = G__12228; -seen__$1 = G__12229; -continue; -} else { -return cljs.core.cons(f,cljs$core$step(cljs.core.rest(s),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(seen__$1,f))); -} -} else { -return null; -} -break; -} -}); -return fexpr__12221(xs,seen); -}),null,null)); -}); -return step(coll,cljs.core.PersistentHashSet.EMPTY); -}); - -cljs.core.distinct.cljs$lang$maxFixedArity = 1; - -/** - * Return a seq of all but the last item in coll, in linear time - */ -cljs.core.butlast = (function cljs$core$butlast(s){ -var ret = cljs.core.PersistentVector.EMPTY; -var s__$1 = s; -while(true){ -if(cljs.core.next(s__$1)){ -var G__12230 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,cljs.core.first(s__$1)); -var G__12231 = cljs.core.next(s__$1); -ret = G__12230; -s__$1 = G__12231; -continue; -} else { -return cljs.core.seq(ret); -} -break; -} -}); -/** - * Returns the name String of a string, symbol or keyword. - */ -cljs.core.name = (function cljs$core$name(x){ -if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition1$ & (4096))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$INamed$))))?true:false):false)){ -return x.cljs$core$INamed$_name$arity$1(null); -} else { -if(typeof x === 'string'){ -return x; -} else { -throw (new Error(["Doesn't support name: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join(''))); -} -} -}); -/** - * Returns a map with the keys mapped to the corresponding vals. - */ -cljs.core.zipmap = (function cljs$core$zipmap(keys,vals){ -var map = cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY); -var ks = cljs.core.seq(keys); -var vs = cljs.core.seq(vals); -while(true){ -if(((ks) && (vs))){ -var G__12233 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(map,cljs.core.first(ks),cljs.core.first(vs)); -var G__12234 = cljs.core.next(ks); -var G__12235 = cljs.core.next(vs); -map = G__12233; -ks = G__12234; -vs = G__12235; -continue; -} else { -return cljs.core.persistent_BANG_(map); -} -break; -} -}); -/** - * Returns the x for which (k x), a number, is greatest. - * - * If there are multiple such xs, the last one is returned. - */ -cljs.core.max_key = (function cljs$core$max_key(var_args){ -var G__12243 = arguments.length; -switch (G__12243) { -case 2: -return cljs.core.max_key.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.max_key.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___12245 = arguments.length; -var i__9001__auto___12246 = (0); -while(true){ -if((i__9001__auto___12246 < len__9000__auto___12245)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___12246])); - -var G__12247 = (i__9001__auto___12246 + (1)); -i__9001__auto___12246 = G__12247; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.max_key.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.max_key.cljs$core$IFn$_invoke$arity$2 = (function (k,x){ -return x; -}); - -cljs.core.max_key.cljs$core$IFn$_invoke$arity$3 = (function (k,x,y){ -if(((k.cljs$core$IFn$_invoke$arity$1 ? k.cljs$core$IFn$_invoke$arity$1(x) : k.call(null,x)) > (k.cljs$core$IFn$_invoke$arity$1 ? k.cljs$core$IFn$_invoke$arity$1(y) : k.call(null,y)))){ -return x; -} else { -return y; -} -}); - -cljs.core.max_key.cljs$core$IFn$_invoke$arity$variadic = (function (k,x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__12236_SHARP_,p2__12237_SHARP_){ -return cljs.core.max_key.cljs$core$IFn$_invoke$arity$3(k,p1__12236_SHARP_,p2__12237_SHARP_); -}),cljs.core.max_key.cljs$core$IFn$_invoke$arity$3(k,x,y),more); -}); - -/** @this {Function} */ -cljs.core.max_key.cljs$lang$applyTo = (function (seq12239){ -var G__12240 = cljs.core.first(seq12239); -var seq12239__$1 = cljs.core.next(seq12239); -var G__12241 = cljs.core.first(seq12239__$1); -var seq12239__$2 = cljs.core.next(seq12239__$1); -var G__12242 = cljs.core.first(seq12239__$2); -var seq12239__$3 = cljs.core.next(seq12239__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12240,G__12241,G__12242,seq12239__$3); -}); - -cljs.core.max_key.cljs$lang$maxFixedArity = (3); - -/** - * Returns the x for which (k x), a number, is least. - * - * If there are multiple such xs, the last one is returned. - */ -cljs.core.min_key = (function cljs$core$min_key(var_args){ -var G__12255 = arguments.length; -switch (G__12255) { -case 2: -return cljs.core.min_key.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.min_key.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___12257 = arguments.length; -var i__9001__auto___12258 = (0); -while(true){ -if((i__9001__auto___12258 < len__9000__auto___12257)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___12258])); - -var G__12259 = (i__9001__auto___12258 + (1)); -i__9001__auto___12258 = G__12259; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.min_key.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.min_key.cljs$core$IFn$_invoke$arity$2 = (function (k,x){ -return x; -}); - -cljs.core.min_key.cljs$core$IFn$_invoke$arity$3 = (function (k,x,y){ -if(((k.cljs$core$IFn$_invoke$arity$1 ? k.cljs$core$IFn$_invoke$arity$1(x) : k.call(null,x)) < (k.cljs$core$IFn$_invoke$arity$1 ? k.cljs$core$IFn$_invoke$arity$1(y) : k.call(null,y)))){ -return x; -} else { -return y; -} -}); - -cljs.core.min_key.cljs$core$IFn$_invoke$arity$variadic = (function (k,x,y,more){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__12248_SHARP_,p2__12249_SHARP_){ -return cljs.core.min_key.cljs$core$IFn$_invoke$arity$3(k,p1__12248_SHARP_,p2__12249_SHARP_); -}),cljs.core.min_key.cljs$core$IFn$_invoke$arity$3(k,x,y),more); -}); - -/** @this {Function} */ -cljs.core.min_key.cljs$lang$applyTo = (function (seq12251){ -var G__12252 = cljs.core.first(seq12251); -var seq12251__$1 = cljs.core.next(seq12251); -var G__12253 = cljs.core.first(seq12251__$1); -var seq12251__$2 = cljs.core.next(seq12251__$1); -var G__12254 = cljs.core.first(seq12251__$2); -var seq12251__$3 = cljs.core.next(seq12251__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12252,G__12253,G__12254,seq12251__$3); -}); - -cljs.core.min_key.cljs$lang$maxFixedArity = (3); - - -/** -* @constructor -*/ -cljs.core.ArrayList = (function (arr){ -this.arr = arr; -}); -cljs.core.ArrayList.prototype.add = (function (x){ -var self__ = this; -var _ = this; -return self__.arr.push(x); -}); - -cljs.core.ArrayList.prototype.size = (function (){ -var self__ = this; -var _ = this; -return self__.arr.length; -}); - -cljs.core.ArrayList.prototype.clear = (function (){ -var self__ = this; -var _ = this; -return self__.arr = []; -}); - -cljs.core.ArrayList.prototype.isEmpty = (function (){ -var self__ = this; -var _ = this; -return (self__.arr.length === (0)); -}); - -cljs.core.ArrayList.prototype.toArray = (function (){ -var self__ = this; -var _ = this; -return self__.arr; -}); - -cljs.core.ArrayList.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.ArrayList.cljs$lang$type = true; - -cljs.core.ArrayList.cljs$lang$ctorStr = "cljs.core/ArrayList"; - -cljs.core.ArrayList.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/ArrayList"); -}); - -/** - * Positional factory function for cljs.core/ArrayList. - */ -cljs.core.__GT_ArrayList = (function cljs$core$__GT_ArrayList(arr){ -return (new cljs.core.ArrayList(arr)); -}); - -cljs.core.array_list = (function cljs$core$array_list(){ -return (new cljs.core.ArrayList([])); -}); -/** - * Returns a lazy sequence of lists like partition, but may include - * partitions with fewer than n items at the end. Returns a stateful - * transducer when no collection is provided. - */ -cljs.core.partition_all = (function cljs$core$partition_all(var_args){ -var G__12261 = arguments.length; -switch (G__12261) { -case 1: -return cljs.core.partition_all.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.partition_all.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.partition_all.cljs$core$IFn$_invoke$arity$1 = (function (n){ -return (function (rf){ -var a = cljs.core.array_list(); -return ((function (a){ -return (function() { -var G__12263 = null; -var G__12263__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__12263__1 = (function (result){ -var result__$1 = (cljs.core.truth_(a.isEmpty())?result:(function (){var v = cljs.core.vec(a.toArray()); -a.clear(); - -return cljs.core.unreduced((rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null,result,v))); -})()); -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result__$1) : rf.call(null,result__$1)); -}); -var G__12263__2 = (function (result,input){ -a.add(input); - -if((n === a.size())){ -var v = cljs.core.vec(a.toArray()); -a.clear(); - -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null,result,v)); -} else { -return result; -} -}); -G__12263 = function(result,input){ -switch(arguments.length){ -case 0: -return G__12263__0.call(this); -case 1: -return G__12263__1.call(this,result); -case 2: -return G__12263__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12263.cljs$core$IFn$_invoke$arity$0 = G__12263__0; -G__12263.cljs$core$IFn$_invoke$arity$1 = G__12263__1; -G__12263.cljs$core$IFn$_invoke$arity$2 = G__12263__2; -return G__12263; -})() -;})(a)) -}); -}); - -cljs.core.partition_all.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ -return cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3(n,n,coll); -}); - -cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3 = (function (n,step,coll){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -return cljs.core.cons(cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,s),cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3(n,step,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(step,s))); -} else { -return null; -} -}),null,null)); -}); - -cljs.core.partition_all.cljs$lang$maxFixedArity = 3; - -/** - * Returns a lazy sequence of successive items from coll while - * (pred item) returns logical true. pred must be free of side-effects. - * Returns a transducer when no collection is provided. - */ -cljs.core.take_while = (function cljs$core$take_while(var_args){ -var G__12265 = arguments.length; -switch (G__12265) { -case 1: -return cljs.core.take_while.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.take_while.cljs$core$IFn$_invoke$arity$1 = (function (pred){ -return (function (rf){ -return (function() { -var G__12268 = null; -var G__12268__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__12268__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__12268__2 = (function (result,input){ -if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null,input)))){ -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); -} else { -return cljs.core.reduced(result); -} -}); -G__12268 = function(result,input){ -switch(arguments.length){ -case 0: -return G__12268__0.call(this); -case 1: -return G__12268__1.call(this,result); -case 2: -return G__12268__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12268.cljs$core$IFn$_invoke$arity$0 = G__12268__0; -G__12268.cljs$core$IFn$_invoke$arity$1 = G__12268__1; -G__12268.cljs$core$IFn$_invoke$arity$2 = G__12268__2; -return G__12268; -})() -}); -}); - -cljs.core.take_while.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -if(cljs.core.truth_((function (){var G__12266 = cljs.core.first(s); -return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__12266) : pred.call(null,G__12266)); -})())){ -return cljs.core.cons(cljs.core.first(s),cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(pred,cljs.core.rest(s))); -} else { -return null; -} -} else { -return null; -} -}),null,null)); -}); - -cljs.core.take_while.cljs$lang$maxFixedArity = 2; - -cljs.core.mk_bound_fn = (function cljs$core$mk_bound_fn(sc,test,key){ -return (function (e){ -var comp = cljs.core._comparator(sc); -var G__12269 = (function (){var G__12271 = cljs.core._entry_key(sc,e); -var G__12272 = key; -return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__12271,G__12272) : comp.call(null,G__12271,G__12272)); -})(); -var G__12270 = (0); -return (test.cljs$core$IFn$_invoke$arity$2 ? test.cljs$core$IFn$_invoke$arity$2(G__12269,G__12270) : test.call(null,G__12269,G__12270)); -}); -}); -/** - * sc must be a sorted collection, test(s) one of <, <=, > or - * >=. Returns a seq of those entries with keys ek for - * which (test (.. sc comparator (compare ek key)) 0) is true - */ -cljs.core.subseq = (function cljs$core$subseq(var_args){ -var G__12274 = arguments.length; -switch (G__12274) { -case 3: -return cljs.core.subseq.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 5: -return cljs.core.subseq.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.subseq.cljs$core$IFn$_invoke$arity$3 = (function (sc,test,key){ -var include = cljs.core.mk_bound_fn(sc,test,key); -if(cljs.core.truth_((function (){var fexpr__12275 = cljs.core.PersistentHashSet.createAsIfByAssoc([cljs.core._GT_,cljs.core._GT__EQ_]); -return (fexpr__12275.cljs$core$IFn$_invoke$arity$1 ? fexpr__12275.cljs$core$IFn$_invoke$arity$1(test) : fexpr__12275.call(null,test)); -})())){ -var temp__4657__auto__ = cljs.core._sorted_seq_from(sc,key,true); -if(cljs.core.truth_(temp__4657__auto__)){ -var vec__12276 = temp__4657__auto__; -var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12276,(0),null); -var s = vec__12276; -if(cljs.core.truth_((include.cljs$core$IFn$_invoke$arity$1 ? include.cljs$core$IFn$_invoke$arity$1(e) : include.call(null,e)))){ -return s; -} else { -return cljs.core.next(s); -} -} else { -return null; -} -} else { -return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(include,cljs.core._sorted_seq(sc,true)); -} -}); - -cljs.core.subseq.cljs$core$IFn$_invoke$arity$5 = (function (sc,start_test,start_key,end_test,end_key){ -var temp__4657__auto__ = cljs.core._sorted_seq_from(sc,start_key,true); -if(cljs.core.truth_(temp__4657__auto__)){ -var vec__12279 = temp__4657__auto__; -var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12279,(0),null); -var s = vec__12279; -return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(cljs.core.mk_bound_fn(sc,end_test,end_key),(cljs.core.truth_((function (){var fexpr__12282 = cljs.core.mk_bound_fn(sc,start_test,start_key); -return (fexpr__12282.cljs$core$IFn$_invoke$arity$1 ? fexpr__12282.cljs$core$IFn$_invoke$arity$1(e) : fexpr__12282.call(null,e)); -})())?s:cljs.core.next(s))); -} else { -return null; -} -}); - -cljs.core.subseq.cljs$lang$maxFixedArity = 5; - -/** - * sc must be a sorted collection, test(s) one of <, <=, > or - * >=. Returns a reverse seq of those entries with keys ek for - * which (test (.. sc comparator (compare ek key)) 0) is true - */ -cljs.core.rsubseq = (function cljs$core$rsubseq(var_args){ -var G__12285 = arguments.length; -switch (G__12285) { -case 3: -return cljs.core.rsubseq.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -case 5: -return cljs.core.rsubseq.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.rsubseq.cljs$core$IFn$_invoke$arity$3 = (function (sc,test,key){ -var include = cljs.core.mk_bound_fn(sc,test,key); -if(cljs.core.truth_((function (){var fexpr__12286 = cljs.core.PersistentHashSet.createAsIfByAssoc([cljs.core._LT_,cljs.core._LT__EQ_]); -return (fexpr__12286.cljs$core$IFn$_invoke$arity$1 ? fexpr__12286.cljs$core$IFn$_invoke$arity$1(test) : fexpr__12286.call(null,test)); -})())){ -var temp__4657__auto__ = cljs.core._sorted_seq_from(sc,key,false); -if(cljs.core.truth_(temp__4657__auto__)){ -var vec__12287 = temp__4657__auto__; -var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12287,(0),null); -var s = vec__12287; -if(cljs.core.truth_((include.cljs$core$IFn$_invoke$arity$1 ? include.cljs$core$IFn$_invoke$arity$1(e) : include.call(null,e)))){ -return s; -} else { -return cljs.core.next(s); -} -} else { -return null; -} -} else { -return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(include,cljs.core._sorted_seq(sc,false)); -} -}); - -cljs.core.rsubseq.cljs$core$IFn$_invoke$arity$5 = (function (sc,start_test,start_key,end_test,end_key){ -var temp__4657__auto__ = cljs.core._sorted_seq_from(sc,end_key,false); -if(cljs.core.truth_(temp__4657__auto__)){ -var vec__12290 = temp__4657__auto__; -var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12290,(0),null); -var s = vec__12290; -return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(cljs.core.mk_bound_fn(sc,start_test,start_key),(cljs.core.truth_((function (){var fexpr__12293 = cljs.core.mk_bound_fn(sc,end_test,end_key); -return (fexpr__12293.cljs$core$IFn$_invoke$arity$1 ? fexpr__12293.cljs$core$IFn$_invoke$arity$1(e) : fexpr__12293.call(null,e)); -})())?s:cljs.core.next(s))); -} else { -return null; -} -}); - -cljs.core.rsubseq.cljs$lang$maxFixedArity = 5; - - -/** -* @constructor -*/ -cljs.core.RangeIterator = (function (i,end,step){ -this.i = i; -this.end = end; -this.step = step; -}); -cljs.core.RangeIterator.prototype.hasNext = (function (){ -var self__ = this; -var _ = this; -if((self__.step > (0))){ -return (self__.i < self__.end); -} else { -return (self__.i > self__.end); -} -}); - -cljs.core.RangeIterator.prototype.next = (function (){ -var self__ = this; -var _ = this; -var ret = self__.i; -self__.i = (self__.i + self__.step); - -return ret; -}); - -cljs.core.RangeIterator.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"end","end",1372345569,null),new cljs.core.Symbol(null,"step","step",-1365547645,null)], null); -}); - -cljs.core.RangeIterator.cljs$lang$type = true; - -cljs.core.RangeIterator.cljs$lang$ctorStr = "cljs.core/RangeIterator"; - -cljs.core.RangeIterator.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/RangeIterator"); -}); - -/** - * Positional factory function for cljs.core/RangeIterator. - */ -cljs.core.__GT_RangeIterator = (function cljs$core$__GT_RangeIterator(i,end,step){ -return (new cljs.core.RangeIterator(i,end,step)); -}); - - -/** -* @constructor - * @implements {cljs.core.IIndexed} - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.ICollection} - * @implements {cljs.core.IEmptyableCollection} - * @implements {cljs.core.ICounted} - * @implements {cljs.core.ISeq} - * @implements {cljs.core.INext} - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IMeta} - * @implements {cljs.core.ICloneable} - * @implements {cljs.core.IIterable} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IWithMeta} - * @implements {cljs.core.IReduce} -*/ -cljs.core.Range = (function (meta,start,end,step,__hash){ -this.meta = meta; -this.start = start; -this.end = end; -this.step = step; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 32375006; -this.cljs$lang$protocol_mask$partition1$ = 139264; -}); -cljs.core.Range.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.Range.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.Range.prototype.indexOf = (function() { -var G__12296 = null; -var G__12296__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); -}); -var G__12296__2 = (function (x,start__$1){ -var self__ = this; -var coll = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); -}); -G__12296 = function(x,start__$1){ -switch(arguments.length){ -case 1: -return G__12296__1.call(this,x); -case 2: -return G__12296__2.call(this,x,start__$1); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12296.cljs$core$IFn$_invoke$arity$1 = G__12296__1; -G__12296.cljs$core$IFn$_invoke$arity$2 = G__12296__2; -return G__12296; -})() -; - -cljs.core.Range.prototype.lastIndexOf = (function() { -var G__12297 = null; -var G__12297__1 = (function (x){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); -}); -var G__12297__2 = (function (x,start__$1){ -var self__ = this; -var coll = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); -}); -G__12297 = function(x,start__$1){ -switch(arguments.length){ -case 1: -return G__12297__1.call(this,x); -case 2: -return G__12297__2.call(this,x,start__$1); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12297.cljs$core$IFn$_invoke$arity$1 = G__12297__1; -G__12297.cljs$core$IFn$_invoke$arity$2 = G__12297__2; -return G__12297; -})() -; - -cljs.core.Range.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (rng,n){ -var self__ = this; -var rng__$1 = this; -if(((((0) <= n)) && ((n < rng__$1.cljs$core$ICounted$_count$arity$1(null))))){ -return (self__.start + (n * self__.step)); -} else { -if(((((0) <= n)) && ((self__.start > self__.end)) && ((self__.step === (0))))){ -return self__.start; -} else { -throw (new Error("Index out of bounds")); -} -} -}); - -cljs.core.Range.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (rng,n,not_found){ -var self__ = this; -var rng__$1 = this; -if(((((0) <= n)) && ((n < rng__$1.cljs$core$ICounted$_count$arity$1(null))))){ -return (self__.start + (n * self__.step)); -} else { -if(((((0) <= n)) && ((self__.start > self__.end)) && ((self__.step === (0))))){ -return self__.start; -} else { -return not_found; -} -} -}); - -cljs.core.Range.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.RangeIterator(self__.start,self__.end,self__.step)); -}); - -cljs.core.Range.prototype.cljs$core$IMeta$_meta$arity$1 = (function (rng){ -var self__ = this; -var rng__$1 = this; -return self__.meta; -}); - -cljs.core.Range.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return (new cljs.core.Range(self__.meta,self__.start,self__.end,self__.step,self__.__hash)); -}); - -cljs.core.Range.prototype.cljs$core$INext$_next$arity$1 = (function (rng){ -var self__ = this; -var rng__$1 = this; -if((self__.step > (0))){ -if(((self__.start + self__.step) < self__.end)){ -return (new cljs.core.Range(self__.meta,(self__.start + self__.step),self__.end,self__.step,null)); -} else { -return null; -} -} else { -if(((self__.start + self__.step) > self__.end)){ -return (new cljs.core.Range(self__.meta,(self__.start + self__.step),self__.end,self__.step,null)); -} else { -return null; -} -} -}); - -cljs.core.Range.prototype.cljs$core$ICounted$_count$arity$1 = (function (rng){ -var self__ = this; -var rng__$1 = this; -if(cljs.core.not(rng__$1.cljs$core$ISeqable$_seq$arity$1(null))){ -return (0); -} else { -var G__12295 = ((self__.end - self__.start) / self__.step); -return Math.ceil(G__12295); -} -}); - -cljs.core.Range.prototype.cljs$core$IHash$_hash$arity$1 = (function (rng){ -var self__ = this; -var rng__$1 = this; -var h__8266__auto__ = self__.__hash; -if((!((h__8266__auto__ == null)))){ -return h__8266__auto__; -} else { -var h__8266__auto____$1 = cljs.core.hash_ordered_coll(rng__$1); -self__.__hash = h__8266__auto____$1; - -return h__8266__auto____$1; -} -}); - -cljs.core.Range.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (rng,other){ -var self__ = this; -var rng__$1 = this; -return cljs.core.equiv_sequential(rng__$1,other); -}); - -cljs.core.Range.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (rng){ -var self__ = this; -var rng__$1 = this; -return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); -}); - -cljs.core.Range.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (rng,f){ -var self__ = this; -var rng__$1 = this; -return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(rng__$1,f); -}); - -cljs.core.Range.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (rng,f,init){ -var self__ = this; -var rng__$1 = this; -var i = self__.start; -var ret = init; -while(true){ -if((((self__.step > (0)))?(i < self__.end):(i > self__.end))){ -var ret__$1 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,i) : f.call(null,ret,i)); -if(cljs.core.reduced_QMARK_(ret__$1)){ -return cljs.core.deref(ret__$1); -} else { -var G__12298 = (i + self__.step); -var G__12299 = ret__$1; -i = G__12298; -ret = G__12299; -continue; -} -} else { -return ret; -} -break; -} -}); - -cljs.core.Range.prototype.cljs$core$ISeq$_first$arity$1 = (function (rng){ -var self__ = this; -var rng__$1 = this; -if((rng__$1.cljs$core$ISeqable$_seq$arity$1(null) == null)){ -return null; -} else { -return self__.start; -} -}); - -cljs.core.Range.prototype.cljs$core$ISeq$_rest$arity$1 = (function (rng){ -var self__ = this; -var rng__$1 = this; -if((!((rng__$1.cljs$core$ISeqable$_seq$arity$1(null) == null)))){ -return (new cljs.core.Range(self__.meta,(self__.start + self__.step),self__.end,self__.step,null)); -} else { -return cljs.core.List.EMPTY; -} -}); - -cljs.core.Range.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (rng){ -var self__ = this; -var rng__$1 = this; -if((self__.step > (0))){ -if((self__.start < self__.end)){ -return rng__$1; -} else { -return null; -} -} else { -if((self__.step < (0))){ -if((self__.start > self__.end)){ -return rng__$1; -} else { -return null; -} -} else { -if((self__.start === self__.end)){ -return null; -} else { -return rng__$1; -} - -} -} -}); - -cljs.core.Range.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (rng,meta__$1){ -var self__ = this; -var rng__$1 = this; -return (new cljs.core.Range(meta__$1,self__.start,self__.end,self__.step,self__.__hash)); -}); - -cljs.core.Range.prototype.cljs$core$ICollection$_conj$arity$2 = (function (rng,o){ -var self__ = this; -var rng__$1 = this; -return cljs.core.cons(o,rng__$1); -}); - -cljs.core.Range.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"start","start",1285322546,null),new cljs.core.Symbol(null,"end","end",1372345569,null),new cljs.core.Symbol(null,"step","step",-1365547645,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Range.cljs$lang$type = true; - -cljs.core.Range.cljs$lang$ctorStr = "cljs.core/Range"; - -cljs.core.Range.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Range"); -}); - -/** - * Positional factory function for cljs.core/Range. - */ -cljs.core.__GT_Range = (function cljs$core$__GT_Range(meta,start,end,step,__hash){ -return (new cljs.core.Range(meta,start,end,step,__hash)); -}); - -var G__12300_12303 = cljs.core.Range.prototype; -var G__12301_12304 = cljs.core.ITER_SYMBOL; -var G__12302_12305 = ((function (G__12300_12303,G__12301_12304){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__12300_12303,G__12301_12304)) -; -goog.object.set(G__12300_12303,G__12301_12304,G__12302_12305); -/** - * Returns a lazy seq of nums from start (inclusive) to end - * (exclusive), by step, where start defaults to 0, step to 1, - * and end to infinity. - */ -cljs.core.range = (function cljs$core$range(var_args){ -var G__12307 = arguments.length; -switch (G__12307) { -case 0: -return cljs.core.range.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.range.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.range.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.range.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.range.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.range.cljs$core$IFn$_invoke$arity$3((0),Number.MAX_VALUE,(1)); -}); - -cljs.core.range.cljs$core$IFn$_invoke$arity$1 = (function (end){ -return cljs.core.range.cljs$core$IFn$_invoke$arity$3((0),end,(1)); -}); - -cljs.core.range.cljs$core$IFn$_invoke$arity$2 = (function (start,end){ -return cljs.core.range.cljs$core$IFn$_invoke$arity$3(start,end,(1)); -}); - -cljs.core.range.cljs$core$IFn$_invoke$arity$3 = (function (start,end,step){ -return (new cljs.core.Range(null,start,end,step,null)); -}); - -cljs.core.range.cljs$lang$maxFixedArity = 3; - -/** - * Returns a lazy seq of every nth item in coll. Returns a stateful - * transducer when no collection is provided. - */ -cljs.core.take_nth = (function cljs$core$take_nth(var_args){ -var G__12310 = arguments.length; -switch (G__12310) { -case 1: -return cljs.core.take_nth.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.take_nth.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.take_nth.cljs$core$IFn$_invoke$arity$1 = (function (n){ -if(typeof n === 'number'){ -} else { -throw (new Error("Assert failed: (number? n)")); -} - -return (function (rf){ -var ia = cljs.core.volatile_BANG_((-1)); -return ((function (ia){ -return (function() { -var G__12312 = null; -var G__12312__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__12312__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__12312__2 = (function (result,input){ -var i = ia.cljs$core$IVolatile$_vreset_BANG_$arity$2(null,(ia.cljs$core$IDeref$_deref$arity$1(null) + (1))); -if((cljs.core.rem(i,n) === (0))){ -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); -} else { -return result; -} -}); -G__12312 = function(result,input){ -switch(arguments.length){ -case 0: -return G__12312__0.call(this); -case 1: -return G__12312__1.call(this,result); -case 2: -return G__12312__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12312.cljs$core$IFn$_invoke$arity$0 = G__12312__0; -G__12312.cljs$core$IFn$_invoke$arity$1 = G__12312__1; -G__12312.cljs$core$IFn$_invoke$arity$2 = G__12312__2; -return G__12312; -})() -;})(ia)) -}); -}); - -cljs.core.take_nth.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ -if(typeof n === 'number'){ -} else { -throw (new Error("Assert failed: (number? n)")); -} - -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -return cljs.core.cons(cljs.core.first(s),cljs.core.take_nth.cljs$core$IFn$_invoke$arity$2(n,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(n,s))); -} else { -return null; -} -}),null,null)); -}); - -cljs.core.take_nth.cljs$lang$maxFixedArity = 2; - -/** - * Returns a vector of [(take-while pred coll) (drop-while pred coll)] - */ -cljs.core.split_with = (function cljs$core$split_with(pred,coll){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(pred,coll),cljs.core.drop_while.cljs$core$IFn$_invoke$arity$2(pred,coll)], null); -}); -/** - * Applies f to each value in coll, splitting it each time f returns a - * new value. Returns a lazy seq of partitions. Returns a stateful - * transducer when no collection is provided. - */ -cljs.core.partition_by = (function cljs$core$partition_by(var_args){ -var G__12315 = arguments.length; -switch (G__12315) { -case 1: -return cljs.core.partition_by.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.partition_by.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return (function (rf){ -var a = cljs.core.array_list(); -var pa = cljs.core.volatile_BANG_(new cljs.core.Keyword("cljs.core","none","cljs.core/none",926646439)); -return ((function (a,pa){ -return (function() { -var G__12317 = null; -var G__12317__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__12317__1 = (function (result){ -var result__$1 = (cljs.core.truth_(a.isEmpty())?result:(function (){var v = cljs.core.vec(a.toArray()); -a.clear(); - -return cljs.core.unreduced((rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null,result,v))); -})()); -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result__$1) : rf.call(null,result__$1)); -}); -var G__12317__2 = (function (result,input){ -var pval = cljs.core.deref(pa); -var val = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(input) : f.call(null,input)); -cljs.core.vreset_BANG_(pa,val); - -if(((cljs.core.keyword_identical_QMARK_(pval,new cljs.core.Keyword("cljs.core","none","cljs.core/none",926646439))) || (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(val,pval)))){ -a.add(input); - -return result; -} else { -var v = cljs.core.vec(a.toArray()); -a.clear(); - -var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null,result,v)); -if(cljs.core.reduced_QMARK_(ret)){ -} else { -a.add(input); -} - -return ret; -} -}); -G__12317 = function(result,input){ -switch(arguments.length){ -case 0: -return G__12317__0.call(this); -case 1: -return G__12317__1.call(this,result); -case 2: -return G__12317__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12317.cljs$core$IFn$_invoke$arity$0 = G__12317__0; -G__12317.cljs$core$IFn$_invoke$arity$1 = G__12317__1; -G__12317.cljs$core$IFn$_invoke$arity$2 = G__12317__2; -return G__12317; -})() -;})(a,pa)) -}); -}); - -cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -var fst = cljs.core.first(s); -var fv = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(fst) : f.call(null,fst)); -var run = cljs.core.cons(fst,cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(((function (fst,fv,s,temp__4657__auto__){ -return (function (p1__12313_SHARP_){ -return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(fv,(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(p1__12313_SHARP_) : f.call(null,p1__12313_SHARP_))); -});})(fst,fv,s,temp__4657__auto__)) -,cljs.core.next(s))); -return cljs.core.cons(run,cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2(f,(new cljs.core.LazySeq(null,((function (fst,fv,run,s,temp__4657__auto__){ -return (function (){ -return cljs.core.drop.cljs$core$IFn$_invoke$arity$2(cljs.core.count(run),s); -});})(fst,fv,run,s,temp__4657__auto__)) -,null,null)))); -} else { -return null; -} -}),null,null)); -}); - -cljs.core.partition_by.cljs$lang$maxFixedArity = 2; - -/** - * Returns a map from distinct items in coll to the number of times - * they appear. - */ -cljs.core.frequencies = (function cljs$core$frequencies(coll){ -return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (counts,x){ -return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(counts,x,(cljs.core.get.cljs$core$IFn$_invoke$arity$3(counts,x,(0)) + (1))); -}),cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),coll)); -}); -/** - * Returns a lazy seq of the intermediate values of the reduction (as - * per reduce) of coll by f, starting with init. - */ -cljs.core.reductions = (function cljs$core$reductions(var_args){ -var G__12319 = arguments.length; -switch (G__12319) { -case 2: -return cljs.core.reductions.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.reductions.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.reductions.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ -return (new cljs.core.LazySeq(null,(function (){ -var temp__4655__auto__ = cljs.core.seq(coll); -if(temp__4655__auto__){ -var s = temp__4655__auto__; -return cljs.core.reductions.cljs$core$IFn$_invoke$arity$3(f,cljs.core.first(s),cljs.core.rest(s)); -} else { -return (new cljs.core.List(null,(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)),null,(1),null)); -} -}),null,null)); -}); - -cljs.core.reductions.cljs$core$IFn$_invoke$arity$3 = (function (f,init,coll){ -if(cljs.core.reduced_QMARK_(init)){ -return (new cljs.core.List(null,cljs.core.deref(init),null,(1),null)); -} else { -return cljs.core.cons(init,(new cljs.core.LazySeq(null,(function (){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -return cljs.core.reductions.cljs$core$IFn$_invoke$arity$3(f,(function (){var G__12320 = init; -var G__12321 = cljs.core.first(s); -return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__12320,G__12321) : f.call(null,G__12320,G__12321)); -})(),cljs.core.rest(s)); -} else { -return null; -} -}),null,null))); -} -}); - -cljs.core.reductions.cljs$lang$maxFixedArity = 3; - -/** - * Takes a set of functions and returns a fn that is the juxtaposition - * of those fns. The returned fn takes a variable number of args, and - * returns a vector containing the result of applying each fn to the - * args (left-to-right). - * ((juxt a b c) x) => [(a x) (b x) (c x)] - */ -cljs.core.juxt = (function cljs$core$juxt(var_args){ -var G__12338 = arguments.length; -switch (G__12338) { -case 1: -return cljs.core.juxt.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.juxt.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.juxt.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___12340 = arguments.length; -var i__9001__auto___12341 = (0); -while(true){ -if((i__9001__auto___12341 < len__9000__auto___12340)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___12341])); - -var G__12342 = (i__9001__auto___12341 + (1)); -i__9001__auto___12341 = G__12342; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((3)),(0),null)); -return cljs.core.juxt.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__9026__auto__); - -} -}); - -cljs.core.juxt.cljs$core$IFn$_invoke$arity$1 = (function (f){ -return (function() { -var G__12343 = null; -var G__12343__0 = (function (){ -return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null))],null)); -}); -var G__12343__1 = (function (x){ -return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null,x))],null)); -}); -var G__12343__2 = (function (x,y){ -return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null,x,y))],null)); -}); -var G__12343__3 = (function (x,y,z){ -return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(x,y,z) : f.call(null,x,y,z))],null)); -}); -var G__12343__4 = (function() { -var G__12344__delegate = function (x,y,z,args){ -return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,x,y,z,args)],null)); -}; -var G__12344 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__12345__i = 0, G__12345__a = new Array(arguments.length - 3); -while (G__12345__i < G__12345__a.length) {G__12345__a[G__12345__i] = arguments[G__12345__i + 3]; ++G__12345__i;} - args = new cljs.core.IndexedSeq(G__12345__a,0,null); -} -return G__12344__delegate.call(this,x,y,z,args);}; -G__12344.cljs$lang$maxFixedArity = 3; -G__12344.cljs$lang$applyTo = (function (arglist__12346){ -var x = cljs.core.first(arglist__12346); -arglist__12346 = cljs.core.next(arglist__12346); -var y = cljs.core.first(arglist__12346); -arglist__12346 = cljs.core.next(arglist__12346); -var z = cljs.core.first(arglist__12346); -var args = cljs.core.rest(arglist__12346); -return G__12344__delegate(x,y,z,args); -}); -G__12344.cljs$core$IFn$_invoke$arity$variadic = G__12344__delegate; -return G__12344; -})() -; -G__12343 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return G__12343__0.call(this); -case 1: -return G__12343__1.call(this,x); -case 2: -return G__12343__2.call(this,x,y); -case 3: -return G__12343__3.call(this,x,y,z); -default: -var G__12347 = null; -if (arguments.length > 3) { -var G__12348__i = 0, G__12348__a = new Array(arguments.length - 3); -while (G__12348__i < G__12348__a.length) {G__12348__a[G__12348__i] = arguments[G__12348__i + 3]; ++G__12348__i;} -G__12347 = new cljs.core.IndexedSeq(G__12348__a,0,null); -} -return G__12343__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__12347); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12343.cljs$lang$maxFixedArity = 3; -G__12343.cljs$lang$applyTo = G__12343__4.cljs$lang$applyTo; -G__12343.cljs$core$IFn$_invoke$arity$0 = G__12343__0; -G__12343.cljs$core$IFn$_invoke$arity$1 = G__12343__1; -G__12343.cljs$core$IFn$_invoke$arity$2 = G__12343__2; -G__12343.cljs$core$IFn$_invoke$arity$3 = G__12343__3; -G__12343.cljs$core$IFn$_invoke$arity$variadic = G__12343__4.cljs$core$IFn$_invoke$arity$variadic; -return G__12343; -})() -}); - -cljs.core.juxt.cljs$core$IFn$_invoke$arity$2 = (function (f,g){ -return (function() { -var G__12349 = null; -var G__12349__0 = (function (){ -return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)),(g.cljs$core$IFn$_invoke$arity$0 ? g.cljs$core$IFn$_invoke$arity$0() : g.call(null))],null)); -}); -var G__12349__1 = (function (x){ -return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null,x)),(g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(x) : g.call(null,x))],null)); -}); -var G__12349__2 = (function (x,y){ -return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null,x,y)),(g.cljs$core$IFn$_invoke$arity$2 ? g.cljs$core$IFn$_invoke$arity$2(x,y) : g.call(null,x,y))],null)); -}); -var G__12349__3 = (function (x,y,z){ -return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(x,y,z) : f.call(null,x,y,z)),(g.cljs$core$IFn$_invoke$arity$3 ? g.cljs$core$IFn$_invoke$arity$3(x,y,z) : g.call(null,x,y,z))],null)); -}); -var G__12349__4 = (function() { -var G__12350__delegate = function (x,y,z,args){ -return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,x,y,z,args),cljs.core.apply.cljs$core$IFn$_invoke$arity$5(g,x,y,z,args)],null)); -}; -var G__12350 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__12351__i = 0, G__12351__a = new Array(arguments.length - 3); -while (G__12351__i < G__12351__a.length) {G__12351__a[G__12351__i] = arguments[G__12351__i + 3]; ++G__12351__i;} - args = new cljs.core.IndexedSeq(G__12351__a,0,null); -} -return G__12350__delegate.call(this,x,y,z,args);}; -G__12350.cljs$lang$maxFixedArity = 3; -G__12350.cljs$lang$applyTo = (function (arglist__12352){ -var x = cljs.core.first(arglist__12352); -arglist__12352 = cljs.core.next(arglist__12352); -var y = cljs.core.first(arglist__12352); -arglist__12352 = cljs.core.next(arglist__12352); -var z = cljs.core.first(arglist__12352); -var args = cljs.core.rest(arglist__12352); -return G__12350__delegate(x,y,z,args); -}); -G__12350.cljs$core$IFn$_invoke$arity$variadic = G__12350__delegate; -return G__12350; -})() -; -G__12349 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return G__12349__0.call(this); -case 1: -return G__12349__1.call(this,x); -case 2: -return G__12349__2.call(this,x,y); -case 3: -return G__12349__3.call(this,x,y,z); -default: -var G__12353 = null; -if (arguments.length > 3) { -var G__12354__i = 0, G__12354__a = new Array(arguments.length - 3); -while (G__12354__i < G__12354__a.length) {G__12354__a[G__12354__i] = arguments[G__12354__i + 3]; ++G__12354__i;} -G__12353 = new cljs.core.IndexedSeq(G__12354__a,0,null); -} -return G__12349__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__12353); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12349.cljs$lang$maxFixedArity = 3; -G__12349.cljs$lang$applyTo = G__12349__4.cljs$lang$applyTo; -G__12349.cljs$core$IFn$_invoke$arity$0 = G__12349__0; -G__12349.cljs$core$IFn$_invoke$arity$1 = G__12349__1; -G__12349.cljs$core$IFn$_invoke$arity$2 = G__12349__2; -G__12349.cljs$core$IFn$_invoke$arity$3 = G__12349__3; -G__12349.cljs$core$IFn$_invoke$arity$variadic = G__12349__4.cljs$core$IFn$_invoke$arity$variadic; -return G__12349; -})() -}); - -cljs.core.juxt.cljs$core$IFn$_invoke$arity$3 = (function (f,g,h){ -return (function() { -var G__12355 = null; -var G__12355__0 = (function (){ -return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)),(g.cljs$core$IFn$_invoke$arity$0 ? g.cljs$core$IFn$_invoke$arity$0() : g.call(null)),(h.cljs$core$IFn$_invoke$arity$0 ? h.cljs$core$IFn$_invoke$arity$0() : h.call(null))],null)); -}); -var G__12355__1 = (function (x){ -return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null,x)),(g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(x) : g.call(null,x)),(h.cljs$core$IFn$_invoke$arity$1 ? h.cljs$core$IFn$_invoke$arity$1(x) : h.call(null,x))],null)); -}); -var G__12355__2 = (function (x,y){ -return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null,x,y)),(g.cljs$core$IFn$_invoke$arity$2 ? g.cljs$core$IFn$_invoke$arity$2(x,y) : g.call(null,x,y)),(h.cljs$core$IFn$_invoke$arity$2 ? h.cljs$core$IFn$_invoke$arity$2(x,y) : h.call(null,x,y))],null)); -}); -var G__12355__3 = (function (x,y,z){ -return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(x,y,z) : f.call(null,x,y,z)),(g.cljs$core$IFn$_invoke$arity$3 ? g.cljs$core$IFn$_invoke$arity$3(x,y,z) : g.call(null,x,y,z)),(h.cljs$core$IFn$_invoke$arity$3 ? h.cljs$core$IFn$_invoke$arity$3(x,y,z) : h.call(null,x,y,z))],null)); -}); -var G__12355__4 = (function() { -var G__12356__delegate = function (x,y,z,args){ -return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,x,y,z,args),cljs.core.apply.cljs$core$IFn$_invoke$arity$5(g,x,y,z,args),cljs.core.apply.cljs$core$IFn$_invoke$arity$5(h,x,y,z,args)],null)); -}; -var G__12356 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__12357__i = 0, G__12357__a = new Array(arguments.length - 3); -while (G__12357__i < G__12357__a.length) {G__12357__a[G__12357__i] = arguments[G__12357__i + 3]; ++G__12357__i;} - args = new cljs.core.IndexedSeq(G__12357__a,0,null); -} -return G__12356__delegate.call(this,x,y,z,args);}; -G__12356.cljs$lang$maxFixedArity = 3; -G__12356.cljs$lang$applyTo = (function (arglist__12358){ -var x = cljs.core.first(arglist__12358); -arglist__12358 = cljs.core.next(arglist__12358); -var y = cljs.core.first(arglist__12358); -arglist__12358 = cljs.core.next(arglist__12358); -var z = cljs.core.first(arglist__12358); -var args = cljs.core.rest(arglist__12358); -return G__12356__delegate(x,y,z,args); -}); -G__12356.cljs$core$IFn$_invoke$arity$variadic = G__12356__delegate; -return G__12356; -})() -; -G__12355 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return G__12355__0.call(this); -case 1: -return G__12355__1.call(this,x); -case 2: -return G__12355__2.call(this,x,y); -case 3: -return G__12355__3.call(this,x,y,z); -default: -var G__12359 = null; -if (arguments.length > 3) { -var G__12360__i = 0, G__12360__a = new Array(arguments.length - 3); -while (G__12360__i < G__12360__a.length) {G__12360__a[G__12360__i] = arguments[G__12360__i + 3]; ++G__12360__i;} -G__12359 = new cljs.core.IndexedSeq(G__12360__a,0,null); -} -return G__12355__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__12359); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12355.cljs$lang$maxFixedArity = 3; -G__12355.cljs$lang$applyTo = G__12355__4.cljs$lang$applyTo; -G__12355.cljs$core$IFn$_invoke$arity$0 = G__12355__0; -G__12355.cljs$core$IFn$_invoke$arity$1 = G__12355__1; -G__12355.cljs$core$IFn$_invoke$arity$2 = G__12355__2; -G__12355.cljs$core$IFn$_invoke$arity$3 = G__12355__3; -G__12355.cljs$core$IFn$_invoke$arity$variadic = G__12355__4.cljs$core$IFn$_invoke$arity$variadic; -return G__12355; -})() -}); - -cljs.core.juxt.cljs$core$IFn$_invoke$arity$variadic = (function (f,g,h,fs){ -var fs__$1 = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(f,g,h,fs); -return ((function (fs__$1){ -return (function() { -var G__12361 = null; -var G__12361__0 = (function (){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ -return (function (p1__12323_SHARP_,p2__12324_SHARP_){ -return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12323_SHARP_,(p2__12324_SHARP_.cljs$core$IFn$_invoke$arity$0 ? p2__12324_SHARP_.cljs$core$IFn$_invoke$arity$0() : p2__12324_SHARP_.call(null))); -});})(fs__$1)) -,cljs.core.PersistentVector.EMPTY,fs__$1); -}); -var G__12361__1 = (function (x){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ -return (function (p1__12325_SHARP_,p2__12326_SHARP_){ -return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12325_SHARP_,(p2__12326_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p2__12326_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p2__12326_SHARP_.call(null,x))); -});})(fs__$1)) -,cljs.core.PersistentVector.EMPTY,fs__$1); -}); -var G__12361__2 = (function (x,y){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ -return (function (p1__12327_SHARP_,p2__12328_SHARP_){ -return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12327_SHARP_,(p2__12328_SHARP_.cljs$core$IFn$_invoke$arity$2 ? p2__12328_SHARP_.cljs$core$IFn$_invoke$arity$2(x,y) : p2__12328_SHARP_.call(null,x,y))); -});})(fs__$1)) -,cljs.core.PersistentVector.EMPTY,fs__$1); -}); -var G__12361__3 = (function (x,y,z){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ -return (function (p1__12329_SHARP_,p2__12330_SHARP_){ -return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12329_SHARP_,(p2__12330_SHARP_.cljs$core$IFn$_invoke$arity$3 ? p2__12330_SHARP_.cljs$core$IFn$_invoke$arity$3(x,y,z) : p2__12330_SHARP_.call(null,x,y,z))); -});})(fs__$1)) -,cljs.core.PersistentVector.EMPTY,fs__$1); -}); -var G__12361__4 = (function() { -var G__12362__delegate = function (x,y,z,args){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (fs__$1){ -return (function (p1__12331_SHARP_,p2__12332_SHARP_){ -return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__12331_SHARP_,cljs.core.apply.cljs$core$IFn$_invoke$arity$5(p2__12332_SHARP_,x,y,z,args)); -});})(fs__$1)) -,cljs.core.PersistentVector.EMPTY,fs__$1); -}; -var G__12362 = function (x,y,z,var_args){ -var args = null; -if (arguments.length > 3) { -var G__12363__i = 0, G__12363__a = new Array(arguments.length - 3); -while (G__12363__i < G__12363__a.length) {G__12363__a[G__12363__i] = arguments[G__12363__i + 3]; ++G__12363__i;} - args = new cljs.core.IndexedSeq(G__12363__a,0,null); -} -return G__12362__delegate.call(this,x,y,z,args);}; -G__12362.cljs$lang$maxFixedArity = 3; -G__12362.cljs$lang$applyTo = (function (arglist__12364){ -var x = cljs.core.first(arglist__12364); -arglist__12364 = cljs.core.next(arglist__12364); -var y = cljs.core.first(arglist__12364); -arglist__12364 = cljs.core.next(arglist__12364); -var z = cljs.core.first(arglist__12364); -var args = cljs.core.rest(arglist__12364); -return G__12362__delegate(x,y,z,args); -}); -G__12362.cljs$core$IFn$_invoke$arity$variadic = G__12362__delegate; -return G__12362; -})() -; -G__12361 = function(x,y,z,var_args){ -var args = var_args; -switch(arguments.length){ -case 0: -return G__12361__0.call(this); -case 1: -return G__12361__1.call(this,x); -case 2: -return G__12361__2.call(this,x,y); -case 3: -return G__12361__3.call(this,x,y,z); -default: -var G__12365 = null; -if (arguments.length > 3) { -var G__12366__i = 0, G__12366__a = new Array(arguments.length - 3); -while (G__12366__i < G__12366__a.length) {G__12366__a[G__12366__i] = arguments[G__12366__i + 3]; ++G__12366__i;} -G__12365 = new cljs.core.IndexedSeq(G__12366__a,0,null); -} -return G__12361__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__12365); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12361.cljs$lang$maxFixedArity = 3; -G__12361.cljs$lang$applyTo = G__12361__4.cljs$lang$applyTo; -G__12361.cljs$core$IFn$_invoke$arity$0 = G__12361__0; -G__12361.cljs$core$IFn$_invoke$arity$1 = G__12361__1; -G__12361.cljs$core$IFn$_invoke$arity$2 = G__12361__2; -G__12361.cljs$core$IFn$_invoke$arity$3 = G__12361__3; -G__12361.cljs$core$IFn$_invoke$arity$variadic = G__12361__4.cljs$core$IFn$_invoke$arity$variadic; -return G__12361; -})() -;})(fs__$1)) -}); - -/** @this {Function} */ -cljs.core.juxt.cljs$lang$applyTo = (function (seq12334){ -var G__12335 = cljs.core.first(seq12334); -var seq12334__$1 = cljs.core.next(seq12334); -var G__12336 = cljs.core.first(seq12334__$1); -var seq12334__$2 = cljs.core.next(seq12334__$1); -var G__12337 = cljs.core.first(seq12334__$2); -var seq12334__$3 = cljs.core.next(seq12334__$2); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12335,G__12336,G__12337,seq12334__$3); -}); - -cljs.core.juxt.cljs$lang$maxFixedArity = (3); - -/** - * When lazy sequences are produced via functions that have side - * effects, any effects other than those needed to produce the first - * element in the seq do not occur until the seq is consumed. dorun can - * be used to force any effects. Walks through the successive nexts of - * the seq, does not retain the head and returns nil. - */ -cljs.core.dorun = (function cljs$core$dorun(var_args){ -var G__12368 = arguments.length; -switch (G__12368) { -case 1: -return cljs.core.dorun.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.dorun.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.dorun.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -while(true){ -var temp__4657__auto__ = cljs.core.seq(coll); -if(temp__4657__auto__){ -var s = temp__4657__auto__; -var G__12370 = cljs.core.next(s); -coll = G__12370; -continue; -} else { -return null; -} -break; -} -}); - -cljs.core.dorun.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ -while(true){ -if(((cljs.core.seq(coll)) && ((n > (0))))){ -var G__12371 = (n - (1)); -var G__12372 = cljs.core.next(coll); -n = G__12371; -coll = G__12372; -continue; -} else { -return null; -} -break; -} -}); - -cljs.core.dorun.cljs$lang$maxFixedArity = 2; - -/** - * When lazy sequences are produced via functions that have side - * effects, any effects other than those needed to produce the first - * element in the seq do not occur until the seq is consumed. doall can - * be used to force any effects. Walks through the successive nexts of - * the seq, retains the head and returns it, thus causing the entire - * seq to reside in memory at one time. - */ -cljs.core.doall = (function cljs$core$doall(var_args){ -var G__12374 = arguments.length; -switch (G__12374) { -case 1: -return cljs.core.doall.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.doall.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.doall.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -cljs.core.dorun.cljs$core$IFn$_invoke$arity$1(coll); - -return coll; -}); - -cljs.core.doall.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ -cljs.core.dorun.cljs$core$IFn$_invoke$arity$2(n,coll); - -return coll; -}); - -cljs.core.doall.cljs$lang$maxFixedArity = 2; - -/** - * Returns true if x is a JavaScript RegExp instance. - */ -cljs.core.regexp_QMARK_ = (function cljs$core$regexp_QMARK_(x){ -return (x instanceof RegExp); -}); -/** - * Returns the result of (re-find re s) if re fully matches s. - */ -cljs.core.re_matches = (function cljs$core$re_matches(re,s){ -if(typeof s === 'string'){ -var matches = re.exec(s); -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.first(matches),s)){ -if((cljs.core.count(matches) === (1))){ -return cljs.core.first(matches); -} else { -return cljs.core.vec(matches); -} -} else { -return null; -} -} else { -throw (new TypeError("re-matches must match against a string.")); -} -}); -/** - * Returns the first regex match, if any, of s to re, using - * re.exec(s). Returns a vector, containing first the matching - * substring, then any capturing groups if the regular expression contains - * capturing groups. - */ -cljs.core.re_find = (function cljs$core$re_find(re,s){ -if(typeof s === 'string'){ -var matches = re.exec(s); -if((matches == null)){ -return null; -} else { -if((cljs.core.count(matches) === (1))){ -return cljs.core.first(matches); -} else { -return cljs.core.vec(matches); -} -} -} else { -throw (new TypeError("re-find must match against a string.")); -} -}); -/** - * Returns a lazy sequence of successive matches of re in s. - */ -cljs.core.re_seq = (function cljs$core$re_seq(re,s){ -var match_data = cljs.core.re_find(re,s); -var match_idx = s.search(re); -var match_str = ((cljs.core.coll_QMARK_(match_data))?cljs.core.first(match_data):match_data); -var post_idx = (match_idx + (function (){var x__8162__auto__ = (1); -var y__8163__auto__ = cljs.core.count(match_str); -return ((x__8162__auto__ > y__8163__auto__) ? x__8162__auto__ : y__8163__auto__); -})()); -var post_match = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,post_idx); -if(cljs.core.truth_(match_data)){ -return (new cljs.core.LazySeq(null,((function (match_data,match_idx,match_str,post_idx,post_match){ -return (function (){ -return cljs.core.cons(match_data,(((post_idx <= cljs.core.count(s)))?(cljs.core.re_seq.cljs$core$IFn$_invoke$arity$2 ? cljs.core.re_seq.cljs$core$IFn$_invoke$arity$2(re,post_match) : cljs.core.re_seq.call(null,re,post_match)):null)); -});})(match_data,match_idx,match_str,post_idx,post_match)) -,null,null)); -} else { -return null; -} -}); -/** - * Returns an instance of RegExp which has compiled the provided string. - */ -cljs.core.re_pattern = (function cljs$core$re_pattern(s){ -if((s instanceof RegExp)){ -return s; -} else { -var vec__12376 = cljs.core.re_find(/^\(\?([idmsux]*)\)/,s); -var prefix = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12376,(0),null); -var flags = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12376,(1),null); -var pattern = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,cljs.core.count(prefix)); -return (new RegExp(pattern,(function (){var or__7806__auto__ = flags; -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return ""; -} -})())); -} -}); -cljs.core.pr_sequential_writer = (function cljs$core$pr_sequential_writer(writer,print_one,begin,sep,end,opts,coll){ -var _STAR_print_level_STAR__orig_val__12379 = cljs.core._STAR_print_level_STAR_; -var _STAR_print_level_STAR__temp_val__12380 = (((cljs.core._STAR_print_level_STAR_ == null))?null:(cljs.core._STAR_print_level_STAR_ - (1))); -cljs.core._STAR_print_level_STAR_ = _STAR_print_level_STAR__temp_val__12380; - -try{if((((!((cljs.core._STAR_print_level_STAR_ == null)))) && ((cljs.core._STAR_print_level_STAR_ < (0))))){ -return cljs.core._write(writer,"#"); -} else { -cljs.core._write(writer,begin); - -if((new cljs.core.Keyword(null,"print-length","print-length",1931866356).cljs$core$IFn$_invoke$arity$1(opts) === (0))){ -if(cljs.core.seq(coll)){ -cljs.core._write(writer,(function (){var or__7806__auto__ = new cljs.core.Keyword(null,"more-marker","more-marker",-14717935).cljs$core$IFn$_invoke$arity$1(opts); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return "..."; -} -})()); -} else { -} -} else { -if(cljs.core.seq(coll)){ -var G__12381_12387 = cljs.core.first(coll); -var G__12382_12388 = writer; -var G__12383_12389 = opts; -(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__12381_12387,G__12382_12388,G__12383_12389) : print_one.call(null,G__12381_12387,G__12382_12388,G__12383_12389)); -} else { -} - -var coll_12390__$1 = cljs.core.next(coll); -var n_12391 = (new cljs.core.Keyword(null,"print-length","print-length",1931866356).cljs$core$IFn$_invoke$arity$1(opts) - (1)); -while(true){ -if(((coll_12390__$1) && ((((n_12391 == null)) || ((!((n_12391 === (0))))))))){ -cljs.core._write(writer,sep); - -var G__12384_12392 = cljs.core.first(coll_12390__$1); -var G__12385_12393 = writer; -var G__12386_12394 = opts; -(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__12384_12392,G__12385_12393,G__12386_12394) : print_one.call(null,G__12384_12392,G__12385_12393,G__12386_12394)); - -var G__12395 = cljs.core.next(coll_12390__$1); -var G__12396 = (n_12391 - (1)); -coll_12390__$1 = G__12395; -n_12391 = G__12396; -continue; -} else { -if(((cljs.core.seq(coll_12390__$1)) && ((n_12391 === (0))))){ -cljs.core._write(writer,sep); - -cljs.core._write(writer,(function (){var or__7806__auto__ = new cljs.core.Keyword(null,"more-marker","more-marker",-14717935).cljs$core$IFn$_invoke$arity$1(opts); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return "..."; -} -})()); -} else { -} -} -break; -} -} - -return cljs.core._write(writer,end); -} -}finally {cljs.core._STAR_print_level_STAR_ = _STAR_print_level_STAR__orig_val__12379; -}}); -cljs.core.write_all = (function cljs$core$write_all(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12403 = arguments.length; -var i__9001__auto___12404 = (0); -while(true){ -if((i__9001__auto___12404 < len__9000__auto___12403)){ -args__9010__auto__.push((arguments[i__9001__auto___12404])); - -var G__12405 = (i__9001__auto___12404 + (1)); -i__9001__auto___12404 = G__12405; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((1) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((1)),(0),null)):null); -return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9011__auto__); -}); - -cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic = (function (writer,ss){ -var seq__12399 = cljs.core.seq(ss); -var chunk__12400 = null; -var count__12401 = (0); -var i__12402 = (0); -while(true){ -if((i__12402 < count__12401)){ -var s = chunk__12400.cljs$core$IIndexed$_nth$arity$2(null,i__12402); -cljs.core._write(writer,s); - - -var G__12406 = seq__12399; -var G__12407 = chunk__12400; -var G__12408 = count__12401; -var G__12409 = (i__12402 + (1)); -seq__12399 = G__12406; -chunk__12400 = G__12407; -count__12401 = G__12408; -i__12402 = G__12409; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__12399); -if(temp__4657__auto__){ -var seq__12399__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__12399__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__12399__$1); -var G__12410 = cljs.core.chunk_rest(seq__12399__$1); -var G__12411 = c__8664__auto__; -var G__12412 = cljs.core.count(c__8664__auto__); -var G__12413 = (0); -seq__12399 = G__12410; -chunk__12400 = G__12411; -count__12401 = G__12412; -i__12402 = G__12413; -continue; -} else { -var s = cljs.core.first(seq__12399__$1); -cljs.core._write(writer,s); - - -var G__12414 = cljs.core.next(seq__12399__$1); -var G__12415 = null; -var G__12416 = (0); -var G__12417 = (0); -seq__12399 = G__12414; -chunk__12400 = G__12415; -count__12401 = G__12416; -i__12402 = G__12417; -continue; -} -} else { -return null; -} -} -break; -} -}); - -cljs.core.write_all.cljs$lang$maxFixedArity = (1); - -/** @this {Function} */ -cljs.core.write_all.cljs$lang$applyTo = (function (seq12397){ -var G__12398 = cljs.core.first(seq12397); -var seq12397__$1 = cljs.core.next(seq12397); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12398,seq12397__$1); -}); - -cljs.core.string_print = (function cljs$core$string_print(x){ -if((cljs.core._STAR_print_fn_STAR_ == null)){ -throw (new Error("No *print-fn* fn set for evaluation environment")); -} else { -} - -(cljs.core._STAR_print_fn_STAR_.cljs$core$IFn$_invoke$arity$1 ? cljs.core._STAR_print_fn_STAR_.cljs$core$IFn$_invoke$arity$1(x) : cljs.core._STAR_print_fn_STAR_.call(null,x)); - -return null; -}); -cljs.core.flush = (function cljs$core$flush(){ -return null; -}); -cljs.core.char_escapes = (function (){var obj12419 = {"\"":"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"}; -return obj12419; -})(); -cljs.core.quote_string = (function cljs$core$quote_string(s){ -return [cljs.core.str.cljs$core$IFn$_invoke$arity$1("\""),cljs.core.str.cljs$core$IFn$_invoke$arity$1(s.replace(RegExp("[\\\\\"\b\f\n\r\t]","g"),(function (match){ -return (cljs.core.char_escapes[match]); -}))),cljs.core.str.cljs$core$IFn$_invoke$arity$1("\"")].join(''); -}); -cljs.core.print_meta_QMARK_ = (function cljs$core$print_meta_QMARK_(opts,obj){ -var and__7791__auto__ = cljs.core.boolean$(cljs.core.get.cljs$core$IFn$_invoke$arity$2(opts,new cljs.core.Keyword(null,"meta","meta",1499536964))); -if(and__7791__auto__){ -var and__7791__auto____$1 = (((!((obj == null))))?(((((obj.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === obj.cljs$core$IMeta$))))?true:false):false); -if(and__7791__auto____$1){ -return (!((cljs.core.meta(obj) == null))); -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -}); -cljs.core.pr_writer_impl = (function cljs$core$pr_writer_impl(obj,writer,opts){ -if((obj == null)){ -return cljs.core._write(writer,"nil"); -} else { -if(cljs.core.print_meta_QMARK_(opts,obj)){ -cljs.core._write(writer,"^"); - -cljs.core.pr_writer(cljs.core.meta(obj),writer,opts); - -cljs.core._write(writer," "); -} else { -} - -if(obj.cljs$lang$type){ -return obj.cljs$lang$ctorPrWriter(obj,writer,opts); -} else { -if((((!((obj == null))))?(((((obj.cljs$lang$protocol_mask$partition0$ & (2147483648))) || ((cljs.core.PROTOCOL_SENTINEL === obj.cljs$core$IPrintWithWriter$))))?true:(((!obj.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IPrintWithWriter,obj):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IPrintWithWriter,obj))){ -return cljs.core._pr_writer(obj,writer,opts); -} else { -if(((obj === true) || (obj === false))){ -return cljs.core._write(writer,cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj)); -} else { -if(typeof obj === 'number'){ -return cljs.core._write(writer,((isNaN(obj))?"##NaN":(((obj === Number.POSITIVE_INFINITY))?"##Inf":(((obj === Number.NEGATIVE_INFINITY))?"##-Inf":cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj) -)))); -} else { -if(cljs.core.object_QMARK_(obj)){ -cljs.core._write(writer,"#js "); - -return cljs.core.print_map(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (k){ -return (new cljs.core.MapEntry((function (){var G__12424 = k; -if((!((cljs.core.re_matches(/[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*/,k) == null)))){ -return cljs.core.keyword.cljs$core$IFn$_invoke$arity$1(G__12424); -} else { -return G__12424; -} -})(),(obj[k]),null)); -}),cljs.core.js_keys(obj)),cljs.core.pr_writer,writer,opts); -} else { -if(cljs.core.array_QMARK_(obj)){ -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"#js ["," ","]",opts,obj); -} else { -if(goog.isString(obj)){ -if(cljs.core.truth_(new cljs.core.Keyword(null,"readably","readably",1129599760).cljs$core$IFn$_invoke$arity$1(opts))){ -return cljs.core._write(writer,cljs.core.quote_string(obj)); -} else { -return cljs.core._write(writer,obj); -} -} else { -if(goog.isFunction(obj)){ -var name = obj.name; -var name__$1 = (cljs.core.truth_((function (){var or__7806__auto__ = (name == null); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return goog.string.isEmpty(name); -} -})())?"Function":name); -return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#object[",name__$1,((cljs.core._STAR_print_fn_bodies_STAR_)?[" \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj)),"\""].join(''):""),"]"], 0)); -} else { -if((obj instanceof Date)){ -var normalize = (function (n,len){ -var ns = cljs.core.str.cljs$core$IFn$_invoke$arity$1(n); -while(true){ -if((cljs.core.count(ns) < len)){ -var G__12427 = ["0",cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns)].join(''); -ns = G__12427; -continue; -} else { -return ns; -} -break; -} -}); -return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#inst \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj.getUTCFullYear()),"-",normalize((obj.getUTCMonth() + (1)),(2)),"-",normalize(obj.getUTCDate(),(2)),"T",normalize(obj.getUTCHours(),(2)),":",normalize(obj.getUTCMinutes(),(2)),":",normalize(obj.getUTCSeconds(),(2)),".",normalize(obj.getUTCMilliseconds(),(3)),"-","00:00\""], 0)); -} else { -if(cljs.core.regexp_QMARK_(obj)){ -return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#\"",obj.source,"\""], 0)); -} else { -if(cljs.core.truth_((function (){var G__12425 = obj; -var G__12425__$1 = (((G__12425 == null))?null:G__12425.constructor); -if((G__12425__$1 == null)){ -return null; -} else { -return G__12425__$1.cljs$lang$ctorStr; -} -})())){ -return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#object[",obj.constructor.cljs$lang$ctorStr.replace((new RegExp("/","g")),"."),"]"], 0)); -} else { -var name = (function (){var G__12426 = obj; -var G__12426__$1 = (((G__12426 == null))?null:G__12426.constructor); -if((G__12426__$1 == null)){ -return null; -} else { -return G__12426__$1.name; -} -})(); -var name__$1 = (cljs.core.truth_((function (){var or__7806__auto__ = (name == null); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return goog.string.isEmpty(name); -} -})())?"Object":name); -if((obj.constructor == null)){ -return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#object[",name__$1,"]"], 0)); -} else { -return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#object[",name__$1," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj),"]"], 0)); -} -} - -} -} -} -} -} -} -} -} -} -} - -} -}); -/** - * Prefer this to pr-seq, because it makes the printing function - * configurable, allowing efficient implementations such as appending - * to a StringBuffer. - */ -cljs.core.pr_writer = (function cljs$core$pr_writer(obj,writer,opts){ -var temp__4655__auto__ = new cljs.core.Keyword(null,"alt-impl","alt-impl",670969595).cljs$core$IFn$_invoke$arity$1(opts); -if(cljs.core.truth_(temp__4655__auto__)){ -var alt_impl = temp__4655__auto__; -var G__12428 = obj; -var G__12429 = writer; -var G__12430 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(opts,new cljs.core.Keyword(null,"fallback-impl","fallback-impl",-1501286995),cljs.core.pr_writer_impl); -return (alt_impl.cljs$core$IFn$_invoke$arity$3 ? alt_impl.cljs$core$IFn$_invoke$arity$3(G__12428,G__12429,G__12430) : alt_impl.call(null,G__12428,G__12429,G__12430)); -} else { -return cljs.core.pr_writer_impl(obj,writer,opts); -} -}); -cljs.core.pr_seq_writer = (function cljs$core$pr_seq_writer(objs,writer,opts){ -cljs.core.pr_writer(cljs.core.first(objs),writer,opts); - -var seq__12431 = cljs.core.seq(cljs.core.next(objs)); -var chunk__12432 = null; -var count__12433 = (0); -var i__12434 = (0); -while(true){ -if((i__12434 < count__12433)){ -var obj = chunk__12432.cljs$core$IIndexed$_nth$arity$2(null,i__12434); -cljs.core._write(writer," "); - -cljs.core.pr_writer(obj,writer,opts); - - -var G__12435 = seq__12431; -var G__12436 = chunk__12432; -var G__12437 = count__12433; -var G__12438 = (i__12434 + (1)); -seq__12431 = G__12435; -chunk__12432 = G__12436; -count__12433 = G__12437; -i__12434 = G__12438; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__12431); -if(temp__4657__auto__){ -var seq__12431__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__12431__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__12431__$1); -var G__12439 = cljs.core.chunk_rest(seq__12431__$1); -var G__12440 = c__8664__auto__; -var G__12441 = cljs.core.count(c__8664__auto__); -var G__12442 = (0); -seq__12431 = G__12439; -chunk__12432 = G__12440; -count__12433 = G__12441; -i__12434 = G__12442; -continue; -} else { -var obj = cljs.core.first(seq__12431__$1); -cljs.core._write(writer," "); - -cljs.core.pr_writer(obj,writer,opts); - - -var G__12443 = cljs.core.next(seq__12431__$1); -var G__12444 = null; -var G__12445 = (0); -var G__12446 = (0); -seq__12431 = G__12443; -chunk__12432 = G__12444; -count__12433 = G__12445; -i__12434 = G__12446; -continue; -} -} else { -return null; -} -} -break; -} -}); -cljs.core.pr_sb_with_opts = (function cljs$core$pr_sb_with_opts(objs,opts){ -var sb = (new goog.string.StringBuffer()); -var writer = (new cljs.core.StringBufferWriter(sb)); -cljs.core.pr_seq_writer(objs,writer,opts); - -writer.cljs$core$IWriter$_flush$arity$1(null); - -return sb; -}); -/** - * Prints a sequence of objects to a string, observing all the - * options given in opts - */ -cljs.core.pr_str_with_opts = (function cljs$core$pr_str_with_opts(objs,opts){ -if(cljs.core.empty_QMARK_(objs)){ -return ""; -} else { -return cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.pr_sb_with_opts(objs,opts)); -} -}); -/** - * Same as pr-str-with-opts followed by (newline) - */ -cljs.core.prn_str_with_opts = (function cljs$core$prn_str_with_opts(objs,opts){ -if(cljs.core.empty_QMARK_(objs)){ -return "\n"; -} else { -var sb = cljs.core.pr_sb_with_opts(objs,opts); -sb.append("\n"); - -return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb); -} -}); -/** - * Prints a sequence of objects using string-print, observing all - * the options given in opts - */ -cljs.core.pr_with_opts = (function cljs$core$pr_with_opts(objs,opts){ -return cljs.core.string_print(cljs.core.pr_str_with_opts(objs,opts)); -}); -/** - * Prints a newline using *print-fn* - */ -cljs.core.newline = (function cljs$core$newline(var_args){ -var G__12448 = arguments.length; -switch (G__12448) { -case 0: -return cljs.core.newline.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.newline.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.newline.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.newline.cljs$core$IFn$_invoke$arity$1(null); -}); - -cljs.core.newline.cljs$core$IFn$_invoke$arity$1 = (function (opts){ -cljs.core.string_print("\n"); - -if(cljs.core.truth_(cljs.core.get.cljs$core$IFn$_invoke$arity$2(opts,new cljs.core.Keyword(null,"flush-on-newline","flush-on-newline",-151457939)))){ -return cljs.core.flush(); -} else { -return null; -} -}); - -cljs.core.newline.cljs$lang$maxFixedArity = 1; - -/** - * pr to a string, returning it. Fundamental entrypoint to IPrintWithWriter. - */ -cljs.core.pr_str = (function cljs$core$pr_str(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12451 = arguments.length; -var i__9001__auto___12452 = (0); -while(true){ -if((i__9001__auto___12452 < len__9000__auto___12451)){ -args__9010__auto__.push((arguments[i__9001__auto___12452])); - -var G__12453 = (i__9001__auto___12452 + (1)); -i__9001__auto___12452 = G__12453; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ -return cljs.core.pr_str_with_opts(objs,cljs.core.pr_opts()); -}); - -cljs.core.pr_str.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.pr_str.cljs$lang$applyTo = (function (seq12450){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12450)); -}); - -/** - * Same as pr-str followed by (newline) - */ -cljs.core.prn_str = (function cljs$core$prn_str(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12455 = arguments.length; -var i__9001__auto___12456 = (0); -while(true){ -if((i__9001__auto___12456 < len__9000__auto___12455)){ -args__9010__auto__.push((arguments[i__9001__auto___12456])); - -var G__12457 = (i__9001__auto___12456 + (1)); -i__9001__auto___12456 = G__12457; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.prn_str.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.prn_str.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ -return cljs.core.prn_str_with_opts(objs,cljs.core.pr_opts()); -}); - -cljs.core.prn_str.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.prn_str.cljs$lang$applyTo = (function (seq12454){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12454)); -}); - -/** - * Prints the object(s) using string-print. Prints the - * object(s), separated by spaces if there is more than one. - * By default, pr and prn print in a way that objects can be - * read by the reader - */ -cljs.core.pr = (function cljs$core$pr(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12459 = arguments.length; -var i__9001__auto___12460 = (0); -while(true){ -if((i__9001__auto___12460 < len__9000__auto___12459)){ -args__9010__auto__.push((arguments[i__9001__auto___12460])); - -var G__12461 = (i__9001__auto___12460 + (1)); -i__9001__auto___12460 = G__12461; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ -return cljs.core.pr_with_opts(objs,cljs.core.pr_opts()); -}); - -cljs.core.pr.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.pr.cljs$lang$applyTo = (function (seq12458){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12458)); -}); - -/** - * Prints the object(s) using string-print. - * print and println produce output for human consumption. - * @param {...*} var_args - */ -cljs.core.print = (function() { -var cljs$core$cljs_core_print__delegate = function (objs){ -return cljs.core.pr_with_opts(objs,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.pr_opts(),new cljs.core.Keyword(null,"readably","readably",1129599760),false)); -}; -var cljs$core$cljs_core_print = function (var_args){ -var objs = null; -if (arguments.length > 0) { -var G__12462__i = 0, G__12462__a = new Array(arguments.length - 0); -while (G__12462__i < G__12462__a.length) {G__12462__a[G__12462__i] = arguments[G__12462__i + 0]; ++G__12462__i;} - objs = new cljs.core.IndexedSeq(G__12462__a,0,null); -} -return cljs$core$cljs_core_print__delegate.call(this,objs);}; -cljs$core$cljs_core_print.cljs$lang$maxFixedArity = 0; -cljs$core$cljs_core_print.cljs$lang$applyTo = (function (arglist__12463){ -var objs = cljs.core.seq(arglist__12463); -return cljs$core$cljs_core_print__delegate(objs); -}); -cljs$core$cljs_core_print.cljs$core$IFn$_invoke$arity$variadic = cljs$core$cljs_core_print__delegate; -return cljs$core$cljs_core_print; -})() -; -/** - * print to a string, returning it - */ -cljs.core.print_str = (function cljs$core$print_str(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12465 = arguments.length; -var i__9001__auto___12466 = (0); -while(true){ -if((i__9001__auto___12466 < len__9000__auto___12465)){ -args__9010__auto__.push((arguments[i__9001__auto___12466])); - -var G__12467 = (i__9001__auto___12466 + (1)); -i__9001__auto___12466 = G__12467; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.print_str.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.print_str.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ -return cljs.core.pr_str_with_opts(objs,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.pr_opts(),new cljs.core.Keyword(null,"readably","readably",1129599760),false)); -}); - -cljs.core.print_str.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.print_str.cljs$lang$applyTo = (function (seq12464){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12464)); -}); - -/** - * Same as print followed by (newline) - */ -cljs.core.println = (function cljs$core$println(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12469 = arguments.length; -var i__9001__auto___12470 = (0); -while(true){ -if((i__9001__auto___12470 < len__9000__auto___12469)){ -args__9010__auto__.push((arguments[i__9001__auto___12470])); - -var G__12471 = (i__9001__auto___12470 + (1)); -i__9001__auto___12470 = G__12471; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.println.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ -cljs.core.pr_with_opts(objs,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.pr_opts(),new cljs.core.Keyword(null,"readably","readably",1129599760),false)); - -if(cljs.core._STAR_print_newline_STAR_){ -return cljs.core.newline.cljs$core$IFn$_invoke$arity$1(cljs.core.pr_opts()); -} else { -return null; -} -}); - -cljs.core.println.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.println.cljs$lang$applyTo = (function (seq12468){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12468)); -}); - -/** - * println to a string, returning it - */ -cljs.core.println_str = (function cljs$core$println_str(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12473 = arguments.length; -var i__9001__auto___12474 = (0); -while(true){ -if((i__9001__auto___12474 < len__9000__auto___12473)){ -args__9010__auto__.push((arguments[i__9001__auto___12474])); - -var G__12475 = (i__9001__auto___12474 + (1)); -i__9001__auto___12474 = G__12475; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.println_str.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.println_str.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ -return cljs.core.prn_str_with_opts(objs,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.pr_opts(),new cljs.core.Keyword(null,"readably","readably",1129599760),false)); -}); - -cljs.core.println_str.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.println_str.cljs$lang$applyTo = (function (seq12472){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12472)); -}); - -/** - * Same as pr followed by (newline). - */ -cljs.core.prn = (function cljs$core$prn(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12477 = arguments.length; -var i__9001__auto___12478 = (0); -while(true){ -if((i__9001__auto___12478 < len__9000__auto___12477)){ -args__9010__auto__.push((arguments[i__9001__auto___12478])); - -var G__12479 = (i__9001__auto___12478 + (1)); -i__9001__auto___12478 = G__12479; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.prn.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.prn.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ -cljs.core.pr_with_opts(objs,cljs.core.pr_opts()); - -if(cljs.core._STAR_print_newline_STAR_){ -return cljs.core.newline.cljs$core$IFn$_invoke$arity$1(cljs.core.pr_opts()); -} else { -return null; -} -}); - -cljs.core.prn.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.prn.cljs$lang$applyTo = (function (seq12476){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12476)); -}); - -cljs.core.strip_ns = (function cljs$core$strip_ns(named){ -if((named instanceof cljs.core.Symbol)){ -return cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(null,cljs.core.name(named)); -} else { -return cljs.core.keyword.cljs$core$IFn$_invoke$arity$2(null,cljs.core.name(named)); -} -}); -/** - * Returns [lifted-ns lifted-map] or nil if m can't be lifted. - */ -cljs.core.lift_ns = (function cljs$core$lift_ns(m){ -if(cljs.core._STAR_print_namespace_maps_STAR_){ -var ns = null; -var G__12486 = cljs.core.seq(m); -var vec__12487 = G__12486; -var seq__12488 = cljs.core.seq(vec__12487); -var first__12489 = cljs.core.first(seq__12488); -var seq__12488__$1 = cljs.core.next(seq__12488); -var vec__12490 = first__12489; -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12490,(0),null); -var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12490,(1),null); -var entry = vec__12490; -var entries = seq__12488__$1; -var lm = cljs.core.empty(m); -var ns__$1 = ns; -var G__12486__$1 = G__12486; -var lm__$1 = lm; -while(true){ -var ns__$2 = ns__$1; -var vec__12493 = G__12486__$1; -var seq__12494 = cljs.core.seq(vec__12493); -var first__12495 = cljs.core.first(seq__12494); -var seq__12494__$1 = cljs.core.next(seq__12494); -var vec__12496 = first__12495; -var k__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12496,(0),null); -var v__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12496,(1),null); -var entry__$1 = vec__12496; -var entries__$1 = seq__12494__$1; -var lm__$2 = lm__$1; -if(cljs.core.truth_(entry__$1)){ -if((((k__$1 instanceof cljs.core.Keyword)) || ((k__$1 instanceof cljs.core.Symbol)))){ -if(cljs.core.truth_(ns__$2)){ -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(ns__$2,cljs.core.namespace(k__$1))){ -var G__12499 = ns__$2; -var G__12500 = entries__$1; -var G__12501 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(lm__$2,cljs.core.strip_ns(k__$1),v__$1); -ns__$1 = G__12499; -G__12486__$1 = G__12500; -lm__$1 = G__12501; -continue; -} else { -return null; -} -} else { -var temp__4657__auto__ = cljs.core.namespace(k__$1); -if(cljs.core.truth_(temp__4657__auto__)){ -var new_ns = temp__4657__auto__; -var G__12502 = new_ns; -var G__12503 = entries__$1; -var G__12504 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(lm__$2,cljs.core.strip_ns(k__$1),v__$1); -ns__$1 = G__12502; -G__12486__$1 = G__12503; -lm__$1 = G__12504; -continue; -} else { -return null; -} -} -} else { -return null; -} -} else { -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [ns__$2,lm__$2], null); -} -break; -} -} else { -return null; -} -}); -cljs.core.print_prefix_map = (function cljs$core$print_prefix_map(prefix,m,print_one,writer,opts){ -return cljs.core.pr_sequential_writer(writer,(function (e,w,opts__$1){ -var G__12505_12511 = cljs.core.key(e); -var G__12506_12512 = w; -var G__12507_12513 = opts__$1; -(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__12505_12511,G__12506_12512,G__12507_12513) : print_one.call(null,G__12505_12511,G__12506_12512,G__12507_12513)); - -cljs.core._write(w," "); - -var G__12508 = cljs.core.val(e); -var G__12509 = w; -var G__12510 = opts__$1; -return (print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__12508,G__12509,G__12510) : print_one.call(null,G__12508,G__12509,G__12510)); -}),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(prefix),"{"].join(''),", ","}",opts,cljs.core.seq(m)); -}); -cljs.core.print_map = (function cljs$core$print_map(m,print_one,writer,opts){ -var vec__12514 = ((cljs.core.map_QMARK_(m))?cljs.core.lift_ns(m):null); -var ns = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12514,(0),null); -var lift_map = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12514,(1),null); -if(cljs.core.truth_(ns)){ -return cljs.core.print_prefix_map(["#:",cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns)].join(''),lift_map,print_one,writer,opts); -} else { -return cljs.core.print_prefix_map(null,m,print_one,writer,opts); -} -}); -cljs.core.Volatile.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Volatile.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (a,writer,opts){ -var a__$1 = this; -cljs.core._write(writer,"#object [cljs.core.Volatile "); - -cljs.core.pr_writer(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"val","val",128701612),a__$1.state], null),writer,opts); - -return cljs.core._write(writer,"]"); -}); - -cljs.core.Var.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Var.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (a,writer,opts){ -var a__$1 = this; -cljs.core._write(writer,"#'"); - -return cljs.core.pr_writer(a__$1.sym,writer,opts); -}); - -cljs.core.IndexedSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.IndexedSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.LazySeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.LazySeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.MapEntry.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.MapEntry.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); -}); - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.NodeSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.NodeSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.BlackNode.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.BlackNode.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); -}); - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.ES6IteratorSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.ES6IteratorSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.PersistentTreeSet.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentTreeSet.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"#{"," ","}",opts,coll__$1); -}); - -cljs.core.ChunkedSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.ChunkedSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.ObjMap.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.ObjMap.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts); -}); - -cljs.core.Cons.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Cons.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.Iterate.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Iterate.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.RSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.RSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.PersistentHashMap.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentHashMap.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts); -}); - -cljs.core.ArrayNodeSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.ArrayNodeSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.Subvec.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Subvec.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); -}); - -cljs.core.Cycle.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Cycle.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.PersistentTreeMap.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentTreeMap.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts); -}); - -cljs.core.PersistentHashSet.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentHashSet.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"#{"," ","}",opts,coll__$1); -}); - -cljs.core.ChunkedCons.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.ChunkedCons.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.Atom.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Atom.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (a,writer,opts){ -var a__$1 = this; -cljs.core._write(writer,"#object [cljs.core.Atom "); - -cljs.core.pr_writer(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"val","val",128701612),a__$1.state], null),writer,opts); - -return cljs.core._write(writer,"]"); -}); - -cljs.core.ValSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.ValSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.RedNode.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.RedNode.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); -}); - -cljs.core.Repeat.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Repeat.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.PersistentVector.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentVector.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); -}); - -cljs.core.PersistentQueueSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentQueueSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.EmptyList.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.EmptyList.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core._write(writer,"()"); -}); - -cljs.core.PersistentQueue.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentQueue.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"#queue ["," ","]",opts,cljs.core.seq(coll__$1)); -}); - -cljs.core.PersistentArrayMap.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentArrayMap.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts); -}); - -cljs.core.Range.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Range.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.TransformerIterator.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.TransformerIterator.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.KeySeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.KeySeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); - -cljs.core.List.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.List.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ -var coll__$1 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); -}); -cljs.core.Symbol.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Symbol.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ -var x__$1 = this; -if((y instanceof cljs.core.Symbol)){ -return cljs.core.compare_symbols(x__$1,y); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); -} -}); - -cljs.core.Keyword.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Keyword.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ -var x__$1 = this; -if((y instanceof cljs.core.Keyword)){ -return cljs.core.compare_keywords(x__$1,y); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); -} -}); - -cljs.core.Subvec.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.Subvec.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ -var x__$1 = this; -if(cljs.core.vector_QMARK_(y)){ -return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); -} -}); - -cljs.core.PersistentVector.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.PersistentVector.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ -var x__$1 = this; -if(cljs.core.vector_QMARK_(y)){ -return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); -} -}); - -cljs.core.MapEntry.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.MapEntry.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ -var x__$1 = this; -if(cljs.core.vector_QMARK_(y)){ -return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); -} -}); - -cljs.core.BlackNode.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.BlackNode.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ -var x__$1 = this; -if(cljs.core.vector_QMARK_(y)){ -return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); -} -}); - -cljs.core.RedNode.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.RedNode.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ -var x__$1 = this; -if(cljs.core.vector_QMARK_(y)){ -return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); -} else { -throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); -} -}); -/** - * Atomically sets the metadata for a namespace/var/ref/agent/atom to be: - * - * (apply f its-current-meta args) - * - * f must be free of side-effects - */ -cljs.core.alter_meta_BANG_ = (function cljs$core$alter_meta_BANG_(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12520 = arguments.length; -var i__9001__auto___12521 = (0); -while(true){ -if((i__9001__auto___12521 < len__9000__auto___12520)){ -args__9010__auto__.push((arguments[i__9001__auto___12521])); - -var G__12522 = (i__9001__auto___12521 + (1)); -i__9001__auto___12521 = G__12522; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((2) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((2)),(0),null)):null); -return cljs.core.alter_meta_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__9011__auto__); -}); - -cljs.core.alter_meta_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (iref,f,args){ -return iref.meta = cljs.core.apply.cljs$core$IFn$_invoke$arity$3(f,iref.meta,args); -}); - -cljs.core.alter_meta_BANG_.cljs$lang$maxFixedArity = (2); - -/** @this {Function} */ -cljs.core.alter_meta_BANG_.cljs$lang$applyTo = (function (seq12517){ -var G__12518 = cljs.core.first(seq12517); -var seq12517__$1 = cljs.core.next(seq12517); -var G__12519 = cljs.core.first(seq12517__$1); -var seq12517__$2 = cljs.core.next(seq12517__$1); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12518,G__12519,seq12517__$2); -}); - -/** - * Atomically resets the metadata for an atom - */ -cljs.core.reset_meta_BANG_ = (function cljs$core$reset_meta_BANG_(iref,m){ -return iref.meta = m; -}); -/** - * Adds a watch function to an atom reference. The watch fn must be a - * fn of 4 args: a key, the reference, its old-state, its - * new-state. Whenever the reference's state might have been changed, - * any registered watches will have their functions called. The watch - * fn will be called synchronously. Note that an atom's state - * may have changed again prior to the fn call, so use old/new-state - * rather than derefing the reference. Keys must be unique per - * reference, and can be used to remove the watch with remove-watch, - * but are otherwise considered opaque by the watch mechanism. Bear in - * mind that regardless of the result or action of the watch fns the - * atom's value will change. Example: - * - * (def a (atom 0)) - * (add-watch a :inc (fn [k r o n] (assert (== 0 n)))) - * (swap! a inc) - * ;; Assertion Error - * (deref a) - * ;=> 1 - */ -cljs.core.add_watch = (function cljs$core$add_watch(iref,key,f){ -cljs.core._add_watch(iref,key,f); - -return iref; -}); -/** - * Removes a watch (set by add-watch) from a reference - */ -cljs.core.remove_watch = (function cljs$core$remove_watch(iref,key){ -cljs.core._remove_watch(iref,key); - -return iref; -}); -/** - * @type {*} - */ -cljs.core.gensym_counter = null; -/** - * Returns a new symbol with a unique name. If a prefix string is - * supplied, the name is prefix# where # is some unique number. If - * prefix is not supplied, the prefix is 'G__'. - */ -cljs.core.gensym = (function cljs$core$gensym(var_args){ -var G__12524 = arguments.length; -switch (G__12524) { -case 0: -return cljs.core.gensym.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.gensym.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.gensym.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.gensym.cljs$core$IFn$_invoke$arity$1("G__"); -}); - -cljs.core.gensym.cljs$core$IFn$_invoke$arity$1 = (function (prefix_string){ -if((cljs.core.gensym_counter == null)){ -cljs.core.gensym_counter = cljs.core.atom.cljs$core$IFn$_invoke$arity$1((0)); -} else { -} - -return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1([cljs.core.str.cljs$core$IFn$_invoke$arity$1(prefix_string),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(cljs.core.gensym_counter,cljs.core.inc))].join('')); -}); - -cljs.core.gensym.cljs$lang$maxFixedArity = 1; - - -/** -* @constructor - * @implements {cljs.core.IPending} - * @implements {cljs.core.IDeref} - * @implements {cljs.core.IPrintWithWriter} -*/ -cljs.core.Delay = (function (f,value){ -this.f = f; -this.value = value; -this.cljs$lang$protocol_mask$partition0$ = 2147516416; -this.cljs$lang$protocol_mask$partition1$ = 1; -}); -cljs.core.Delay.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -if(cljs.core.truth_(self__.f)){ -self__.value = (self__.f.cljs$core$IFn$_invoke$arity$0 ? self__.f.cljs$core$IFn$_invoke$arity$0() : self__.f.call(null)); - -self__.f = null; -} else { -} - -return self__.value; -}); - -cljs.core.Delay.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (x){ -var self__ = this; -var x__$1 = this; -return cljs.core.not(self__.f); -}); - -cljs.core.Delay.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (x,writer,opts){ -var self__ = this; -var x__$1 = this; -cljs.core._write(writer,"#object[cljs.core.Delay "); - -cljs.core.pr_writer(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"status","status",-1997798413),(((self__.f == null))?new cljs.core.Keyword(null,"ready","ready",1086465795):new cljs.core.Keyword(null,"pending","pending",-220036727)),new cljs.core.Keyword(null,"val","val",128701612),self__.value], null),writer,opts); - -return cljs.core._write(writer,"]"); -}); - -cljs.core.Delay.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"f","f",43394975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"value","value",1946509744,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.Delay.cljs$lang$type = true; - -cljs.core.Delay.cljs$lang$ctorStr = "cljs.core/Delay"; - -cljs.core.Delay.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Delay"); -}); - -/** - * Positional factory function for cljs.core/Delay. - */ -cljs.core.__GT_Delay = (function cljs$core$__GT_Delay(f,value){ -return (new cljs.core.Delay(f,value)); -}); - -/** - * returns true if x is a Delay created with delay - */ -cljs.core.delay_QMARK_ = (function cljs$core$delay_QMARK_(x){ -return (x instanceof cljs.core.Delay); -}); -/** - * If x is a Delay, returns the (possibly cached) value of its expression, else returns x - */ -cljs.core.force = (function cljs$core$force(x){ -if(cljs.core.delay_QMARK_(x)){ -return cljs.core.deref(x); -} else { -return x; -} -}); -/** - * Returns true if a value has been produced for a delay or lazy sequence. - */ -cljs.core.realized_QMARK_ = (function cljs$core$realized_QMARK_(x){ -return cljs.core._realized_QMARK_(x); -}); -cljs.core.preserving_reduced = (function cljs$core$preserving_reduced(rf){ -return (function (p1__12526_SHARP_,p2__12527_SHARP_){ -var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(p1__12526_SHARP_,p2__12527_SHARP_) : rf.call(null,p1__12526_SHARP_,p2__12527_SHARP_)); -if(cljs.core.reduced_QMARK_(ret)){ -return cljs.core.reduced(ret); -} else { -return ret; -} -}); -}); -/** - * A transducer which concatenates the contents of each input, which must be a - * collection, into the reduction. - */ -cljs.core.cat = (function cljs$core$cat(rf){ -var rf1 = cljs.core.preserving_reduced(rf); -return ((function (rf1){ -return (function() { -var G__12528 = null; -var G__12528__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__12528__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__12528__2 = (function (result,input){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(rf1,result,input); -}); -G__12528 = function(result,input){ -switch(arguments.length){ -case 0: -return G__12528__0.call(this); -case 1: -return G__12528__1.call(this,result); -case 2: -return G__12528__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12528.cljs$core$IFn$_invoke$arity$0 = G__12528__0; -G__12528.cljs$core$IFn$_invoke$arity$1 = G__12528__1; -G__12528.cljs$core$IFn$_invoke$arity$2 = G__12528__2; -return G__12528; -})() -;})(rf1)) -}); -/** - * Returns a transducer that ends transduction when pred returns true - * for an input. When retf is supplied it must be a fn of 2 arguments - - * it will be passed the (completed) result so far and the input that - * triggered the predicate, and its return value (if it does not throw - * an exception) will be the return value of the transducer. If retf - * is not supplied, the input that triggered the predicate will be - * returned. If the predicate never returns true the transduction is - * unaffected. - */ -cljs.core.halt_when = (function cljs$core$halt_when(var_args){ -var G__12530 = arguments.length; -switch (G__12530) { -case 1: -return cljs.core.halt_when.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.halt_when.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.halt_when.cljs$core$IFn$_invoke$arity$1 = (function (pred){ -return cljs.core.halt_when.cljs$core$IFn$_invoke$arity$2(pred,null); -}); - -cljs.core.halt_when.cljs$core$IFn$_invoke$arity$2 = (function (pred,retf){ -return (function (rf){ -return (function() { -var G__12534 = null; -var G__12534__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__12534__1 = (function (result){ -if(((cljs.core.map_QMARK_(result)) && (cljs.core.contains_QMARK_(result,new cljs.core.Keyword("cljs.core","halt","cljs.core/halt",-1049036715))))){ -return new cljs.core.Keyword("cljs.core","halt","cljs.core/halt",-1049036715).cljs$core$IFn$_invoke$arity$1(result); -} else { -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -} -}); -var G__12534__2 = (function (result,input){ -if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null,input)))){ -return cljs.core.reduced(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword("cljs.core","halt","cljs.core/halt",-1049036715),(cljs.core.truth_(retf)?(function (){var G__12531 = (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -var G__12532 = input; -return (retf.cljs$core$IFn$_invoke$arity$2 ? retf.cljs$core$IFn$_invoke$arity$2(G__12531,G__12532) : retf.call(null,G__12531,G__12532)); -})():input)], null)); -} else { -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); -} -}); -G__12534 = function(result,input){ -switch(arguments.length){ -case 0: -return G__12534__0.call(this); -case 1: -return G__12534__1.call(this,result); -case 2: -return G__12534__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12534.cljs$core$IFn$_invoke$arity$0 = G__12534__0; -G__12534.cljs$core$IFn$_invoke$arity$1 = G__12534__1; -G__12534.cljs$core$IFn$_invoke$arity$2 = G__12534__2; -return G__12534; -})() -}); -}); - -cljs.core.halt_when.cljs$lang$maxFixedArity = 2; - -/** - * Returns a lazy sequence removing consecutive duplicates in coll. - * Returns a transducer when no collection is provided. - */ -cljs.core.dedupe = (function cljs$core$dedupe(var_args){ -var G__12536 = arguments.length; -switch (G__12536) { -case 0: -return cljs.core.dedupe.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.dedupe.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.dedupe.cljs$core$IFn$_invoke$arity$0 = (function (){ -return (function (rf){ -var pa = cljs.core.volatile_BANG_(new cljs.core.Keyword("cljs.core","none","cljs.core/none",926646439)); -return ((function (pa){ -return (function() { -var G__12538 = null; -var G__12538__0 = (function (){ -return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null)); -}); -var G__12538__1 = (function (result){ -return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null,result)); -}); -var G__12538__2 = (function (result,input){ -var prior = cljs.core.deref(pa); -cljs.core.vreset_BANG_(pa,input); - -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(prior,input)){ -return result; -} else { -return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null,result,input)); -} -}); -G__12538 = function(result,input){ -switch(arguments.length){ -case 0: -return G__12538__0.call(this); -case 1: -return G__12538__1.call(this,result); -case 2: -return G__12538__2.call(this,result,input); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12538.cljs$core$IFn$_invoke$arity$0 = G__12538__0; -G__12538.cljs$core$IFn$_invoke$arity$1 = G__12538__1; -G__12538.cljs$core$IFn$_invoke$arity$2 = G__12538__2; -return G__12538; -})() -;})(pa)) -}); -}); - -cljs.core.dedupe.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -return cljs.core.sequence.cljs$core$IFn$_invoke$arity$2(cljs.core.dedupe.cljs$core$IFn$_invoke$arity$0(),coll); -}); - -cljs.core.dedupe.cljs$lang$maxFixedArity = 1; - -/** - * Returns items from coll with random probability of prob (0.0 - - * 1.0). Returns a transducer when no collection is provided. - */ -cljs.core.random_sample = (function cljs$core$random_sample(var_args){ -var G__12540 = arguments.length; -switch (G__12540) { -case 1: -return cljs.core.random_sample.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.random_sample.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.random_sample.cljs$core$IFn$_invoke$arity$1 = (function (prob){ -return cljs.core.filter.cljs$core$IFn$_invoke$arity$1((function (_){ -return (cljs.core.rand.cljs$core$IFn$_invoke$arity$0() < prob); -})); -}); - -cljs.core.random_sample.cljs$core$IFn$_invoke$arity$2 = (function (prob,coll){ -return cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (_){ -return (cljs.core.rand.cljs$core$IFn$_invoke$arity$0() < prob); -}),coll); -}); - -cljs.core.random_sample.cljs$lang$maxFixedArity = 2; - - -/** -* @constructor - * @implements {cljs.core.ISeqable} - * @implements {cljs.core.IPrintWithWriter} - * @implements {cljs.core.IIterable} - * @implements {cljs.core.ISequential} - * @implements {cljs.core.IReduce} -*/ -cljs.core.Eduction = (function (xform,coll){ -this.xform = xform; -this.coll = coll; -this.cljs$lang$protocol_mask$partition0$ = 2173173760; -this.cljs$lang$protocol_mask$partition1$ = 131072; -}); -cljs.core.Eduction.prototype.indexOf = (function() { -var G__12542 = null; -var G__12542__1 = (function (x){ -var self__ = this; -var coll__$1 = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll__$1,x,(0)); -}); -var G__12542__2 = (function (x,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll__$1,x,start); -}); -G__12542 = function(x,start){ -switch(arguments.length){ -case 1: -return G__12542__1.call(this,x); -case 2: -return G__12542__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12542.cljs$core$IFn$_invoke$arity$1 = G__12542__1; -G__12542.cljs$core$IFn$_invoke$arity$2 = G__12542__2; -return G__12542; -})() -; - -cljs.core.Eduction.prototype.lastIndexOf = (function() { -var G__12543 = null; -var G__12543__1 = (function (x){ -var self__ = this; -var coll__$1 = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll__$1,x,cljs.core.count(coll__$1)); -}); -var G__12543__2 = (function (x,start){ -var self__ = this; -var coll__$1 = this; -return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll__$1,x,start); -}); -G__12543 = function(x,start){ -switch(arguments.length){ -case 1: -return G__12543__1.call(this,x); -case 2: -return G__12543__2.call(this,x,start); -} -throw(new Error('Invalid arity: ' + arguments.length)); -}; -G__12543.cljs$core$IFn$_invoke$arity$1 = G__12543__1; -G__12543.cljs$core$IFn$_invoke$arity$2 = G__12543__2; -return G__12543; -})() -; - -cljs.core.Eduction.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return cljs.core.TransformerIterator.create(self__.xform,cljs.core.iter(self__.coll)); -}); - -cljs.core.Eduction.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return cljs.core.seq(cljs.core.sequence.cljs$core$IFn$_invoke$arity$2(self__.xform,self__.coll)); -}); - -cljs.core.Eduction.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (_,f){ -var self__ = this; -var ___$1 = this; -return cljs.core.transduce.cljs$core$IFn$_invoke$arity$3(self__.xform,cljs.core.completing.cljs$core$IFn$_invoke$arity$1(f),self__.coll); -}); - -cljs.core.Eduction.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (_,f,init){ -var self__ = this; -var ___$1 = this; -return cljs.core.transduce.cljs$core$IFn$_invoke$arity$4(self__.xform,cljs.core.completing.cljs$core$IFn$_invoke$arity$1(f),init,self__.coll); -}); - -cljs.core.Eduction.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll__$1,writer,opts){ -var self__ = this; -var coll__$2 = this; -return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$2); -}); - -cljs.core.Eduction.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"xform","xform",-85179481,null),new cljs.core.Symbol(null,"coll","coll",-1006698606,null)], null); -}); - -cljs.core.Eduction.cljs$lang$type = true; - -cljs.core.Eduction.cljs$lang$ctorStr = "cljs.core/Eduction"; - -cljs.core.Eduction.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Eduction"); -}); - -/** - * Positional factory function for cljs.core/Eduction. - */ -cljs.core.__GT_Eduction = (function cljs$core$__GT_Eduction(xform,coll){ -return (new cljs.core.Eduction(xform,coll)); -}); - -var G__12544_12547 = cljs.core.Eduction.prototype; -var G__12545_12548 = cljs.core.ITER_SYMBOL; -var G__12546_12549 = ((function (G__12544_12547,G__12545_12548){ -return (function (){ -var this__8871__auto__ = this; -return cljs.core.es6_iterator(this__8871__auto__); -});})(G__12544_12547,G__12545_12548)) -; -goog.object.set(G__12544_12547,G__12545_12548,G__12546_12549); -/** - * Returns a reducible/iterable application of the transducers - * to the items in coll. Transducers are applied in order as if - * combined with comp. Note that these applications will be - * performed every time reduce/iterator is called. - */ -cljs.core.eduction = (function cljs$core$eduction(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12551 = arguments.length; -var i__9001__auto___12552 = (0); -while(true){ -if((i__9001__auto___12552 < len__9000__auto___12551)){ -args__9010__auto__.push((arguments[i__9001__auto___12552])); - -var G__12553 = (i__9001__auto___12552 + (1)); -i__9001__auto___12552 = G__12553; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((0) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((0)),(0),null)):null); -return cljs.core.eduction.cljs$core$IFn$_invoke$arity$variadic(argseq__9011__auto__); -}); - -cljs.core.eduction.cljs$core$IFn$_invoke$arity$variadic = (function (xforms){ -return (new cljs.core.Eduction(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.comp,cljs.core.butlast(xforms)),cljs.core.last(xforms))); -}); - -cljs.core.eduction.cljs$lang$maxFixedArity = (0); - -/** @this {Function} */ -cljs.core.eduction.cljs$lang$applyTo = (function (seq12550){ -var self__8988__auto__ = this; -return self__8988__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq12550)); -}); - -/** - * Runs the supplied procedure (via reduce), for purposes of side - * effects, on successive items in the collection. Returns nil - */ -cljs.core.run_BANG_ = (function cljs$core$run_BANG_(proc,coll){ -cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__12555_SHARP_,p2__12554_SHARP_){ -return (proc.cljs$core$IFn$_invoke$arity$1 ? proc.cljs$core$IFn$_invoke$arity$1(p2__12554_SHARP_) : proc.call(null,p2__12554_SHARP_)); -}),null,coll); - -return null; -}); - -/** - * @interface - */ -cljs.core.IEncodeJS = function(){}; - -/** - * Recursively transforms clj values to JavaScript - */ -cljs.core._clj__GT_js = (function cljs$core$_clj__GT_js(x){ -if((((!((x == null)))) && ((!((x.cljs$core$IEncodeJS$_clj__GT_js$arity$1 == null)))))){ -return x.cljs$core$IEncodeJS$_clj__GT_js$arity$1(x); -} else { -var x__8502__auto__ = (((x == null))?null:x); -var m__8503__auto__ = (cljs.core._clj__GT_js[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto__.call(null,x)); -} else { -var m__8503__auto____$1 = (cljs.core._clj__GT_js["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto____$1.call(null,x)); -} else { -throw cljs.core.missing_protocol("IEncodeJS.-clj->js",x); -} -} -} -}); - -/** - * Transforms map keys to valid JavaScript keys. Arbitrary keys are - * encoded to their string representation via (pr-str x) - */ -cljs.core._key__GT_js = (function cljs$core$_key__GT_js(x){ -if((((!((x == null)))) && ((!((x.cljs$core$IEncodeJS$_key__GT_js$arity$1 == null)))))){ -return x.cljs$core$IEncodeJS$_key__GT_js$arity$1(x); -} else { -var x__8502__auto__ = (((x == null))?null:x); -var m__8503__auto__ = (cljs.core._key__GT_js[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto__.call(null,x)); -} else { -var m__8503__auto____$1 = (cljs.core._key__GT_js["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(x) : m__8503__auto____$1.call(null,x)); -} else { -throw cljs.core.missing_protocol("IEncodeJS.-key->js",x); -} -} -} -}); - -cljs.core.key__GT_js = (function cljs$core$key__GT_js(var_args){ -var G__12557 = arguments.length; -switch (G__12557) { -case 1: -return cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$1 = (function (k){ -return cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2(k,cljs.core.clj__GT_js); -}); - -cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2 = (function (k,primitive_fn){ -if((((!((k == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === k.cljs$core$IEncodeJS$))))?true:(((!k.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,k):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,k))){ -return cljs.core._clj__GT_js(k); -} else { -if(((typeof k === 'string') || (typeof k === 'number') || ((k instanceof cljs.core.Keyword)) || ((k instanceof cljs.core.Symbol)))){ -return (primitive_fn.cljs$core$IFn$_invoke$arity$1 ? primitive_fn.cljs$core$IFn$_invoke$arity$1(k) : primitive_fn.call(null,k)); -} else { -return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([k], 0)); - -} -} -}); - -cljs.core.key__GT_js.cljs$lang$maxFixedArity = 2; - -/** - * Recursively transforms ClojureScript values to JavaScript. - * sets/vectors/lists become Arrays, Keywords and Symbol become Strings, - * Maps become Objects. Arbitrary keys are encoded to by `key->js`. - * Options is a key-value pair, where the only valid key is - * :keyword-fn, which should point to a single-argument function to be - * called on keyword keys. Default to `name`. - */ -cljs.core.clj__GT_js = (function cljs$core$clj__GT_js(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12611 = arguments.length; -var i__9001__auto___12612 = (0); -while(true){ -if((i__9001__auto___12612 < len__9000__auto___12611)){ -args__9010__auto__.push((arguments[i__9001__auto___12612])); - -var G__12613 = (i__9001__auto___12612 + (1)); -i__9001__auto___12612 = G__12613; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((1) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((1)),(0),null)):null); -return cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9011__auto__); -}); - -cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic = (function (x,p__12562){ -var map__12563 = p__12562; -var map__12563__$1 = (((((!((map__12563 == null))))?(((((map__12563.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__12563.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__12563):map__12563); -var options = map__12563__$1; -var keyword_fn = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__12563__$1,new cljs.core.Keyword(null,"keyword-fn","keyword-fn",-64566675),cljs.core.name); -var keyfn = ((function (map__12563,map__12563__$1,options,keyword_fn){ -return (function cljs$core$keyfn(k){ -return cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2(k,thisfn); -});})(map__12563,map__12563__$1,options,keyword_fn)) -; -var thisfn = ((function (map__12563,map__12563__$1,options,keyword_fn){ -return (function cljs$core$thisfn(x__$1){ -if((x__$1 == null)){ -return null; -} else { -if((((!((x__$1 == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === x__$1.cljs$core$IEncodeJS$))))?true:(((!x__$1.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,x__$1):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,x__$1))){ -return cljs.core._clj__GT_js(x__$1); -} else { -if((x__$1 instanceof cljs.core.Keyword)){ -return (keyword_fn.cljs$core$IFn$_invoke$arity$1 ? keyword_fn.cljs$core$IFn$_invoke$arity$1(x__$1) : keyword_fn.call(null,x__$1)); -} else { -if((x__$1 instanceof cljs.core.Symbol)){ -return cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1); -} else { -if(cljs.core.map_QMARK_(x__$1)){ -var m = {}; -var seq__12591_12614 = cljs.core.seq(x__$1); -var chunk__12592_12615 = null; -var count__12593_12616 = (0); -var i__12594_12617 = (0); -while(true){ -if((i__12594_12617 < count__12593_12616)){ -var vec__12595_12618 = chunk__12592_12615.cljs$core$IIndexed$_nth$arity$2(null,i__12594_12617); -var k_12619 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12595_12618,(0),null); -var v_12620 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12595_12618,(1),null); -var G__12598_12621 = m; -var G__12599_12622 = keyfn(k_12619); -var G__12600_12623 = cljs$core$thisfn(v_12620); -goog.object.set(G__12598_12621,G__12599_12622,G__12600_12623); - - -var G__12624 = seq__12591_12614; -var G__12625 = chunk__12592_12615; -var G__12626 = count__12593_12616; -var G__12627 = (i__12594_12617 + (1)); -seq__12591_12614 = G__12624; -chunk__12592_12615 = G__12625; -count__12593_12616 = G__12626; -i__12594_12617 = G__12627; -continue; -} else { -var temp__4657__auto___12628 = cljs.core.seq(seq__12591_12614); -if(temp__4657__auto___12628){ -var seq__12591_12629__$1 = temp__4657__auto___12628; -if(cljs.core.chunked_seq_QMARK_(seq__12591_12629__$1)){ -var c__8664__auto___12630 = cljs.core.chunk_first(seq__12591_12629__$1); -var G__12631 = cljs.core.chunk_rest(seq__12591_12629__$1); -var G__12632 = c__8664__auto___12630; -var G__12633 = cljs.core.count(c__8664__auto___12630); -var G__12634 = (0); -seq__12591_12614 = G__12631; -chunk__12592_12615 = G__12632; -count__12593_12616 = G__12633; -i__12594_12617 = G__12634; -continue; -} else { -var vec__12601_12635 = cljs.core.first(seq__12591_12629__$1); -var k_12636 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12601_12635,(0),null); -var v_12637 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12601_12635,(1),null); -var G__12604_12638 = m; -var G__12605_12639 = keyfn(k_12636); -var G__12606_12640 = cljs$core$thisfn(v_12637); -goog.object.set(G__12604_12638,G__12605_12639,G__12606_12640); - - -var G__12641 = cljs.core.next(seq__12591_12629__$1); -var G__12642 = null; -var G__12643 = (0); -var G__12644 = (0); -seq__12591_12614 = G__12641; -chunk__12592_12615 = G__12642; -count__12593_12616 = G__12643; -i__12594_12617 = G__12644; -continue; -} -} else { -} -} -break; -} - -return m; -} else { -if(cljs.core.coll_QMARK_(x__$1)){ -var arr = []; -var seq__12607_12645 = cljs.core.seq(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs$core$thisfn,x__$1)); -var chunk__12608_12646 = null; -var count__12609_12647 = (0); -var i__12610_12648 = (0); -while(true){ -if((i__12610_12648 < count__12609_12647)){ -var x_12649__$2 = chunk__12608_12646.cljs$core$IIndexed$_nth$arity$2(null,i__12610_12648); -arr.push(x_12649__$2); - - -var G__12650 = seq__12607_12645; -var G__12651 = chunk__12608_12646; -var G__12652 = count__12609_12647; -var G__12653 = (i__12610_12648 + (1)); -seq__12607_12645 = G__12650; -chunk__12608_12646 = G__12651; -count__12609_12647 = G__12652; -i__12610_12648 = G__12653; -continue; -} else { -var temp__4657__auto___12654 = cljs.core.seq(seq__12607_12645); -if(temp__4657__auto___12654){ -var seq__12607_12655__$1 = temp__4657__auto___12654; -if(cljs.core.chunked_seq_QMARK_(seq__12607_12655__$1)){ -var c__8664__auto___12656 = cljs.core.chunk_first(seq__12607_12655__$1); -var G__12657 = cljs.core.chunk_rest(seq__12607_12655__$1); -var G__12658 = c__8664__auto___12656; -var G__12659 = cljs.core.count(c__8664__auto___12656); -var G__12660 = (0); -seq__12607_12645 = G__12657; -chunk__12608_12646 = G__12658; -count__12609_12647 = G__12659; -i__12610_12648 = G__12660; -continue; -} else { -var x_12661__$2 = cljs.core.first(seq__12607_12655__$1); -arr.push(x_12661__$2); - - -var G__12662 = cljs.core.next(seq__12607_12655__$1); -var G__12663 = null; -var G__12664 = (0); -var G__12665 = (0); -seq__12607_12645 = G__12662; -chunk__12608_12646 = G__12663; -count__12609_12647 = G__12664; -i__12610_12648 = G__12665; -continue; -} -} else { -} -} -break; -} - -return arr; -} else { -return x__$1; - -} -} -} -} -} -} -});})(map__12563,map__12563__$1,options,keyword_fn)) -; -return thisfn(x); -}); - -cljs.core.clj__GT_js.cljs$lang$maxFixedArity = (1); - -/** @this {Function} */ -cljs.core.clj__GT_js.cljs$lang$applyTo = (function (seq12560){ -var G__12561 = cljs.core.first(seq12560); -var seq12560__$1 = cljs.core.next(seq12560); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12561,seq12560__$1); -}); - - -/** - * @interface - */ -cljs.core.IEncodeClojure = function(){}; - -/** - * Transforms JavaScript values to Clojure - */ -cljs.core._js__GT_clj = (function cljs$core$_js__GT_clj(x,options){ -if((((!((x == null)))) && ((!((x.cljs$core$IEncodeClojure$_js__GT_clj$arity$2 == null)))))){ -return x.cljs$core$IEncodeClojure$_js__GT_clj$arity$2(x,options); -} else { -var x__8502__auto__ = (((x == null))?null:x); -var m__8503__auto__ = (cljs.core._js__GT_clj[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(x,options) : m__8503__auto__.call(null,x,options)); -} else { -var m__8503__auto____$1 = (cljs.core._js__GT_clj["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(x,options) : m__8503__auto____$1.call(null,x,options)); -} else { -throw cljs.core.missing_protocol("IEncodeClojure.-js->clj",x); -} -} -} -}); - -/** - * Recursively transforms JavaScript arrays into ClojureScript - * vectors, and JavaScript objects into ClojureScript maps. With - * option ':keywordize-keys true' will convert object fields from - * strings to keywords. - */ -cljs.core.js__GT_clj = (function cljs$core$js__GT_clj(var_args){ -var G__12671 = arguments.length; -switch (G__12671) { -case 1: -return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___12676 = arguments.length; -var i__9001__auto___12677 = (0); -while(true){ -if((i__9001__auto___12677 < len__9000__auto___12676)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___12677])); - -var G__12678 = (i__9001__auto___12677 + (1)); -i__9001__auto___12677 = G__12678; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((1)),(0),null)); -return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9026__auto__); - -} -}); - -cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$1 = (function (x){ -return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic(x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"keywordize-keys","keywordize-keys",1310784252),false], 0)); -}); - -cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic = (function (x,opts){ -var map__12672 = opts; -var map__12672__$1 = (((((!((map__12672 == null))))?(((((map__12672.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__12672.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__12672):map__12672); -var keywordize_keys = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__12672__$1,new cljs.core.Keyword(null,"keywordize-keys","keywordize-keys",1310784252)); -var keyfn = (cljs.core.truth_(keywordize_keys)?cljs.core.keyword:cljs.core.str); -var f = ((function (map__12672,map__12672__$1,keywordize_keys,keyfn){ -return (function cljs$core$thisfn(x__$1){ -if((((!((x__$1 == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === x__$1.cljs$core$IEncodeClojure$))))?true:(((!x__$1.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeClojure,x__$1):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeClojure,x__$1))){ -return cljs.core._js__GT_clj(x__$1,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.array_map,opts)); -} else { -if(cljs.core.seq_QMARK_(x__$1)){ -return cljs.core.doall.cljs$core$IFn$_invoke$arity$1(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs$core$thisfn,x__$1)); -} else { -if(cljs.core.map_entry_QMARK_(x__$1)){ -return (new cljs.core.MapEntry(cljs$core$thisfn(cljs.core.key(x__$1)),cljs$core$thisfn(cljs.core.val(x__$1)),null)); -} else { -if(cljs.core.coll_QMARK_(x__$1)){ -return cljs.core.into.cljs$core$IFn$_invoke$arity$3(cljs.core.empty(x__$1),cljs.core.map.cljs$core$IFn$_invoke$arity$1(cljs$core$thisfn),x__$1); -} else { -if(cljs.core.array_QMARK_(x__$1)){ -return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (map__12672,map__12672__$1,keywordize_keys,keyfn){ -return (function (p1__12666_SHARP_,p2__12667_SHARP_){ -return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(p1__12666_SHARP_,cljs$core$thisfn(p2__12667_SHARP_)); -});})(map__12672,map__12672__$1,keywordize_keys,keyfn)) -,cljs.core.transient$(cljs.core.PersistentVector.EMPTY),x__$1)); -} else { -if((cljs.core.type(x__$1) === Object)){ -return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (map__12672,map__12672__$1,keywordize_keys,keyfn){ -return (function (r,k){ -return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(r,(keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(k) : keyfn.call(null,k)),cljs$core$thisfn(goog.object.get(x__$1,k))); -});})(map__12672,map__12672__$1,keywordize_keys,keyfn)) -,cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),cljs.core.js_keys(x__$1))); -} else { -return x__$1; - -} -} -} -} -} -} -});})(map__12672,map__12672__$1,keywordize_keys,keyfn)) -; -return f(x); -}); - -/** @this {Function} */ -cljs.core.js__GT_clj.cljs$lang$applyTo = (function (seq12669){ -var G__12670 = cljs.core.first(seq12669); -var seq12669__$1 = cljs.core.next(seq12669); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12670,seq12669__$1); -}); - -cljs.core.js__GT_clj.cljs$lang$maxFixedArity = (1); - -/** - * Returns a memoized version of a referentially transparent function. The - * memoized version of the function keeps a cache of the mapping from arguments - * to results and, when calls with the same arguments are repeated often, has - * higher performance at the expense of higher memory use. - */ -cljs.core.memoize = (function cljs$core$memoize(f){ -var mem = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); -return ((function (mem){ -return (function() { -var G__12679__delegate = function (args){ -var v = cljs.core.get.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(mem),args,cljs.core.lookup_sentinel); -if((v === cljs.core.lookup_sentinel)){ -var ret = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,args); -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(mem,cljs.core.assoc,args,ret); - -return ret; -} else { -return v; -} -}; -var G__12679 = function (var_args){ -var args = null; -if (arguments.length > 0) { -var G__12680__i = 0, G__12680__a = new Array(arguments.length - 0); -while (G__12680__i < G__12680__a.length) {G__12680__a[G__12680__i] = arguments[G__12680__i + 0]; ++G__12680__i;} - args = new cljs.core.IndexedSeq(G__12680__a,0,null); -} -return G__12679__delegate.call(this,args);}; -G__12679.cljs$lang$maxFixedArity = 0; -G__12679.cljs$lang$applyTo = (function (arglist__12681){ -var args = cljs.core.seq(arglist__12681); -return G__12679__delegate(args); -}); -G__12679.cljs$core$IFn$_invoke$arity$variadic = G__12679__delegate; -return G__12679; -})() -; -;})(mem)) -}); -/** - * trampoline can be used to convert algorithms requiring mutual - * recursion without stack consumption. Calls f with supplied args, if - * any. If f returns a fn, calls that fn with no arguments, and - * continues to repeat, until the return value is not a fn, then - * returns that non-fn value. Note that if you want to return a fn as a - * final value, you must wrap it in some data structure and unpack it - * after trampoline returns. - */ -cljs.core.trampoline = (function cljs$core$trampoline(var_args){ -var G__12685 = arguments.length; -switch (G__12685) { -case 1: -return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -var args_arr__9025__auto__ = []; -var len__9000__auto___12687 = arguments.length; -var i__9001__auto___12688 = (0); -while(true){ -if((i__9001__auto___12688 < len__9000__auto___12687)){ -args_arr__9025__auto__.push((arguments[i__9001__auto___12688])); - -var G__12689 = (i__9001__auto___12688 + (1)); -i__9001__auto___12688 = G__12689; -continue; -} else { -} -break; -} - -var argseq__9026__auto__ = (new cljs.core.IndexedSeq(args_arr__9025__auto__.slice((1)),(0),null)); -return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9026__auto__); - -} -}); - -cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1 = (function (f){ -while(true){ -var ret = (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); -if(cljs.core.fn_QMARK_(ret)){ -var G__12690 = ret; -f = G__12690; -continue; -} else { -return ret; -} -break; -} -}); - -cljs.core.trampoline.cljs$core$IFn$_invoke$arity$variadic = (function (f,args){ -return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1((function (){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,args); -})); -}); - -/** @this {Function} */ -cljs.core.trampoline.cljs$lang$applyTo = (function (seq12683){ -var G__12684 = cljs.core.first(seq12683); -var seq12683__$1 = cljs.core.next(seq12683); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12684,seq12683__$1); -}); - -cljs.core.trampoline.cljs$lang$maxFixedArity = (1); - -/** - * Returns a random floating point number between 0 (inclusive) and - * n (default 1) (exclusive). - */ -cljs.core.rand = (function cljs$core$rand(var_args){ -var G__12692 = arguments.length; -switch (G__12692) { -case 0: -return cljs.core.rand.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return cljs.core.rand.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.rand.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.rand.cljs$core$IFn$_invoke$arity$1((1)); -}); - -cljs.core.rand.cljs$core$IFn$_invoke$arity$1 = (function (n){ -return (Math.random() * n); -}); - -cljs.core.rand.cljs$lang$maxFixedArity = 1; - -/** - * Returns a random integer between 0 (inclusive) and n (exclusive). - */ -cljs.core.rand_int = (function cljs$core$rand_int(n){ -var G__12694 = (Math.random() * n); -return Math.floor(G__12694); -}); -/** - * Return a random element of the (sequential) collection. Will have - * the same performance characteristics as nth for the given - * collection. - */ -cljs.core.rand_nth = (function cljs$core$rand_nth(coll){ -return cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,cljs.core.rand_int(cljs.core.count(coll))); -}); -/** - * Returns a map of the elements of coll keyed by the result of - * f on each element. The value at each key will be a vector of the - * corresponding elements, in the order they appeared in coll. - */ -cljs.core.group_by = (function cljs$core$group_by(f,coll){ -return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret,x){ -var k = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null,x)); -return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(ret,k,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(ret,k,cljs.core.PersistentVector.EMPTY),x)); -}),cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),coll)); -}); -/** - * Creates a hierarchy object for use with derive, isa? etc. - */ -cljs.core.make_hierarchy = (function cljs$core$make_hierarchy(){ -return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"parents","parents",-2027538891),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"descendants","descendants",1824886031),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"ancestors","ancestors",-776045424),cljs.core.PersistentArrayMap.EMPTY], null); -}); -/** - * @type {*} - */ -cljs.core._global_hierarchy = null; -cljs.core.get_global_hierarchy = (function cljs$core$get_global_hierarchy(){ -if((cljs.core._global_hierarchy == null)){ -cljs.core._global_hierarchy = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.make_hierarchy()); -} else { -} - -return cljs.core._global_hierarchy; -}); -cljs.core.swap_global_hierarchy_BANG_ = (function cljs$core$swap_global_hierarchy_BANG_(var_args){ -var args__9010__auto__ = []; -var len__9000__auto___12697 = arguments.length; -var i__9001__auto___12698 = (0); -while(true){ -if((i__9001__auto___12698 < len__9000__auto___12697)){ -args__9010__auto__.push((arguments[i__9001__auto___12698])); - -var G__12699 = (i__9001__auto___12698 + (1)); -i__9001__auto___12698 = G__12699; -continue; -} else { -} -break; -} - -var argseq__9011__auto__ = ((((1) < args__9010__auto__.length))?(new cljs.core.IndexedSeq(args__9010__auto__.slice((1)),(0),null)):null); -return cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__9011__auto__); -}); - -cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (f,args){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core.swap_BANG_,cljs.core.get_global_hierarchy(),f,args); -}); - -cljs.core.swap_global_hierarchy_BANG_.cljs$lang$maxFixedArity = (1); - -/** @this {Function} */ -cljs.core.swap_global_hierarchy_BANG_.cljs$lang$applyTo = (function (seq12695){ -var G__12696 = cljs.core.first(seq12695); -var seq12695__$1 = cljs.core.next(seq12695); -var self__8987__auto__ = this; -return self__8987__auto__.cljs$core$IFn$_invoke$arity$variadic(G__12696,seq12695__$1); -}); - -/** - * Returns true if (= child parent), or child is directly or indirectly derived from - * parent, either via a JavaScript type inheritance relationship or a - * relationship established via derive. h must be a hierarchy obtained - * from make-hierarchy, if not supplied defaults to the global - * hierarchy - */ -cljs.core.isa_QMARK_ = (function cljs$core$isa_QMARK_(var_args){ -var G__12701 = arguments.length; -switch (G__12701) { -case 2: -return cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$2 = (function (child,parent){ -return cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(cljs.core.get_global_hierarchy()),child,parent); -}); - -cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3 = (function (h,child,parent){ -var or__7806__auto__ = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(child,parent); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = cljs.core.contains_QMARK_((function (){var fexpr__12704 = new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h); -return (fexpr__12704.cljs$core$IFn$_invoke$arity$1 ? fexpr__12704.cljs$core$IFn$_invoke$arity$1(child) : fexpr__12704.call(null,child)); -})(),parent); -if(or__7806__auto____$1){ -return or__7806__auto____$1; -} else { -var and__7791__auto__ = cljs.core.vector_QMARK_(parent); -if(and__7791__auto__){ -var and__7791__auto____$1 = cljs.core.vector_QMARK_(child); -if(and__7791__auto____$1){ -var and__7791__auto____$2 = (cljs.core.count(parent) === cljs.core.count(child)); -if(and__7791__auto____$2){ -var ret = true; -var i = (0); -while(true){ -if((((!(ret))) || ((i === cljs.core.count(parent))))){ -return ret; -} else { -var G__12706 = cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3(h,(child.cljs$core$IFn$_invoke$arity$1 ? child.cljs$core$IFn$_invoke$arity$1(i) : child.call(null,i)),(parent.cljs$core$IFn$_invoke$arity$1 ? parent.cljs$core$IFn$_invoke$arity$1(i) : parent.call(null,i))); -var G__12707 = (i + (1)); -ret = G__12706; -i = G__12707; -continue; -} -break; -} -} else { -return and__7791__auto____$2; -} -} else { -return and__7791__auto____$1; -} -} else { -return and__7791__auto__; -} -} -} -}); - -cljs.core.isa_QMARK_.cljs$lang$maxFixedArity = 3; - -/** - * Returns the immediate parents of tag, either via a JavaScript type - * inheritance relationship or a relationship established via derive. h - * must be a hierarchy obtained from make-hierarchy, if not supplied - * defaults to the global hierarchy - */ -cljs.core.parents = (function cljs$core$parents(var_args){ -var G__12709 = arguments.length; -switch (G__12709) { -case 1: -return cljs.core.parents.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.parents.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.parents.cljs$core$IFn$_invoke$arity$1 = (function (tag){ -return cljs.core.parents.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.get_global_hierarchy()),tag); -}); - -cljs.core.parents.cljs$core$IFn$_invoke$arity$2 = (function (h,tag){ -return cljs.core.not_empty(cljs.core.get.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"parents","parents",-2027538891).cljs$core$IFn$_invoke$arity$1(h),tag)); -}); - -cljs.core.parents.cljs$lang$maxFixedArity = 2; - -/** - * Returns the immediate and indirect parents of tag, either via a JavaScript type - * inheritance relationship or a relationship established via derive. h - * must be a hierarchy obtained from make-hierarchy, if not supplied - * defaults to the global hierarchy - */ -cljs.core.ancestors = (function cljs$core$ancestors(var_args){ -var G__12712 = arguments.length; -switch (G__12712) { -case 1: -return cljs.core.ancestors.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.ancestors.cljs$core$IFn$_invoke$arity$1 = (function (tag){ -return cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.get_global_hierarchy()),tag); -}); - -cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2 = (function (h,tag){ -return cljs.core.not_empty(cljs.core.get.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h),tag)); -}); - -cljs.core.ancestors.cljs$lang$maxFixedArity = 2; - -/** - * Returns the immediate and indirect children of tag, through a - * relationship established via derive. h must be a hierarchy obtained - * from make-hierarchy, if not supplied defaults to the global - * hierarchy. Note: does not work on JavaScript type inheritance - * relationships. - */ -cljs.core.descendants = (function cljs$core$descendants(var_args){ -var G__12715 = arguments.length; -switch (G__12715) { -case 1: -return cljs.core.descendants.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.descendants.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.descendants.cljs$core$IFn$_invoke$arity$1 = (function (tag){ -return cljs.core.descendants.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.get_global_hierarchy()),tag); -}); - -cljs.core.descendants.cljs$core$IFn$_invoke$arity$2 = (function (h,tag){ -return cljs.core.not_empty(cljs.core.get.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"descendants","descendants",1824886031).cljs$core$IFn$_invoke$arity$1(h),tag)); -}); - -cljs.core.descendants.cljs$lang$maxFixedArity = 2; - -/** - * Establishes a parent/child relationship between parent and - * tag. Parent must be a namespace-qualified symbol or keyword and - * child can be either a namespace-qualified symbol or keyword or a - * class. h must be a hierarchy obtained from make-hierarchy, if not - * supplied defaults to, and modifies, the global hierarchy. - */ -cljs.core.derive = (function cljs$core$derive(var_args){ -var G__12718 = arguments.length; -switch (G__12718) { -case 2: -return cljs.core.derive.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.derive.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.derive.cljs$core$IFn$_invoke$arity$2 = (function (tag,parent){ -if(cljs.core.truth_(cljs.core.namespace(parent))){ -} else { -throw (new Error("Assert failed: (namespace parent)")); -} - -cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic(cljs.core.derive,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([tag,parent], 0)); - -return null; -}); - -cljs.core.derive.cljs$core$IFn$_invoke$arity$3 = (function (h,tag,parent){ -if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(tag,parent)){ -} else { -throw (new Error("Assert failed: (not= tag parent)")); -} - -var tp = new cljs.core.Keyword(null,"parents","parents",-2027538891).cljs$core$IFn$_invoke$arity$1(h); -var td = new cljs.core.Keyword(null,"descendants","descendants",1824886031).cljs$core$IFn$_invoke$arity$1(h); -var ta = new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h); -var tf = ((function (tp,td,ta){ -return (function (m,source,sources,target,targets){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (tp,td,ta){ -return (function (ret,k){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,k,cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.conj,cljs.core.get.cljs$core$IFn$_invoke$arity$3(targets,k,cljs.core.PersistentHashSet.EMPTY),cljs.core.cons(target,(targets.cljs$core$IFn$_invoke$arity$1 ? targets.cljs$core$IFn$_invoke$arity$1(target) : targets.call(null,target))))); -});})(tp,td,ta)) -,m,cljs.core.cons(source,(sources.cljs$core$IFn$_invoke$arity$1 ? sources.cljs$core$IFn$_invoke$arity$1(source) : sources.call(null,source)))); -});})(tp,td,ta)) -; -var or__7806__auto__ = ((cljs.core.contains_QMARK_((tp.cljs$core$IFn$_invoke$arity$1 ? tp.cljs$core$IFn$_invoke$arity$1(tag) : tp.call(null,tag)),parent))?null:(function (){ -if(cljs.core.contains_QMARK_((ta.cljs$core$IFn$_invoke$arity$1 ? ta.cljs$core$IFn$_invoke$arity$1(tag) : ta.call(null,tag)),parent)){ -throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag),"already has",cljs.core.str.cljs$core$IFn$_invoke$arity$1(parent),"as ancestor"].join(''))); -} else { -} - -if(cljs.core.contains_QMARK_((ta.cljs$core$IFn$_invoke$arity$1 ? ta.cljs$core$IFn$_invoke$arity$1(parent) : ta.call(null,parent)),tag)){ -throw (new Error(["Cyclic derivation:",cljs.core.str.cljs$core$IFn$_invoke$arity$1(parent),"has",cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag),"as ancestor"].join(''))); -} else { -} - -return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"parents","parents",-2027538891),cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(new cljs.core.Keyword(null,"parents","parents",-2027538891).cljs$core$IFn$_invoke$arity$1(h),tag,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(tp,tag,cljs.core.PersistentHashSet.EMPTY),parent)),new cljs.core.Keyword(null,"ancestors","ancestors",-776045424),tf(new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h),tag,td,parent,ta),new cljs.core.Keyword(null,"descendants","descendants",1824886031),tf(new cljs.core.Keyword(null,"descendants","descendants",1824886031).cljs$core$IFn$_invoke$arity$1(h),parent,ta,tag,td)], null); -})() -); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return h; -} -}); - -cljs.core.derive.cljs$lang$maxFixedArity = 3; - -/** - * Removes a parent/child relationship between parent and - * tag. h must be a hierarchy obtained from make-hierarchy, if not - * supplied defaults to, and modifies, the global hierarchy. - */ -cljs.core.underive = (function cljs$core$underive(var_args){ -var G__12724 = arguments.length; -switch (G__12724) { -case 2: -return cljs.core.underive.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.underive.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.underive.cljs$core$IFn$_invoke$arity$2 = (function (tag,parent){ -cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic(cljs.core.underive,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([tag,parent], 0)); - -return null; -}); - -cljs.core.underive.cljs$core$IFn$_invoke$arity$3 = (function (h,tag,parent){ -var parentMap = new cljs.core.Keyword(null,"parents","parents",-2027538891).cljs$core$IFn$_invoke$arity$1(h); -var childsParents = (cljs.core.truth_((parentMap.cljs$core$IFn$_invoke$arity$1 ? parentMap.cljs$core$IFn$_invoke$arity$1(tag) : parentMap.call(null,tag)))?cljs.core.disj.cljs$core$IFn$_invoke$arity$2((parentMap.cljs$core$IFn$_invoke$arity$1 ? parentMap.cljs$core$IFn$_invoke$arity$1(tag) : parentMap.call(null,tag)),parent):cljs.core.PersistentHashSet.EMPTY); -var newParents = (cljs.core.truth_(cljs.core.not_empty(childsParents))?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(parentMap,tag,childsParents):cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(parentMap,tag)); -var deriv_seq = cljs.core.flatten(cljs.core.map.cljs$core$IFn$_invoke$arity$2(((function (parentMap,childsParents,newParents){ -return (function (p1__12720_SHARP_){ -return cljs.core.cons(cljs.core.first(p1__12720_SHARP_),cljs.core.interpose.cljs$core$IFn$_invoke$arity$2(cljs.core.first(p1__12720_SHARP_),cljs.core.second(p1__12720_SHARP_))); -});})(parentMap,childsParents,newParents)) -,cljs.core.seq(newParents))); -if(cljs.core.contains_QMARK_((parentMap.cljs$core$IFn$_invoke$arity$1 ? parentMap.cljs$core$IFn$_invoke$arity$1(tag) : parentMap.call(null,tag)),parent)){ -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (parentMap,childsParents,newParents,deriv_seq){ -return (function (p1__12721_SHARP_,p2__12722_SHARP_){ -return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.derive,p1__12721_SHARP_,p2__12722_SHARP_); -});})(parentMap,childsParents,newParents,deriv_seq)) -,cljs.core.make_hierarchy(),cljs.core.partition.cljs$core$IFn$_invoke$arity$2((2),deriv_seq)); -} else { -return h; -} -}); - -cljs.core.underive.cljs$lang$maxFixedArity = 3; - -cljs.core.reset_cache = (function cljs$core$reset_cache(method_cache,method_table,cached_hierarchy,hierarchy){ -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(method_cache,(function (_){ -return cljs.core.deref(method_table); -})); - -return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(cached_hierarchy,(function (_){ -return cljs.core.deref(hierarchy); -})); -}); -cljs.core.prefers_STAR_ = (function cljs$core$prefers_STAR_(x,y,prefer_table){ -var xprefs = (function (){var fexpr__12726 = cljs.core.deref(prefer_table); -return (fexpr__12726.cljs$core$IFn$_invoke$arity$1 ? fexpr__12726.cljs$core$IFn$_invoke$arity$1(x) : fexpr__12726.call(null,x)); -})(); -var or__7806__auto__ = (cljs.core.truth_((function (){var and__7791__auto__ = xprefs; -if(cljs.core.truth_(and__7791__auto__)){ -return (xprefs.cljs$core$IFn$_invoke$arity$1 ? xprefs.cljs$core$IFn$_invoke$arity$1(y) : xprefs.call(null,y)); -} else { -return and__7791__auto__; -} -})())?true:null); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -var or__7806__auto____$1 = (function (){var ps = cljs.core.parents.cljs$core$IFn$_invoke$arity$1(y); -while(true){ -if((cljs.core.count(ps) > (0))){ -if(cljs.core.truth_((function (){var G__12730 = x; -var G__12731 = cljs.core.first(ps); -var G__12732 = prefer_table; -return (cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3 ? cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3(G__12730,G__12731,G__12732) : cljs.core.prefers_STAR_.call(null,G__12730,G__12731,G__12732)); -})())){ -} else { -} - -var G__12739 = cljs.core.rest(ps); -ps = G__12739; -continue; -} else { -return null; -} -break; -} -})(); -if(cljs.core.truth_(or__7806__auto____$1)){ -return or__7806__auto____$1; -} else { -var or__7806__auto____$2 = (function (){var ps = cljs.core.parents.cljs$core$IFn$_invoke$arity$1(x); -while(true){ -if((cljs.core.count(ps) > (0))){ -if(cljs.core.truth_((function (){var G__12736 = cljs.core.first(ps); -var G__12737 = y; -var G__12738 = prefer_table; -return (cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3 ? cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3(G__12736,G__12737,G__12738) : cljs.core.prefers_STAR_.call(null,G__12736,G__12737,G__12738)); -})())){ -} else { -} - -var G__12740 = cljs.core.rest(ps); -ps = G__12740; -continue; -} else { -return null; -} -break; -} -})(); -if(cljs.core.truth_(or__7806__auto____$2)){ -return or__7806__auto____$2; -} else { -return false; -} -} -} -}); -cljs.core.dominates = (function cljs$core$dominates(x,y,prefer_table,hierarchy){ -var or__7806__auto__ = cljs.core.prefers_STAR_(x,y,prefer_table); -if(cljs.core.truth_(or__7806__auto__)){ -return or__7806__auto__; -} else { -return cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3(hierarchy,x,y); -} -}); -cljs.core.find_and_cache_best_method = (function cljs$core$find_and_cache_best_method(name,dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy,default_dispatch_val){ -var best_entry = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (be,p__12741){ -var vec__12742 = p__12741; -var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12742,(0),null); -var _ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12742,(1),null); -var e = vec__12742; -if(cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(hierarchy),dispatch_val,k)){ -var be2 = (cljs.core.truth_((function (){var or__7806__auto__ = (be == null); -if(or__7806__auto__){ -return or__7806__auto__; -} else { -return cljs.core.dominates(k,cljs.core.first(be),prefer_table,cljs.core.deref(hierarchy)); -} -})())?e:be); -if(cljs.core.truth_(cljs.core.dominates(cljs.core.first(be2),k,prefer_table,cljs.core.deref(hierarchy)))){ -} else { -throw (new Error(["Multiple methods in multimethod '",cljs.core.str.cljs$core$IFn$_invoke$arity$1(name),"' match dispatch value: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val)," -> ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(k)," and ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(be2)),", and neither is preferred"].join(''))); -} - -return be2; -} else { -return be; -} -}),null,cljs.core.deref(method_table)); -var best_entry__$1 = (function (){var temp__4655__auto__ = (function (){var and__7791__auto__ = (best_entry == null); -if(and__7791__auto__){ -var fexpr__12746 = cljs.core.deref(method_table); -return (fexpr__12746.cljs$core$IFn$_invoke$arity$1 ? fexpr__12746.cljs$core$IFn$_invoke$arity$1(default_dispatch_val) : fexpr__12746.call(null,default_dispatch_val)); -} else { -return and__7791__auto__; -} -})(); -if(cljs.core.truth_(temp__4655__auto__)){ -var entry = temp__4655__auto__; -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [default_dispatch_val,entry], null); -} else { -return best_entry; -} -})(); -if(cljs.core.truth_(best_entry__$1)){ -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cached_hierarchy),cljs.core.deref(hierarchy))){ -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(method_cache,cljs.core.assoc,dispatch_val,cljs.core.second(best_entry__$1)); - -return cljs.core.second(best_entry__$1); -} else { -cljs.core.reset_cache(method_cache,method_table,cached_hierarchy,hierarchy); - -return (cljs.core.find_and_cache_best_method.cljs$core$IFn$_invoke$arity$8 ? cljs.core.find_and_cache_best_method.cljs$core$IFn$_invoke$arity$8(name,dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy,default_dispatch_val) : cljs.core.find_and_cache_best_method.call(null,name,dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy,default_dispatch_val)); -} -} else { -return null; -} -}); - -/** - * @interface - */ -cljs.core.IMultiFn = function(){}; - -cljs.core._reset = (function cljs$core$_reset(mf){ -if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_reset$arity$1 == null)))))){ -return mf.cljs$core$IMultiFn$_reset$arity$1(mf); -} else { -var x__8502__auto__ = (((mf == null))?null:mf); -var m__8503__auto__ = (cljs.core._reset[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto__.call(null,mf)); -} else { -var m__8503__auto____$1 = (cljs.core._reset["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto____$1.call(null,mf)); -} else { -throw cljs.core.missing_protocol("IMultiFn.-reset",mf); -} -} -} -}); - -cljs.core._add_method = (function cljs$core$_add_method(mf,dispatch_val,method){ -if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_add_method$arity$3 == null)))))){ -return mf.cljs$core$IMultiFn$_add_method$arity$3(mf,dispatch_val,method); -} else { -var x__8502__auto__ = (((mf == null))?null:mf); -var m__8503__auto__ = (cljs.core._add_method[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,method) : m__8503__auto__.call(null,mf,dispatch_val,method)); -} else { -var m__8503__auto____$1 = (cljs.core._add_method["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,method) : m__8503__auto____$1.call(null,mf,dispatch_val,method)); -} else { -throw cljs.core.missing_protocol("IMultiFn.-add-method",mf); -} -} -} -}); - -cljs.core._remove_method = (function cljs$core$_remove_method(mf,dispatch_val){ -if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_remove_method$arity$2 == null)))))){ -return mf.cljs$core$IMultiFn$_remove_method$arity$2(mf,dispatch_val); -} else { -var x__8502__auto__ = (((mf == null))?null:mf); -var m__8503__auto__ = (cljs.core._remove_method[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__8503__auto__.call(null,mf,dispatch_val)); -} else { -var m__8503__auto____$1 = (cljs.core._remove_method["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__8503__auto____$1.call(null,mf,dispatch_val)); -} else { -throw cljs.core.missing_protocol("IMultiFn.-remove-method",mf); -} -} -} -}); - -cljs.core._prefer_method = (function cljs$core$_prefer_method(mf,dispatch_val,dispatch_val_y){ -if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_prefer_method$arity$3 == null)))))){ -return mf.cljs$core$IMultiFn$_prefer_method$arity$3(mf,dispatch_val,dispatch_val_y); -} else { -var x__8502__auto__ = (((mf == null))?null:mf); -var m__8503__auto__ = (cljs.core._prefer_method[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,dispatch_val_y) : m__8503__auto__.call(null,mf,dispatch_val,dispatch_val_y)); -} else { -var m__8503__auto____$1 = (cljs.core._prefer_method["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,dispatch_val_y) : m__8503__auto____$1.call(null,mf,dispatch_val,dispatch_val_y)); -} else { -throw cljs.core.missing_protocol("IMultiFn.-prefer-method",mf); -} -} -} -}); - -cljs.core._get_method = (function cljs$core$_get_method(mf,dispatch_val){ -if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_get_method$arity$2 == null)))))){ -return mf.cljs$core$IMultiFn$_get_method$arity$2(mf,dispatch_val); -} else { -var x__8502__auto__ = (((mf == null))?null:mf); -var m__8503__auto__ = (cljs.core._get_method[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__8503__auto__.call(null,mf,dispatch_val)); -} else { -var m__8503__auto____$1 = (cljs.core._get_method["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__8503__auto____$1.call(null,mf,dispatch_val)); -} else { -throw cljs.core.missing_protocol("IMultiFn.-get-method",mf); -} -} -} -}); - -cljs.core._methods = (function cljs$core$_methods(mf){ -if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_methods$arity$1 == null)))))){ -return mf.cljs$core$IMultiFn$_methods$arity$1(mf); -} else { -var x__8502__auto__ = (((mf == null))?null:mf); -var m__8503__auto__ = (cljs.core._methods[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto__.call(null,mf)); -} else { -var m__8503__auto____$1 = (cljs.core._methods["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto____$1.call(null,mf)); -} else { -throw cljs.core.missing_protocol("IMultiFn.-methods",mf); -} -} -} -}); - -cljs.core._prefers = (function cljs$core$_prefers(mf){ -if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_prefers$arity$1 == null)))))){ -return mf.cljs$core$IMultiFn$_prefers$arity$1(mf); -} else { -var x__8502__auto__ = (((mf == null))?null:mf); -var m__8503__auto__ = (cljs.core._prefers[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto__.call(null,mf)); -} else { -var m__8503__auto____$1 = (cljs.core._prefers["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto____$1.call(null,mf)); -} else { -throw cljs.core.missing_protocol("IMultiFn.-prefers",mf); -} -} -} -}); - -cljs.core._default_dispatch_val = (function cljs$core$_default_dispatch_val(mf){ -if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_default_dispatch_val$arity$1 == null)))))){ -return mf.cljs$core$IMultiFn$_default_dispatch_val$arity$1(mf); -} else { -var x__8502__auto__ = (((mf == null))?null:mf); -var m__8503__auto__ = (cljs.core._default_dispatch_val[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto__.call(null,mf)); -} else { -var m__8503__auto____$1 = (cljs.core._default_dispatch_val["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto____$1.call(null,mf)); -} else { -throw cljs.core.missing_protocol("IMultiFn.-default-dispatch-val",mf); -} -} -} -}); - -cljs.core._dispatch_fn = (function cljs$core$_dispatch_fn(mf){ -if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_dispatch_fn$arity$1 == null)))))){ -return mf.cljs$core$IMultiFn$_dispatch_fn$arity$1(mf); -} else { -var x__8502__auto__ = (((mf == null))?null:mf); -var m__8503__auto__ = (cljs.core._dispatch_fn[goog.typeOf(x__8502__auto__)]); -if((!((m__8503__auto__ == null)))){ -return (m__8503__auto__.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto__.call(null,mf)); -} else { -var m__8503__auto____$1 = (cljs.core._dispatch_fn["_"]); -if((!((m__8503__auto____$1 == null)))){ -return (m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1 ? m__8503__auto____$1.cljs$core$IFn$_invoke$arity$1(mf) : m__8503__auto____$1.call(null,mf)); -} else { -throw cljs.core.missing_protocol("IMultiFn.-dispatch-fn",mf); -} -} -} -}); - -cljs.core.throw_no_method_error = (function cljs$core$throw_no_method_error(name,dispatch_val){ -throw (new Error(["No method in multimethod '",cljs.core.str.cljs$core$IFn$_invoke$arity$1(name),"' for dispatch value: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val)].join(''))); -}); - -/** -* @constructor - * @implements {cljs.core.IHash} - * @implements {cljs.core.IFn} - * @implements {cljs.core.IMultiFn} - * @implements {cljs.core.INamed} -*/ -cljs.core.MultiFn = (function (name,dispatch_fn,default_dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy){ -this.name = name; -this.dispatch_fn = dispatch_fn; -this.default_dispatch_val = default_dispatch_val; -this.hierarchy = hierarchy; -this.method_table = method_table; -this.prefer_table = prefer_table; -this.method_cache = method_cache; -this.cached_hierarchy = cached_hierarchy; -this.cljs$lang$protocol_mask$partition0$ = 4194305; -this.cljs$lang$protocol_mask$partition1$ = 4352; -}); -cljs.core.MultiFn.prototype.call = (function() { -var G__12749 = null; -var G__12749__1 = (function (self__){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$0 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$0() : self__.dispatch_fn.call(null)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$0 ? target_fn.cljs$core$IFn$_invoke$arity$0() : target_fn.call(null)); -}); -var G__12749__2 = (function (self__,a){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$1 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$1(a) : self__.dispatch_fn.call(null,a)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$1 ? target_fn.cljs$core$IFn$_invoke$arity$1(a) : target_fn.call(null,a)); -}); -var G__12749__3 = (function (self__,a,b){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$2 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$2(a,b) : self__.dispatch_fn.call(null,a,b)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$2 ? target_fn.cljs$core$IFn$_invoke$arity$2(a,b) : target_fn.call(null,a,b)); -}); -var G__12749__4 = (function (self__,a,b,c){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$3 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$3(a,b,c) : self__.dispatch_fn.call(null,a,b,c)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$3 ? target_fn.cljs$core$IFn$_invoke$arity$3(a,b,c) : target_fn.call(null,a,b,c)); -}); -var G__12749__5 = (function (self__,a,b,c,d){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$4 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : self__.dispatch_fn.call(null,a,b,c,d)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$4 ? target_fn.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : target_fn.call(null,a,b,c,d)); -}); -var G__12749__6 = (function (self__,a,b,c,d,e){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$5 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : self__.dispatch_fn.call(null,a,b,c,d,e)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$5 ? target_fn.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : target_fn.call(null,a,b,c,d,e)); -}); -var G__12749__7 = (function (self__,a,b,c,d,e,f){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$6 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : self__.dispatch_fn.call(null,a,b,c,d,e,f)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$6 ? target_fn.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : target_fn.call(null,a,b,c,d,e,f)); -}); -var G__12749__8 = (function (self__,a,b,c,d,e,f,g){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$7 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$7 ? target_fn.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : target_fn.call(null,a,b,c,d,e,f,g)); -}); -var G__12749__9 = (function (self__,a,b,c,d,e,f,g,h){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$8 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$8 ? target_fn.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : target_fn.call(null,a,b,c,d,e,f,g,h)); -}); -var G__12749__10 = (function (self__,a,b,c,d,e,f,g,h,i){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$9 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$9 ? target_fn.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : target_fn.call(null,a,b,c,d,e,f,g,h,i)); -}); -var G__12749__11 = (function (self__,a,b,c,d,e,f,g,h,i,j){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$10 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$10 ? target_fn.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j)); -}); -var G__12749__12 = (function (self__,a,b,c,d,e,f,g,h,i,j,k){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$11 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$11 ? target_fn.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k)); -}); -var G__12749__13 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$12 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$12 ? target_fn.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l)); -}); -var G__12749__14 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$13 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$13 ? target_fn.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m)); -}); -var G__12749__15 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$14 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$14 ? target_fn.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -}); -var G__12749__16 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$15 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$15 ? target_fn.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -}); -var G__12749__17 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$16 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$16 ? target_fn.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -}); -var G__12749__18 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$17 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$17 ? target_fn.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -}); -var G__12749__19 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$18 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$18 ? target_fn.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -}); -var G__12749__20 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$19 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$19 ? target_fn.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -}); -var G__12749__21 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$20 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$20 ? target_fn.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -}); -var G__12749__22 = (function (self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -var self__ = this; -var self____$1 = this; -var mf = self____$1; -var dispatch_val = cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(self__.dispatch_fn,a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(target_fn,a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); -}); -G__12749 = function(self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -switch(arguments.length){ -case 1: -return G__12749__1.call(this,self__); -case 2: -return G__12749__2.call(this,self__,a); -case 3: -return G__12749__3.call(this,self__,a,b); -case 4: -return G__12749__4.call(this,self__,a,b,c); -case 5: -return G__12749__5.call(this,self__,a,b,c,d); -case 6: -return G__12749__6.call(this,self__,a,b,c,d,e); -case 7: -return G__12749__7.call(this,self__,a,b,c,d,e,f); -case 8: -return G__12749__8.call(this,self__,a,b,c,d,e,f,g); -case 9: -return G__12749__9.call(this,self__,a,b,c,d,e,f,g,h); -case 10: -return G__12749__10.call(this,self__,a,b,c,d,e,f,g,h,i); -case 11: -return G__12749__11.call(this,self__,a,b,c,d,e,f,g,h,i,j); -case 12: -return G__12749__12.call(this,self__,a,b,c,d,e,f,g,h,i,j,k); -case 13: -return G__12749__13.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l); -case 14: -return G__12749__14.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m); -case 15: -return G__12749__15.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n); -case 16: -return G__12749__16.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); -case 17: -return G__12749__17.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); -case 18: -return G__12749__18.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); -case 19: -return G__12749__19.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); -case 20: -return G__12749__20.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); -case 21: -return G__12749__21.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); -case 22: -return G__12749__22.call(this,self__,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest); -} -throw(new Error('Invalid arity: ' + (arguments.length - 1))); -}; -G__12749.cljs$core$IFn$_invoke$arity$1 = G__12749__1; -G__12749.cljs$core$IFn$_invoke$arity$2 = G__12749__2; -G__12749.cljs$core$IFn$_invoke$arity$3 = G__12749__3; -G__12749.cljs$core$IFn$_invoke$arity$4 = G__12749__4; -G__12749.cljs$core$IFn$_invoke$arity$5 = G__12749__5; -G__12749.cljs$core$IFn$_invoke$arity$6 = G__12749__6; -G__12749.cljs$core$IFn$_invoke$arity$7 = G__12749__7; -G__12749.cljs$core$IFn$_invoke$arity$8 = G__12749__8; -G__12749.cljs$core$IFn$_invoke$arity$9 = G__12749__9; -G__12749.cljs$core$IFn$_invoke$arity$10 = G__12749__10; -G__12749.cljs$core$IFn$_invoke$arity$11 = G__12749__11; -G__12749.cljs$core$IFn$_invoke$arity$12 = G__12749__12; -G__12749.cljs$core$IFn$_invoke$arity$13 = G__12749__13; -G__12749.cljs$core$IFn$_invoke$arity$14 = G__12749__14; -G__12749.cljs$core$IFn$_invoke$arity$15 = G__12749__15; -G__12749.cljs$core$IFn$_invoke$arity$16 = G__12749__16; -G__12749.cljs$core$IFn$_invoke$arity$17 = G__12749__17; -G__12749.cljs$core$IFn$_invoke$arity$18 = G__12749__18; -G__12749.cljs$core$IFn$_invoke$arity$19 = G__12749__19; -G__12749.cljs$core$IFn$_invoke$arity$20 = G__12749__20; -G__12749.cljs$core$IFn$_invoke$arity$21 = G__12749__21; -G__12749.cljs$core$IFn$_invoke$arity$22 = G__12749__22; -return G__12749; -})() -; - -cljs.core.MultiFn.prototype.apply = (function (self__,args12747){ -var self__ = this; -var self____$1 = this; -return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args12747))); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$0 = (function (){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$0 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$0() : self__.dispatch_fn.call(null)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$0 ? target_fn.cljs$core$IFn$_invoke$arity$0() : target_fn.call(null)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$1 = (function (a){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$1 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$1(a) : self__.dispatch_fn.call(null,a)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$1 ? target_fn.cljs$core$IFn$_invoke$arity$1(a) : target_fn.call(null,a)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$2 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$2(a,b) : self__.dispatch_fn.call(null,a,b)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$2 ? target_fn.cljs$core$IFn$_invoke$arity$2(a,b) : target_fn.call(null,a,b)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$3 = (function (a,b,c){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$3 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$3(a,b,c) : self__.dispatch_fn.call(null,a,b,c)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$3 ? target_fn.cljs$core$IFn$_invoke$arity$3(a,b,c) : target_fn.call(null,a,b,c)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$4 = (function (a,b,c,d){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$4 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : self__.dispatch_fn.call(null,a,b,c,d)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$4 ? target_fn.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : target_fn.call(null,a,b,c,d)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$5 = (function (a,b,c,d,e){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$5 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : self__.dispatch_fn.call(null,a,b,c,d,e)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$5 ? target_fn.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : target_fn.call(null,a,b,c,d,e)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$6 = (function (a,b,c,d,e,f){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$6 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : self__.dispatch_fn.call(null,a,b,c,d,e,f)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$6 ? target_fn.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : target_fn.call(null,a,b,c,d,e,f)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$7 = (function (a,b,c,d,e,f,g){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$7 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$7 ? target_fn.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : target_fn.call(null,a,b,c,d,e,f,g)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$8 = (function (a,b,c,d,e,f,g,h){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$8 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$8 ? target_fn.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : target_fn.call(null,a,b,c,d,e,f,g,h)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$9 = (function (a,b,c,d,e,f,g,h,i){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$9 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$9 ? target_fn.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : target_fn.call(null,a,b,c,d,e,f,g,h,i)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$10 = (function (a,b,c,d,e,f,g,h,i,j){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$10 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$10 ? target_fn.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$11 = (function (a,b,c,d,e,f,g,h,i,j,k){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$11 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$11 ? target_fn.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$12 = (function (a,b,c,d,e,f,g,h,i,j,k,l){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$12 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$12 ? target_fn.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$13 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$13 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$13 ? target_fn.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$14 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$14 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$14 ? target_fn.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$15 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$15 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$15 ? target_fn.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$16 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$16 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$16 ? target_fn.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$17 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$17 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$17 ? target_fn.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$18 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$18 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$18 ? target_fn.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$19 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$19 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$19 ? target_fn.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$20 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ -var self__ = this; -var mf = this; -var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$20 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : self__.dispatch_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return (target_fn.cljs$core$IFn$_invoke$arity$20 ? target_fn.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : target_fn.call(null,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$21 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ -var self__ = this; -var mf = this; -var dispatch_val = cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(self__.dispatch_fn,a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); -var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null,dispatch_val); -if(cljs.core.truth_(target_fn)){ -} else { -cljs.core.throw_no_method_error(self__.name,dispatch_val); -} - -return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(target_fn,a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); -}); - -cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_prefer_method$arity$3 = (function (mf,dispatch_val_x,dispatch_val_y){ -var self__ = this; -var mf__$1 = this; -if(cljs.core.truth_(cljs.core.prefers_STAR_(dispatch_val_x,dispatch_val_y,self__.prefer_table))){ -throw (new Error(["Preference conflict in multimethod '",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.name),"': ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val_y)," is already preferred to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val_x)].join(''))); -} else { -} - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.prefer_table,((function (mf__$1){ -return (function (old){ -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(old,dispatch_val_x,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(old,dispatch_val_x,cljs.core.PersistentHashSet.EMPTY),dispatch_val_y)); -});})(mf__$1)) -); - -return cljs.core.reset_cache(self__.method_cache,self__.method_table,self__.cached_hierarchy,self__.hierarchy); -}); - -cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_default_dispatch_val$arity$1 = (function (mf){ -var self__ = this; -var mf__$1 = this; -return self__.default_dispatch_val; -}); - -cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_remove_method$arity$2 = (function (mf,dispatch_val){ -var self__ = this; -var mf__$1 = this; -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(self__.method_table,cljs.core.dissoc,dispatch_val); - -cljs.core.reset_cache(self__.method_cache,self__.method_table,self__.cached_hierarchy,self__.hierarchy); - -return mf__$1; -}); - -cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_methods$arity$1 = (function (mf){ -var self__ = this; -var mf__$1 = this; -return cljs.core.deref(self__.method_table); -}); - -cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_prefers$arity$1 = (function (mf){ -var self__ = this; -var mf__$1 = this; -return cljs.core.deref(self__.prefer_table); -}); - -cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_dispatch_fn$arity$1 = (function (mf){ -var self__ = this; -var mf__$1 = this; -return self__.dispatch_fn; -}); - -cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_add_method$arity$3 = (function (mf,dispatch_val,method){ -var self__ = this; -var mf__$1 = this; -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(self__.method_table,cljs.core.assoc,dispatch_val,method); - -cljs.core.reset_cache(self__.method_cache,self__.method_table,self__.cached_hierarchy,self__.hierarchy); - -return mf__$1; -}); - -cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_reset$arity$1 = (function (mf){ -var self__ = this; -var mf__$1 = this; -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.method_table,((function (mf__$1){ -return (function (mf__$2){ -return cljs.core.PersistentArrayMap.EMPTY; -});})(mf__$1)) -); - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.method_cache,((function (mf__$1){ -return (function (mf__$2){ -return cljs.core.PersistentArrayMap.EMPTY; -});})(mf__$1)) -); - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.prefer_table,((function (mf__$1){ -return (function (mf__$2){ -return cljs.core.PersistentArrayMap.EMPTY; -});})(mf__$1)) -); - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.cached_hierarchy,((function (mf__$1){ -return (function (mf__$2){ -return null; -});})(mf__$1)) -); - -return mf__$1; -}); - -cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_get_method$arity$2 = (function (mf,dispatch_val){ -var self__ = this; -var mf__$1 = this; -if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(self__.cached_hierarchy),cljs.core.deref(self__.hierarchy))){ -} else { -cljs.core.reset_cache(self__.method_cache,self__.method_table,self__.cached_hierarchy,self__.hierarchy); -} - -var temp__4655__auto__ = (function (){var fexpr__12748 = cljs.core.deref(self__.method_cache); -return (fexpr__12748.cljs$core$IFn$_invoke$arity$1 ? fexpr__12748.cljs$core$IFn$_invoke$arity$1(dispatch_val) : fexpr__12748.call(null,dispatch_val)); -})(); -if(cljs.core.truth_(temp__4655__auto__)){ -var target_fn = temp__4655__auto__; -return target_fn; -} else { -return cljs.core.find_and_cache_best_method(self__.name,dispatch_val,self__.hierarchy,self__.method_table,self__.prefer_table,self__.method_cache,self__.cached_hierarchy,self__.default_dispatch_val); -} -}); - -cljs.core.MultiFn.prototype.cljs$core$INamed$_name$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return cljs.core._name(self__.name); -}); - -cljs.core.MultiFn.prototype.cljs$core$INamed$_namespace$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return cljs.core._namespace(self__.name); -}); - -cljs.core.MultiFn.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return goog.getUid(this$__$1); -}); - -cljs.core.MultiFn.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"name","name",-810760592,null),new cljs.core.Symbol(null,"dispatch-fn","dispatch-fn",-1401088155,null),new cljs.core.Symbol(null,"default-dispatch-val","default-dispatch-val",-1231201266,null),new cljs.core.Symbol(null,"hierarchy","hierarchy",587061186,null),new cljs.core.Symbol(null,"method-table","method-table",-1878263165,null),new cljs.core.Symbol(null,"prefer-table","prefer-table",462168584,null),new cljs.core.Symbol(null,"method-cache","method-cache",1230193905,null),new cljs.core.Symbol(null,"cached-hierarchy","cached-hierarchy",-1085460203,null)], null); -}); - -cljs.core.MultiFn.cljs$lang$type = true; - -cljs.core.MultiFn.cljs$lang$ctorStr = "cljs.core/MultiFn"; - -cljs.core.MultiFn.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/MultiFn"); -}); - -/** - * Positional factory function for cljs.core/MultiFn. - */ -cljs.core.__GT_MultiFn = (function cljs$core$__GT_MultiFn(name,dispatch_fn,default_dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy){ -return (new cljs.core.MultiFn(name,dispatch_fn,default_dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy)); -}); - -/** - * Removes all of the methods of multimethod. - */ -cljs.core.remove_all_methods = (function cljs$core$remove_all_methods(multifn){ -return cljs.core._reset(multifn); -}); -/** - * Removes the method of multimethod associated with dispatch-value. - */ -cljs.core.remove_method = (function cljs$core$remove_method(multifn,dispatch_val){ -return cljs.core._remove_method(multifn,dispatch_val); -}); -/** - * Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y - * when there is a conflict - */ -cljs.core.prefer_method = (function cljs$core$prefer_method(multifn,dispatch_val_x,dispatch_val_y){ -return cljs.core._prefer_method(multifn,dispatch_val_x,dispatch_val_y); -}); -/** - * Given a multimethod, returns a map of dispatch values -> dispatch fns - */ -cljs.core.methods$ = (function cljs$core$methods(multifn){ -return cljs.core._methods(multifn); -}); -/** - * Given a multimethod and a dispatch value, returns the dispatch fn - * that would apply to that value, or nil if none apply and no default - */ -cljs.core.get_method = (function cljs$core$get_method(multifn,dispatch_val){ -return cljs.core._get_method(multifn,dispatch_val); -}); -/** - * Given a multimethod, returns a map of preferred value -> set of other values - */ -cljs.core.prefers = (function cljs$core$prefers(multifn){ -return cljs.core._prefers(multifn); -}); -/** - * Given a multimethod, return it's default-dispatch-val. - */ -cljs.core.default_dispatch_val = (function cljs$core$default_dispatch_val(multifn){ -return cljs.core._default_dispatch_val(multifn); -}); -/** - * Given a multimethod, return it's dispatch-fn. - */ -cljs.core.dispatch_fn = (function cljs$core$dispatch_fn(multifn){ -return cljs.core._dispatch_fn(multifn); -}); - -/** - * A marker protocol for UUIDs - * @interface - */ -cljs.core.IUUID = function(){}; - - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IPrintWithWriter} - * @implements {cljs.core.IComparable} - * @implements {cljs.core.IUUID} -*/ -cljs.core.UUID = (function (uuid,__hash){ -this.uuid = uuid; -this.__hash = __hash; -this.cljs$lang$protocol_mask$partition0$ = 2153775104; -this.cljs$lang$protocol_mask$partition1$ = 2048; -}); -cljs.core.UUID.prototype.cljs$core$IUUID$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.UUID.prototype.toString = (function (){ -var self__ = this; -var _ = this; -return self__.uuid; -}); - -cljs.core.UUID.prototype.equiv = (function (other){ -var self__ = this; -var this$ = this; -return this$.cljs$core$IEquiv$_equiv$arity$2(null,other); -}); - -cljs.core.UUID.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (_,other){ -var self__ = this; -var ___$1 = this; -return (((other instanceof cljs.core.UUID)) && ((self__.uuid === other.uuid))); -}); - -cljs.core.UUID.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (_,writer,___$1){ -var self__ = this; -var ___$2 = this; -return cljs.core._write(writer,["#uuid \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.uuid),"\""].join('')); -}); - -cljs.core.UUID.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -if((self__.__hash == null)){ -self__.__hash = cljs.core.hash(self__.uuid); -} else { -} - -return self__.__hash; -}); - -cljs.core.UUID.prototype.cljs$core$IComparable$_compare$arity$2 = (function (_,other){ -var self__ = this; -var ___$1 = this; -var G__12750 = self__.uuid; -var G__12751 = other.uuid; -return goog.array.defaultCompare(G__12750,G__12751); -}); - -cljs.core.UUID.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"uuid","uuid",-504564192,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); -}); - -cljs.core.UUID.cljs$lang$type = true; - -cljs.core.UUID.cljs$lang$ctorStr = "cljs.core/UUID"; - -cljs.core.UUID.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/UUID"); -}); - -/** - * Positional factory function for cljs.core/UUID. - */ -cljs.core.__GT_UUID = (function cljs$core$__GT_UUID(uuid,__hash){ -return (new cljs.core.UUID(uuid,__hash)); -}); - -cljs.core.uuid = (function cljs$core$uuid(s){ -if(typeof s === 'string'){ -} else { -throw (new Error("Assert failed: (string? s)")); -} - -return (new cljs.core.UUID(s.toLowerCase(),null)); -}); -cljs.core.random_uuid = (function cljs$core$random_uuid(){ -var hex = (function cljs$core$random_uuid_$_hex(){ -return cljs.core.rand_int((16)).toString((16)); -}); -var rhex = ((8) | ((3) & cljs.core.rand_int((16)))).toString((16)); -return cljs.core.uuid([cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),"-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),"-","4",cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),"-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(rhex),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),"-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex())].join('')); -}); -cljs.core.uuid_QMARK_ = (function cljs$core$uuid_QMARK_(x){ -if((!((x == null)))){ -if(((false) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IUUID$)))){ -return true; -} else { -return false; -} -} else { -return false; -} -}); -cljs.core.pr_writer_ex_info = (function cljs$core$pr_writer_ex_info(obj,writer,opts){ -cljs.core._write(writer,"#error {:message "); - -cljs.core.pr_writer(obj.message,writer,opts); - -if(cljs.core.truth_(obj.data)){ -cljs.core._write(writer,", :data "); - -cljs.core.pr_writer(obj.data,writer,opts); -} else { -} - -if(cljs.core.truth_(obj.cause)){ -cljs.core._write(writer,", :cause "); - -cljs.core.pr_writer(obj.cause,writer,opts); -} else { -} - -return cljs.core._write(writer,"}"); -}); -/** - * @constructor - */ -cljs.core.ExceptionInfo = (function cljs$core$ExceptionInfo(message,data,cause){ -var e = (new Error(message)); -var this$ = this; -this$.message = message; - -this$.data = data; - -this$.cause = cause; - -this$.name = e.name; - -this$.description = e.description; - -this$.number = e.number; - -this$.fileName = e.fileName; - -this$.lineNumber = e.lineNumber; - -this$.columnNumber = e.columnNumber; - -this$.stack = e.stack; - -return this$; -}); -cljs.core.ExceptionInfo.prototype.__proto__ = Error.prototype; -cljs.core.ExceptionInfo.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL; - -cljs.core.ExceptionInfo.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (obj,writer,opts){ -var obj__$1 = this; -return cljs.core.pr_writer_ex_info(obj__$1,writer,opts); -}); -cljs.core.ExceptionInfo.prototype.toString = (function (){ -var this$ = this; -return cljs.core.pr_str_STAR_(this$); -}); -/** - * Create an instance of ExceptionInfo, an Error type that carries a - * map of additional data. - */ -cljs.core.ex_info = (function cljs$core$ex_info(var_args){ -var G__12754 = arguments.length; -switch (G__12754) { -case 2: -return cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2 = (function (msg,data){ -return cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3(msg,data,null); -}); - -cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3 = (function (msg,data,cause){ -return (new cljs.core.ExceptionInfo(msg,data,cause)); -}); - -cljs.core.ex_info.cljs$lang$maxFixedArity = 3; - -/** - * Returns exception data (a map) if ex is an ExceptionInfo. - * Otherwise returns nil. - */ -cljs.core.ex_data = (function cljs$core$ex_data(ex){ -if((ex instanceof cljs.core.ExceptionInfo)){ -return ex.data; -} else { -return null; -} -}); -/** - * Returns the message attached to the given Error / ExceptionInfo object. - * For non-Errors returns nil. - */ -cljs.core.ex_message = (function cljs$core$ex_message(ex){ -if((ex instanceof Error)){ -return ex.message; -} else { -return null; -} -}); -/** - * Returns exception cause (an Error / ExceptionInfo) if ex is an - * ExceptionInfo. - * Otherwise returns nil. - */ -cljs.core.ex_cause = (function cljs$core$ex_cause(ex){ -if((ex instanceof cljs.core.ExceptionInfo)){ -return ex.cause; -} else { -return null; -} -}); -/** - * Returns an JavaScript compatible comparator based upon pred. - */ -cljs.core.comparator = (function cljs$core$comparator(pred){ -return (function (x,y){ -if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$2 ? pred.cljs$core$IFn$_invoke$arity$2(x,y) : pred.call(null,x,y)))){ -return (-1); -} else { -if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$2 ? pred.cljs$core$IFn$_invoke$arity$2(y,x) : pred.call(null,y,x)))){ -return (1); -} else { -return (0); - -} -} -}); -}); -/** - * Returns true if x names a special form - */ -cljs.core.special_symbol_QMARK_ = (function cljs$core$special_symbol_QMARK_(x){ -return cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 24, [new cljs.core.Symbol(null,"&","&",-2144855648,null),"null",new cljs.core.Symbol(null,"case*","case*",-1938255072,null),"null",new cljs.core.Symbol(null,"defrecord*","defrecord*",-1936366207,null),"null",new cljs.core.Symbol(null,"try","try",-1273693247,null),"null",new cljs.core.Symbol(null,"ns*","ns*",1840949383,null),"null",new cljs.core.Symbol(null,"finally","finally",-1065347064,null),"null",new cljs.core.Symbol(null,"loop*","loop*",615029416,null),"null",new cljs.core.Symbol(null,"do","do",1686842252,null),"null",new cljs.core.Symbol(null,"letfn*","letfn*",-110097810,null),"null",new cljs.core.Symbol(null,"if","if",1181717262,null),"null",new cljs.core.Symbol(null,"new","new",-444906321,null),"null",new cljs.core.Symbol(null,"ns","ns",2082130287,null),"null",new cljs.core.Symbol(null,"deftype*","deftype*",962659890,null),"null",new cljs.core.Symbol(null,"let*","let*",1920721458,null),"null",new cljs.core.Symbol(null,"js*","js*",-1134233646,null),"null",new cljs.core.Symbol(null,"fn*","fn*",-752876845,null),"null",new cljs.core.Symbol(null,"recur","recur",1202958259,null),"null",new cljs.core.Symbol(null,"set!","set!",250714521,null),"null",new cljs.core.Symbol(null,".",".",1975675962,null),"null",new cljs.core.Symbol(null,"var","var",870848730,null),"null",new cljs.core.Symbol(null,"quote","quote",1377916282,null),"null",new cljs.core.Symbol(null,"catch","catch",-1616370245,null),"null",new cljs.core.Symbol(null,"throw","throw",595905694,null),"null",new cljs.core.Symbol(null,"def","def",597100991,null),"null"], null), null),x); -}); -/** - * test [v] finds fn at key :test in var metadata and calls it, - * presuming failure will throw exception - */ -cljs.core.test = (function cljs$core$test(v){ -var f = v.cljs$lang$test; -if(cljs.core.truth_(f)){ -(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null)); - -return new cljs.core.Keyword(null,"ok","ok",967785236); -} else { -return new cljs.core.Keyword(null,"no-test","no-test",-1679482642); -} -}); - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} - * @implements {cljs.core.IPrintWithWriter} - * @implements {cljs.core.ILookup} -*/ -cljs.core.TaggedLiteral = (function (tag,form){ -this.tag = tag; -this.form = form; -this.cljs$lang$protocol_mask$partition0$ = 2153775360; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.TaggedLiteral.prototype.toString = (function (){ -var self__ = this; -var coll = this; -return cljs.core.pr_str_STAR_(coll); -}); - -cljs.core.TaggedLiteral.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ -var self__ = this; -var this$__$1 = this; -return (((other instanceof cljs.core.TaggedLiteral)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(self__.tag,other.tag)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(self__.form,other.form))); -}); - -cljs.core.TaggedLiteral.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ -var self__ = this; -var this$__$1 = this; -return (((31) * cljs.core.hash(self__.tag)) + cljs.core.hash(self__.form)); -}); - -cljs.core.TaggedLiteral.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this$,v){ -var self__ = this; -var this$__$1 = this; -return this$__$1.cljs$core$ILookup$_lookup$arity$3(null,v,null); -}); - -cljs.core.TaggedLiteral.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this$,v,not_found){ -var self__ = this; -var this$__$1 = this; -var G__12756 = v; -var G__12756__$1 = (((G__12756 instanceof cljs.core.Keyword))?G__12756.fqn:null); -switch (G__12756__$1) { -case "tag": -return self__.tag; - -break; -case "form": -return self__.form; - -break; -default: -return not_found; - -} -}); - -cljs.core.TaggedLiteral.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (o,writer,opts){ -var self__ = this; -var o__$1 = this; -cljs.core._write(writer,["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.tag)," "].join('')); - -return cljs.core.pr_writer(self__.form,writer,opts); -}); - -cljs.core.TaggedLiteral.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"tag","tag",350170304,null),new cljs.core.Symbol(null,"form","form",16469056,null)], null); -}); - -cljs.core.TaggedLiteral.cljs$lang$type = true; - -cljs.core.TaggedLiteral.cljs$lang$ctorStr = "cljs.core/TaggedLiteral"; - -cljs.core.TaggedLiteral.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/TaggedLiteral"); -}); - -/** - * Positional factory function for cljs.core/TaggedLiteral. - */ -cljs.core.__GT_TaggedLiteral = (function cljs$core$__GT_TaggedLiteral(tag,form){ -return (new cljs.core.TaggedLiteral(tag,form)); -}); - -/** - * Return true if the value is the data representation of a tagged literal - */ -cljs.core.tagged_literal_QMARK_ = (function cljs$core$tagged_literal_QMARK_(value){ -return (value instanceof cljs.core.TaggedLiteral); -}); -/** - * Construct a data representation of a tagged literal from a - * tag symbol and a form. - */ -cljs.core.tagged_literal = (function cljs$core$tagged_literal(tag,form){ -if((tag instanceof cljs.core.Symbol)){ -} else { -throw (new Error("Assert failed: (symbol? tag)")); -} - -return (new cljs.core.TaggedLiteral(tag,form)); -}); -/** - * @type {*} - */ -cljs.core.js_reserved_arr = ["arguments","abstract","await","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","export","extends","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","native","new","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","try","typeof","var","void","volatile","while","with","yield","methods","null","constructor"]; -/** - * @type {null|Object} - */ -cljs.core.js_reserved = null; -cljs.core.js_reserved_QMARK_ = (function cljs$core$js_reserved_QMARK_(x){ -if((cljs.core.js_reserved == null)){ -cljs.core.js_reserved = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__12758_SHARP_,p2__12759_SHARP_){ -goog.object.set(p1__12758_SHARP_,p2__12759_SHARP_,true); - -return p1__12758_SHARP_; -}),({}),cljs.core.js_reserved_arr); -} else { -} - -return cljs.core.js_reserved.hasOwnProperty(x); -}); -cljs.core.demunge_pattern = (function cljs$core$demunge_pattern(){ -if(cljs.core.truth_(cljs.core.DEMUNGE_PATTERN)){ -} else { -cljs.core.DEMUNGE_PATTERN = (function (){var ks = cljs.core.sort.cljs$core$IFn$_invoke$arity$2((function (a,b){ -return (b.length - a.length); -}),cljs.core.js_keys(cljs.core.DEMUNGE_MAP)); -var ks__$1 = ks; -var ret = ""; -while(true){ -if(cljs.core.seq(ks__$1)){ -var G__12761 = cljs.core.next(ks__$1); -var G__12762 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var G__12760 = ret; -if((!((ret === "")))){ -return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__12760),"|"].join(''); -} else { -return G__12760; -} -})()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(ks__$1))].join(''); -ks__$1 = G__12761; -ret = G__12762; -continue; -} else { -return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(ret),"|\\$"].join(''); -} -break; -} -})(); -} - -return cljs.core.DEMUNGE_PATTERN; -}); -cljs.core.munge_str = (function cljs$core$munge_str(name){ -var sb = (new goog.string.StringBuffer()); -var i_12763 = (0); -while(true){ -if((i_12763 < name.length)){ -var c_12764 = name.charAt(i_12763); -var sub_12765 = goog.object.get(cljs.core.CHAR_MAP,c_12764); -if((!((sub_12765 == null)))){ -sb.append(sub_12765); -} else { -sb.append(c_12764); -} - -var G__12766 = (i_12763 + (1)); -i_12763 = G__12766; -continue; -} else { -} -break; -} - -return sb.toString(); -}); -cljs.core.munge = (function cljs$core$munge(name){ -var name_SINGLEQUOTE_ = cljs.core.munge_str(cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)); -var name_SINGLEQUOTE___$1 = (((name_SINGLEQUOTE_ === ".."))?"_DOT__DOT_":(cljs.core.truth_(cljs.core.js_reserved_QMARK_(name_SINGLEQUOTE_))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(name_SINGLEQUOTE_),"$"].join(''):name_SINGLEQUOTE_ -)); -if((name instanceof cljs.core.Symbol)){ -return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(name_SINGLEQUOTE___$1); -} else { -return name_SINGLEQUOTE___$1; -} -}); -cljs.core.demunge_str = (function cljs$core$demunge_str(munged_name){ -var r = (new RegExp(cljs.core.demunge_pattern(),"g")); -var munged_name__$1 = (cljs.core.truth_(goog.string.endsWith(munged_name,"$"))?munged_name.substring((0),(munged_name.length - (1))):munged_name); -var ret = ""; -var last_match_end = (0); -while(true){ -var temp__4655__auto__ = r.exec(munged_name__$1); -if(cljs.core.truth_(temp__4655__auto__)){ -var match = temp__4655__auto__; -var vec__12767 = match; -var x = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__12767,(0),null); -var G__12770 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(ret),cljs.core.str.cljs$core$IFn$_invoke$arity$1(munged_name__$1.substring(last_match_end,(r.lastIndex - x.length))),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((x === "$"))?"/":goog.object.get(cljs.core.DEMUNGE_MAP,x)))].join(''); -var G__12771 = r.lastIndex; -ret = G__12770; -last_match_end = G__12771; -continue; -} else { -return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(ret),cljs.core.str.cljs$core$IFn$_invoke$arity$1(munged_name__$1.substring(last_match_end,munged_name__$1.length))].join(''); -} -break; -} -}); -cljs.core.demunge = (function cljs$core$demunge(name){ -var G__12773 = (function (){var name_SINGLEQUOTE_ = cljs.core.str.cljs$core$IFn$_invoke$arity$1(name); -if((name_SINGLEQUOTE_ === "_DOT__DOT_")){ -return ".."; -} else { -return cljs.core.demunge_str(name_SINGLEQUOTE_); -} -})(); -var fexpr__12772 = (((name instanceof cljs.core.Symbol))?cljs.core.symbol:cljs.core.str); -return (fexpr__12772.cljs$core$IFn$_invoke$arity$1 ? fexpr__12772.cljs$core$IFn$_invoke$arity$1(G__12773) : fexpr__12772.call(null,G__12773)); -}); -if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core.tapset !== 'undefined')){ -} else { -/** - * @type {*} - */ -cljs.core.tapset = null; -} -cljs.core.maybe_init_tapset = (function cljs$core$maybe_init_tapset(){ -if((cljs.core.tapset == null)){ -return cljs.core.tapset = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentHashSet.EMPTY); -} else { -return null; -} -}); -/** - * Adds f, a fn of one argument, to the tap set. This function will be called with - * anything sent via tap>. Remember f in order to remove-tap - */ -cljs.core.add_tap = (function cljs$core$add_tap(f){ -cljs.core.maybe_init_tapset(); - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs.core.tapset,cljs.core.conj,f); - -return null; -}); -/** - * Remove f from the tap set. - */ -cljs.core.remove_tap = (function cljs$core$remove_tap(f){ -cljs.core.maybe_init_tapset(); - -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs.core.tapset,cljs.core.disj,f); - -return null; -}); -/** - * Sends x to any taps. Returns the result of *exec-tap-fn*, a Boolean value. - */ -cljs.core.tap_GT_ = (function cljs$core$tap_GT_(x){ -cljs.core.maybe_init_tapset(); - -return (cljs.core._STAR_exec_tap_fn_STAR_.cljs$core$IFn$_invoke$arity$1 ? cljs.core._STAR_exec_tap_fn_STAR_.cljs$core$IFn$_invoke$arity$1((function (){ -var seq__12774 = cljs.core.seq(cljs.core.deref(cljs.core.tapset)); -var chunk__12775 = null; -var count__12776 = (0); -var i__12777 = (0); -while(true){ -if((i__12777 < count__12776)){ -var tap = chunk__12775.cljs$core$IIndexed$_nth$arity$2(null,i__12777); -try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null,x)); -}catch (e12778){if((e12778 instanceof Error)){ -var ex_12780 = e12778; -} else { -throw e12778; - -} -} - -var G__12781 = seq__12774; -var G__12782 = chunk__12775; -var G__12783 = count__12776; -var G__12784 = (i__12777 + (1)); -seq__12774 = G__12781; -chunk__12775 = G__12782; -count__12776 = G__12783; -i__12777 = G__12784; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__12774); -if(temp__4657__auto__){ -var seq__12774__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__12774__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__12774__$1); -var G__12785 = cljs.core.chunk_rest(seq__12774__$1); -var G__12786 = c__8664__auto__; -var G__12787 = cljs.core.count(c__8664__auto__); -var G__12788 = (0); -seq__12774 = G__12785; -chunk__12775 = G__12786; -count__12776 = G__12787; -i__12777 = G__12788; -continue; -} else { -var tap = cljs.core.first(seq__12774__$1); -try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null,x)); -}catch (e12779){if((e12779 instanceof Error)){ -var ex_12789 = e12779; -} else { -throw e12779; - -} -} - -var G__12790 = cljs.core.next(seq__12774__$1); -var G__12791 = null; -var G__12792 = (0); -var G__12793 = (0); -seq__12774 = G__12790; -chunk__12775 = G__12791; -count__12776 = G__12792; -i__12777 = G__12793; -continue; -} -} else { -return null; -} -} -break; -} -})) : cljs.core._STAR_exec_tap_fn_STAR_.call(null,(function (){ -var seq__12774 = cljs.core.seq(cljs.core.deref(cljs.core.tapset)); -var chunk__12775 = null; -var count__12776 = (0); -var i__12777 = (0); -while(true){ -if((i__12777 < count__12776)){ -var tap = chunk__12775.cljs$core$IIndexed$_nth$arity$2(null,i__12777); -try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null,x)); -}catch (e12778){if((e12778 instanceof Error)){ -var ex_12794 = e12778; -} else { -throw e12778; - -} -} - -var G__12795 = seq__12774; -var G__12796 = chunk__12775; -var G__12797 = count__12776; -var G__12798 = (i__12777 + (1)); -seq__12774 = G__12795; -chunk__12775 = G__12796; -count__12776 = G__12797; -i__12777 = G__12798; -continue; -} else { -var temp__4657__auto__ = cljs.core.seq(seq__12774); -if(temp__4657__auto__){ -var seq__12774__$1 = temp__4657__auto__; -if(cljs.core.chunked_seq_QMARK_(seq__12774__$1)){ -var c__8664__auto__ = cljs.core.chunk_first(seq__12774__$1); -var G__12799 = cljs.core.chunk_rest(seq__12774__$1); -var G__12800 = c__8664__auto__; -var G__12801 = cljs.core.count(c__8664__auto__); -var G__12802 = (0); -seq__12774 = G__12799; -chunk__12775 = G__12800; -count__12776 = G__12801; -i__12777 = G__12802; -continue; -} else { -var tap = cljs.core.first(seq__12774__$1); -try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null,x)); -}catch (e12779){if((e12779 instanceof Error)){ -var ex_12803 = e12779; -} else { -throw e12779; - -} -} - -var G__12804 = cljs.core.next(seq__12774__$1); -var G__12805 = null; -var G__12806 = (0); -var G__12807 = (0); -seq__12774 = G__12804; -chunk__12775 = G__12805; -count__12776 = G__12806; -i__12777 = G__12807; -continue; -} -} else { -return null; -} -} -break; -} -}))); -}); -/** - * Bootstrap only. - */ -cljs.core.ns_lookup = (function cljs$core$ns_lookup(ns_obj,k){ -return (function (){ -return goog.object.get(ns_obj,k); -}); -}); - -/** -* @constructor - * @implements {cljs.core.IEquiv} - * @implements {cljs.core.IHash} -*/ -cljs.core.Namespace = (function (obj,name){ -this.obj = obj; -this.name = name; -this.cljs$lang$protocol_mask$partition0$ = 6291456; -this.cljs$lang$protocol_mask$partition1$ = 0; -}); -cljs.core.Namespace.prototype.findInternedVar = (function (sym){ -var self__ = this; -var this$ = this; -var k = cljs.core.munge(cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym)); -if(goog.object.containsKey(self__.obj,k)){ -var var_sym = cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.name),cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym)); -var var_meta = new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"ns","ns",441598760),this$], null); -return (new cljs.core.Var(cljs.core.ns_lookup(self__.obj,k),var_sym,var_meta)); -} else { -return null; -} -}); - -cljs.core.Namespace.prototype.getName = (function (){ -var self__ = this; -var _ = this; -return self__.name; -}); - -cljs.core.Namespace.prototype.toString = (function (){ -var self__ = this; -var _ = this; -return cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.name); -}); - -cljs.core.Namespace.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (_,other){ -var self__ = this; -var ___$1 = this; -if((other instanceof cljs.core.Namespace)){ -return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(self__.name,other.name); -} else { -return false; -} -}); - -cljs.core.Namespace.prototype.cljs$core$IHash$_hash$arity$1 = (function (_){ -var self__ = this; -var ___$1 = this; -return cljs.core.hash(self__.name); -}); - -cljs.core.Namespace.getBasis = (function (){ -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"obj","obj",-1672671807,null),new cljs.core.Symbol(null,"name","name",-810760592,null)], null); -}); - -cljs.core.Namespace.cljs$lang$type = true; - -cljs.core.Namespace.cljs$lang$ctorStr = "cljs.core/Namespace"; - -cljs.core.Namespace.cljs$lang$ctorPrWriter = (function (this__8437__auto__,writer__8438__auto__,opt__8439__auto__){ -return cljs.core._write(writer__8438__auto__,"cljs.core/Namespace"); -}); - -/** - * Positional factory function for cljs.core/Namespace. - */ -cljs.core.__GT_Namespace = (function cljs$core$__GT_Namespace(obj,name){ -return (new cljs.core.Namespace(obj,name)); -}); - -/** - * Bootstrap only. - * @type {*} - */ -cljs.core.NS_CACHE = null; -/** - * Bootstrap only. - */ -cljs.core.find_ns_obj_STAR_ = (function cljs$core$find_ns_obj_STAR_(ctxt,xs){ -while(true){ -if((ctxt == null)){ -return null; -} else { -if((xs == null)){ -return ctxt; -} else { -var G__12810 = (function (){var G__12808 = ctxt; -var G__12809 = cljs.core.first(xs); -return goog.object.get(G__12808,G__12809); -})(); -var G__12811 = cljs.core.next(xs); -ctxt = G__12810; -xs = G__12811; -continue; - -} -} -break; -} -}); -/** - * Bootstrap only. - */ -cljs.core.find_ns_obj = (function cljs$core$find_ns_obj(ns){ -var munged_ns = cljs.core.munge(cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns)); -var segs = munged_ns.split("."); -var G__12812 = cljs.core._STAR_target_STAR_; -switch (G__12812) { -case "nodejs": -if(COMPILED){ -return cljs.core.find_ns_obj_STAR_((function (){try{var ctxt = eval(cljs.core.first(segs)); -if(cljs.core.truth_((function (){var and__7791__auto__ = ctxt; -if(cljs.core.truth_(and__7791__auto__)){ -return cljs.core.object_QMARK_(ctxt); -} else { -return and__7791__auto__; -} -})())){ -return ctxt; -} else { -return null; -} -}catch (e12813){if((e12813 instanceof ReferenceError)){ -var e = e12813; -return null; -} else { -throw e12813; - -} -}})(),cljs.core.next(segs)); -} else { -return cljs.core.find_ns_obj_STAR_(goog.global,segs); -} - -break; -case "default": -case "webworker": -return cljs.core.find_ns_obj_STAR_(goog.global,segs); - -break; -default: -throw (new Error(["find-ns-obj not supported for target ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core._STAR_target_STAR_)].join(''))); - -} -}); -/** - * Returns a map of the intern mappings for the namespace. - * Bootstrap only. - */ -cljs.core.ns_interns_STAR_ = (function cljs$core$ns_interns_STAR_(sym){ -var ns_obj = cljs.core.find_ns_obj(sym); -var ns = (new cljs.core.Namespace(ns_obj,sym)); -var step = ((function (ns_obj,ns){ -return (function cljs$core$ns_interns_STAR__$_step(ret,k){ -var var_sym = cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(cljs.core.demunge(k)); -return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,var_sym,(new cljs.core.Var(((function (var_sym,ns_obj,ns){ -return (function (){ -return goog.object.get(ns_obj,k); -});})(var_sym,ns_obj,ns)) -,cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym),cljs.core.str.cljs$core$IFn$_invoke$arity$1(var_sym)),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"ns","ns",441598760),ns], null)))); -});})(ns_obj,ns)) -; -return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(step,cljs.core.PersistentArrayMap.EMPTY,cljs.core.js_keys(ns_obj)); -}); -/** - * Create a new namespace named by the symbol. Bootstrap only. - */ -cljs.core.create_ns = (function cljs$core$create_ns(var_args){ -var G__12816 = arguments.length; -switch (G__12816) { -case 1: -return cljs.core.create_ns.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -cljs.core.create_ns.cljs$core$IFn$_invoke$arity$1 = (function (sym){ -return cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2(sym,cljs.core.find_ns_obj(sym)); -}); - -cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2 = (function (sym,ns_obj){ -return (new cljs.core.Namespace(ns_obj,sym)); -}); - -cljs.core.create_ns.cljs$lang$maxFixedArity = 2; - -/** - * Returns the namespace named by the symbol or nil if it doesn't exist. - * Bootstrap only. - */ -cljs.core.find_ns = (function cljs$core$find_ns(ns){ -if((cljs.core.NS_CACHE == null)){ -cljs.core.NS_CACHE = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); -} else { -} - -var the_ns = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.NS_CACHE),ns); -if((!((the_ns == null)))){ -return the_ns; -} else { -var ns_obj = cljs.core.find_ns_obj(ns); -if((ns_obj == null)){ -return null; -} else { -var new_ns = cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2(ns,ns_obj); -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.NS_CACHE,cljs.core.assoc,ns,new_ns); - -return new_ns; -} -} -}); -/** - * Returns the macros namespace named by the symbol or nil if it doesn't exist. - * Bootstrap only. - */ -cljs.core.find_macros_ns = (function cljs$core$find_macros_ns(ns){ -if((cljs.core.NS_CACHE == null)){ -cljs.core.NS_CACHE = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); -} else { -} - -var ns_str = cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns); -var ns__$1 = (((!(goog.string.contains(ns_str,"$macros"))))?cljs.core.symbol.cljs$core$IFn$_invoke$arity$1([cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns_str),"$macros"].join('')):ns); -var the_ns = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.NS_CACHE),ns__$1); -if((!((the_ns == null)))){ -return the_ns; -} else { -var ns_obj = cljs.core.find_ns_obj(ns__$1); -if((ns_obj == null)){ -return null; -} else { -var new_ns = cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2(ns__$1,ns_obj); -cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.NS_CACHE,cljs.core.assoc,ns__$1,new_ns); - -return new_ns; -} -} -}); -/** - * Returns the name of the namespace, a Namespace object. - * Bootstrap only. - */ -cljs.core.ns_name = (function cljs$core$ns_name(ns_obj){ -return ns_obj.name; -}); -/** - * Returns true x is a goog.Uri instance. - */ -cljs.core.uri_QMARK_ = (function cljs$core$uri_QMARK_(x){ -return (x instanceof goog.Uri); -}); -cljs.core.maybe_enable_print_BANG_ = (function cljs$core$maybe_enable_print_BANG_(){ -if((typeof console !== 'undefined')){ -return cljs.core.enable_console_print_BANG_(); -} else { -if((((cljs.core._STAR_target_STAR_ === "nashorn")) || ((cljs.core._STAR_target_STAR_ === "graaljs")))){ -var system = Java.type("java.lang.System"); -cljs.core._STAR_print_newline_STAR_ = false; - -cljs.core.set_print_fn_BANG_(((function (system){ -return (function (){ -var xs = arguments; -var s = goog.array.clone(xs).join(""); -return system.out.println(s); -});})(system)) -); - -return cljs.core.set_print_err_fn_BANG_(((function (system){ -return (function (){ -var xs = arguments; -var s = goog.array.clone(xs).join(""); -return system.error.println(s); -});})(system)) -); -} else { -return null; -} -} -}); -cljs.core.maybe_enable_print_BANG_(); -if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core._STAR_eval_STAR_ !== 'undefined')){ -} else { -/** - * Runtime environments may provide a way to evaluate ClojureScript - * forms. Whatever function *eval* is bound to will be passed any forms which - * should be evaluated. - */ -cljs.core._STAR_eval_STAR_ = (function cljs$core$_STAR_eval_STAR_(_){ -throw (new Error("cljs.core/*eval* not bound")); -}); -} -/** - * Evaluates the form data structure (not text!) and returns the result. - * Delegates to cljs.core/*eval*. Intended for use in self-hosted ClojureScript, - * which sets up an implementation of cljs.core/*eval* for that environment. - */ -cljs.core.eval = (function cljs$core$eval(form){ -return (cljs.core._STAR_eval_STAR_.cljs$core$IFn$_invoke$arity$1 ? cljs.core._STAR_eval_STAR_.cljs$core$IFn$_invoke$arity$1(form) : cljs.core._STAR_eval_STAR_.call(null,form)); -}); - -//# sourceMappingURL=core.js.map diff --git a/assets/viz/2/cljs/core.js.map b/assets/viz/2/cljs/core.js.map deleted file mode 100644 index f7ea5cc..0000000 --- a/assets/viz/2/cljs/core.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"out\/cljs\/core.js","sources":["core.cljs"],"lineCount":37633,"mappings":";AAQA;;;;;;;;AAUA,8CAAA,9CAAKA;AAOL,qCAAA,rCAAKC;AAIL,yCAAA,zCAAKC;AAGL,sCAAA,tCAAKC;AAEL,AAEA,GAAA,QAAAC,iCAAAC,sCAAAC;AAAA;AAAA,AAAA,8BAAA,9BAASC;;AAET,wBAAA,xBAAKC;AACL,yBAAA,zBAAKC;AAEL,AAAA,AAAA;AAAA;AAAA,AAAAC,YAAA,+BAAA;AAQA;;;;2BAAA,3BAIEC;AAEF;;;4BAAA,5BAGEC;AAEF,+BAAA,\/BAEEC;AAEF,GAAA,QAAAT,iCAAAC,sCAAAS;AAAA;AAAA,AAAA;;;;;iCAAA,jCAIEC;;AAEF;;;;oCAAA,pCAEEC,gFACC;AAHH,AAIE,IAAA,oBACC,QAAAE;AADD,AAAA,GAAAD;AAAA,IAAA,wBAEC,aAAA,bAACC,WAAcC;AAFhB,AAAA,oBAAAF;AAAA;;AAAAA;;;AAAAA;;;AAKF,GAAA,QAAAb,iCAAAC,sCAAAe;AAAA;AAAA,AAAA;;;;;qCAAA,rCAIEC;;AAEF;;;+BAAA,\/BAAMC,sEAEH;AAFH,AAEM,OAAMP,iCAAWI;;AAEvB;;;mCAAA,nCAAMI,8EAEH;AAFH,AAEM,OAAMF,qCAAeF;;AAE3B;;;;;yCAAA,zCAKEK;AAEF;;;;;sCAAA,tCAKEC;AAEF;;;;;;uCAAA,vCAMEC;AAEF;;;;;;mCAAA,nCAMEC;AAEF;;;;;;kCAAA,lCAMEC;AAEF;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AACnL,mDAAMyL,mBAASjjE,gBAAMjN,OAAG09D;;AACzBA;;;;AAEX;;;;oBAAA,pBAAM8T,gDAGH;AAHH,AAIE,OAAQ5B;;AAEV;;;uBAAA,vBAAM6B,sDAGH;AAHH,AAIE,qBAAWC,bAASlnF;;AAEtB,qCAAA,rCAAOmnF;AAAP,AACE,GACE,QAAAvnF;AACA,OAACD;;AAFH,GAIE,EAAI,kCAAA,jCAAYW,iDACZ,kCAAA,jCAAYA;AAChB,IAAM,SAAO,UAAA,VAAO8mF;AAApB,AACE,sCAAA,tCAAMpoF;;AACN,AAACH,6BACC;;AAAA,AACE,IAAM,KAAG;IACH,IAAG,0BAAA,1BAAO,AAACgB,iBAAaC;AAD9B,AAEE,OAAU,AAAOunF,mBAAQtlF;;;;AAC\/B,OAACjD,iCACC;;AAAA,AACE,IAAM,KAAG;IACH,IAAG,0BAAA,1BAAO,AAACe,iBAAaC;AAD9B,AAEE,OAAU,AAASunF,qBAAQtlF;;;;AAjBrC;;;;AAmBF,AAAColF;AAED,GAAA,QAAAxpF,iCAAAC,sCAAA0pF;AAAA;AAAA,AAAA;;;;;AAIEC,6BACA,qCAAK;AAAL,AACE,MAAO,KAAA5lF,MAAA;;;AAEX;;;;;iBAAA,jBAAM6lF,0CAIH;AAJH,AAKE,QAACD,2DAAAA,iEAAAA,RAAOxE,6CAAAA","names":["cljs.core\/*clojurescript-version*","cljs.core\/*unchecked-if*","cljs.core\/*unchecked-arrays*","cljs.core\/*warn-on-infer*","js\/cljs","js\/cljs.core","js\/cljs.core.PROTOCOL_SENTINEL","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/MODULE_URIS","cljs.core\/MODULE_INFOS","goog\/define","cljs.core\/*ns*","cljs.core\/*out*","cljs.core\/*assert*","js\/cljs.core.*print-fn*","cljs.core\/*print-fn*","cljs.core\/*exec-tap-fn*","and__7791__auto__","js\/setTimeout","f","js\/cljs.core.*print-err-fn*","cljs.core\/*print-err-fn*","cljs.core\/set-print-fn!","cljs.core\/set-print-err-fn!","cljs.core\/*flush-on-newline*","cljs.core\/*print-newline*","cljs.core\/*print-readably*","cljs.core\/*print-meta*","cljs.core\/*print-dup*","cljs.core\/*print-namespace-maps*","cljs.core\/*print-length*","cljs.core\/*print-level*","cljs.core\/*print-fn-bodies*","js\/cljs.core.*loaded-libs*","cljs.core\/*loaded-libs*","cljs.core\/pr-opts","cljs.core\/enable-console-print!","js\/console","goog.array\/clone","xs","cljs.core\/truth_","x","cljs.core\/not-native","cljs.core\/identical?","y","cljs.core\/nil?","cljs.core\/array?","cljs.core\/*target*","js\/Array","cljs.core\/number?","cljs.core\/not","cljs.core\/some?","cljs.core\/object?","js\/Object","cljs.core\/string?","goog\/isString","cljs.core\/char?","cljs.core\/any?","cljs.core\/native-satisfies?","p","goog\/typeOf","cljs.core\/is_proto_","cljs.core\/*main-cli-fn*","cljs.core\/*command-line-args*","cljs.core\/type","cljs.core\/missing-protocol","obj","ty","js\/Error","proto","cljs.core\/type->str","temp__4655__auto__","s","cljs.core\/load-file","js\/COMPILED","goog\/nodeGlobalRequire","file","js\/Symbol","cljs.core\/ITER_SYMBOL","cljs.core\/CHAR_MAP","cljs.core\/DEMUNGE_MAP","cljs.core\/DEMUNGE_PATTERN","cljs.core\/system-time","js\/performance","js\/process","t","js\/Date","G__10030","cljs.core\/make-array","i__9001__auto__","len__9000__auto__","args-arr__9025__auto__","cljs.core\/IndexedSeq","argseq__9026__auto__","cljs.core\/first","seq10027","cljs.core\/next","self__8987__auto__","G__10028","G__10029","size","more-sizes","n__8769__auto__","i","dimarray","cljs.core.apply.cljs$core$IFn$_invoke$arity$3","dims","cljs.core\/aclone","arr","len","new-arr","cljs.core\/array","a","cljs.core\/maybe-warn","e","G__10046","cljs.core\/checked-aget","seq10043","G__10044","G__10045","e10047","or__7806__auto__","array","goog\/isArrayLike","idx","cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2","idxs","G__10058","cljs.core\/checked-aset","seq10054","G__10055","G__10056","G__10057","e10059","val","cljs.core.apply.cljs$core$IFn$_invoke$arity$4","idx2","idxv","G__10069","cljs.core\/checked-aget'","seq10066","G__10067","G__10068","cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2","G__10079","cljs.core\/checked-aset'","seq10075","G__10076","G__10077","G__10078","G__10088","cljs.core\/aget","seq10085","G__10086","G__10087","G__10098","cljs.core\/aset","seq10094","G__10095","G__10096","G__10097","cljs.core\/alength","G__10104","cljs.core\/into-array","cljs.core.into_array.cljs$core$IFn$_invoke$arity$2","aseq","cljs.core.reduce.cljs$core$IFn$_invoke$arity$3","args__9010__auto__","cljs.core\/js-invoke","argseq__9011__auto__","seq10106","G__10107","G__10108","cljs.core.into_array.cljs$core$IFn$_invoke$arity$1","args","cljs.core\/Fn","G__10113","cljs.core\/-invoke","cljs\/core","x__8502__auto__","m__8503__auto__","cljs.core\/IFn","this","b","c","d","g","h","j","k","l","m","n","o","q","r","rest","cljs.core\/ICloneable","cljs.core\/-clone","value","cljs.core\/ICounted","cljs.core\/-count","coll","cljs.core\/IEmptyableCollection","cljs.core\/-empty","cljs.core\/ICollection","cljs.core\/-conj","G__10116","cljs.core\/-nth","cljs.core\/IIndexed","not-found","cljs.core\/ASeq","cljs.core\/ISeq","cljs.core\/-first","cljs.core\/-rest","cljs.core\/INext","cljs.core\/-next","G__10119","cljs.core\/-lookup","cljs.core\/ILookup","cljs.core\/IAssociative","cljs.core\/-contains-key?","cljs.core\/-assoc","v","cljs.core\/IFind","cljs.core\/-find","cljs.core\/IMap","cljs.core\/-dissoc","cljs.core\/IMapEntry","cljs.core\/-key","cljs.core\/-val","cljs.core\/ISet","cljs.core\/-disjoin","cljs.core\/IStack","cljs.core\/-peek","cljs.core\/-pop","cljs.core\/IVector","cljs.core\/-assoc-n","cljs.core\/IDeref","cljs.core\/-deref","cljs.core\/IDerefWithTimeout","cljs.core\/-deref-with-timeout","msec","timeout-val","cljs.core\/IMeta","cljs.core\/-meta","cljs.core\/IWithMeta","cljs.core\/-with-meta","meta","G__10122","cljs.core\/-reduce","cljs.core\/IReduce","start","cljs.core\/IKVReduce","cljs.core\/-kv-reduce","init","cljs.core\/IEquiv","cljs.core\/-equiv","other","cljs.core\/IHash","cljs.core\/-hash","cljs.core\/ISeqable","cljs.core\/-seq","cljs.core\/ISequential","cljs.core\/IList","cljs.core\/IRecord","cljs.core\/IReversible","cljs.core\/-rseq","cljs.core\/ISorted","cljs.core\/-sorted-seq","ascending?","cljs.core\/-sorted-seq-from","cljs.core\/-entry-key","entry","cljs.core\/-comparator","cljs.core\/IWriter","cljs.core\/-write","writer","cljs.core\/-flush","cljs.core\/IPrintWithWriter","cljs.core\/-pr-writer","opts","cljs.core\/IPending","cljs.core\/-realized?","cljs.core\/IWatchable","cljs.core\/-notify-watches","oldval","newval","cljs.core\/-add-watch","key","cljs.core\/-remove-watch","cljs.core\/IEditableCollection","cljs.core\/-as-transient","cljs.core\/ITransientCollection","cljs.core\/-conj!","tcoll","cljs.core\/-persistent!","cljs.core\/ITransientAssociative","cljs.core\/-assoc!","cljs.core\/ITransientMap","cljs.core\/-dissoc!","cljs.core\/ITransientVector","cljs.core\/-assoc-n!","cljs.core\/-pop!","cljs.core\/ITransientSet","cljs.core\/-disjoin!","cljs.core\/IComparable","cljs.core\/-compare","cljs.core\/IChunk","cljs.core\/-drop-first","cljs.core\/IChunkedSeq","cljs.core\/-chunked-first","cljs.core\/-chunked-rest","cljs.core\/IChunkedNext","cljs.core\/-chunked-next","cljs.core\/INamed","cljs.core\/-name","cljs.core\/-namespace","cljs.core\/IAtom","cljs.core\/IReset","cljs.core\/-reset!","new-value","G__10125","cljs.core\/-swap!","cljs.core\/ISwap","cljs.core\/IVolatile","cljs.core\/-vreset!","cljs.core\/IIterable","cljs.core\/-iterator","writer__8438__auto__","cljs.core\/StringBufferWriter","cljs.core\/->StringBufferWriter","sb","cljs.core\/pr-str*","goog\/string","cljs.core\/int-rotate-left","js\/Math","js\/Math.imul","Math\/imul","cljs.core\/imul","al","bl","ah","bh","cljs.core\/m3-seed","cljs.core\/m3-C1","cljs.core\/m3-C2","cljs.core\/m3-mix-K1","k1","cljs.core\/m3-mix-H1","h1","cljs.core\/m3-fmix","cljs.core\/m3-hash-int","in","cljs.core\/m3-hash-unencoded-chars","cljs.core\/string-hash-cache","cljs.core\/string-hash-cache-count","cljs.core\/hash-string*","hash","cljs.core\/add-to-string-hash-cache","goog.object\/set","cljs.core\/hash-string","cljs.core\/hash","js\/isFinite","Math\/floor","G__10136","cljs.core\/hash-combine","seed","cljs.core\/instance?","cljs.core\/symbol?","cljs.core\/Symbol","cljs.core\/hash-symbol","sym","cljs.core\/compare-symbols","G__10138","G__10139","goog.array\/defaultCompare","nsc","G__10140","G__10141","G__10142","G__10143","self__","args10144","cljs.core\/->Symbol","ns","name","str","_hash","_meta","cljs.core.get.cljs$core$IFn$_invoke$arity$2","cljs.core.get.cljs$core$IFn$_invoke$arity$3","new-meta","h__8266__auto__","G__10147","cljs.core\/symbol","cljs.core.symbol.cljs$core$IFn$_invoke$arity$2","sym-str","args10149","cljs.core\/Var","cljs.core\/->Var","cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2","fexpr__10150","fexpr__10171","fexpr__10151","fexpr__10172","fexpr__10152","fexpr__10173","fexpr__10153","fexpr__10174","fexpr__10154","fexpr__10175","fexpr__10155","fexpr__10176","fexpr__10156","fexpr__10177","fexpr__10157","fexpr__10178","fexpr__10158","fexpr__10179","fexpr__10159","fexpr__10180","fexpr__10160","fexpr__10181","fexpr__10161","fexpr__10182","fexpr__10162","fexpr__10183","fexpr__10163","fexpr__10184","fexpr__10164","fexpr__10185","fexpr__10165","fexpr__10186","fexpr__10166","fexpr__10187","fexpr__10167","fexpr__10188","fexpr__10168","fexpr__10189","fexpr__10169","fexpr__10190","fexpr__10170","fexpr__10191","cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic","cljs.core\/var?","cljs.core\/iterable?","cljs.core\/clone","cljs.core\/cloneable?","cljs.core\/seq","cljs.core\/rest","G__10203","cljs.core\/=","seq10200","G__10201","G__10202","more","cljs.core\/ES6Iterator","cljs.core\/->ES6Iterator","cljs.core\/es6-iterator","cljs.core\/ES6IteratorSeq","cljs.core\/->ES6IteratorSeq","iter","_rest","cljs.core\/es6-iterator-seq","cljs.core\/mix-collection-hash","hash-basis","count","cljs.core\/hash-ordered-coll","hash-code","cljs.core\/empty-ordered-hash","cljs.core\/hash-unordered-coll","cljs.core\/empty-unordered-hash","G__10217","G__10218","G__10219","G__10223","G__10224","cljs.core\/Inst","cljs.core\/inst-ms*","inst","cljs.core\/inst-ms","cljs.core\/inst?","G__10226","G__10227","G__10228","G__10232","G__10233","G__10234","G__10238","G__10239","G__10240","goog\/getUid","cljs.core\/inc","cljs.core\/Reduced","cljs.core\/->Reduced","cljs.core\/reduced","cljs.core\/reduced?","cljs.core\/ensure-reduced","cljs.core\/unreduced","cljs.core\/deref","G__10245","cljs.core\/ci-reduce","cicoll","cnt","cljs.core._nth.cljs$core$IFn$_invoke$arity$2","G__10246","G__10247","nval","G__10248","G__10249","G__10250","G__10251","G__10260","cljs.core\/array-reduce","G__10261","G__10262","G__10263","G__10264","G__10265","G__10266","cljs.core\/counted?","cljs.core\/indexed?","G__10277","cljs.core\/-indexOf","cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3","cljs.core\/count","x__8162__auto__","y__8163__auto__","cljs.core.nth.cljs$core$IFn$_invoke$arity$2","G__10281","cljs.core\/-lastIndexOf","cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3","x__8169__auto__","y__8170__auto__","cljs.core\/IndexedSeqIterator","cljs.core\/->IndexedSeqIterator","ret","cljs.core\/->IndexedSeq","cljs.core\/equiv-sequential","cljs.core\/cons","cljs.core\/List","cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4","cljs.core\/RSeq","this__8871__auto__","G__10286","G__10287","G__10288","G__10293","cljs.core\/prim-seq","cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2","prim","G__10296","cljs.core\/array-seq","cljs.core\/->RSeq","ci","cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2","col","cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3","G__10300","G__10301","G__10302","cljs.core\/second","cljs.core\/ffirst","cljs.core\/nfirst","cljs.core\/fnext","cljs.core\/nnext","cljs.core\/last","sn","G__10307","G__10308","G__10309","G__10317","cljs.core\/conj","seq10314","G__10315","G__10316","cljs.core.conj.cljs$core$IFn$_invoke$arity$2","cljs.core\/empty","cljs.core\/accumulating-seq-count","acc","G__10330","cljs.core\/linear-traversal-nth","cljs.core._nth.cljs$core$IFn$_invoke$arity$3","G__10338","cljs.core\/nth","cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$2","cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$3","cljs.core\/nthrest","G__10351","cljs.core\/get","cljs.core._lookup.cljs$core$IFn$_invoke$arity$2","cljs.core._lookup.cljs$core$IFn$_invoke$arity$3","G__10360","cljs.core\/assoc","seq10356","G__10357","G__10358","G__10359","cljs.core\/PersistentArrayMap","cljs.core.assoc.cljs$core$IFn$_invoke$arity$3","kvs","G__10373","cljs.core\/dissoc","seq10370","G__10371","G__10372","cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2","ks","cljs.core\/fn?","goog\/isFunction","args10383","cljs.core\/MetaFn","cljs.core\/->MetaFn","afn","cljs.core\/with-meta","cljs.core\/meta","cljs.core\/peek","cljs.core\/pop","G__10391","cljs.core\/disj","seq10388","G__10389","G__10390","cljs.core.disj.cljs$core$IFn$_invoke$arity$2","cljs.core\/empty?","cljs.core\/coll?","cljs.core\/set?","cljs.core\/associative?","cljs.core\/ifind?","cljs.core\/sequential?","cljs.core\/sorted?","cljs.core\/reduceable?","cljs.core\/map?","cljs.core\/record?","cljs.core\/vector?","cljs.core\/chunked-seq?","G__10412","cljs.core\/js-obj","self__8988__auto__","seq10411","cljs.core.apply.cljs$core$IFn$_invoke$arity$2","goog.object\/create","keyvals","cljs.core\/js-keys","goog.object\/getKeys","cljs.core\/js-delete","cljs.core\/array-copy","to","from","cljs.core\/array-copy-downward","cljs.core\/lookup-sentinel","cljs.core\/false?","cljs.core\/true?","cljs.core\/boolean?","cljs.core\/undefined?","cljs.core\/seq?","cljs.core\/seqable?","cljs.core\/boolean","cljs.core\/ifn?","cljs.core\/integer?","js\/isNaN","js\/Infinity","js\/parseFloat","js\/parseInt","cljs.core\/int?","goog\/math","cljs.core\/pos-int?","cljs.core\/neg-int?","cljs.core\/nat-int?","cljs.core\/float?","cljs.core\/double?","cljs.core\/infinite?","js\/Number.POSITIVE_INFINITY","js\/Number.NEGATIVE_INFINITY","cljs.core\/contains?","cljs.core\/find","cljs.core\/MapEntry","G__10437","cljs.core\/distinct?","seq10434","G__10435","G__10436","etc","cljs.core\/compare","G__10446","cljs.core\/compare-indexed","ys","xl","yl","cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4","cljs.core\/fn->comparator","G__10453","cljs.core\/sort","cljs.core.sort.cljs$core$IFn$_invoke$arity$2","cljs.core\/to-array","G__10454","G__10455","goog.array\/stableSort","comp","G__10460","cljs.core\/sort-by","cljs.core.sort_by.cljs$core$IFn$_invoke$arity$3","keyfn","fexpr__10461","G__10462","G__10463","G__10466","cljs.core\/seq-reduce","G__10467","G__10468","cljs.core\/shuffle","goog.array\/shuffle","cljs.core\/vec","G__10473","cljs.core\/iter-reduce","G__10474","G__10475","nacc","G__10476","G__10477","G__10482","cljs.core\/reduce","cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2","cljs.core._reduce.cljs$core$IFn$_invoke$arity$2","cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2","cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3","cljs.core._reduce.cljs$core$IFn$_invoke$arity$3","cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3","cljs.core\/reduce-kv","cljs.core\/identity","G__10487","cljs.core\/completing","cljs.core.completing.cljs$core$IFn$_invoke$arity$2","cf","G__10491","cljs.core\/transduce","cljs.core.transduce.cljs$core$IFn$_invoke$arity$4","xform","G__10497","cljs.core\/+","seq10494","G__10495","G__10496","G__10506","cljs.core\/-","seq10503","G__10504","G__10505","G__10515","cljs.core\/*","seq10512","G__10513","G__10514","cljs.core\/\/","G__10524","seq10521","G__10522","G__10523","G__10533","cljs.core\/<","seq10530","G__10531","G__10532","G__10545","cljs.core\/<=","seq10542","G__10543","G__10544","G__10557","cljs.core\/>","seq10554","G__10555","G__10556","G__10569","cljs.core\/>=","seq10566","G__10567","G__10568","cljs.core\/dec","G__10581","cljs.core\/max","seq10578","G__10579","G__10580","G__10590","cljs.core\/min","seq10587","G__10588","G__10589","cljs.core\/byte","cljs.core\/char","js\/String","cljs.core\/short","cljs.core\/float","cljs.core\/double","cljs.core\/unchecked-byte","cljs.core\/unchecked-char","cljs.core\/unchecked-short","cljs.core\/unchecked-float","cljs.core\/unchecked-double","G__10599","cljs.core\/unchecked-add","seq10596","G__10597","G__10598","G__10608","cljs.core\/unchecked-add-int","seq10605","G__10606","G__10607","cljs.core\/unchecked-dec","cljs.core\/unchecked-dec-int","G__10617","cljs.core\/unchecked-divide-int","seq10614","G__10615","G__10616","cljs.core\/unchecked-inc","cljs.core\/unchecked-inc-int","G__10626","cljs.core\/unchecked-multiply","seq10623","G__10624","G__10625","G__10635","cljs.core\/unchecked-multiply-int","seq10632","G__10633","G__10634","cljs.core\/unchecked-negate","cljs.core\/unchecked-negate-int","cljs.core\/unchecked-remainder-int","cljs.core\/mod","G__10644","cljs.core\/unchecked-subtract","seq10641","G__10642","G__10643","G__10653","cljs.core\/unchecked-subtract-int","seq10650","G__10651","G__10652","cljs.core\/fix","Math\/ceil","cljs.core\/int","cljs.core\/unchecked-int","cljs.core\/long","cljs.core\/unchecked-long","cljs.core\/booleans","cljs.core\/bytes","cljs.core\/chars","cljs.core\/shorts","cljs.core\/ints","cljs.core\/floats","cljs.core\/doubles","cljs.core\/longs","cljs.core\/js-mod","cljs.core\/quot","rem","cljs.core\/rem","G__10662","cljs.core\/bit-xor","seq10659","G__10660","G__10661","G__10671","cljs.core\/bit-and","seq10668","G__10669","G__10670","G__10680","cljs.core\/bit-or","seq10677","G__10678","G__10679","G__10689","cljs.core\/bit-and-not","seq10686","G__10687","G__10688","cljs.core\/bit-clear","cljs.core\/bit-flip","cljs.core\/bit-not","cljs.core\/bit-set","cljs.core\/bit-test","cljs.core\/bit-shift-left","cljs.core\/bit-shift-right","cljs.core\/bit-shift-right-zero-fill","cljs.core\/unsigned-bit-shift-right","cljs.core\/bit-count","G__10698","cljs.core\/==","seq10695","G__10696","G__10697","cljs.core\/pos?","cljs.core\/zero?","cljs.core\/neg?","cljs.core\/nthnext","G__10711","cljs.core\/str","seq10709","G__10710","G__10719","cljs.core\/subs","end","cljs.core\/hash-coll","res","cljs.core\/hash-imap","cljs.core\/key","cljs.core\/val","cljs.core\/hash-iset","cljs.core\/extend-object!","i__10732","count__10731","chunk__10730","cljs.core.nth.cljs$core$IFn$_invoke$arity$3","vec__10733","seq__10729","temp__4657__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","c__8664__auto__","vec__10736","fn-map","cljs.core\/name","key-name","str-name","cljs.core\/->List","first","__hash","cljs.core\/list?","G__10769","G__10770","G__10771","cljs.core\/EmptyList","cljs.core\/->EmptyList","G__10777","G__10778","G__10779","cljs.core\/reversible?","cljs.core\/rseq","rev","cljs.core\/reverse","cljs.core\/list","seq10784","cljs.core\/Cons","cljs.core\/->Cons","G__10793","G__10794","G__10795","cljs.core\/hash-keyword","cljs.core\/compare-keywords","G__10801","G__10802","G__10803","G__10804","G__10805","G__10806","args10807","cljs.core\/Keyword","cljs.core\/->Keyword","fqn","kw","cljs.core\/keyword?","cljs.core\/keyword-identical?","cljs.core\/symbol-identical?","cljs.core\/namespace","cljs.core\/ident?","cljs.core\/simple-ident?","cljs.core\/qualified-ident?","cljs.core\/simple-symbol?","cljs.core\/qualified-symbol?","cljs.core\/simple-keyword?","cljs.core\/qualified-keyword?","G__10811","cljs.core\/keyword","parts","cljs.core\/LazySeq","cljs.core\/->LazySeq","fn","ls","G__10816","G__10817","G__10818","cljs.core\/ChunkBuffer","cljs.core\/->ChunkBuffer","buf","cljs.core\/ArrayChunk","cljs.core\/chunk-buffer","capacity","cljs.core\/->ArrayChunk","off","G__10823","cljs.core\/array-chunk","cljs.core\/ChunkedCons","cljs.core\/->ChunkedCons","chunk","G__10827","G__10828","G__10829","cljs.core\/chunk-cons","cljs.core\/chunk-append","cljs.core\/chunk","cljs.core\/chunk-next","ary","cljs.core\/to-array-2d","G__10840","cljs.core\/int-array","size-or-seq","cljs.core.int_array.cljs$core$IFn$_invoke$arity$2","init-val-or-seq","G__10848","cljs.core\/long-array","cljs.core.long_array.cljs$core$IFn$_invoke$arity$2","G__10856","cljs.core\/double-array","cljs.core.double_array.cljs$core$IFn$_invoke$arity$2","G__10864","cljs.core\/object-array","cljs.core.object_array.cljs$core$IFn$_invoke$arity$2","cljs.core\/bounded-count","cljs.core\/spread","arglist","G__10877","cljs.core\/concat","seq10874","G__10875","G__10876","cljs.core.concat.cljs$core$IFn$_invoke$arity$2","xys","cat","zs","G__10888","cljs.core\/list*","seq10883","G__10884","G__10885","G__10886","G__10887","cljs.core\/transient","cljs.core\/persistent!","G__10897","cljs.core\/conj!","seq10894","G__10895","G__10896","vals","ntcoll","G__10910","cljs.core\/assoc!","seq10906","G__10907","G__10908","G__10909","G__10923","cljs.core\/dissoc!","seq10920","G__10921","G__10922","cljs.core\/pop!","G__10935","cljs.core\/disj!","seq10932","G__10933","G__10934","cljs.core\/apply-to","argc","a8813","b8814","c8815","d8816","e8817","f8818","g8819","h8820","i8821","j8822","k8823","l8824","m8825","n8826","o8827","p8828","q8829","r8830","s8831","t8832","G__10944","cljs.core\/apply-to-simple","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3","a0","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4","a1","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5","a2","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6","a3","next_4","a4","next_5","a5","next_6","a6","next_7","a7","next_8","a8","next_9","a9","next_10","a10","next_11","a11","next_12","a12","next_13","a13","next_14","a14","next_15","a15","next_16","a16","next_17","a17","next_18","a18","next_19","a19","s__8842__auto__","arr__8841__auto__","G__10955","cljs.core\/apply","seq10949","G__10950","G__10951","G__10952","G__10953","G__10954","fixed-arity","bc","cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$2","cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$2","cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3","cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4","z","spread-args","G__10968","cljs.core\/vary-meta","seq10961","G__10962","G__10963","G__10964","G__10965","G__10966","G__10967","G__10969","G__10970","G__10971","G__10972","G__10973","G__10974","G__10975","G__10976","G__10977","G__10978","G__10979","G__10980","G__10981","G__10982","G__10983","G__10992","cljs.core\/not=","seq10989","G__10990","G__10991","cljs.core\/not-empty","cljs.core\/nil-iter","js\/cljs.core.t_cljs$core10997","cljs.core\/t_cljs$core10997","meta10998","cljs.core\/->t_cljs$core10997","cljs.core\/StringIter","cljs.core\/->StringIter","cljs.core\/string-iter","cljs.core\/ArrayIter","cljs.core\/->ArrayIter","cljs.core\/array-iter","cljs.core\/INIT","cljs.core\/START","cljs.core\/SeqIter","cljs.core\/->SeqIter","_seq","_next","cljs.core\/seq-iter","cljs.core\/iter","cljs.core\/Many","cljs.core\/->Many","cljs.core\/NONE","cljs.core\/Single","cljs.core\/->Single","cljs.core\/Empty","cljs.core\/->Empty","cljs.core\/EMPTY","cljs.core\/MultiIterator","cljs.core\/->MultiIterator","iters","nexts","cljs.core\/chunkIteratorSeq","cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$3","cljs.core\/TransformerIterator","cljs.core\/->TransformerIterator","buffer","completed","xf","sourceIter","multi","G__11005","G__11006","G__11007","G__11008","G__11009","cljs.core\/transformer-iterator","iterator","G__11013","source","sources","G__11019","cljs.core\/sequence","seq11016","G__11017","G__11018","cljs.core.map.cljs$core$IFn$_invoke$arity$2","colls","cljs.core\/every?","G__11024","pred","cljs.core\/not-every?","cljs.core\/some","G__11028","cljs.core\/not-any?","cljs.core\/even?","cljs.core\/odd?","cljs.core\/complement","cljs.core\/constantly","G__11045","cljs.core\/comp","seq11041","G__11042","G__11043","G__11044","G__11046","G__11047","G__11048","G__11049","G__11050","cljs.core.apply.cljs$core$IFn$_invoke$arity$5","G__11051","G__11052","G__11053","G__11054","G__11055","G__11056","G__11057","G__11058","G__11059","G__11060","f1","f2","f3","fs","fexpr__11061","G__11089","cljs.core\/partial","seq11084","G__11085","G__11086","G__11087","G__11088","arg1","arg2","arg3","G__11116","cljs.core\/fnil","G__11117","G__11118","G__11119","G__11120","G__11121","G__11122","ds","G__11123","G__11124","G__11125","G__11126","G__11127","G__11128","G__11129","G__11130","G__11131","G__11132","G__11153","cljs.core\/map-indexed","cljs.core\/volatile!","rf","result","G__11154","G__11155","G__11156","G__11157","input","G__11162","G__11163","mapi","G__11164","G__11165","G__11172","cljs.core\/keep","G__11173","cljs.core.keep.cljs$core$IFn$_invoke$arity$2","G__11174","cljs.core\/Atom","cljs.core\/->Atom","state","validator","watches","i__11184","count__11183","chunk__11182","vec__11185","seq__11181","vec__11188","G__11206","cljs.core\/atom","p__11207","map__11208","cljs.core\/hash-map","seq11204","G__11205","cljs.core\/reset!","validate","old-value","cljs.core\/reset-vals!","G__11220","cljs.core\/swap!","seq11215","G__11216","G__11217","G__11218","G__11219","G__11221","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$2","G__11222","G__11223","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$3","G__11224","G__11225","G__11226","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$4","cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$5","G__11237","cljs.core\/swap-vals!","seq11232","G__11233","G__11234","G__11235","G__11236","G__11238","G__11239","G__11240","G__11241","G__11242","G__11243","cljs.core\/compare-and-set!","cljs.core\/set-validator!","G__11249","iref","cljs.core\/get-validator","cljs.core\/Volatile","cljs.core\/->Volatile","new-state","cljs.core\/volatile?","cljs.core\/vreset!","vol","G__11251","cljs.core\/keep-indexed","ia","G__11256","G__11257","keepi","G__11258","G__11259","G__11277","cljs.core\/every-pred","seq11273","G__11274","G__11275","G__11276","cljs$core$ep1.cljs$core$IFn$_invoke$arity$3","p1","p2","cljs$core$ep2.cljs$core$IFn$_invoke$arity$3","p1__11266#","p3","cljs$core$ep3.cljs$core$IFn$_invoke$arity$3","p1__11267#","ps","p1__11268#","p1__11269#","p1__11270#","cljs$core$epn.cljs$core$IFn$_invoke$arity$3","p1__11271#","G__11313","cljs.core\/some-fn","seq11309","G__11310","G__11311","G__11312","cljs$core$sp1.cljs$core$IFn$_invoke$arity$3","cljs$core$sp2.cljs$core$IFn$_invoke$arity$3","p1__11302#","cljs$core$sp3.cljs$core$IFn$_invoke$arity$3","p1__11303#","p1__11304#","p1__11305#","p1__11306#","cljs$core$spn.cljs$core$IFn$_invoke$arity$3","p1__11307#","G__11345","cljs.core\/map","seq11340","G__11341","G__11342","G__11343","G__11344","G__11346","G__11347","G__11348","G__11349","inputs","G__11350","G__11351","c1","c2","s1","s2","G__11352","G__11353","cljs.core.map.cljs$core$IFn$_invoke$arity$3","c3","s3","G__11354","G__11355","G__11356","cljs.core.map.cljs$core$IFn$_invoke$arity$4","cs","ss","step","p1__11338#","cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic","G__11371","cljs.core\/take","na","nn","cljs.core.take.cljs$core$IFn$_invoke$arity$2","G__11375","cljs.core\/drop","G__11381","cljs.core\/drop-last","cljs.core.drop_last.cljs$core$IFn$_invoke$arity$2","cljs.core.drop.cljs$core$IFn$_invoke$arity$2","cljs.core\/take-last","lead","G__11386","cljs.core\/drop-while","da","drop?","G__11388","cljs.core\/Cycle","cljs.core\/->Cycle","all","prev","current","G__11393","G__11394","G__11395","G__11396","cljs.core\/cycle","cljs.core\/split-at","cljs.core\/Repeat","cljs.core\/->Repeat","next","G__11412","cljs.core\/repeat","cljs.core\/replicate","cljs.core.repeat.cljs$core$IFn$_invoke$arity$1","G__11415","cljs.core\/repeatedly","cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1","cljs.core\/UNREALIZED-SEED","cljs.core\/Iterate","cljs.core\/->Iterate","prev-seed","cljs.core\/iterate","G__11425","cljs.core\/interleave","seq11422","G__11423","G__11424","cljs.core.interleave.cljs$core$IFn$_invoke$arity$2","G__11431","cljs.core\/interpose","started","sep","sepr","cljs.core\/flatten1","G__11437","cljs.core\/mapcat","seq11435","G__11436","cljs.core.comp.cljs$core$IFn$_invoke$arity$2","cljs.core.map.cljs$core$IFn$_invoke$arity$1","cljs.core\/cat","G__11443","cljs.core\/filter","G__11444","cljs.core.filter.cljs$core$IFn$_invoke$arity$2","G__11451","cljs.core\/remove","cljs.core.filter.cljs$core$IFn$_invoke$arity$1","cljs.core\/tree-seq","node","branch?","cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic","walk","children","root","cljs.core\/flatten","p1__11453#","G__11455","cljs.core\/into","G__11465","cljs.core\/mapv","seq11460","G__11461","G__11462","G__11463","G__11464","cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2","cljs.core.into.cljs$core$IFn$_invoke$arity$2","cljs.core\/filterv","G__11471","cljs.core\/partition","cljs.core.partition.cljs$core$IFn$_invoke$arity$3","cljs.core.partition.cljs$core$IFn$_invoke$arity$4","pad","G__11474","cljs.core\/get-in","sentinel","p__11479","vec__11480","seq__11481","first__11482","cljs.core\/assoc-in","G__11483","G__11484","G__11485","G__11494","cljs.core\/update-in","p__11495","vec__11496","seq__11497","first__11498","p__11500","vec__11501","seq__11502","first__11503","p__11506","vec__11507","seq__11508","first__11509","p__11513","vec__11514","seq__11515","first__11516","p__11521","vec__11522","seq__11523","first__11524","seq11487","G__11488","G__11489","G__11490","G__11491","G__11492","G__11493","cljs.core.update_in.cljs$core$IFn$_invoke$arity$3","G__11499","cljs.core.update_in.cljs$core$IFn$_invoke$arity$4","G__11504","G__11505","cljs.core.update_in.cljs$core$IFn$_invoke$arity$5","G__11510","G__11511","G__11512","cljs.core.update_in.cljs$core$IFn$_invoke$arity$6","G__11517","G__11518","G__11519","G__11520","G__11537","cljs.core\/update","seq11530","G__11531","G__11532","G__11533","G__11534","G__11535","G__11536","G__11538","G__11539","G__11540","G__11541","G__11542","G__11543","G__11544","G__11545","G__11546","G__11547","cljs.core\/VectorNode","cljs.core\/->VectorNode","edit","cljs.core\/pv-fresh-node","cljs.core\/pv-aget","cljs.core\/pv-aset","cljs.core\/pv-clone-node","cljs.core\/tail-off","pv","cljs.core\/new-path","level","ll","embed","cljs.core\/push-tail","parent","subidx","tailnode","child","G__11554","G__11555","G__11556","G__11557","node-to-insert","cljs.core\/vector-index-out-of-bounds","cljs.core\/first-array-for-longvec","cljs.core\/unchecked-array-for","cljs.core\/array-for","cljs.core\/do-assoc","G__11562","G__11563","G__11564","G__11565","G__11566","cljs.core\/pop-tail","G__11567","G__11568","G__11569","new-child","cljs.core\/RangedIterator","cljs.core\/->RangedIterator","base","cljs.core\/ranged-iterator","G__11571","cljs.core\/pv-reduce","cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5","G__11572","G__11573","cljs.core\/APersistentVector","args11578","cljs.core\/PersistentVector","cljs.core\/->PersistentVector","shift","tail","nr","new-root","cnt-1","new-tail","root-overflow?","n-r","new-shift","me-iter","you-iter","cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4","cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4","G__11582","G__11583","G__11579","G__11580","G__11581","cljs.core\/TransientVector","cljs.core\/tv-editable-root","cljs.core\/tv-editable-tail","no-clone","out","G__11600","G__11601","G__11602","cljs.core\/map-entry?","cljs.core\/vector","seq11606","cljs.core\/ChunkedSeq","cljs.core\/->ChunkedSeq","vec","cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5","cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2","G__11612","G__11613","G__11614","G__11619","cljs.core\/chunked-seq","args11621","cljs.core\/Subvec","cljs.core\/->Subvec","cljs.core\/build-subvec","subvec-seq","v-pos","cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2","cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3","G__11622","G__11623","G__11624","G__11634","G__11635","G__11636","G__11647","cljs.core\/subvec","cljs.core.subvec.cljs$core$IFn$_invoke$arity$3","cljs.core\/tv-ensure-editable","tl","cljs.core\/tv-push-tail","tv","tail-node","G__11651","G__11652","G__11653","G__11654","cljs.core\/tv-pop-tail","G__11655","G__11656","G__11657","cljs.core\/unchecked-editable-array-for","args11660","cljs.core\/->TransientVector","new-root-array","trimmed-tail","fexpr__11661","go","cljs.core\/PersistentQueueIter","cljs.core\/->PersistentQueueIter","fseq","riter","cljs.core\/PersistentQueueSeq","cljs.core\/->PersistentQueueSeq","front","rear","G__11665","G__11666","G__11667","cljs.core\/PersistentQueue","cljs.core\/->PersistentQueue","G__11673","G__11674","G__11675","cljs.core\/NeverEquiv","cljs.core\/->NeverEquiv","cljs.core\/never-equiv","cljs.core\/equiv-map","xkv","cljs.core\/scan-array","incr","cljs.core\/obj-map-compare-keys","cljs.core\/obj-map->hash-map","cljs.core\/PersistentHashMap","cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3","goog.object\/get","so","mm","cljs.core\/obj-clone","G__11685","G__11686","G__11687","new-obj","args11695","cljs.core\/ObjMap","cljs.core\/->ObjMap","keys","strobj","update-count","p1__11694#","new-strobj","new-keys","G__11696","G__11697","G__11698","cljs.core\/RecordIter","cljs.core\/->RecordIter","record","base-count","fields","ext-map-iter","cljs.core\/ES6EntriesIterator","cljs.core\/->ES6EntriesIterator","vec__11704","cljs.core\/es6-entries-iterator","cljs.core\/ES6SetEntriesIterator","cljs.core\/->ES6SetEntriesIterator","cljs.core\/es6-set-entries-iterator","cljs.core\/array-index-of-nil?","cljs.core\/array-index-of-keyword?","kstr","cljs.core\/array-index-of-symbol?","cljs.core\/array-index-of-identical?","cljs.core\/array-index-of-equiv?","cljs.core\/array-index-of","cljs.core\/array-map-index-of","cljs.core\/array-extend-kv","narr","cljs.core\/array-map-extend-kv","args11714","cljs.core\/->MapEntry","G__11715","cljs.core\/PersistentArrayMapSeq","cljs.core\/->PersistentArrayMapSeq","G__11723","G__11724","G__11725","cljs.core\/persistent-array-map-seq","cljs.core\/PersistentArrayMapIterator","cljs.core\/->PersistentArrayMapIterator","args11729","cljs.core\/->PersistentArrayMap","cljs.core\/keys","cljs.core\/vals","i__11733","count__11732","chunk__11731","vec__11734","seq__11730","vec__11737","es","alen","G__11745","new-len","G__11740","G__11741","G__11742","cljs.core\/TransientArrayMap","no-check","G__11773","G__11780","G__11787","G__11788","G__11789","args11793","cljs.core\/->TransientArrayMap","editable?","cljs.core\/array->transient-hash-map","G__11794","cljs.core\/Box","cljs.core\/->Box","cljs.core\/key-test","cljs.core\/mask","G__11802","cljs.core\/clone-and-set","G__11803","G__11804","cljs.core\/remove-pair","cljs.core\/bitmap-indexed-node-index","bitmap","bit","cljs.core\/bitpos","G__11807","cljs.core\/edit-and-set","inode","editable","cljs.core\/inode-kv-reduce","G__11809","G__11810","G__11811","cljs.core\/NodeIterator","cljs.core\/->NodeIterator","next-entry","next-iter","node-or-val","new-iter","found","cljs.core\/BitmapIndexedNode","cljs.core\/->BitmapIndexedNode","nodes","jdx","added-leaf?","cljs.core\/ArrayNode","key-or-nil","val-or-node","cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3","cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5","cljs.core.create_node.cljs$core$IFn$_invoke$arity$6","cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1","earr","cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4","cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6","cljs.core.create_node.cljs$core$IFn$_invoke$arity$7","removed-leaf?","cljs.core\/pack-array-node","array-node","cljs.core\/ArrayNodeIterator","cljs.core\/->ArrayNodeIterator","cljs.core\/->ArrayNode","cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1","cljs.core\/hash-collision-node-find-index","lim","cljs.core\/HashCollisionNode","cljs.core\/->HashCollisionNode","collision-hash","G__11838","cljs.core\/create-node","key1","key1hash","key2hash","val1","key2","val2","cljs.core\/NodeSeq","cljs.core\/->NodeSeq","cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3","G__11842","G__11843","G__11844","G__11849","cljs.core\/create-inode-seq","node-seq","cljs.core\/ArrayNodeSeq","cljs.core\/->ArrayNodeSeq","cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$4","G__11855","G__11856","G__11857","G__11862","cljs.core\/create-array-node-seq","nj","cljs.core\/HashMapIter","cljs.core\/->HashMapIter","nil-val","root-iter","seen","args11866","cljs.core\/->PersistentHashMap","has-nil?","i__11870","count__11869","chunk__11868","vec__11871","seq__11867","vec__11874","cljs.core\/TransientHashMap","vs","cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2","G__11900","G__11901","G__11902","args11906","cljs.core\/->TransientHashMap","cljs.core\/tree-map-seq-push","stack","cljs.core\/PersistentTreeMapSeq","cljs.core\/->PersistentTreeMapSeq","next-stack","G__11914","G__11915","G__11916","cljs.core\/create-tree-map-seq","tree","cljs.core\/balance-left","cljs.core\/RedNode","ins","cljs.core\/BlackNode","right","cljs.core\/balance-right","left","cljs.core\/balance-left-del","del","cljs.core\/balance-right-del","cljs.core\/tree-map-kv-reduce","G__11920","G__11921","G__11922","G__11923","G__11924","G__11925","G__11926","G__11927","G__11928","args11929","cljs.core\/->BlackNode","G__11930","G__11935","G__11936","G__11937","args11941","cljs.core\/->RedNode","G__11942","G__11947","G__11948","G__11949","cljs.core\/tree-map-add","G__11953","G__11954","G__11955","G__11956","G__11957","G__11958","G__11959","G__11960","G__11961","G__11962","G__11963","G__11964","cljs.core\/tree-map-append","G__11965","G__11966","app","G__11967","G__11968","G__11969","G__11970","G__11971","G__11972","cljs.core\/tree-map-remove","G__11973","G__11974","G__11975","G__11976","G__11977","G__11978","G__11979","G__11980","G__11981","G__11982","cljs.core\/tree-map-replace","tk","G__11983","G__11984","G__11985","G__11986","G__11987","G__11988","G__11989","G__11990","args11991","cljs.core\/PersistentTreeMap","cljs.core\/->PersistentTreeMap","i__11995","count__11994","chunk__11993","vec__11996","seq__11992","vec__11999","G__12002","G__12003","found-node","G__12004","G__12005","G__12031","G__12032","G__12033","seq12037","cljs.core\/array-map","seq12043","cljs.core\/obj-map","seq12047","G__12050","G__12051","G__12052","cljs.core\/sorted-map","seq12060","cljs.core\/sorted-map-by","seq12066","G__12067","comparator","cljs.core\/KeySeq","cljs.core\/->KeySeq","mseq","me","nseq","G__12077","G__12078","G__12079","hash-map","map-entry","cljs.core\/ValSeq","cljs.core\/->ValSeq","G__12087","G__12088","G__12089","cljs.core\/merge","seq12095","maps","cljs.core.reduce.cljs$core$IFn$_invoke$arity$2","p2__12094#","p1__12093#","cljs.core\/merge-with","seq12099","G__12100","G__12101","G__12102","merge-entry","m1","m2","merge2","cljs.core\/select-keys","keyseq","map","cljs.core\/HashSetIter","cljs.core\/->HashSetIter","args12110","cljs.core\/PersistentHashSet","cljs.core\/->PersistentHashSet","i__12114","count__12113","chunk__12112","vec__12115","seq__12111","vec__12118","e12123","p2__12108#","cljs.core\/TransientHashSet","items","G__12147","G__12148","G__12149","args12153","cljs.core\/->TransientHashSet","transient-map","cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2","args12157","cljs.core\/PersistentTreeSet","cljs.core\/->PersistentTreeSet","tree-map","i__12161","count__12160","chunk__12159","vec__12162","seq__12158","vec__12165","e12170","p2__12155#","G__12184","G__12185","G__12186","cljs.core\/set-from-indexed-seq","iseq","a__8762__auto__","l__8763__auto__","cljs.core\/set","G__12196","cljs.core\/hash-set","seq12195","cljs.core\/sorted-set","seq12201","cljs.core\/sorted-set-by","seq12205","G__12206","G__12213","cljs.core\/replace","p1__12210#","smap","p1__12211#","G__12216","cljs.core\/distinct","fexpr__12221","p__12222","vec__12223","cljs.core\/butlast","cljs.core\/zipmap","G__12243","cljs.core\/max-key","seq12239","G__12240","G__12241","G__12242","p1__12236#","p2__12237#","cljs.core.max_key.cljs$core$IFn$_invoke$arity$3","G__12255","cljs.core\/min-key","seq12251","G__12252","G__12253","G__12254","p1__12248#","p2__12249#","cljs.core.min_key.cljs$core$IFn$_invoke$arity$3","cljs.core\/ArrayList","cljs.core\/->ArrayList","cljs.core\/array-list","G__12261","cljs.core\/partition-all","cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3","G__12265","cljs.core\/take-while","G__12266","cljs.core.take_while.cljs$core$IFn$_invoke$arity$2","cljs.core\/mk-bound-fn","sc","G__12269","G__12270","test","G__12271","G__12272","G__12274","cljs.core\/subseq","fexpr__12275","vec__12276","include","vec__12279","start-key","end-test","end-key","fexpr__12282","start-test","G__12285","cljs.core\/rsubseq","fexpr__12286","vec__12287","vec__12290","fexpr__12293","cljs.core\/RangeIterator","cljs.core\/->RangeIterator","cljs.core\/Range","cljs.core\/->Range","rng","G__12295","G__12300","G__12301","G__12302","G__12307","cljs.core\/range","cljs.core.range.cljs$core$IFn$_invoke$arity$3","js\/Number","G__12310","cljs.core\/take-nth","cljs.core.take_nth.cljs$core$IFn$_invoke$arity$2","cljs.core\/split-with","cljs.core.drop_while.cljs$core$IFn$_invoke$arity$2","G__12315","cljs.core\/partition-by","pa","pval","fst","fv","p1__12313#","run","cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2","cljs.core\/frequencies","counts","G__12319","cljs.core\/reductions","cljs.core.reductions.cljs$core$IFn$_invoke$arity$3","G__12320","G__12321","G__12338","cljs.core\/juxt","seq12334","G__12335","G__12336","G__12337","p1__12323#","p2__12324#","p1__12325#","p2__12326#","p1__12327#","p2__12328#","p1__12329#","p2__12330#","p1__12331#","p2__12332#","G__12368","cljs.core\/dorun","G__12374","cljs.core\/doall","cljs.core.dorun.cljs$core$IFn$_invoke$arity$1","cljs.core.dorun.cljs$core$IFn$_invoke$arity$2","cljs.core\/regexp?","js\/RegExp","cljs.core\/re-matches","re","matches","js\/TypeError","cljs.core\/re-find","cljs.core\/re-seq","match-data","match-idx","match-str","cljs.core.subs.cljs$core$IFn$_invoke$arity$2","post-idx","post-match","cljs.core\/re-pattern","vec__12376","prefix","pattern","flags","cljs.core\/pr-sequential-writer","*print-level*-temp-val__12380","*print-level*-orig-val__12379","begin","G__12381","G__12382","G__12383","print-one","G__12384","G__12385","G__12386","cljs.core\/write-all","seq12397","G__12398","i__12402","count__12401","chunk__12400","seq__12399","cljs.core\/string-print","cljs.core\/flush","cljs.core\/char-escapes","obj12419","cljs.core\/quote-string","match","cljs.core\/print-meta?","cljs.core\/pr-writer-impl","cljs.core\/pr-writer","cljs.core\/print-map","G__12424","cljs.core.keyword.cljs$core$IFn$_invoke$arity$1","goog.string\/isEmpty","cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic","normalize","G__12425","G__12426","G__12428","G__12429","G__12430","alt-impl","cljs.core\/pr-seq-writer","objs","i__12434","count__12433","chunk__12432","seq__12431","cljs.core\/pr-sb-with-opts","cljs.core\/pr-str-with-opts","cljs.core\/prn-str-with-opts","cljs.core\/pr-with-opts","G__12448","cljs.core\/newline","cljs.core.newline.cljs$core$IFn$_invoke$arity$1","cljs.core\/pr-str","seq12450","cljs.core\/prn-str","seq12454","cljs.core\/pr","seq12458","cljs.core\/print","cljs.core\/print-str","seq12464","cljs.core\/println","seq12468","cljs.core\/println-str","seq12472","cljs.core\/prn","seq12476","cljs.core\/strip-ns","named","cljs.core.keyword.cljs$core$IFn$_invoke$arity$2","cljs.core\/lift-ns","G__12486","vec__12487","seq__12488","first__12489","vec__12490","vec__12493","seq__12494","first__12495","vec__12496","lm","entries","new-ns","cljs.core\/print-prefix-map","G__12505","G__12506","G__12507","w","G__12508","G__12509","G__12510","vec__12514","lift-map","cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2","cljs.core\/alter-meta!","seq12517","G__12518","G__12519","cljs.core\/reset-meta!","cljs.core\/add-watch","cljs.core\/remove-watch","cljs.core\/gensym_counter","G__12524","cljs.core\/gensym","cljs.core.gensym.cljs$core$IFn$_invoke$arity$1","cljs.core.atom.cljs$core$IFn$_invoke$arity$1","cljs.core.symbol.cljs$core$IFn$_invoke$arity$1","prefix-string","cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2","cljs.core\/Delay","cljs.core\/->Delay","cljs.core\/delay?","cljs.core\/force","cljs.core\/realized?","cljs.core\/preserving-reduced","p1__12526#","p2__12527#","rf1","G__12530","cljs.core\/halt-when","cljs.core.halt_when.cljs$core$IFn$_invoke$arity$2","retf","G__12531","G__12532","G__12536","cljs.core\/dedupe","prior","cljs.core.sequence.cljs$core$IFn$_invoke$arity$2","cljs.core.dedupe.cljs$core$IFn$_invoke$arity$0","G__12540","cljs.core\/random-sample","cljs.core.rand.cljs$core$IFn$_invoke$arity$0","prob","cljs.core\/Eduction","cljs.core\/->Eduction","cljs.core.transduce.cljs$core$IFn$_invoke$arity$3","cljs.core.completing.cljs$core$IFn$_invoke$arity$1","G__12544","G__12545","G__12546","cljs.core\/eduction","seq12550","xforms","cljs.core\/run!","p2__12554#","proc","cljs.core\/IEncodeJS","cljs.core\/-clj->js","cljs.core\/-key->js","G__12557","cljs.core\/key->js","cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2","cljs.core\/clj->js","primitive-fn","cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic","p__12562","map__12563","seq12560","G__12561","thisfn","keyword-fn","i__12594","count__12593","chunk__12592","vec__12595","seq__12591","vec__12601","G__12598","G__12599","G__12600","G__12604","G__12605","G__12606","i__12610","count__12609","chunk__12608","seq__12607","cljs.core\/IEncodeClojure","cljs.core\/-js->clj","options","G__12671","cljs.core\/js->clj","seq12669","G__12670","cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic","map__12672","keywordize-keys","cljs.core.doall.cljs$core$IFn$_invoke$arity$1","cljs.core.into.cljs$core$IFn$_invoke$arity$3","p1__12666#","p2__12667#","cljs.core\/memoize","mem","cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4","G__12685","cljs.core\/trampoline","seq12683","G__12684","cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1","G__12692","cljs.core\/rand","cljs.core.rand.cljs$core$IFn$_invoke$arity$1","Math\/random","cljs.core\/rand-int","G__12694","cljs.core\/rand-nth","cljs.core\/group-by","cljs.core\/make-hierarchy","cljs.core\/-global-hierarchy","cljs.core\/get-global-hierarchy","cljs.core\/swap-global-hierarchy!","seq12695","G__12696","G__12701","cljs.core\/isa?","cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3","fexpr__12704","G__12709","cljs.core\/parents","cljs.core.parents.cljs$core$IFn$_invoke$arity$2","tag","G__12712","cljs.core\/ancestors","cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2","G__12715","cljs.core\/descendants","cljs.core.descendants.cljs$core$IFn$_invoke$arity$2","G__12718","cljs.core\/derive","cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic","targets","target","tp","ta","tf","td","G__12724","cljs.core\/underive","parentMap","childsParents","p1__12720#","cljs.core.interpose.cljs$core$IFn$_invoke$arity$2","newParents","p1__12721#","p2__12722#","cljs.core.partition.cljs$core$IFn$_invoke$arity$2","deriv-seq","cljs.core\/reset-cache","method-cache","method-table","cached-hierarchy","hierarchy","cljs.core\/prefers*","fexpr__12726","prefer-table","xprefs","cljs.core.parents.cljs$core$IFn$_invoke$arity$1","G__12730","G__12731","G__12732","G__12736","G__12737","G__12738","cljs.core\/dominates","cljs.core\/find-and-cache-best-method","p__12741","vec__12742","dispatch-val","be","be2","best-entry","fexpr__12746","default-dispatch-val","cljs.core\/IMultiFn","cljs.core\/-reset","mf","cljs.core\/-add-method","method","cljs.core\/-remove-method","cljs.core\/-prefer-method","dispatch-val-y","cljs.core\/-get-method","cljs.core\/-methods","cljs.core\/-prefers","cljs.core\/-default-dispatch-val","cljs.core\/-dispatch-fn","cljs.core\/throw-no-method-error","args12747","cljs.core\/MultiFn","cljs.core\/->MultiFn","dispatch-fn","target-fn","cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3","fexpr__12748","dispatch-val-x","old","cljs.core\/remove-all-methods","multifn","cljs.core\/remove-method","cljs.core\/prefer-method","cljs.core\/methods","cljs.core\/get-method","cljs.core\/prefers","cljs.core\/default-dispatch-val","cljs.core\/dispatch-fn","cljs.core\/IUUID","cljs.core\/UUID","cljs.core\/->UUID","uuid","G__12750","G__12751","cljs.core\/uuid","cljs.core\/random-uuid","hex","rhex","cljs.core\/uuid?","cljs.core\/pr-writer-ex-info","cljs.core\/ExceptionInfo","message","data","cause","js\/Error.prototype","G__12754","cljs.core\/ex-info","cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3","msg","cljs.core\/ex-data","ex","cljs.core\/ex-message","cljs.core\/ex-cause","cljs.core\/comparator","cljs.core\/special-symbol?","cljs.core\/test","cljs.core\/TaggedLiteral","cljs.core\/->TaggedLiteral","form","G__12756","cljs.core\/tagged-literal?","cljs.core\/tagged-literal","cljs.core\/js-reserved-arr","cljs.core\/js-reserved","cljs.core\/js-reserved?","p1__12758#","p2__12759#","cljs.core\/demunge-pattern","G__12760","cljs.core\/munge-str","sub","cljs.core\/munge","name'","cljs.core\/demunge-str","goog.string\/endsWith","munged-name","vec__12767","last-match-end","cljs.core\/demunge","fexpr__12772","G__12773","js\/cljs.core.tapset","cljs.core\/tapset","cljs.core\/maybe-init-tapset","cljs.core\/add-tap","cljs.core\/remove-tap","cljs.core\/tap>","i__12777","count__12776","chunk__12775","seq__12774","e12778","e12779","tap","cljs.core\/ns-lookup","ns-obj","cljs.core\/Namespace","cljs.core\/->Namespace","goog.object\/containsKey","var-sym","var-meta","cljs.core\/NS_CACHE","cljs.core\/find-ns-obj*","ctxt","G__12808","G__12809","cljs.core\/find-ns-obj","munged-ns","G__12812","e12813","js\/eval","segs","js\/ReferenceError","goog\/global","cljs.core\/ns-interns*","G__12816","cljs.core\/create-ns","cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2","cljs.core\/find-ns","the-ns","cljs.core\/find-macros-ns","goog.string\/contains","ns-str","cljs.core\/ns-name","cljs.core\/uri?","goog\/Uri","cljs.core\/maybe-enable-print!","js\/Java","system","js\/cljs.core.*eval*","cljs.core\/*eval*","cljs.core\/eval"]} \ No newline at end of file diff --git a/assets/viz/2/cljs/user/debug9D984AE.cljs.cache.json b/assets/viz/2/cljs/user/debug9D984AE.cljs.cache.json deleted file mode 100644 index e98e6e7..0000000 --- a/assets/viz/2/cljs/user/debug9D984AE.cljs.cache.json +++ /dev/null @@ -1 +0,0 @@ -["^ ","~:defs",["^ "],"~:cljs.spec/registry-ref",[],"~:cljs.spec/speced-vars",[]] \ No newline at end of file diff --git a/assets/viz/2/cljs/user/debug9D984AE.js b/assets/viz/2/cljs/user/debug9D984AE.js deleted file mode 100644 index 6e5f3f2..0000000 --- a/assets/viz/2/cljs/user/debug9D984AE.js +++ /dev/null @@ -1,3 +0,0 @@ -// Compiled by ClojureScript 1.10.439 {} - -//# sourceMappingURL=debug9D984AE.js.map diff --git a/assets/viz/2/cljs/user/debug9D984AE.js.map b/assets/viz/2/cljs/user/debug9D984AE.js.map deleted file mode 100644 index 029817d..0000000 --- a/assets/viz/2/cljs/user/debug9D984AE.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/cljs\/user\/debug9D984AE.js","sources":["debug.cljs"],"lineCount":3,"mappings":"","names":[]} \ No newline at end of file diff --git a/assets/viz/2/cljs_deps.js b/assets/viz/2/cljs_deps.js deleted file mode 100644 index 95a5ac8..0000000 --- a/assets/viz/2/cljs_deps.js +++ /dev/null @@ -1,19 +0,0 @@ -goog.addDependency("base.js", ['goog'], []); -goog.addDependency("../cljs/core.js", ['cljs.core'], ['goog.string', 'goog.Uri', 'goog.object', 'goog.math.Integer', 'goog.string.StringBuffer', 'goog.array', 'goog.math.Long']); -goog.addDependency("../process/env.js", ['process.env'], ['cljs.core']); -goog.addDependency("../viz/grid.js", ['viz.grid'], ['cljs.core']); -goog.addDependency("../viz/forest.js", ['viz.forest'], ['cljs.core', 'viz.grid']); -goog.addDependency("../processing.js", ['org.processingjs.Processing'], [], {'foreign-lib': true}); -goog.addDependency("../quil/middlewares/deprecated_options.js", ['quil.middlewares.deprecated_options'], ['cljs.core']); -goog.addDependency("../clojure/string.js", ['clojure.string'], ['goog.string', 'cljs.core', 'goog.string.StringBuffer']); -goog.addDependency("../quil/util.js", ['quil.util'], ['cljs.core', 'clojure.string']); -goog.addDependency("../quil/sketch.js", ['quil.sketch'], ['goog.dom', 'cljs.core', 'quil.middlewares.deprecated_options', 'goog.events.EventType', 'goog.events', 'quil.util']); -goog.addDependency("../quil/core.js", ['quil.core'], ['org.processingjs.Processing', 'quil.sketch', 'cljs.core', 'clojure.string', 'quil.util']); -goog.addDependency("../quil/middlewares/navigation_3d.js", ['quil.middlewares.navigation_3d'], ['cljs.core', 'quil.core']); -goog.addDependency("../quil/middlewares/navigation_2d.js", ['quil.middlewares.navigation_2d'], ['cljs.core', 'quil.core']); -goog.addDependency("../quil/middlewares/fun_mode.js", ['quil.middlewares.fun_mode'], ['cljs.core', 'quil.core']); -goog.addDependency("../quil/middleware.js", ['quil.middleware'], ['cljs.core', 'quil.middlewares.navigation_3d', 'quil.middlewares.navigation_2d', 'quil.middlewares.fun_mode']); -goog.addDependency("../clojure/set.js", ['clojure.set'], ['cljs.core']); -goog.addDependency("../viz/ghost.js", ['viz.ghost'], ['cljs.core', 'viz.forest', 'clojure.set', 'quil.core', 'quil.middleware', 'viz.grid']); -goog.addDependency("../viz/dial.js", ['viz.dial'], ['cljs.core', 'quil.core']); -goog.addDependency("../viz/core.js", ['viz.core'], ['goog.string', 'cljs.core', 'viz.forest', 'quil.core', 'quil.middleware', 'goog.string.format', 'viz.ghost', 'viz.grid', 'viz.dial']); diff --git a/assets/viz/2/cljsc_opts.edn b/assets/viz/2/cljsc_opts.edn deleted file mode 100644 index 9ab2cfa..0000000 --- a/assets/viz/2/cljsc_opts.edn +++ /dev/null @@ -1 +0,0 @@ -{:output-wrapper false, :externs ["closure-js/externs"], :libs ["closure-js/libs"], :output-to "js/main.js", :output-dir "out", :main "viz.core", :preamble ["processing.min.js"], :optimizations :none, :pretty-print false} \ No newline at end of file diff --git a/assets/viz/2/clojure/set.cljs b/assets/viz/2/clojure/set.cljs deleted file mode 100644 index b9ba41f..0000000 --- a/assets/viz/2/clojure/set.cljs +++ /dev/null @@ -1,161 +0,0 @@ -; Copyright (c) Rich Hickey. All rights reserved. -; The use and distribution terms for this software are covered by the -; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -; which can be found in the file epl-v10.html at the root of this distribution. -; By using this software in any fashion, you are agreeing to be bound by -; the terms of this license. -; You must not remove this notice, or any other, from this software. - -(ns ^{:doc "Set operations such as union/intersection." - :author "Rich Hickey"} - clojure.set) - -(defn- bubble-max-key [k coll] - "Move a maximal element of coll according to fn k (which returns a number) - to the front of coll." - (let [max (apply max-key k coll)] - (cons max (remove #(identical? max %) coll)))) - -(defn union - "Return a set that is the union of the input sets" - ([] #{}) - ([s1] s1) - ([s1 s2] - (if (< (count s1) (count s2)) - (reduce conj s2 s1) - (reduce conj s1 s2))) - ([s1 s2 & sets] - (let [bubbled-sets (bubble-max-key count (conj sets s2 s1))] - (reduce into (first bubbled-sets) (rest bubbled-sets))))) - -(defn intersection - "Return a set that is the intersection of the input sets" - ([s1] s1) - ([s1 s2] - (if (< (count s2) (count s1)) - (recur s2 s1) - (reduce (fn [result item] - (if (contains? s2 item) - result - (disj result item))) - s1 s1))) - ([s1 s2 & sets] - (let [bubbled-sets (bubble-max-key #(- (count %)) (conj sets s2 s1))] - (reduce intersection (first bubbled-sets) (rest bubbled-sets))))) - -(defn difference - "Return a set that is the first set without elements of the remaining sets" - ([s1] s1) - ([s1 s2] - (if (< (count s1) (count s2)) - (reduce (fn [result item] - (if (contains? s2 item) - (disj result item) - result)) - s1 s1) - (reduce disj s1 s2))) - ([s1 s2 & sets] - (reduce difference s1 (conj sets s2)))) - - -(defn select - "Returns a set of the elements for which pred is true" - [pred xset] - (reduce (fn [s k] (if (pred k) s (disj s k))) - xset xset)) - -(defn project - "Returns a rel of the elements of xrel with only the keys in ks" - [xrel ks] - (set (map #(select-keys % ks) xrel))) - -(defn rename-keys - "Returns the map with the keys in kmap renamed to the vals in kmap" - [map kmap] - (reduce - (fn [m [old new]] - (if (contains? map old) - (assoc m new (get map old)) - m)) - (apply dissoc map (keys kmap)) kmap)) - -(defn rename - "Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap" - [xrel kmap] - (set (map #(rename-keys % kmap) xrel))) - -(defn index - "Returns a map of the distinct values of ks in the xrel mapped to a - set of the maps in xrel with the corresponding values of ks." - [xrel ks] - (reduce - (fn [m x] - (let [ik (select-keys x ks)] - (assoc m ik (conj (get m ik #{}) x)))) - {} xrel)) - -(defn map-invert - "Returns the map with the vals mapped to the keys." - [m] (reduce (fn [m [k v]] (assoc m v k)) {} m)) - -(defn join - "When passed 2 rels, returns the rel corresponding to the natural - join. When passed an additional keymap, joins on the corresponding - keys." - ([xrel yrel] ;natural join - (if (and (seq xrel) (seq yrel)) - (let [ks (intersection (set (keys (first xrel))) (set (keys (first yrel)))) - [r s] (if (<= (count xrel) (count yrel)) - [xrel yrel] - [yrel xrel]) - idx (index r ks)] - (reduce (fn [ret x] - (let [found (idx (select-keys x ks))] - (if found - (reduce #(conj %1 (merge %2 x)) ret found) - ret))) - #{} s)) - #{})) - ([xrel yrel km] ;arbitrary key mapping - (let [[r s k] (if (<= (count xrel) (count yrel)) - [xrel yrel (map-invert km)] - [yrel xrel km]) - idx (index r (vals k))] - (reduce (fn [ret x] - (let [found (idx (rename-keys (select-keys x (keys k)) k))] - (if found - (reduce #(conj %1 (merge %2 x)) ret found) - ret))) - #{} s)))) - -(defn subset? - "Is set1 a subset of set2?" - [set1 set2] - (and (<= (count set1) (count set2)) - (every? #(contains? set2 %) set1))) - -(defn superset? - "Is set1 a superset of set2?" - [set1 set2] - (and (>= (count set1) (count set2)) - (every? #(contains? set1 %) set2))) - -(comment -(refer 'set) -(def xs #{{:a 11 :b 1 :c 1 :d 4} - {:a 2 :b 12 :c 2 :d 6} - {:a 3 :b 3 :c 3 :d 8 :f 42}}) - -(def ys #{{:a 11 :b 11 :c 11 :e 5} - {:a 12 :b 11 :c 12 :e 3} - {:a 3 :b 3 :c 3 :e 7 }}) - -(join xs ys) -(join xs (rename ys {:b :yb :c :yc}) {:a :a}) - -(union #{:a :b :c} #{:c :d :e }) -(difference #{:a :b :c} #{:c :d :e}) -(intersection #{:a :b :c} #{:c :d :e}) - -(index ys [:b])) - diff --git a/assets/viz/2/clojure/set.cljs.cache.json b/assets/viz/2/clojure/set.cljs.cache.json deleted file mode 100644 index f2332c0..0000000 --- a/assets/viz/2/clojure/set.cljs.cache.json +++ /dev/null @@ -1 +0,0 @@ -["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$clojure.set","~:imports",null,"~:requires",null,"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$union",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/mediocregopher/src/viz/out/clojure/set.cljs","~:line",19,"~:column",7,"~:end-line",19,"~:end-column",12,"~:arglists",["~#list",["~$quote",["^G",[[],["~$s1"],["^I","~$s2"],["^I","^J","~$&","~$sets"]]]]],"~:doc","Return a set that is the union of the input sets","~:top-fn",["^ ","~:variadic?",true,"~:max-fixed-arity",2,"~:method-params",["^G",[[],["^I"],["^I","^J"]]],"^F",["^G",[[],["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"~:arglists-meta",["^G",[null,null,null,null]]]],"^7","~$clojure.set/union","^A","out/clojure/set.cljs","^E",12,"^M",["^ ","^N",true,"^O",2,"^P",["^G",[[],["^I"],["^I","^J"]]],"^F",["^G",[[],["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null,null]]],"^P",["^G",[[],["^I"],["^I","^J"]]],"~:protocol-impl",null,"^Q",["^G",[null,null,null,null]],"^C",1,"^N",true,"^B",19,"^D",19,"^O",2,"~:fn-var",true,"^F",["^G",[[],["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^L","Return a set that is the union of the input sets"],"~$map-invert",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",97,"^C",7,"^D",97,"^E",17,"^F",["^G",["^H",["^G",[["~$m"]]]]],"^L","Returns the map with the vals mapped to the keys."],"^7","~$clojure.set/map-invert","^A","out/clojure/set.cljs","^E",17,"^P",["^G",[["~$m"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",97,"~:ret-tag","~$any","^D",97,"^O",1,"^T",true,"^F",["^G",["^H",["^G",[["~$m"]]]]],"^L","Returns the map with the vals mapped to the keys."],"~$join",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",101,"^C",7,"^D",101,"^E",11,"^F",["^G",["^H",["^G",[["~$xrel","~$yrel"],["^Z","^[","~$km"]]]]],"^L","When passed 2 rels, returns the rel corresponding to the natural\n join. When passed an additional keymap, joins on the corresponding\n keys.","^M",["^ ","^N",false,"^O",3,"^P",["^G",[["^Z","^["],["^Z","^[","^10"]]],"^F",["^G",[["^Z","^["],["^Z","^[","^10"]]],"^Q",["^G",[null,null]]]],"^7","~$clojure.set/join","^A","out/clojure/set.cljs","^E",11,"^M",["^ ","^N",false,"^O",3,"^P",["^G",[["^Z","^["],["^Z","^[","^10"]]],"^F",["^G",[["^Z","^["],["^Z","^[","^10"]]],"^Q",["^G",[null,null]]],"^P",["^G",[["^Z","^["],["^Z","^[","^10"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",101,"^D",101,"^O",3,"^T",true,"^F",["^G",[["^Z","^["],["^Z","^[","^10"]]],"^L","When passed 2 rels, returns the rel corresponding to the natural\n join. When passed an additional keymap, joins on the corresponding\n keys."],"~$select",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",61,"^C",7,"^D",61,"^E",13,"^F",["^G",["^H",["^G",[["~$pred","~$xset"]]]]],"^L","Returns a set of the elements for which pred is true"],"^7","~$clojure.set/select","^A","out/clojure/set.cljs","^E",13,"^P",["^G",[["^13","^14"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",61,"^W","^X","^D",61,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^13","^14"]]]]],"^L","Returns a set of the elements for which pred is true"],"~$intersection",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",31,"^C",7,"^D",31,"^E",19,"^F",["^G",["^H",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]]]],"^L","Return a set that is the intersection of the input sets","^M",["^ ","^N",true,"^O",2,"^P",["^G",[["^I"],["^I","^J"]]],"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null]]]],"^7","~$clojure.set/intersection","^A","out/clojure/set.cljs","^E",19,"^M",["^ ","^N",true,"^O",2,"^P",["^G",[["^I"],["^I","^J"]]],"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null]]],"^P",["^G",[["^I"],["^I","^J"]]],"^S",null,"^Q",["^G",[null,null,null]],"^C",1,"^N",true,"^B",31,"^D",31,"^O",2,"^T",true,"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^L","Return a set that is the intersection of the input sets"],"~$superset?",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",137,"^C",7,"^D",137,"^E",16,"^F",["^G",["^H",["^G",[["~$set1","~$set2"]]]]],"^L","Is set1 a superset of set2?"],"^7","~$clojure.set/superset?","^A","out/clojure/set.cljs","^E",16,"^P",["^G",[["^19","^1:"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",137,"^W","~$boolean","^D",137,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^19","^1:"]]]]],"^L","Is set1 a superset of set2?"],"~$index",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",87,"^C",7,"^D",87,"^E",12,"^F",["^G",["^H",["^G",[["^Z","~$ks"]]]]],"^L","Returns a map of the distinct values of ks in the xrel mapped to a\n set of the maps in xrel with the corresponding values of ks."],"^7","~$clojure.set/index","^A","out/clojure/set.cljs","^E",12,"^P",["^G",[["^Z","^1>"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",87,"^W","^X","^D",87,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^Z","^1>"]]]]],"^L","Returns a map of the distinct values of ks in the xrel mapped to a\n set of the maps in xrel with the corresponding values of ks."],"~$bubble-max-key",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",13,"^C",8,"^D",13,"^E",22,"~:private",true,"^F",["^G",["^H",["^G",[["~$k","~$coll"]]]]]],"^1A",true,"^7","~$clojure.set/bubble-max-key","^A","out/clojure/set.cljs","^E",22,"^P",["^G",[["~$k","^1B"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",13,"^W","~$cljs.core/Cons","^D",13,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["~$k","^1B"]]]]]],"~$subset?",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",131,"^C",7,"^D",131,"^E",14,"^F",["^G",["^H",["^G",[["^19","^1:"]]]]],"^L","Is set1 a subset of set2?"],"^7","~$clojure.set/subset?","^A","out/clojure/set.cljs","^E",14,"^P",["^G",[["^19","^1:"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",131,"^W","^1<","^D",131,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^19","^1:"]]]]],"^L","Is set1 a subset of set2?"],"~$rename",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",82,"^C",7,"^D",82,"^E",13,"^F",["^G",["^H",["^G",[["^Z","~$kmap"]]]]],"^L","Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap"],"^7","~$clojure.set/rename","^A","out/clojure/set.cljs","^E",13,"^P",["^G",[["^Z","^1H"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",82,"^W",["^6",["~$clj","^X","~$cljs.core/ISet","~$cljs.core/MetaFn","~$clj-nil"]],"^D",82,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^Z","^1H"]]]]],"^L","Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap"],"~$rename-keys",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",72,"^C",7,"^D",72,"^E",18,"^F",["^G",["^H",["^G",[["~$map","^1H"]]]]],"^L","Returns the map with the keys in kmap renamed to the vals in kmap"],"^7","~$clojure.set/rename-keys","^A","out/clojure/set.cljs","^E",18,"^P",["^G",[["^1O","^1H"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",72,"^W","^X","^D",72,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^1O","^1H"]]]]],"^L","Returns the map with the keys in kmap renamed to the vals in kmap"],"~$project",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",67,"^C",7,"^D",67,"^E",14,"^F",["^G",["^H",["^G",[["^Z","^1>"]]]]],"^L","Returns a rel of the elements of xrel with only the keys in ks"],"^7","~$clojure.set/project","^A","out/clojure/set.cljs","^E",14,"^P",["^G",[["^Z","^1>"]]],"^S",null,"^Q",["^G",[null,null]],"^C",1,"^N",false,"^B",67,"^W",["^6",["^1J","^X","^1K","^1L","^1M"]],"^D",67,"^O",2,"^T",true,"^F",["^G",["^H",["^G",[["^Z","^1>"]]]]],"^L","Returns a rel of the elements of xrel with only the keys in ks"],"~$difference",["^ ","^?",null,"^@",["^ ","^A","/home/mediocregopher/src/viz/out/clojure/set.cljs","^B",46,"^C",7,"^D",46,"^E",17,"^F",["^G",["^H",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]]]],"^L","Return a set that is the first set without elements of the remaining sets","^M",["^ ","^N",true,"^O",2,"^P",["^G",[["^I"],["^I","^J"]]],"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null]]]],"^7","~$clojure.set/difference","^A","out/clojure/set.cljs","^E",17,"^M",["^ ","^N",true,"^O",2,"^P",["^G",[["^I"],["^I","^J"]]],"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^Q",["^G",[null,null,null]]],"^P",["^G",[["^I"],["^I","^J"]]],"^S",null,"^Q",["^G",[null,null,null]],"^C",1,"^N",true,"^B",46,"^D",46,"^O",2,"^T",true,"^F",["^G",[["^I"],["^I","^J"],["^I","^J","~$&","^K"]]],"^L","Return a set that is the first set without elements of the remaining sets"]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"^L","Set operations such as union/intersection."] \ No newline at end of file diff --git a/assets/viz/2/clojure/set.js b/assets/viz/2/clojure/set.js deleted file mode 100644 index 3be3f0b..0000000 --- a/assets/viz/2/clojure/set.js +++ /dev/null @@ -1,391 +0,0 @@ -// Compiled by ClojureScript 1.10.439 {} -goog.provide('clojure.set'); -goog.require('cljs.core'); -clojure.set.bubble_max_key = (function clojure$set$bubble_max_key(k,coll){ - -var max = cljs.core.apply.call(null,cljs.core.max_key,k,coll); -return cljs.core.cons.call(null,max,cljs.core.remove.call(null,((function (max){ -return (function (p1__2145_SHARP_){ -return (max === p1__2145_SHARP_); -});})(max)) -,coll)); -}); -/** - * Return a set that is the union of the input sets - */ -clojure.set.union = (function clojure$set$union(var_args){ -var G__2150 = arguments.length; -switch (G__2150) { -case 0: -return clojure.set.union.cljs$core$IFn$_invoke$arity$0(); - -break; -case 1: -return clojure.set.union.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return clojure.set.union.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__4662__auto__ = []; -var len__4641__auto___2152 = arguments.length; -var i__4642__auto___2153 = (0); -while(true){ -if((i__4642__auto___2153 < len__4641__auto___2152)){ -args_arr__4662__auto__.push((arguments[i__4642__auto___2153])); - -var G__2154 = (i__4642__auto___2153 + (1)); -i__4642__auto___2153 = G__2154; -continue; -} else { -} -break; -} - -var argseq__4663__auto__ = (new cljs.core.IndexedSeq(args_arr__4662__auto__.slice((2)),(0),null)); -return clojure.set.union.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4663__auto__); - -} -}); - -clojure.set.union.cljs$core$IFn$_invoke$arity$0 = (function (){ -return cljs.core.PersistentHashSet.EMPTY; -}); - -clojure.set.union.cljs$core$IFn$_invoke$arity$1 = (function (s1){ -return s1; -}); - -clojure.set.union.cljs$core$IFn$_invoke$arity$2 = (function (s1,s2){ -if((cljs.core.count.call(null,s1) < cljs.core.count.call(null,s2))){ -return cljs.core.reduce.call(null,cljs.core.conj,s2,s1); -} else { -return cljs.core.reduce.call(null,cljs.core.conj,s1,s2); -} -}); - -clojure.set.union.cljs$core$IFn$_invoke$arity$variadic = (function (s1,s2,sets){ -var bubbled_sets = clojure.set.bubble_max_key.call(null,cljs.core.count,cljs.core.conj.call(null,sets,s2,s1)); -return cljs.core.reduce.call(null,cljs.core.into,cljs.core.first.call(null,bubbled_sets),cljs.core.rest.call(null,bubbled_sets)); -}); - -/** @this {Function} */ -clojure.set.union.cljs$lang$applyTo = (function (seq2147){ -var G__2148 = cljs.core.first.call(null,seq2147); -var seq2147__$1 = cljs.core.next.call(null,seq2147); -var G__2149 = cljs.core.first.call(null,seq2147__$1); -var seq2147__$2 = cljs.core.next.call(null,seq2147__$1); -var self__4628__auto__ = this; -return self__4628__auto__.cljs$core$IFn$_invoke$arity$variadic(G__2148,G__2149,seq2147__$2); -}); - -clojure.set.union.cljs$lang$maxFixedArity = (2); - -/** - * Return a set that is the intersection of the input sets - */ -clojure.set.intersection = (function clojure$set$intersection(var_args){ -var G__2160 = arguments.length; -switch (G__2160) { -case 1: -return clojure.set.intersection.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return clojure.set.intersection.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__4662__auto__ = []; -var len__4641__auto___2162 = arguments.length; -var i__4642__auto___2163 = (0); -while(true){ -if((i__4642__auto___2163 < len__4641__auto___2162)){ -args_arr__4662__auto__.push((arguments[i__4642__auto___2163])); - -var G__2164 = (i__4642__auto___2163 + (1)); -i__4642__auto___2163 = G__2164; -continue; -} else { -} -break; -} - -var argseq__4663__auto__ = (new cljs.core.IndexedSeq(args_arr__4662__auto__.slice((2)),(0),null)); -return clojure.set.intersection.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4663__auto__); - -} -}); - -clojure.set.intersection.cljs$core$IFn$_invoke$arity$1 = (function (s1){ -return s1; -}); - -clojure.set.intersection.cljs$core$IFn$_invoke$arity$2 = (function (s1,s2){ -while(true){ -if((cljs.core.count.call(null,s2) < cljs.core.count.call(null,s1))){ -var G__2165 = s2; -var G__2166 = s1; -s1 = G__2165; -s2 = G__2166; -continue; -} else { -return cljs.core.reduce.call(null,((function (s1,s2){ -return (function (result,item){ -if(cljs.core.contains_QMARK_.call(null,s2,item)){ -return result; -} else { -return cljs.core.disj.call(null,result,item); -} -});})(s1,s2)) -,s1,s1); -} -break; -} -}); - -clojure.set.intersection.cljs$core$IFn$_invoke$arity$variadic = (function (s1,s2,sets){ -var bubbled_sets = clojure.set.bubble_max_key.call(null,(function (p1__2155_SHARP_){ -return (- cljs.core.count.call(null,p1__2155_SHARP_)); -}),cljs.core.conj.call(null,sets,s2,s1)); -return cljs.core.reduce.call(null,clojure.set.intersection,cljs.core.first.call(null,bubbled_sets),cljs.core.rest.call(null,bubbled_sets)); -}); - -/** @this {Function} */ -clojure.set.intersection.cljs$lang$applyTo = (function (seq2157){ -var G__2158 = cljs.core.first.call(null,seq2157); -var seq2157__$1 = cljs.core.next.call(null,seq2157); -var G__2159 = cljs.core.first.call(null,seq2157__$1); -var seq2157__$2 = cljs.core.next.call(null,seq2157__$1); -var self__4628__auto__ = this; -return self__4628__auto__.cljs$core$IFn$_invoke$arity$variadic(G__2158,G__2159,seq2157__$2); -}); - -clojure.set.intersection.cljs$lang$maxFixedArity = (2); - -/** - * Return a set that is the first set without elements of the remaining sets - */ -clojure.set.difference = (function clojure$set$difference(var_args){ -var G__2171 = arguments.length; -switch (G__2171) { -case 1: -return clojure.set.difference.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return clojure.set.difference.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -var args_arr__4662__auto__ = []; -var len__4641__auto___2173 = arguments.length; -var i__4642__auto___2174 = (0); -while(true){ -if((i__4642__auto___2174 < len__4641__auto___2173)){ -args_arr__4662__auto__.push((arguments[i__4642__auto___2174])); - -var G__2175 = (i__4642__auto___2174 + (1)); -i__4642__auto___2174 = G__2175; -continue; -} else { -} -break; -} - -var argseq__4663__auto__ = (new cljs.core.IndexedSeq(args_arr__4662__auto__.slice((2)),(0),null)); -return clojure.set.difference.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4663__auto__); - -} -}); - -clojure.set.difference.cljs$core$IFn$_invoke$arity$1 = (function (s1){ -return s1; -}); - -clojure.set.difference.cljs$core$IFn$_invoke$arity$2 = (function (s1,s2){ -if((cljs.core.count.call(null,s1) < cljs.core.count.call(null,s2))){ -return cljs.core.reduce.call(null,(function (result,item){ -if(cljs.core.contains_QMARK_.call(null,s2,item)){ -return cljs.core.disj.call(null,result,item); -} else { -return result; -} -}),s1,s1); -} else { -return cljs.core.reduce.call(null,cljs.core.disj,s1,s2); -} -}); - -clojure.set.difference.cljs$core$IFn$_invoke$arity$variadic = (function (s1,s2,sets){ -return cljs.core.reduce.call(null,clojure.set.difference,s1,cljs.core.conj.call(null,sets,s2)); -}); - -/** @this {Function} */ -clojure.set.difference.cljs$lang$applyTo = (function (seq2168){ -var G__2169 = cljs.core.first.call(null,seq2168); -var seq2168__$1 = cljs.core.next.call(null,seq2168); -var G__2170 = cljs.core.first.call(null,seq2168__$1); -var seq2168__$2 = cljs.core.next.call(null,seq2168__$1); -var self__4628__auto__ = this; -return self__4628__auto__.cljs$core$IFn$_invoke$arity$variadic(G__2169,G__2170,seq2168__$2); -}); - -clojure.set.difference.cljs$lang$maxFixedArity = (2); - -/** - * Returns a set of the elements for which pred is true - */ -clojure.set.select = (function clojure$set$select(pred,xset){ -return cljs.core.reduce.call(null,(function (s,k){ -if(cljs.core.truth_(pred.call(null,k))){ -return s; -} else { -return cljs.core.disj.call(null,s,k); -} -}),xset,xset); -}); -/** - * Returns a rel of the elements of xrel with only the keys in ks - */ -clojure.set.project = (function clojure$set$project(xrel,ks){ -return cljs.core.set.call(null,cljs.core.map.call(null,(function (p1__2176_SHARP_){ -return cljs.core.select_keys.call(null,p1__2176_SHARP_,ks); -}),xrel)); -}); -/** - * Returns the map with the keys in kmap renamed to the vals in kmap - */ -clojure.set.rename_keys = (function clojure$set$rename_keys(map,kmap){ -return cljs.core.reduce.call(null,(function (m,p__2177){ -var vec__2178 = p__2177; -var old = cljs.core.nth.call(null,vec__2178,(0),null); -var new$ = cljs.core.nth.call(null,vec__2178,(1),null); -if(cljs.core.contains_QMARK_.call(null,map,old)){ -return cljs.core.assoc.call(null,m,new$,cljs.core.get.call(null,map,old)); -} else { -return m; -} -}),cljs.core.apply.call(null,cljs.core.dissoc,map,cljs.core.keys.call(null,kmap)),kmap); -}); -/** - * Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap - */ -clojure.set.rename = (function clojure$set$rename(xrel,kmap){ -return cljs.core.set.call(null,cljs.core.map.call(null,(function (p1__2181_SHARP_){ -return clojure.set.rename_keys.call(null,p1__2181_SHARP_,kmap); -}),xrel)); -}); -/** - * Returns a map of the distinct values of ks in the xrel mapped to a - * set of the maps in xrel with the corresponding values of ks. - */ -clojure.set.index = (function clojure$set$index(xrel,ks){ -return cljs.core.reduce.call(null,(function (m,x){ -var ik = cljs.core.select_keys.call(null,x,ks); -return cljs.core.assoc.call(null,m,ik,cljs.core.conj.call(null,cljs.core.get.call(null,m,ik,cljs.core.PersistentHashSet.EMPTY),x)); -}),cljs.core.PersistentArrayMap.EMPTY,xrel); -}); -/** - * Returns the map with the vals mapped to the keys. - */ -clojure.set.map_invert = (function clojure$set$map_invert(m){ -return cljs.core.reduce.call(null,(function (m__$1,p__2182){ -var vec__2183 = p__2182; -var k = cljs.core.nth.call(null,vec__2183,(0),null); -var v = cljs.core.nth.call(null,vec__2183,(1),null); -return cljs.core.assoc.call(null,m__$1,v,k); -}),cljs.core.PersistentArrayMap.EMPTY,m); -}); -/** - * When passed 2 rels, returns the rel corresponding to the natural - * join. When passed an additional keymap, joins on the corresponding - * keys. - */ -clojure.set.join = (function clojure$set$join(var_args){ -var G__2191 = arguments.length; -switch (G__2191) { -case 2: -return clojure.set.join.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return clojure.set.join.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -clojure.set.join.cljs$core$IFn$_invoke$arity$2 = (function (xrel,yrel){ -if(((cljs.core.seq.call(null,xrel)) && (cljs.core.seq.call(null,yrel)))){ -var ks = clojure.set.intersection.call(null,cljs.core.set.call(null,cljs.core.keys.call(null,cljs.core.first.call(null,xrel))),cljs.core.set.call(null,cljs.core.keys.call(null,cljs.core.first.call(null,yrel)))); -var vec__2192 = (((cljs.core.count.call(null,xrel) <= cljs.core.count.call(null,yrel)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [xrel,yrel], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [yrel,xrel], null)); -var r = cljs.core.nth.call(null,vec__2192,(0),null); -var s = cljs.core.nth.call(null,vec__2192,(1),null); -var idx = clojure.set.index.call(null,r,ks); -return cljs.core.reduce.call(null,((function (ks,vec__2192,r,s,idx){ -return (function (ret,x){ -var found = idx.call(null,cljs.core.select_keys.call(null,x,ks)); -if(cljs.core.truth_(found)){ -return cljs.core.reduce.call(null,((function (found,ks,vec__2192,r,s,idx){ -return (function (p1__2186_SHARP_,p2__2187_SHARP_){ -return cljs.core.conj.call(null,p1__2186_SHARP_,cljs.core.merge.call(null,p2__2187_SHARP_,x)); -});})(found,ks,vec__2192,r,s,idx)) -,ret,found); -} else { -return ret; -} -});})(ks,vec__2192,r,s,idx)) -,cljs.core.PersistentHashSet.EMPTY,s); -} else { -return cljs.core.PersistentHashSet.EMPTY; -} -}); - -clojure.set.join.cljs$core$IFn$_invoke$arity$3 = (function (xrel,yrel,km){ -var vec__2195 = (((cljs.core.count.call(null,xrel) <= cljs.core.count.call(null,yrel)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [xrel,yrel,clojure.set.map_invert.call(null,km)], null):new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [yrel,xrel,km], null)); -var r = cljs.core.nth.call(null,vec__2195,(0),null); -var s = cljs.core.nth.call(null,vec__2195,(1),null); -var k = cljs.core.nth.call(null,vec__2195,(2),null); -var idx = clojure.set.index.call(null,r,cljs.core.vals.call(null,k)); -return cljs.core.reduce.call(null,((function (vec__2195,r,s,k,idx){ -return (function (ret,x){ -var found = idx.call(null,clojure.set.rename_keys.call(null,cljs.core.select_keys.call(null,x,cljs.core.keys.call(null,k)),k)); -if(cljs.core.truth_(found)){ -return cljs.core.reduce.call(null,((function (found,vec__2195,r,s,k,idx){ -return (function (p1__2188_SHARP_,p2__2189_SHARP_){ -return cljs.core.conj.call(null,p1__2188_SHARP_,cljs.core.merge.call(null,p2__2189_SHARP_,x)); -});})(found,vec__2195,r,s,k,idx)) -,ret,found); -} else { -return ret; -} -});})(vec__2195,r,s,k,idx)) -,cljs.core.PersistentHashSet.EMPTY,s); -}); - -clojure.set.join.cljs$lang$maxFixedArity = 3; - -/** - * Is set1 a subset of set2? - */ -clojure.set.subset_QMARK_ = (function clojure$set$subset_QMARK_(set1,set2){ -return (((cljs.core.count.call(null,set1) <= cljs.core.count.call(null,set2))) && (cljs.core.every_QMARK_.call(null,(function (p1__2199_SHARP_){ -return cljs.core.contains_QMARK_.call(null,set2,p1__2199_SHARP_); -}),set1))); -}); -/** - * Is set1 a superset of set2? - */ -clojure.set.superset_QMARK_ = (function clojure$set$superset_QMARK_(set1,set2){ -return (((cljs.core.count.call(null,set1) >= cljs.core.count.call(null,set2))) && (cljs.core.every_QMARK_.call(null,(function (p1__2200_SHARP_){ -return cljs.core.contains_QMARK_.call(null,set1,p1__2200_SHARP_); -}),set2))); -}); - -//# sourceMappingURL=set.js.map diff --git a/assets/viz/2/clojure/set.js.map b/assets/viz/2/clojure/set.js.map deleted file mode 100644 index c385760..0000000 --- a/assets/viz/2/clojure/set.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/clojure\/set.js","sources":["set.cljs"],"lineCount":391,"mappings":";AAQA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,gDAAAG,zCAACnE,oCAAU8D;GAAQC;;AAEnC","names":["clojure.set\/bubble-max-key","cljs.core\/apply","cljs.core\/max-key","k","coll","cljs.core\/cons","max","cljs.core\/remove","p1__2145#","G__2150","clojure.set\/union","i__4642__auto__","len__4641__auto__","args-arr__4662__auto__","cljs.core\/IndexedSeq","argseq__4663__auto__","cljs.core\/first","seq2147","cljs.core\/next","self__4628__auto__","G__2148","G__2149","s1","cljs.core\/count","s2","cljs.core\/reduce","cljs.core\/conj","sets","cljs.core\/into","bubbled-sets","cljs.core\/rest","G__2160","clojure.set\/intersection","seq2157","G__2158","G__2159","cljs.core\/contains?","item","result","cljs.core\/disj","p1__2155#","G__2171","clojure.set\/difference","seq2168","G__2169","G__2170","clojure.set\/select","pred","s","xset","clojure.set\/project","cljs.core\/set","cljs.core\/map","p1__2176#","cljs.core\/select-keys","ks","xrel","clojure.set\/rename-keys","p__2177","cljs.core\/nth","vec__2178","map","old","cljs.core\/assoc","m","new","cljs.core\/get","cljs.core\/dissoc","cljs.core\/keys","kmap","clojure.set\/rename","p1__2181#","clojure.set\/index","x","ik","clojure.set\/map-invert","p__2182","vec__2183","v","G__2191","clojure.set\/join","js\/Error","cljs.core\/seq","yrel","vec__2192","r","idx","found","p1__2186#","p2__2187#","cljs.core\/merge","ret","vec__2195","km","cljs.core\/vals","p1__2188#","p2__2189#","clojure.set\/subset?","set1","set2","cljs.core\/every?","p1__2199#","clojure.set\/superset?","p1__2200#"]} \ No newline at end of file diff --git a/assets/viz/2/clojure/string.cljs b/assets/viz/2/clojure/string.cljs deleted file mode 100644 index 26f63f2..0000000 --- a/assets/viz/2/clojure/string.cljs +++ /dev/null @@ -1,289 +0,0 @@ -; Copyright (c) Rich Hickey. All rights reserved. -; The use and distribution terms for this software are covered by the -; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -; which can be found in the file epl-v10.html at the root of this distribution. -; By using this software in any fashion, you are agreeing to be bound by -; the terms of this license. -; You must not remove this notice, or any other, from this software. - -(ns clojure.string - (:refer-clojure :exclude [replace reverse]) - (:require [goog.string :as gstring]) - (:import [goog.string StringBuffer])) - -(defn- seq-reverse - [coll] - (reduce conj () coll)) - -(def ^:private re-surrogate-pair - (js/RegExp. "([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])" "g")) - -(defn reverse - "Returns s with its characters reversed." - [s] - (-> (.replace s re-surrogate-pair "$2$1") - (.. (split "") (reverse) (join "")))) - -(defn- replace-all - [s re replacement] - (let [r (js/RegExp. (.-source re) - (cond-> "g" - (.-ignoreCase re) (str "i") - (.-multiline re) (str "m") - (.-unicode re) (str "u")))] - (.replace s r replacement))) - -(defn- replace-with - [f] - (fn [& args] - (let [matches (drop-last 2 args)] - (if (= (count matches) 1) - (f (first matches)) - (f (vec matches)))))) - -(defn replace - "Replaces all instance of match with replacement in s. - - match/replacement can be: - - string / string - pattern / (string or function of match). - - See also replace-first. - - The replacement is literal (i.e. none of its characters are treated - specially) for all cases above except pattern / string. - - For pattern / string, $1, $2, etc. in the replacement string are - substituted with the string that matched the corresponding - parenthesized group in the pattern. - - Example: - (clojure.string/replace \"Almost Pig Latin\" #\"\\b(\\w)(\\w+)\\b\" \"$2$1ay\") - -> \"lmostAay igPay atinLay\"" - [s match replacement] - (cond - (string? match) - (.replace s (js/RegExp. (gstring/regExpEscape match) "g") replacement) - - (instance? js/RegExp match) - (if (string? replacement) - (replace-all s match replacement) - (replace-all s match (replace-with replacement))) - - :else (throw (str "Invalid match arg: " match)))) - -(defn replace-first - "Replaces the first instance of match with replacement in s. - - match/replacement can be: - - string / string - pattern / (string or function of match). - - See also replace. - - The replacement is literal (i.e. none of its characters are treated - specially) for all cases above except pattern / string. - - For pattern / string, $1, $2, etc. in the replacement string are - substituted with the string that matched the corresponding - parenthesized group in the pattern. - - Example: - (clojure.string/replace-first \"swap first two words\" - #\"(\\w+)(\\s+)(\\w+)\" \"$3$2$1\") - -> \"first swap two words\"" - [s match replacement] - (.replace s match replacement)) - -(defn join - "Returns a string of all elements in coll, as returned by (seq coll), - separated by an optional separator." - ([coll] - (loop [sb (StringBuffer.) coll (seq coll)] - (if-not (nil? coll) - (recur (. sb (append (str (first coll)))) (next coll)) - (.toString sb)))) - ([separator coll] - (loop [sb (StringBuffer.) coll (seq coll)] - (if-not (nil? coll) - (do - (. sb (append (str (first coll)))) - (let [coll (next coll)] - (when-not (nil? coll) - (. sb (append separator))) - (recur sb coll))) - (.toString sb))))) - -(defn upper-case - "Converts string to all upper-case." - [s] - (.toUpperCase s)) - -(defn lower-case - "Converts string to all lower-case." - [s] - (.toLowerCase s)) - -(defn capitalize - "Converts first character of the string to upper-case, all other - characters to lower-case." - [s] - (gstring/capitalize s)) - -;; The JavaScript split function takes a limit argument but the return -;; value is not the same as the Java split function. -;; -;; Java: (.split "a-b-c" #"-" 2) => ["a" "b-c"] -;; JavaScript: (.split "a-b-c" #"-" 2) => ["a" "b"] -;; -;; For consistency, the three arg version has been implemented to -;; mimic Java's behavior. - -(defn- pop-last-while-empty - [v] - (loop [v v] - (if (identical? "" (peek v)) - (recur (pop v)) - v))) - -(defn- discard-trailing-if-needed - [limit v] - (if (and (== 0 limit) (< 1 (count v))) - (pop-last-while-empty v) - v)) - -(defn- split-with-empty-regex - [s limit] - (if (or (<= limit 0) (>= limit (+ 2 (count s)))) - (conj (vec (cons "" (map str (seq s)))) "") - (condp == limit - 1 (vector s) - 2 (vector "" s) - (let [c (- limit 2)] - (conj (vec (cons "" (subvec (vec (map str (seq s))) 0 c))) (subs s c)))))) - -(defn split - "Splits string on a regular expression. Optional argument limit is - the maximum number of splits. Not lazy. Returns vector of the splits." - ([s re] - (split s re 0)) - ([s re limit] - (discard-trailing-if-needed limit - (if (identical? "/(?:)/" (str re)) - (split-with-empty-regex s limit) - (if (< limit 1) - (vec (.split (str s) re)) - (loop [s s - limit limit - parts []] - (if (== 1 limit) - (conj parts s) - (let [m (re-find re s)] - (if-not (nil? m) - (let [index (.indexOf s m)] - (recur (.substring s (+ index (count m))) - (dec limit) - (conj parts (.substring s 0 index)))) - (conj parts s)))))))))) - -(defn split-lines - "Splits s on \\n or \\r\\n." - [s] - (split s #"\n|\r\n")) - -(defn trim - "Removes whitespace from both ends of string." - [s] - (gstring/trim s)) - -(defn triml - "Removes whitespace from the left side of string." - [s] - (gstring/trimLeft s)) - -(defn trimr - "Removes whitespace from the right side of string." - [s] - (gstring/trimRight s)) - -(defn trim-newline - "Removes all trailing newline \\n or return \\r characters from - string. Similar to Perl's chomp." - [s] - (loop [index (.-length s)] - (if (zero? index) - "" - (let [ch (get s (dec index))] - (if (or (identical? \newline ch) - (identical? \return ch)) - (recur (dec index)) - (.substring s 0 index)))))) - -(defn ^boolean blank? - "True is s is nil, empty, or contains only whitespace." - [s] - (gstring/isEmptySafe s)) - -(defn escape - "Return a new string, using cmap to escape each character ch - from s as follows: - - If (cmap ch) is nil, append ch to the new string. - If (cmap ch) is non-nil, append (str (cmap ch)) instead." - [s cmap] - (let [buffer (StringBuffer.) - length (.-length s)] - (loop [index 0] - (if (== length index) - (. buffer (toString)) - (let [ch (.charAt s index) - replacement (get cmap ch)] - (if-not (nil? replacement) - (.append buffer (str replacement)) - (.append buffer ch)) - (recur (inc index))))))) - -(defn index-of - "Return index of value (string or char) in s, optionally searching - forward from from-index or nil if not found." - ([s value] - (let [result (.indexOf s value)] - (if (neg? result) - nil - result))) - ([s value from-index] - (let [result (.indexOf s value from-index)] - (if (neg? result) - nil - result)))) - -(defn last-index-of - "Return last index of value (string or char) in s, optionally - searching backward from from-index or nil if not found." - ([s value] - (let [result (.lastIndexOf s value)] - (if (neg? result) - nil - result))) - ([s value from-index] - (let [result (.lastIndexOf s value from-index)] - (if (neg? result) - nil - result)))) - -(defn ^boolean starts-with? - "True if s starts with substr." - [s substr] - (gstring/startsWith s substr)) - -(defn ^boolean ends-with? - "True if s ends with substr." - [s substr] - (gstring/endsWith s substr)) - -(defn ^boolean includes? - "True if s includes substr." - [s substr] - (gstring/contains s substr)) diff --git a/assets/viz/2/clojure/string.cljs.cache.json b/assets/viz/2/clojure/string.cljs.cache.json deleted file mode 100644 index 534c7f8..0000000 --- a/assets/viz/2/clojure/string.cljs.cache.json +++ /dev/null @@ -1 +0,0 @@ -["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$RegExp",["^ "],"~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",["~$reverse","~$replace"]],"~:name","~$clojure.string","~:imports",["^ ","~$StringBuffer","~$goog.string.StringBuffer"],"~:requires",["^ ","~$gstring","~$goog.string","^A","^A","^=","^>"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$ends-with?",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/mediocregopher/src/viz/out/clojure/string.cljs","~:line",281,"~:column",16,"~:end-line",281,"~:end-column",26,"~:tag","~$boolean","~:arglists",["~#list",["~$quote",["^P",[["~$s","~$substr"]]]]],"~:doc","True if s ends with substr."],"^:","~$clojure.string/ends-with?","^H","out/clojure/string.cljs","^L",26,"~:method-params",["^P",[["~$s","^R"]]],"~:protocol-impl",null,"~:arglists-meta",["^P",[null,null]],"^J",1,"~:variadic?",false,"^I",281,"~:ret-tag","^N","^K",281,"~:max-fixed-arity",2,"^M","^N","~:fn-var",true,"^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s ends with substr."],"~$seq-reverse",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",14,"^J",8,"^K",14,"^L",19,"~:private",true,"^O",["^P",["^Q",["^P",[["~$coll"]]]]]],"^11",true,"^:","~$clojure.string/seq-reverse","^H","out/clojure/string.cljs","^L",19,"^U",["^P",[["^12"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",14,"^Y","~$any","^K",14,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["^12"]]]]]],"~$replace-with",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",36,"^J",8,"^K",36,"^L",20,"^11",true,"^O",["^P",["^Q",["^P",[["~$f"]]]]]],"^11",true,"^:","~$clojure.string/replace-with","^H","out/clojure/string.cljs","^L",20,"^U",["^P",[["~$f"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",36,"^Y","~$function","^K",36,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$f"]]]]]],"~$capitalize",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",129,"^J",7,"^K",129,"^L",17,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts first character of the string to upper-case, all other\n characters to lower-case."],"^:","~$clojure.string/capitalize","^H","out/clojure/string.cljs","^L",17,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",129,"^Y","^14","^K",129,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts first character of the string to upper-case, all other\n characters to lower-case."],"^8",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",21,"^J",7,"^K",21,"^L",14,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Returns s with its characters reversed."],"^:","~$clojure.string/reverse","^H","out/clojure/string.cljs","^L",14,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",21,"^Y","^14","^K",21,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Returns s with its characters reversed."],"~$join",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",100,"^J",7,"^K",100,"^L",11,"^O",["^P",["^Q",["^P",[["^12"],["~$separator","^12"]]]]],"^S","Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator.","~:top-fn",["^ ","^X",false,"^Z",2,"^U",["^P",[["^12"],["^1<","^12"]]],"^O",["^P",[["^12"],["^1<","^12"]]],"^W",["^P",[null,null]]]],"^:","~$clojure.string/join","^H","out/clojure/string.cljs","^L",11,"^1=",["^ ","^X",false,"^Z",2,"^U",["^P",[["^12"],["^1<","^12"]]],"^O",["^P",[["^12"],["^1<","^12"]]],"^W",["^P",[null,null]]],"^U",["^P",[["^12"],["^1<","^12"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",100,"^K",100,"^Z",2,"^[",true,"^O",["^P",[["^12"],["^1<","^12"]]],"^S","Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator."],"~$replace-first",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",76,"^J",7,"^K",76,"^L",20,"^O",["^P",["^Q",["^P",[["~$s","~$match","~$replacement"]]]]],"^S","Replaces the first instance of match with replacement in s.\n\n match/replacement can be:\n\n string / string\n pattern / (string or function of match).\n\n See also replace.\n\n The replacement is literal (i.e. none of its characters are treated\n specially) for all cases above except pattern / string.\n\n For pattern / string, $1, $2, etc. in the replacement string are\n substituted with the string that matched the corresponding\n parenthesized group in the pattern.\n\n Example:\n (clojure.string/replace-first \"swap first two words\"\n #\"(\\w+)(\\s+)(\\w+)\" \"$3$2$1\")\n -> \"first swap two words\""],"^:","~$clojure.string/replace-first","^H","out/clojure/string.cljs","^L",20,"^U",["^P",[["~$s","^1@","^1A"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",76,"^Y","^14","^K",76,"^Z",3,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1@","^1A"]]]]],"^S","Replaces the first instance of match with replacement in s.\n\n match/replacement can be:\n\n string / string\n pattern / (string or function of match).\n\n See also replace.\n\n The replacement is literal (i.e. none of its characters are treated\n specially) for all cases above except pattern / string.\n\n For pattern / string, $1, $2, etc. in the replacement string are\n substituted with the string that matched the corresponding\n parenthesized group in the pattern.\n\n Example:\n (clojure.string/replace-first \"swap first two words\"\n #\"(\\w+)(\\s+)(\\w+)\" \"$3$2$1\")\n -> \"first swap two words\""],"~$starts-with?",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",276,"^J",16,"^K",276,"^L",28,"^M","^N","^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s starts with substr."],"^:","~$clojure.string/starts-with?","^H","out/clojure/string.cljs","^L",28,"^U",["^P",[["~$s","^R"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",276,"^Y","^N","^K",276,"^Z",2,"^M","^N","^[",true,"^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s starts with substr."],"~$escape",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",229,"^J",7,"^K",229,"^L",13,"^O",["^P",["^Q",["^P",[["~$s","~$cmap"]]]]],"^S","Return a new string, using cmap to escape each character ch\n from s as follows:\n\n If (cmap ch) is nil, append ch to the new string.\n If (cmap ch) is non-nil, append (str (cmap ch)) instead."],"^:","~$clojure.string/escape","^H","out/clojure/string.cljs","^L",13,"^U",["^P",[["~$s","^1F"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",229,"^Y","^14","^K",229,"^Z",2,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1F"]]]]],"^S","Return a new string, using cmap to escape each character ch\n from s as follows:\n\n If (cmap ch) is nil, append ch to the new string.\n If (cmap ch) is non-nil, append (str (cmap ch)) instead."],"~$replace-all",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",27,"^J",8,"^K",27,"^L",19,"^11",true,"^O",["^P",["^Q",["^P",[["~$s","~$re","^1A"]]]]]],"^11",true,"^:","~$clojure.string/replace-all","^H","out/clojure/string.cljs","^L",19,"^U",["^P",[["~$s","^1I","^1A"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",27,"^Y","^14","^K",27,"^Z",3,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1I","^1A"]]]]]],"~$discard-trailing-if-needed",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",151,"^J",8,"^K",151,"^L",34,"^11",true,"^O",["^P",["^Q",["^P",[["~$limit","~$v"]]]]]],"^11",true,"^:","~$clojure.string/discard-trailing-if-needed","^H","out/clojure/string.cljs","^L",34,"^U",["^P",[["^1L","~$v"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",151,"^Y",["^7",[null,"^14"]],"^K",151,"^Z",2,"^[",true,"^O",["^P",["^Q",["^P",[["^1L","~$v"]]]]]],"~$last-index-of",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",262,"^J",7,"^K",262,"^L",20,"^O",["^P",["^Q",["^P",[["~$s","~$value"],["~$s","^1O","~$from-index"]]]]],"^S","Return last index of value (string or char) in s, optionally\n searching backward from from-index or nil if not found.","^1=",["^ ","^X",false,"^Z",3,"^U",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^O",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^W",["^P",[null,null]]]],"^:","~$clojure.string/last-index-of","^H","out/clojure/string.cljs","^L",20,"^1=",["^ ","^X",false,"^Z",3,"^U",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^O",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^W",["^P",[null,null]]],"^U",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",262,"^K",262,"^Z",3,"^[",true,"^O",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^S","Return last index of value (string or char) in s, optionally\n searching backward from from-index or nil if not found."],"~$pop-last-while-empty",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",144,"^J",8,"^K",144,"^L",28,"^11",true,"^O",["^P",["^Q",["^P",[["~$v"]]]]]],"^11",true,"^:","~$clojure.string/pop-last-while-empty","^H","out/clojure/string.cljs","^L",28,"^U",["^P",[["~$v"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",144,"^K",144,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$v"]]]]]],"~$includes?",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",286,"^J",16,"^K",286,"^L",25,"^M","^N","^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s includes substr."],"^:","~$clojure.string/includes?","^H","out/clojure/string.cljs","^L",25,"^U",["^P",[["~$s","^R"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",286,"^Y","^N","^K",286,"^Z",2,"^M","^N","^[",true,"^O",["^P",["^Q",["^P",[["~$s","^R"]]]]],"^S","True if s includes substr."],"^9",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",44,"^J",7,"^K",44,"^L",14,"^O",["^P",["^Q",["^P",[["~$s","^1@","^1A"]]]]],"^S","Replaces all instance of match with replacement in s.\n\n match/replacement can be:\n\n string / string\n pattern / (string or function of match).\n\n See also replace-first.\n\n The replacement is literal (i.e. none of its characters are treated\n specially) for all cases above except pattern / string.\n\n For pattern / string, $1, $2, etc. in the replacement string are\n substituted with the string that matched the corresponding\n parenthesized group in the pattern.\n\n Example:\n (clojure.string/replace \"Almost Pig Latin\" #\"\\b(\\w)(\\w+)\\b\" \"$2$1ay\")\n -> \"lmostAay igPay atinLay\""],"^:","~$clojure.string/replace","^H","out/clojure/string.cljs","^L",14,"^U",["^P",[["~$s","^1@","^1A"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",44,"^Y","^14","^K",44,"^Z",3,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1@","^1A"]]]]],"^S","Replaces all instance of match with replacement in s.\n\n match/replacement can be:\n\n string / string\n pattern / (string or function of match).\n\n See also replace-first.\n\n The replacement is literal (i.e. none of its characters are treated\n specially) for all cases above except pattern / string.\n\n For pattern / string, $1, $2, etc. in the replacement string are\n substituted with the string that matched the corresponding\n parenthesized group in the pattern.\n\n Example:\n (clojure.string/replace \"Almost Pig Latin\" #\"\\b(\\w)(\\w+)\\b\" \"$2$1ay\")\n -> \"lmostAay igPay atinLay\""],"~$split-lines",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",191,"^J",7,"^K",191,"^L",18,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Splits s on \\n or \\r\\n."],"^:","~$clojure.string/split-lines","^H","out/clojure/string.cljs","^L",18,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",191,"^Y","^14","^K",191,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Splits s on \\n or \\r\\n."],"~$lower-case",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",124,"^J",7,"^K",124,"^L",17,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts string to all lower-case."],"^:","~$clojure.string/lower-case","^H","out/clojure/string.cljs","^L",17,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",124,"^Y","^14","^K",124,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts string to all lower-case."],"~$trim-newline",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",211,"^J",7,"^K",211,"^L",19,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes all trailing newline \\n or return \\r characters from\n string. Similar to Perl's chomp."],"^:","~$clojure.string/trim-newline","^H","out/clojure/string.cljs","^L",19,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",211,"^Y",["^7",["^14","~$string"]],"^K",211,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes all trailing newline \\n or return \\r characters from\n string. Similar to Perl's chomp."],"~$upper-case",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",119,"^J",7,"^K",119,"^L",17,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts string to all upper-case."],"^:","~$clojure.string/upper-case","^H","out/clojure/string.cljs","^L",17,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",119,"^Y","^14","^K",119,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Converts string to all upper-case."],"~$split",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",167,"^J",7,"^K",167,"^L",12,"^O",["^P",["^Q",["^P",[["~$s","^1I"],["~$s","^1I","^1L"]]]]],"^S","Splits string on a regular expression. Optional argument limit is\n the maximum number of splits. Not lazy. Returns vector of the splits.","^1=",["^ ","^X",false,"^Z",3,"^U",["^P",[["~$s","^1I"],["~$s","^1I","^1L"]]],"^O",["^P",[["~$s","^1I"],["~$s","^1I","^1L"]]],"^W",["^P",[null,null]]]],"^:","~$clojure.string/split","^H","out/clojure/string.cljs","^L",12,"^1=",["^ ","^X",false,"^Z",3,"^U",["^P",[["~$s","^1I"],["~$s","^1I","^1L"]]],"^O",["^P",[["~$s","^1I"],["~$s","^1I","^1L"]]],"^W",["^P",[null,null]]],"^U",["^P",[["~$s","^1I"],["~$s","^1I","^1L"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",167,"^K",167,"^Z",3,"^[",true,"^O",["^P",[["~$s","^1I"],["~$s","^1I","^1L"]]],"^S","Splits string on a regular expression. Optional argument limit is\n the maximum number of splits. Not lazy. Returns vector of the splits."],"~$trimr",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",206,"^J",7,"^K",206,"^L",12,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from the right side of string."],"^:","~$clojure.string/trimr","^H","out/clojure/string.cljs","^L",12,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",206,"^Y","^14","^K",206,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from the right side of string."],"~$index-of",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",248,"^J",7,"^K",248,"^L",15,"^O",["^P",["^Q",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]]]],"^S","Return index of value (string or char) in s, optionally searching\n forward from from-index or nil if not found.","^1=",["^ ","^X",false,"^Z",3,"^U",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^O",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^W",["^P",[null,null]]]],"^:","~$clojure.string/index-of","^H","out/clojure/string.cljs","^L",15,"^1=",["^ ","^X",false,"^Z",3,"^U",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^O",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^W",["^P",[null,null]]],"^U",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",248,"^K",248,"^Z",3,"^[",true,"^O",["^P",[["~$s","^1O"],["~$s","^1O","^1P"]]],"^S","Return index of value (string or char) in s, optionally searching\n forward from from-index or nil if not found."],"~$trim",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",196,"^J",7,"^K",196,"^L",11,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from both ends of string."],"^:","~$clojure.string/trim","^H","out/clojure/string.cljs","^L",11,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",196,"^Y","^14","^K",196,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from both ends of string."],"~$triml",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",201,"^J",7,"^K",201,"^L",12,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from the left side of string."],"^:","~$clojure.string/triml","^H","out/clojure/string.cljs","^L",12,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",201,"^Y","^14","^K",201,"^Z",1,"^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","Removes whitespace from the left side of string."],"~$blank?",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",224,"^J",16,"^K",224,"^L",22,"^M","^N","^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","True is s is nil, empty, or contains only whitespace."],"^:","~$clojure.string/blank?","^H","out/clojure/string.cljs","^L",22,"^U",["^P",[["~$s"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",224,"^Y","^N","^K",224,"^Z",1,"^M","^N","^[",true,"^O",["^P",["^Q",["^P",[["~$s"]]]]],"^S","True is s is nil, empty, or contains only whitespace."],"~$re-surrogate-pair",["^ ","^:","~$clojure.string/re-surrogate-pair","^H","out/clojure/string.cljs","^I",18,"^J",1,"^K",18,"^L",33,"^11",true,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",18,"^J",16,"^K",18,"^L",33,"^11",true],"^M","~$js/RegExp"],"~$split-with-empty-regex",["^ ","^F",null,"^G",["^ ","^H","/home/mediocregopher/src/viz/out/clojure/string.cljs","^I",157,"^J",8,"^K",157,"^L",30,"^11",true,"^O",["^P",["^Q",["^P",[["~$s","^1L"]]]]]],"^11",true,"^:","~$clojure.string/split-with-empty-regex","^H","out/clojure/string.cljs","^L",30,"^U",["^P",[["~$s","^1L"]]],"^V",null,"^W",["^P",[null,null]],"^J",1,"^X",false,"^I",157,"^Y",["^7",["^14","~$cljs.core/PersistentVector"]],"^K",157,"^Z",2,"^[",true,"^O",["^P",["^Q",["^P",[["~$s","^1L"]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^7",["~:else"]],"~:order",["^2J"]],"^S",null] \ No newline at end of file diff --git a/assets/viz/2/clojure/string.js b/assets/viz/2/clojure/string.js deleted file mode 100644 index acd3456..0000000 --- a/assets/viz/2/clojure/string.js +++ /dev/null @@ -1,477 +0,0 @@ -// Compiled by ClojureScript 1.10.439 {} -goog.provide('clojure.string'); -goog.require('cljs.core'); -goog.require('goog.string'); -goog.require('goog.string.StringBuffer'); -clojure.string.seq_reverse = (function clojure$string$seq_reverse(coll){ -return cljs.core.reduce.call(null,cljs.core.conj,cljs.core.List.EMPTY,coll); -}); -clojure.string.re_surrogate_pair = (new RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g")); -/** - * Returns s with its characters reversed. - */ -clojure.string.reverse = (function clojure$string$reverse(s){ -return s.replace(clojure.string.re_surrogate_pair,"$2$1").split("").reverse().join(""); -}); -clojure.string.replace_all = (function clojure$string$replace_all(s,re,replacement){ -var r = (new RegExp(re.source,(function (){var G__1125 = "g"; -var G__1125__$1 = (cljs.core.truth_(re.ignoreCase)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__1125),"i"].join(''):G__1125); -var G__1125__$2 = (cljs.core.truth_(re.multiline)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__1125__$1),"m"].join(''):G__1125__$1); -if(cljs.core.truth_(re.unicode)){ -return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__1125__$2),"u"].join(''); -} else { -return G__1125__$2; -} -})())); -return s.replace(r,replacement); -}); -clojure.string.replace_with = (function clojure$string$replace_with(f){ -return (function() { -var G__1126__delegate = function (args){ -var matches = cljs.core.drop_last.call(null,(2),args); -if(cljs.core._EQ_.call(null,cljs.core.count.call(null,matches),(1))){ -return f.call(null,cljs.core.first.call(null,matches)); -} else { -return f.call(null,cljs.core.vec.call(null,matches)); -} -}; -var G__1126 = function (var_args){ -var args = null; -if (arguments.length > 0) { -var G__1127__i = 0, G__1127__a = new Array(arguments.length - 0); -while (G__1127__i < G__1127__a.length) {G__1127__a[G__1127__i] = arguments[G__1127__i + 0]; ++G__1127__i;} - args = new cljs.core.IndexedSeq(G__1127__a,0,null); -} -return G__1126__delegate.call(this,args);}; -G__1126.cljs$lang$maxFixedArity = 0; -G__1126.cljs$lang$applyTo = (function (arglist__1128){ -var args = cljs.core.seq(arglist__1128); -return G__1126__delegate(args); -}); -G__1126.cljs$core$IFn$_invoke$arity$variadic = G__1126__delegate; -return G__1126; -})() -; -}); -/** - * Replaces all instance of match with replacement in s. - * - * match/replacement can be: - * - * string / string - * pattern / (string or function of match). - * - * See also replace-first. - * - * The replacement is literal (i.e. none of its characters are treated - * specially) for all cases above except pattern / string. - * - * For pattern / string, $1, $2, etc. in the replacement string are - * substituted with the string that matched the corresponding - * parenthesized group in the pattern. - * - * Example: - * (clojure.string/replace "Almost Pig Latin" #"\b(\w)(\w+)\b" "$2$1ay") - * -> "lmostAay igPay atinLay" - */ -clojure.string.replace = (function clojure$string$replace(s,match,replacement){ -if(typeof match === 'string'){ -return s.replace((new RegExp(goog.string.regExpEscape(match),"g")),replacement); -} else { -if((match instanceof RegExp)){ -if(typeof replacement === 'string'){ -return clojure.string.replace_all.call(null,s,match,replacement); -} else { -return clojure.string.replace_all.call(null,s,match,clojure.string.replace_with.call(null,replacement)); -} -} else { -throw ["Invalid match arg: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(match)].join(''); - -} -} -}); -/** - * Replaces the first instance of match with replacement in s. - * - * match/replacement can be: - * - * string / string - * pattern / (string or function of match). - * - * See also replace. - * - * The replacement is literal (i.e. none of its characters are treated - * specially) for all cases above except pattern / string. - * - * For pattern / string, $1, $2, etc. in the replacement string are - * substituted with the string that matched the corresponding - * parenthesized group in the pattern. - * - * Example: - * (clojure.string/replace-first "swap first two words" - * #"(\w+)(\s+)(\w+)" "$3$2$1") - * -> "first swap two words" - */ -clojure.string.replace_first = (function clojure$string$replace_first(s,match,replacement){ -return s.replace(match,replacement); -}); -/** - * Returns a string of all elements in coll, as returned by (seq coll), - * separated by an optional separator. - */ -clojure.string.join = (function clojure$string$join(var_args){ -var G__1130 = arguments.length; -switch (G__1130) { -case 1: -return clojure.string.join.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); - -break; -case 2: -return clojure.string.join.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -clojure.string.join.cljs$core$IFn$_invoke$arity$1 = (function (coll){ -var sb = (new goog.string.StringBuffer()); -var coll__$1 = cljs.core.seq.call(null,coll); -while(true){ -if((!((coll__$1 == null)))){ -var G__1132 = sb.append(cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,coll__$1))); -var G__1133 = cljs.core.next.call(null,coll__$1); -sb = G__1132; -coll__$1 = G__1133; -continue; -} else { -return sb.toString(); -} -break; -} -}); - -clojure.string.join.cljs$core$IFn$_invoke$arity$2 = (function (separator,coll){ -var sb = (new goog.string.StringBuffer()); -var coll__$1 = cljs.core.seq.call(null,coll); -while(true){ -if((!((coll__$1 == null)))){ -sb.append(cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,coll__$1))); - -var coll__$2 = cljs.core.next.call(null,coll__$1); -if((coll__$2 == null)){ -} else { -sb.append(separator); -} - -var G__1134 = sb; -var G__1135 = coll__$2; -sb = G__1134; -coll__$1 = G__1135; -continue; -} else { -return sb.toString(); -} -break; -} -}); - -clojure.string.join.cljs$lang$maxFixedArity = 2; - -/** - * Converts string to all upper-case. - */ -clojure.string.upper_case = (function clojure$string$upper_case(s){ -return s.toUpperCase(); -}); -/** - * Converts string to all lower-case. - */ -clojure.string.lower_case = (function clojure$string$lower_case(s){ -return s.toLowerCase(); -}); -/** - * Converts first character of the string to upper-case, all other - * characters to lower-case. - */ -clojure.string.capitalize = (function clojure$string$capitalize(s){ -return goog.string.capitalize(s); -}); -clojure.string.pop_last_while_empty = (function clojure$string$pop_last_while_empty(v){ -var v__$1 = v; -while(true){ -if(("" === cljs.core.peek.call(null,v__$1))){ -var G__1136 = cljs.core.pop.call(null,v__$1); -v__$1 = G__1136; -continue; -} else { -return v__$1; -} -break; -} -}); -clojure.string.discard_trailing_if_needed = (function clojure$string$discard_trailing_if_needed(limit,v){ -if(((((0) === limit)) && (((1) < cljs.core.count.call(null,v))))){ -return clojure.string.pop_last_while_empty.call(null,v); -} else { -return v; -} -}); -clojure.string.split_with_empty_regex = (function clojure$string$split_with_empty_regex(s,limit){ -if((((limit <= (0))) || ((limit >= ((2) + cljs.core.count.call(null,s)))))){ -return cljs.core.conj.call(null,cljs.core.vec.call(null,cljs.core.cons.call(null,"",cljs.core.map.call(null,cljs.core.str,cljs.core.seq.call(null,s)))),""); -} else { -var pred__1137 = cljs.core._EQ__EQ_; -var expr__1138 = limit; -if(cljs.core.truth_(pred__1137.call(null,(1),expr__1138))){ -return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[s],null)); -} else { -if(cljs.core.truth_(pred__1137.call(null,(2),expr__1138))){ -return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,["",s],null)); -} else { -var c = (limit - (2)); -return cljs.core.conj.call(null,cljs.core.vec.call(null,cljs.core.cons.call(null,"",cljs.core.subvec.call(null,cljs.core.vec.call(null,cljs.core.map.call(null,cljs.core.str,cljs.core.seq.call(null,s))),(0),c))),cljs.core.subs.call(null,s,c)); -} -} -} -}); -/** - * Splits string on a regular expression. Optional argument limit is - * the maximum number of splits. Not lazy. Returns vector of the splits. - */ -clojure.string.split = (function clojure$string$split(var_args){ -var G__1141 = arguments.length; -switch (G__1141) { -case 2: -return clojure.string.split.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return clojure.string.split.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -clojure.string.split.cljs$core$IFn$_invoke$arity$2 = (function (s,re){ -return clojure.string.split.call(null,s,re,(0)); -}); - -clojure.string.split.cljs$core$IFn$_invoke$arity$3 = (function (s,re,limit){ -return clojure.string.discard_trailing_if_needed.call(null,limit,((("/(?:)/" === cljs.core.str.cljs$core$IFn$_invoke$arity$1(re)))?clojure.string.split_with_empty_regex.call(null,s,limit):(((limit < (1)))?cljs.core.vec.call(null,cljs.core.str.cljs$core$IFn$_invoke$arity$1(s).split(re)):(function (){var s__$1 = s; -var limit__$1 = limit; -var parts = cljs.core.PersistentVector.EMPTY; -while(true){ -if(((1) === limit__$1)){ -return cljs.core.conj.call(null,parts,s__$1); -} else { -var m = cljs.core.re_find.call(null,re,s__$1); -if((!((m == null)))){ -var index = s__$1.indexOf(m); -var G__1143 = s__$1.substring((index + cljs.core.count.call(null,m))); -var G__1144 = (limit__$1 - (1)); -var G__1145 = cljs.core.conj.call(null,parts,s__$1.substring((0),index)); -s__$1 = G__1143; -limit__$1 = G__1144; -parts = G__1145; -continue; -} else { -return cljs.core.conj.call(null,parts,s__$1); -} -} -break; -} -})()))); -}); - -clojure.string.split.cljs$lang$maxFixedArity = 3; - -/** - * Splits s on \n or \r\n. - */ -clojure.string.split_lines = (function clojure$string$split_lines(s){ -return clojure.string.split.call(null,s,/\n|\r\n/); -}); -/** - * Removes whitespace from both ends of string. - */ -clojure.string.trim = (function clojure$string$trim(s){ -return goog.string.trim(s); -}); -/** - * Removes whitespace from the left side of string. - */ -clojure.string.triml = (function clojure$string$triml(s){ -return goog.string.trimLeft(s); -}); -/** - * Removes whitespace from the right side of string. - */ -clojure.string.trimr = (function clojure$string$trimr(s){ -return goog.string.trimRight(s); -}); -/** - * Removes all trailing newline \n or return \r characters from - * string. Similar to Perl's chomp. - */ -clojure.string.trim_newline = (function clojure$string$trim_newline(s){ -var index = s.length; -while(true){ -if((index === (0))){ -return ""; -} else { -var ch = cljs.core.get.call(null,s,(index - (1))); -if(((("\n" === ch)) || (("\r" === ch)))){ -var G__1146 = (index - (1)); -index = G__1146; -continue; -} else { -return s.substring((0),index); -} -} -break; -} -}); -/** - * True is s is nil, empty, or contains only whitespace. - */ -clojure.string.blank_QMARK_ = (function clojure$string$blank_QMARK_(s){ -return goog.string.isEmptySafe(s); -}); -/** - * Return a new string, using cmap to escape each character ch - * from s as follows: - * - * If (cmap ch) is nil, append ch to the new string. - * If (cmap ch) is non-nil, append (str (cmap ch)) instead. - */ -clojure.string.escape = (function clojure$string$escape(s,cmap){ -var buffer = (new goog.string.StringBuffer()); -var length = s.length; -var index = (0); -while(true){ -if((length === index)){ -return buffer.toString(); -} else { -var ch = s.charAt(index); -var replacement = cljs.core.get.call(null,cmap,ch); -if((!((replacement == null)))){ -buffer.append(cljs.core.str.cljs$core$IFn$_invoke$arity$1(replacement)); -} else { -buffer.append(ch); -} - -var G__1147 = (index + (1)); -index = G__1147; -continue; -} -break; -} -}); -/** - * Return index of value (string or char) in s, optionally searching - * forward from from-index or nil if not found. - */ -clojure.string.index_of = (function clojure$string$index_of(var_args){ -var G__1149 = arguments.length; -switch (G__1149) { -case 2: -return clojure.string.index_of.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return clojure.string.index_of.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -clojure.string.index_of.cljs$core$IFn$_invoke$arity$2 = (function (s,value){ -var result = s.indexOf(value); -if((result < (0))){ -return null; -} else { -return result; -} -}); - -clojure.string.index_of.cljs$core$IFn$_invoke$arity$3 = (function (s,value,from_index){ -var result = s.indexOf(value,from_index); -if((result < (0))){ -return null; -} else { -return result; -} -}); - -clojure.string.index_of.cljs$lang$maxFixedArity = 3; - -/** - * Return last index of value (string or char) in s, optionally - * searching backward from from-index or nil if not found. - */ -clojure.string.last_index_of = (function clojure$string$last_index_of(var_args){ -var G__1152 = arguments.length; -switch (G__1152) { -case 2: -return clojure.string.last_index_of.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); - -break; -case 3: -return clojure.string.last_index_of.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); - -break; -default: -throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); - -} -}); - -clojure.string.last_index_of.cljs$core$IFn$_invoke$arity$2 = (function (s,value){ -var result = s.lastIndexOf(value); -if((result < (0))){ -return null; -} else { -return result; -} -}); - -clojure.string.last_index_of.cljs$core$IFn$_invoke$arity$3 = (function (s,value,from_index){ -var result = s.lastIndexOf(value,from_index); -if((result < (0))){ -return null; -} else { -return result; -} -}); - -clojure.string.last_index_of.cljs$lang$maxFixedArity = 3; - -/** - * True if s starts with substr. - */ -clojure.string.starts_with_QMARK_ = (function clojure$string$starts_with_QMARK_(s,substr){ -return goog.string.startsWith(s,substr); -}); -/** - * True if s ends with substr. - */ -clojure.string.ends_with_QMARK_ = (function clojure$string$ends_with_QMARK_(s,substr){ -return goog.string.endsWith(s,substr); -}); -/** - * True if s includes substr. - */ -clojure.string.includes_QMARK_ = (function clojure$string$includes_QMARK_(s,substr){ -return goog.string.contains(s,substr); -}); - -//# sourceMappingURL=string.js.map diff --git a/assets/viz/2/clojure/string.js.map b/assets/viz/2/clojure/string.js.map deleted file mode 100644 index 2270a89..0000000 --- a/assets/viz/2/clojure/string.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/clojure\/string.js","sources":["string.cljs"],"lineCount":477,"mappings":";AAQA;;;;AAKA,6BAAA,7BAAOA,kEACJ;AADH,AAEE,iDAAA,1CAACC,2BAAOC,oCAAQC;;AAElB,AAAeC,mCACb,KAAAC,OAAA,yCAAA;AAEF;;;yBAAA,zBAAMC,0DAEH;AAFH,OAGM,2CAAA,3CAAUC,UAAEH,jBACZ,OAAA,AAAA,yDAAA,mBAAA;;AAEN,6BAAA,7BAAOI,kEACJ,EAAE,GAAG;AADR,AAEE,IAAM,IAAE,KAAAH,OAAY,AAAUI,UACV,iBAAA,UAAA;IAAA,cAAA,qGAAAC,nFACE,AAAcD,eAAI,6CAAAC,SAAA;IADpB,cAAA,wGAAAA,tFAEE,AAAaD,cAAI,6CAAAC,aAAA;AAFnB,AAAA,oBAGE,AAAWD;AAAI,oDAAAC,aAAA;;AAHjBA;;;AADpB,AAKE,OAAUH,UAAEI,EAAEC;;AAElB,8BAAA,9BAAOC,oEACJ;AADH,AAEE;kCAAO;AAAP,AACE,IAAM,UAAQ,8BAAA,9BAACC,kCAAYC;AAA3B,AACE,GAAI,4DAAA,5DAACC,yBAAE,AAACC,0BAAMC;AACZ,OAACC,YAAE,AAACC,0BAAMF;;AACV,OAACC,YAAE,AAACE,wBAAIH;;;;IAJP;;;;EAAA;;mCAAA;;;IAAA;yBAAA;;;;;;;AAMT;;;;;;;;;;;;;;;;;;;;;yBAAA,zBAAMI,0DAoBH,EAAE,MAAM;AApBX,AAqBE,GACE,OAASC;AACT,OAAUhB,UAAE,KAAAF,uCAAA,hCAAY,AAACmB,yBAAqBD,aAAYX;;AAF5D,GAIE,kBAAWP,jBAAUkB;AACrB,GAAI,OAASX;AACX,OAACJ,qCAAYD,EAAEgB,MAAMX;;AACrB,OAACJ,qCAAYD,EAAEgB,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KAAA;AAAA,OAAAA,2DAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAvD,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,AAAA,6DAAA,7DAAMuD,wEAGF,EAAE;AAHN,AAIG,IAAM,SAAO,AAAc5E,cAAEwE;AAA7B,AACE,GAAI,UAAA,TAAMC;AAAV;;AAEEA;;;;AAPP,AAAA,6DAAA,7DAAMG,wEAQF,EAAE,MAAM;AARZ,AASG,IAAM,SAAO,AAAc5E,cAAEwE,MAAME;AAAnC,AACE,GAAI,UAAA,TAAMD;AAAV;;AAEEA;;;;AAZP,AAAA,uDAAA,vDAAMG;;AAAN,AAcA;;;oCAAA,pCAAeC,gFAEZ,EAAE;AAFL,AAGE,OAACC,uBAAmB9E,EAAE+E;;AAExB;;;kCAAA,lCAAeC,4EAEZ,EAAE;AAFL,AAGE,OAACC,qBAAiBjF,EAAE+E;;AAEtB;;;iCAAA,jCAAeG,0EAEZ,EAAE;AAFL,AAGE,OAACC,qBAAiBnF,EAAE+E","names":["clojure.string\/seq-reverse","cljs.core\/reduce","cljs.core\/conj","coll","clojure.string\/re-surrogate-pair","js\/RegExp","clojure.string\/reverse","s","clojure.string\/replace-all","re","G__1125","r","replacement","clojure.string\/replace-with","cljs.core\/drop-last","args","cljs.core\/=","cljs.core\/count","matches","f","cljs.core\/first","cljs.core\/vec","clojure.string\/replace","match","goog.string\/regExpEscape","clojure.string\/replace-first","G__1130","clojure.string\/join","js\/Error","goog\/string","cljs.core\/seq","sb","cljs.core\/next","separator","clojure.string\/upper-case","clojure.string\/lower-case","clojure.string\/capitalize","goog.string\/capitalize","clojure.string\/pop-last-while-empty","v","cljs.core\/peek","cljs.core\/pop","clojure.string\/discard-trailing-if-needed","limit","clojure.string\/split-with-empty-regex","cljs.core\/cons","cljs.core\/map","cljs.core\/str","pred__1137","expr__1138","cljs.core\/==","cljs.core\/PersistentVector","cljs.core\/subvec","c","cljs.core\/subs","G__1141","clojure.string\/split","parts","cljs.core\/re-find","m","index","clojure.string\/split-lines","clojure.string\/trim","goog.string\/trim","clojure.string\/triml","goog.string\/trimLeft","clojure.string\/trimr","goog.string\/trimRight","clojure.string\/trim-newline","cljs.core\/get","ch","clojure.string\/blank?","goog.string\/isEmptySafe","clojure.string\/escape","length","buffer","cmap","G__1149","clojure.string\/index-of","value","result","from-index","G__1152","clojure.string\/last-index-of","clojure.string\/starts-with?","goog.string\/startsWith","substr","clojure.string\/ends-with?","goog.string\/endsWith","clojure.string\/includes?","goog.string\/contains"]} \ No newline at end of file diff --git a/assets/viz/2/goog/array/array.js b/assets/viz/2/goog/array/array.js deleted file mode 100644 index 47e0dbb..0000000 --- a/assets/viz/2/goog/array/array.js +++ /dev/null @@ -1,1665 +0,0 @@ -// Copyright 2006 The Closure Library Authors. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS-IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -/** - * @fileoverview Utilities for manipulating arrays. - * - * @author arv@google.com (Erik Arvidsson) - */ - - -goog.provide('goog.array'); - -goog.require('goog.asserts'); - - -/** - * @define {boolean} NATIVE_ARRAY_PROTOTYPES indicates whether the code should - * rely on Array.prototype functions, if available. - * - * The Array.prototype functions can be defined by external libraries like - * Prototype and setting this flag to false forces closure to use its own - * goog.array implementation. - * - * If your javascript can be loaded by a third party site and you are wary about - * relying on the prototype functions, specify - * "--define goog.NATIVE_ARRAY_PROTOTYPES=false" to the JSCompiler. - * - * Setting goog.TRUSTED_SITE to false will automatically set - * NATIVE_ARRAY_PROTOTYPES to false. - */ -goog.define('goog.NATIVE_ARRAY_PROTOTYPES', goog.TRUSTED_SITE); - - -/** - * @define {boolean} If true, JSCompiler will use the native implementation of - * array functions where appropriate (e.g., {@code Array#filter}) and remove the - * unused pure JS implementation. - */ -goog.define('goog.array.ASSUME_NATIVE_FUNCTIONS', false); - - -/** - * Returns the last element in an array without removing it. - * Same as goog.array.last. - * @param {IArrayLike|string} array The array. - * @return {T} Last item in array. - * @template T - */ -goog.array.peek = function(array) { - return array[array.length - 1]; -}; - - -/** - * Returns the last element in an array without removing it. - * Same as goog.array.peek. - * @param {IArrayLike|string} array The array. - * @return {T} Last item in array. - * @template T - */ -goog.array.last = goog.array.peek; - -// NOTE(arv): Since most of the array functions are generic it allows you to -// pass an array-like object. Strings have a length and are considered array- -// like. However, the 'in' operator does not work on strings so we cannot just -// use the array path even if the browser supports indexing into strings. We -// therefore end up splitting the string. - - -/** - * Returns the index of the first element of an array with a specified value, or - * -1 if the element is not present in the array. - * - * See {@link http://tinyurl.com/developer-mozilla-org-array-indexof} - * - * @param {IArrayLike|string} arr The array to be searched. - * @param {T} obj The object for which we are searching. - * @param {number=} opt_fromIndex The index at which to start the search. If - * omitted the search starts at index 0. - * @return {number} The index of the first matching array element. - * @template T - */ -goog.array.indexOf = goog.NATIVE_ARRAY_PROTOTYPES && - (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.indexOf) ? - function(arr, obj, opt_fromIndex) { - goog.asserts.assert(arr.length != null); - - return Array.prototype.indexOf.call(arr, obj, opt_fromIndex); - } : - function(arr, obj, opt_fromIndex) { - var fromIndex = opt_fromIndex == null ? - 0 : - (opt_fromIndex < 0 ? Math.max(0, arr.length + opt_fromIndex) : - opt_fromIndex); - - if (goog.isString(arr)) { - // Array.prototype.indexOf uses === so only strings should be found. - if (!goog.isString(obj) || obj.length != 1) { - return -1; - } - return arr.indexOf(obj, fromIndex); - } - - for (var i = fromIndex; i < arr.length; i++) { - if (i in arr && arr[i] === obj) return i; - } - return -1; - }; - - -/** - * Returns the index of the last element of an array with a specified value, or - * -1 if the element is not present in the array. - * - * See {@link http://tinyurl.com/developer-mozilla-org-array-lastindexof} - * - * @param {!IArrayLike|string} arr The array to be searched. - * @param {T} obj The object for which we are searching. - * @param {?number=} opt_fromIndex The index at which to start the search. If - * omitted the search starts at the end of the array. - * @return {number} The index of the last matching array element. - * @template T - */ -goog.array.lastIndexOf = goog.NATIVE_ARRAY_PROTOTYPES && - (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.lastIndexOf) ? - function(arr, obj, opt_fromIndex) { - goog.asserts.assert(arr.length != null); - - // Firefox treats undefined and null as 0 in the fromIndex argument which - // leads it to always return -1 - var fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex; - return Array.prototype.lastIndexOf.call(arr, obj, fromIndex); - } : - function(arr, obj, opt_fromIndex) { - var fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex; - - if (fromIndex < 0) { - fromIndex = Math.max(0, arr.length + fromIndex); - } - - if (goog.isString(arr)) { - // Array.prototype.lastIndexOf uses === so only strings should be found. - if (!goog.isString(obj) || obj.length != 1) { - return -1; - } - return arr.lastIndexOf(obj, fromIndex); - } - - for (var i = fromIndex; i >= 0; i--) { - if (i in arr && arr[i] === obj) return i; - } - return -1; - }; - - -/** - * Calls a function for each element in an array. Skips holes in the array. - * See {@link http://tinyurl.com/developer-mozilla-org-array-foreach} - * - * @param {IArrayLike|string} arr Array or array like object over - * which to iterate. - * @param {?function(this: S, T, number, ?): ?} f The function to call for every - * element. This function takes 3 arguments (the element, the index and the - * array). The return value is ignored. - * @param {S=} opt_obj The object to be used as the value of 'this' within f. - * @template T,S - */ -goog.array.forEach = goog.NATIVE_ARRAY_PROTOTYPES && - (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.forEach) ? - function(arr, f, opt_obj) { - goog.asserts.assert(arr.length != null); - - Array.prototype.forEach.call(arr, f, opt_obj); - } : - function(arr, f, opt_obj) { - var l = arr.length; // must be fixed during loop... see docs - var arr2 = goog.isString(arr) ? arr.split('') : arr; - for (var i = 0; i < l; i++) { - if (i in arr2) { - f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr); - } - } - }; - - -/** - * Calls a function for each element in an array, starting from the last - * element rather than the first. - * - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {?function(this: S, T, number, ?): ?} f The function to call for every - * element. This function - * takes 3 arguments (the element, the index and the array). The return - * value is ignored. - * @param {S=} opt_obj The object to be used as the value of 'this' - * within f. - * @template T,S - */ -goog.array.forEachRight = function(arr, f, opt_obj) { - var l = arr.length; // must be fixed during loop... see docs - var arr2 = goog.isString(arr) ? arr.split('') : arr; - for (var i = l - 1; i >= 0; --i) { - if (i in arr2) { - f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr); - } - } -}; - - -/** - * Calls a function for each element in an array, and if the function returns - * true adds the element to a new array. - * - * See {@link http://tinyurl.com/developer-mozilla-org-array-filter} - * - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, T, number, ?):boolean} f The function to call for - * every element. This function - * takes 3 arguments (the element, the index and the array) and must - * return a Boolean. If the return value is true the element is added to the - * result array. If it is false the element is not included. - * @param {S=} opt_obj The object to be used as the value of 'this' - * within f. - * @return {!Array} a new array in which only elements that passed the test - * are present. - * @template T,S - */ -goog.array.filter = goog.NATIVE_ARRAY_PROTOTYPES && - (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.filter) ? - function(arr, f, opt_obj) { - goog.asserts.assert(arr.length != null); - - return Array.prototype.filter.call(arr, f, opt_obj); - } : - function(arr, f, opt_obj) { - var l = arr.length; // must be fixed during loop... see docs - var res = []; - var resLength = 0; - var arr2 = goog.isString(arr) ? arr.split('') : arr; - for (var i = 0; i < l; i++) { - if (i in arr2) { - var val = arr2[i]; // in case f mutates arr2 - if (f.call(/** @type {?} */ (opt_obj), val, i, arr)) { - res[resLength++] = val; - } - } - } - return res; - }; - - -/** - * Calls a function for each element in an array and inserts the result into a - * new array. - * - * See {@link http://tinyurl.com/developer-mozilla-org-array-map} - * - * @param {IArrayLike|string} arr Array or array like object - * over which to iterate. - * @param {function(this:THIS, VALUE, number, ?): RESULT} f The function to call - * for every element. This function takes 3 arguments (the element, - * the index and the array) and should return something. The result will be - * inserted into a new array. - * @param {THIS=} opt_obj The object to be used as the value of 'this' within f. - * @return {!Array} a new array with the results from f. - * @template THIS, VALUE, RESULT - */ -goog.array.map = goog.NATIVE_ARRAY_PROTOTYPES && - (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.map) ? - function(arr, f, opt_obj) { - goog.asserts.assert(arr.length != null); - - return Array.prototype.map.call(arr, f, opt_obj); - } : - function(arr, f, opt_obj) { - var l = arr.length; // must be fixed during loop... see docs - var res = new Array(l); - var arr2 = goog.isString(arr) ? arr.split('') : arr; - for (var i = 0; i < l; i++) { - if (i in arr2) { - res[i] = f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr); - } - } - return res; - }; - - -/** - * Passes every element of an array into a function and accumulates the result. - * - * See {@link http://tinyurl.com/developer-mozilla-org-array-reduce} - * - * For example: - * var a = [1, 2, 3, 4]; - * goog.array.reduce(a, function(r, v, i, arr) {return r + v;}, 0); - * returns 10 - * - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {function(this:S, R, T, number, ?) : R} f The function to call for - * every element. This function - * takes 4 arguments (the function's previous result or the initial value, - * the value of the current array element, the current array index, and the - * array itself) - * function(previousValue, currentValue, index, array). - * @param {?} val The initial value to pass into the function on the first call. - * @param {S=} opt_obj The object to be used as the value of 'this' - * within f. - * @return {R} Result of evaluating f repeatedly across the values of the array. - * @template T,S,R - */ -goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && - (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ? - function(arr, f, val, opt_obj) { - goog.asserts.assert(arr.length != null); - if (opt_obj) { - f = goog.bind(f, opt_obj); - } - return Array.prototype.reduce.call(arr, f, val); - } : - function(arr, f, val, opt_obj) { - var rval = val; - goog.array.forEach(arr, function(val, index) { - rval = f.call(/** @type {?} */ (opt_obj), rval, val, index, arr); - }); - return rval; - }; - - -/** - * Passes every element of an array into a function and accumulates the result, - * starting from the last element and working towards the first. - * - * See {@link http://tinyurl.com/developer-mozilla-org-array-reduceright} - * - * For example: - * var a = ['a', 'b', 'c']; - * goog.array.reduceRight(a, function(r, v, i, arr) {return r + v;}, ''); - * returns 'cba' - * - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, R, T, number, ?) : R} f The function to call for - * every element. This function - * takes 4 arguments (the function's previous result or the initial value, - * the value of the current array element, the current array index, and the - * array itself) - * function(previousValue, currentValue, index, array). - * @param {?} val The initial value to pass into the function on the first call. - * @param {S=} opt_obj The object to be used as the value of 'this' - * within f. - * @return {R} Object returned as a result of evaluating f repeatedly across the - * values of the array. - * @template T,S,R - */ -goog.array.reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && - (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ? - function(arr, f, val, opt_obj) { - goog.asserts.assert(arr.length != null); - goog.asserts.assert(f != null); - if (opt_obj) { - f = goog.bind(f, opt_obj); - } - return Array.prototype.reduceRight.call(arr, f, val); - } : - function(arr, f, val, opt_obj) { - var rval = val; - goog.array.forEachRight(arr, function(val, index) { - rval = f.call(/** @type {?} */ (opt_obj), rval, val, index, arr); - }); - return rval; - }; - - -/** - * Calls f for each element of an array. If any call returns true, some() - * returns true (without checking the remaining elements). If all calls - * return false, some() returns false. - * - * See {@link http://tinyurl.com/developer-mozilla-org-array-some} - * - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, T, number, ?) : boolean} f The function to call for - * for every element. This function takes 3 arguments (the element, the - * index and the array) and should return a boolean. - * @param {S=} opt_obj The object to be used as the value of 'this' - * within f. - * @return {boolean} true if any element passes the test. - * @template T,S - */ -goog.array.some = goog.NATIVE_ARRAY_PROTOTYPES && - (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.some) ? - function(arr, f, opt_obj) { - goog.asserts.assert(arr.length != null); - - return Array.prototype.some.call(arr, f, opt_obj); - } : - function(arr, f, opt_obj) { - var l = arr.length; // must be fixed during loop... see docs - var arr2 = goog.isString(arr) ? arr.split('') : arr; - for (var i = 0; i < l; i++) { - if (i in arr2 && f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) { - return true; - } - } - return false; - }; - - -/** - * Call f for each element of an array. If all calls return true, every() - * returns true. If any call returns false, every() returns false and - * does not continue to check the remaining elements. - * - * See {@link http://tinyurl.com/developer-mozilla-org-array-every} - * - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, T, number, ?) : boolean} f The function to call for - * for every element. This function takes 3 arguments (the element, the - * index and the array) and should return a boolean. - * @param {S=} opt_obj The object to be used as the value of 'this' - * within f. - * @return {boolean} false if any element fails the test. - * @template T,S - */ -goog.array.every = goog.NATIVE_ARRAY_PROTOTYPES && - (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.every) ? - function(arr, f, opt_obj) { - goog.asserts.assert(arr.length != null); - - return Array.prototype.every.call(arr, f, opt_obj); - } : - function(arr, f, opt_obj) { - var l = arr.length; // must be fixed during loop... see docs - var arr2 = goog.isString(arr) ? arr.split('') : arr; - for (var i = 0; i < l; i++) { - if (i in arr2 && !f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) { - return false; - } - } - return true; - }; - - -/** - * Counts the array elements that fulfill the predicate, i.e. for which the - * callback function returns true. Skips holes in the array. - * - * @param {!IArrayLike|string} arr Array or array like object - * over which to iterate. - * @param {function(this: S, T, number, ?): boolean} f The function to call for - * every element. Takes 3 arguments (the element, the index and the array). - * @param {S=} opt_obj The object to be used as the value of 'this' within f. - * @return {number} The number of the matching elements. - * @template T,S - */ -goog.array.count = function(arr, f, opt_obj) { - var count = 0; - goog.array.forEach(arr, function(element, index, arr) { - if (f.call(/** @type {?} */ (opt_obj), element, index, arr)) { - ++count; - } - }, opt_obj); - return count; -}; - - -/** - * Search an array for the first element that satisfies a given condition and - * return that element. - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, T, number, ?) : boolean} f The function to call - * for every element. This function takes 3 arguments (the element, the - * index and the array) and should return a boolean. - * @param {S=} opt_obj An optional "this" context for the function. - * @return {T|null} The first array element that passes the test, or null if no - * element is found. - * @template T,S - */ -goog.array.find = function(arr, f, opt_obj) { - var i = goog.array.findIndex(arr, f, opt_obj); - return i < 0 ? null : goog.isString(arr) ? arr.charAt(i) : arr[i]; -}; - - -/** - * Search an array for the first element that satisfies a given condition and - * return its index. - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, T, number, ?) : boolean} f The function to call for - * every element. This function - * takes 3 arguments (the element, the index and the array) and should - * return a boolean. - * @param {S=} opt_obj An optional "this" context for the function. - * @return {number} The index of the first array element that passes the test, - * or -1 if no element is found. - * @template T,S - */ -goog.array.findIndex = function(arr, f, opt_obj) { - var l = arr.length; // must be fixed during loop... see docs - var arr2 = goog.isString(arr) ? arr.split('') : arr; - for (var i = 0; i < l; i++) { - if (i in arr2 && f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) { - return i; - } - } - return -1; -}; - - -/** - * Search an array (in reverse order) for the last element that satisfies a - * given condition and return that element. - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, T, number, ?) : boolean} f The function to call - * for every element. This function - * takes 3 arguments (the element, the index and the array) and should - * return a boolean. - * @param {S=} opt_obj An optional "this" context for the function. - * @return {T|null} The last array element that passes the test, or null if no - * element is found. - * @template T,S - */ -goog.array.findRight = function(arr, f, opt_obj) { - var i = goog.array.findIndexRight(arr, f, opt_obj); - return i < 0 ? null : goog.isString(arr) ? arr.charAt(i) : arr[i]; -}; - - -/** - * Search an array (in reverse order) for the last element that satisfies a - * given condition and return its index. - * @param {IArrayLike|string} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, T, number, ?) : boolean} f The function to call - * for every element. This function - * takes 3 arguments (the element, the index and the array) and should - * return a boolean. - * @param {S=} opt_obj An optional "this" context for the function. - * @return {number} The index of the last array element that passes the test, - * or -1 if no element is found. - * @template T,S - */ -goog.array.findIndexRight = function(arr, f, opt_obj) { - var l = arr.length; // must be fixed during loop... see docs - var arr2 = goog.isString(arr) ? arr.split('') : arr; - for (var i = l - 1; i >= 0; i--) { - if (i in arr2 && f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) { - return i; - } - } - return -1; -}; - - -/** - * Whether the array contains the given object. - * @param {IArrayLike|string} arr The array to test for the presence of the - * element. - * @param {*} obj The object for which to test. - * @return {boolean} true if obj is present. - */ -goog.array.contains = function(arr, obj) { - return goog.array.indexOf(arr, obj) >= 0; -}; - - -/** - * Whether the array is empty. - * @param {IArrayLike|string} arr The array to test. - * @return {boolean} true if empty. - */ -goog.array.isEmpty = function(arr) { - return arr.length == 0; -}; - - -/** - * Clears the array. - * @param {IArrayLike} arr Array or array like object to clear. - */ -goog.array.clear = function(arr) { - // For non real arrays we don't have the magic length so we delete the - // indices. - if (!goog.isArray(arr)) { - for (var i = arr.length - 1; i >= 0; i--) { - delete arr[i]; - } - } - arr.length = 0; -}; - - -/** - * Pushes an item into an array, if it's not already in the array. - * @param {Array} arr Array into which to insert the item. - * @param {T} obj Value to add. - * @template T - */ -goog.array.insert = function(arr, obj) { - if (!goog.array.contains(arr, obj)) { - arr.push(obj); - } -}; - - -/** - * Inserts an object at the given index of the array. - * @param {IArrayLike} arr The array to modify. - * @param {*} obj The object to insert. - * @param {number=} opt_i The index at which to insert the object. If omitted, - * treated as 0. A negative index is counted from the end of the array. - */ -goog.array.insertAt = function(arr, obj, opt_i) { - goog.array.splice(arr, opt_i, 0, obj); -}; - - -/** - * Inserts at the given index of the array, all elements of another array. - * @param {IArrayLike} arr The array to modify. - * @param {IArrayLike} elementsToAdd The array of elements to add. - * @param {number=} opt_i The index at which to insert the object. If omitted, - * treated as 0. A negative index is counted from the end of the array. - */ -goog.array.insertArrayAt = function(arr, elementsToAdd, opt_i) { - goog.partial(goog.array.splice, arr, opt_i, 0).apply(null, elementsToAdd); -}; - - -/** - * Inserts an object into an array before a specified object. - * @param {Array} arr The array to modify. - * @param {T} obj The object to insert. - * @param {T=} opt_obj2 The object before which obj should be inserted. If obj2 - * is omitted or not found, obj is inserted at the end of the array. - * @template T - */ -goog.array.insertBefore = function(arr, obj, opt_obj2) { - var i; - if (arguments.length == 2 || (i = goog.array.indexOf(arr, opt_obj2)) < 0) { - arr.push(obj); - } else { - goog.array.insertAt(arr, obj, i); - } -}; - - -/** - * Removes the first occurrence of a particular value from an array. - * @param {IArrayLike} arr Array from which to remove - * value. - * @param {T} obj Object to remove. - * @return {boolean} True if an element was removed. - * @template T - */ -goog.array.remove = function(arr, obj) { - var i = goog.array.indexOf(arr, obj); - var rv; - if ((rv = i >= 0)) { - goog.array.removeAt(arr, i); - } - return rv; -}; - - -/** - * Removes the last occurrence of a particular value from an array. - * @param {!IArrayLike} arr Array from which to remove value. - * @param {T} obj Object to remove. - * @return {boolean} True if an element was removed. - * @template T - */ -goog.array.removeLast = function(arr, obj) { - var i = goog.array.lastIndexOf(arr, obj); - if (i >= 0) { - goog.array.removeAt(arr, i); - return true; - } - return false; -}; - - -/** - * Removes from an array the element at index i - * @param {IArrayLike} arr Array or array like object from which to - * remove value. - * @param {number} i The index to remove. - * @return {boolean} True if an element was removed. - */ -goog.array.removeAt = function(arr, i) { - goog.asserts.assert(arr.length != null); - - // use generic form of splice - // splice returns the removed items and if successful the length of that - // will be 1 - return Array.prototype.splice.call(arr, i, 1).length == 1; -}; - - -/** - * Removes the first value that satisfies the given condition. - * @param {IArrayLike} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, T, number, ?) : boolean} f The function to call - * for every element. This function - * takes 3 arguments (the element, the index and the array) and should - * return a boolean. - * @param {S=} opt_obj An optional "this" context for the function. - * @return {boolean} True if an element was removed. - * @template T,S - */ -goog.array.removeIf = function(arr, f, opt_obj) { - var i = goog.array.findIndex(arr, f, opt_obj); - if (i >= 0) { - goog.array.removeAt(arr, i); - return true; - } - return false; -}; - - -/** - * Removes all values that satisfy the given condition. - * @param {IArrayLike} arr Array or array - * like object over which to iterate. - * @param {?function(this:S, T, number, ?) : boolean} f The function to call - * for every element. This function - * takes 3 arguments (the element, the index and the array) and should - * return a boolean. - * @param {S=} opt_obj An optional "this" context for the function. - * @return {number} The number of items removed - * @template T,S - */ -goog.array.removeAllIf = function(arr, f, opt_obj) { - var removedCount = 0; - goog.array.forEachRight(arr, function(val, index) { - if (f.call(/** @type {?} */ (opt_obj), val, index, arr)) { - if (goog.array.removeAt(arr, index)) { - removedCount++; - } - } - }); - return removedCount; -}; - - -/** - * Returns a new array that is the result of joining the arguments. If arrays - * are passed then their items are added, however, if non-arrays are passed they - * will be added to the return array as is. - * - * Note that ArrayLike objects will be added as is, rather than having their - * items added. - * - * goog.array.concat([1, 2], [3, 4]) -> [1, 2, 3, 4] - * goog.array.concat(0, [1, 2]) -> [0, 1, 2] - * goog.array.concat([1, 2], null) -> [1, 2, null] - * - * There is bug in all current versions of IE (6, 7 and 8) where arrays created - * in an iframe become corrupted soon (not immediately) after the iframe is - * destroyed. This is common if loading data via goog.net.IframeIo, for example. - * This corruption only affects the concat method which will start throwing - * Catastrophic Errors (#-2147418113). - * - * See http://endoflow.com/scratch/corrupted-arrays.html for a test case. - * - * Internally goog.array should use this, so that all methods will continue to - * work on these broken array objects. - * - * @param {...*} var_args Items to concatenate. Arrays will have each item - * added, while primitives and objects will be added as is. - * @return {!Array} The new resultant array. - */ -goog.array.concat = function(var_args) { - return Array.prototype.concat.apply([], arguments); -}; - - -/** - * Returns a new array that contains the contents of all the arrays passed. - * @param {...!Array} var_args - * @return {!Array} - * @template T - */ -goog.array.join = function(var_args) { - return Array.prototype.concat.apply([], arguments); -}; - - -/** - * Converts an object to an array. - * @param {IArrayLike|string} object The object to convert to an - * array. - * @return {!Array} The object converted into an array. If object has a - * length property, every property indexed with a non-negative number - * less than length will be included in the result. If object does not - * have a length property, an empty array will be returned. - * @template T - */ -goog.array.toArray = function(object) { - var length = object.length; - - // If length is not a number the following it false. This case is kept for - // backwards compatibility since there are callers that pass objects that are - // not array like. - if (length > 0) { - var rv = new Array(length); - for (var i = 0; i < length; i++) { - rv[i] = object[i]; - } - return rv; - } - return []; -}; - - -/** - * Does a shallow copy of an array. - * @param {IArrayLike|string} arr Array or array-like object to - * clone. - * @return {!Array} Clone of the input array. - * @template T - */ -goog.array.clone = goog.array.toArray; - - -/** - * Extends an array with another array, element, or "array like" object. - * This function operates 'in-place', it does not create a new Array. - * - * Example: - * var a = []; - * goog.array.extend(a, [0, 1]); - * a; // [0, 1] - * goog.array.extend(a, 2); - * a; // [0, 1, 2] - * - * @param {Array} arr1 The array to modify. - * @param {...(Array|VALUE)} var_args The elements or arrays of elements - * to add to arr1. - * @template VALUE - */ -goog.array.extend = function(arr1, var_args) { - for (var i = 1; i < arguments.length; i++) { - var arr2 = arguments[i]; - if (goog.isArrayLike(arr2)) { - var len1 = arr1.length || 0; - var len2 = arr2.length || 0; - arr1.length = len1 + len2; - for (var j = 0; j < len2; j++) { - arr1[len1 + j] = arr2[j]; - } - } else { - arr1.push(arr2); - } - } -}; - - -/** - * Adds or removes elements from an array. This is a generic version of Array - * splice. This means that it might work on other objects similar to arrays, - * such as the arguments object. - * - * @param {IArrayLike} arr The array to modify. - * @param {number|undefined} index The index at which to start changing the - * array. If not defined, treated as 0. - * @param {number} howMany How many elements to remove (0 means no removal. A - * value below 0 is treated as zero and so is any other non number. Numbers - * are floored). - * @param {...T} var_args Optional, additional elements to insert into the - * array. - * @return {!Array} the removed elements. - * @template T - */ -goog.array.splice = function(arr, index, howMany, var_args) { - goog.asserts.assert(arr.length != null); - - return Array.prototype.splice.apply(arr, goog.array.slice(arguments, 1)); -}; - - -/** - * Returns a new array from a segment of an array. This is a generic version of - * Array slice. This means that it might work on other objects similar to - * arrays, such as the arguments object. - * - * @param {IArrayLike|string} arr The array from - * which to copy a segment. - * @param {number} start The index of the first element to copy. - * @param {number=} opt_end The index after the last element to copy. - * @return {!Array} A new array containing the specified segment of the - * original array. - * @template T - */ -goog.array.slice = function(arr, start, opt_end) { - goog.asserts.assert(arr.length != null); - - // passing 1 arg to slice is not the same as passing 2 where the second is - // null or undefined (in that case the second argument is treated as 0). - // we could use slice on the arguments object and then use apply instead of - // testing the length - if (arguments.length <= 2) { - return Array.prototype.slice.call(arr, start); - } else { - return Array.prototype.slice.call(arr, start, opt_end); - } -}; - - -/** - * Removes all duplicates from an array (retaining only the first - * occurrence of each array element). This function modifies the - * array in place and doesn't change the order of the non-duplicate items. - * - * For objects, duplicates are identified as having the same unique ID as - * defined by {@link goog.getUid}. - * - * Alternatively you can specify a custom hash function that returns a unique - * value for each item in the array it should consider unique. - * - * Runtime: N, - * Worstcase space: 2N (no dupes) - * - * @param {IArrayLike} arr The array from which to remove - * duplicates. - * @param {Array=} opt_rv An optional array in which to return the results, - * instead of performing the removal inplace. If specified, the original - * array will remain unchanged. - * @param {function(T):string=} opt_hashFn An optional function to use to - * apply to every item in the array. This function should return a unique - * value for each item in the array it should consider unique. - * @template T - */ -goog.array.removeDuplicates = function(arr, opt_rv, opt_hashFn) { - var returnArray = opt_rv || arr; - var defaultHashFn = function(item) { - // Prefix each type with a single character representing the type to - // prevent conflicting keys (e.g. true and 'true'). - return goog.isObject(item) ? 'o' + goog.getUid(item) : - (typeof item).charAt(0) + item; - }; - var hashFn = opt_hashFn || defaultHashFn; - - var seen = {}, cursorInsert = 0, cursorRead = 0; - while (cursorRead < arr.length) { - var current = arr[cursorRead++]; - var key = hashFn(current); - if (!Object.prototype.hasOwnProperty.call(seen, key)) { - seen[key] = true; - returnArray[cursorInsert++] = current; - } - } - returnArray.length = cursorInsert; -}; - - -/** - * Searches the specified array for the specified target using the binary - * search algorithm. If no opt_compareFn is specified, elements are compared - * using goog.array.defaultCompare, which compares the elements - * using the built in < and > operators. This will produce the expected - * behavior for homogeneous arrays of String(s) and Number(s). The array - * specified must be sorted in ascending order (as defined by the - * comparison function). If the array is not sorted, results are undefined. - * If the array contains multiple instances of the specified target value, any - * of these instances may be found. - * - * Runtime: O(log n) - * - * @param {IArrayLike} arr The array to be searched. - * @param {TARGET} target The sought value. - * @param {function(TARGET, VALUE): number=} opt_compareFn Optional comparison - * function by which the array is ordered. Should take 2 arguments to - * compare, and return a negative number, zero, or a positive number - * depending on whether the first argument is less than, equal to, or - * greater than the second. - * @return {number} Lowest index of the target value if found, otherwise - * (-(insertion point) - 1). The insertion point is where the value should - * be inserted into arr to preserve the sorted property. Return value >= 0 - * iff target is found. - * @template TARGET, VALUE - */ -goog.array.binarySearch = function(arr, target, opt_compareFn) { - return goog.array.binarySearch_( - arr, opt_compareFn || goog.array.defaultCompare, false /* isEvaluator */, - target); -}; - - -/** - * Selects an index in the specified array using the binary search algorithm. - * The evaluator receives an element and determines whether the desired index - * is before, at, or after it. The evaluator must be consistent (formally, - * goog.array.map(goog.array.map(arr, evaluator, opt_obj), goog.math.sign) - * must be monotonically non-increasing). - * - * Runtime: O(log n) - * - * @param {IArrayLike} arr The array to be searched. - * @param {function(this:THIS, VALUE, number, ?): number} evaluator - * Evaluator function that receives 3 arguments (the element, the index and - * the array). Should return a negative number, zero, or a positive number - * depending on whether the desired index is before, at, or after the - * element passed to it. - * @param {THIS=} opt_obj The object to be used as the value of 'this' - * within evaluator. - * @return {number} Index of the leftmost element matched by the evaluator, if - * such exists; otherwise (-(insertion point) - 1). The insertion point is - * the index of the first element for which the evaluator returns negative, - * or arr.length if no such element exists. The return value is non-negative - * iff a match is found. - * @template THIS, VALUE - */ -goog.array.binarySelect = function(arr, evaluator, opt_obj) { - return goog.array.binarySearch_( - arr, evaluator, true /* isEvaluator */, undefined /* opt_target */, - opt_obj); -}; - - -/** - * Implementation of a binary search algorithm which knows how to use both - * comparison functions and evaluators. If an evaluator is provided, will call - * the evaluator with the given optional data object, conforming to the - * interface defined in binarySelect. Otherwise, if a comparison function is - * provided, will call the comparison function against the given data object. - * - * This implementation purposefully does not use goog.bind or goog.partial for - * performance reasons. - * - * Runtime: O(log n) - * - * @param {IArrayLike} arr The array to be searched. - * @param {function(?, ?, ?): number | function(?, ?): number} compareFn - * Either an evaluator or a comparison function, as defined by binarySearch - * and binarySelect above. - * @param {boolean} isEvaluator Whether the function is an evaluator or a - * comparison function. - * @param {?=} opt_target If the function is a comparison function, then - * this is the target to binary search for. - * @param {Object=} opt_selfObj If the function is an evaluator, this is an - * optional this object for the evaluator. - * @return {number} Lowest index of the target value if found, otherwise - * (-(insertion point) - 1). The insertion point is where the value should - * be inserted into arr to preserve the sorted property. Return value >= 0 - * iff target is found. - * @private - */ -goog.array.binarySearch_ = function( - arr, compareFn, isEvaluator, opt_target, opt_selfObj) { - var left = 0; // inclusive - var right = arr.length; // exclusive - var found; - while (left < right) { - var middle = (left + right) >> 1; - var compareResult; - if (isEvaluator) { - compareResult = compareFn.call(opt_selfObj, arr[middle], middle, arr); - } else { - // NOTE(dimvar): To avoid this cast, we'd have to use function overloading - // for the type of binarySearch_, which the type system can't express yet. - compareResult = /** @type {function(?, ?): number} */ (compareFn)( - opt_target, arr[middle]); - } - if (compareResult > 0) { - left = middle + 1; - } else { - right = middle; - // We are looking for the lowest index so we can't return immediately. - found = !compareResult; - } - } - // left is the index if found, or the insertion point otherwise. - // ~left is a shorthand for -left - 1. - return found ? left : ~left; -}; - - -/** - * Sorts the specified array into ascending order. If no opt_compareFn is - * specified, elements are compared using - * goog.array.defaultCompare, which compares the elements using - * the built in < and > operators. This will produce the expected behavior - * for homogeneous arrays of String(s) and Number(s), unlike the native sort, - * but will give unpredictable results for heterogeneous lists of strings and - * numbers with different numbers of digits. - * - * This sort is not guaranteed to be stable. - * - * Runtime: Same as Array.prototype.sort - * - * @param {Array} arr The array to be sorted. - * @param {?function(T,T):number=} opt_compareFn Optional comparison - * function by which the - * array is to be ordered. Should take 2 arguments to compare, and return a - * negative number, zero, or a positive number depending on whether the - * first argument is less than, equal to, or greater than the second. - * @template T - */ -goog.array.sort = function(arr, opt_compareFn) { - // TODO(arv): Update type annotation since null is not accepted. - arr.sort(opt_compareFn || goog.array.defaultCompare); -}; - - -/** - * Sorts the specified array into ascending order in a stable way. If no - * opt_compareFn is specified, elements are compared using - * goog.array.defaultCompare, which compares the elements using - * the built in < and > operators. This will produce the expected behavior - * for homogeneous arrays of String(s) and Number(s). - * - * Runtime: Same as Array.prototype.sort, plus an additional - * O(n) overhead of copying the array twice. - * - * @param {Array} arr The array to be sorted. - * @param {?function(T, T): number=} opt_compareFn Optional comparison function - * by which the array is to be ordered. Should take 2 arguments to compare, - * and return a negative number, zero, or a positive number depending on - * whether the first argument is less than, equal to, or greater than the - * second. - * @template T - */ -goog.array.stableSort = function(arr, opt_compareFn) { - var compArr = new Array(arr.length); - for (var i = 0; i < arr.length; i++) { - compArr[i] = {index: i, value: arr[i]}; - } - var valueCompareFn = opt_compareFn || goog.array.defaultCompare; - function stableCompareFn(obj1, obj2) { - return valueCompareFn(obj1.value, obj2.value) || obj1.index - obj2.index; - } - goog.array.sort(compArr, stableCompareFn); - for (var i = 0; i < arr.length; i++) { - arr[i] = compArr[i].value; - } -}; - - -/** - * Sort the specified array into ascending order based on item keys - * returned by the specified key function. - * If no opt_compareFn is specified, the keys are compared in ascending order - * using goog.array.defaultCompare. - * - * Runtime: O(S(f(n)), where S is runtime of goog.array.sort - * and f(n) is runtime of the key function. - * - * @param {Array} arr The array to be sorted. - * @param {function(T): K} keyFn Function taking array element and returning - * a key used for sorting this element. - * @param {?function(K, K): number=} opt_compareFn Optional comparison function - * by which the keys are to be ordered. Should take 2 arguments to compare, - * and return a negative number, zero, or a positive number depending on - * whether the first argument is less than, equal to, or greater than the - * second. - * @template T,K - */ -goog.array.sortByKey = function(arr, keyFn, opt_compareFn) { - var keyCompareFn = opt_compareFn || goog.array.defaultCompare; - goog.array.sort( - arr, function(a, b) { return keyCompareFn(keyFn(a), keyFn(b)); }); -}; - - -/** - * Sorts an array of objects by the specified object key and compare - * function. If no compare function is provided, the key values are - * compared in ascending order using goog.array.defaultCompare. - * This won't work for keys that get renamed by the compiler. So use - * {'foo': 1, 'bar': 2} rather than {foo: 1, bar: 2}. - * @param {Array} arr An array of objects to sort. - * @param {string} key The object key to sort by. - * @param {Function=} opt_compareFn The function to use to compare key - * values. - */ -goog.array.sortObjectsByKey = function(arr, key, opt_compareFn) { - goog.array.sortByKey(arr, function(obj) { return obj[key]; }, opt_compareFn); -}; - - -/** - * Tells if the array is sorted. - * @param {!Array} arr The array. - * @param {?function(T,T):number=} opt_compareFn Function to compare the - * array elements. - * Should take 2 arguments to compare, and return a negative number, zero, - * or a positive number depending on whether the first argument is less - * than, equal to, or greater than the second. - * @param {boolean=} opt_strict If true no equal elements are allowed. - * @return {boolean} Whether the array is sorted. - * @template T - */ -goog.array.isSorted = function(arr, opt_compareFn, opt_strict) { - var compare = opt_compareFn || goog.array.defaultCompare; - for (var i = 1; i < arr.length; i++) { - var compareResult = compare(arr[i - 1], arr[i]); - if (compareResult > 0 || compareResult == 0 && opt_strict) { - return false; - } - } - return true; -}; - - -/** - * Compares two arrays for equality. Two arrays are considered equal if they - * have the same length and their corresponding elements are equal according to - * the comparison function. - * - * @param {IArrayLike} arr1 The first array to compare. - * @param {IArrayLike} arr2 The second array to compare. - * @param {Function=} opt_equalsFn Optional comparison function. - * Should take 2 arguments to compare, and return true if the arguments - * are equal. Defaults to {@link goog.array.defaultCompareEquality} which - * compares the elements using the built-in '===' operator. - * @return {boolean} Whether the two arrays are equal. - */ -goog.array.equals = function(arr1, arr2, opt_equalsFn) { - if (!goog.isArrayLike(arr1) || !goog.isArrayLike(arr2) || - arr1.length != arr2.length) { - return false; - } - var l = arr1.length; - var equalsFn = opt_equalsFn || goog.array.defaultCompareEquality; - for (var i = 0; i < l; i++) { - if (!equalsFn(arr1[i], arr2[i])) { - return false; - } - } - return true; -}; - - -/** - * 3-way array compare function. - * @param {!IArrayLike} arr1 The first array to - * compare. - * @param {!IArrayLike} arr2 The second array to - * compare. - * @param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison - * function by which the array is to be ordered. Should take 2 arguments to - * compare, and return a negative number, zero, or a positive number - * depending on whether the first argument is less than, equal to, or - * greater than the second. - * @return {number} Negative number, zero, or a positive number depending on - * whether the first argument is less than, equal to, or greater than the - * second. - * @template VALUE - */ -goog.array.compare3 = function(arr1, arr2, opt_compareFn) { - var compare = opt_compareFn || goog.array.defaultCompare; - var l = Math.min(arr1.length, arr2.length); - for (var i = 0; i < l; i++) { - var result = compare(arr1[i], arr2[i]); - if (result != 0) { - return result; - } - } - return goog.array.defaultCompare(arr1.length, arr2.length); -}; - - -/** - * Compares its two arguments for order, using the built in < and > - * operators. - * @param {VALUE} a The first object to be compared. - * @param {VALUE} b The second object to be compared. - * @return {number} A negative number, zero, or a positive number as the first - * argument is less than, equal to, or greater than the second, - * respectively. - * @template VALUE - */ -goog.array.defaultCompare = function(a, b) { - return a > b ? 1 : a < b ? -1 : 0; -}; - - -/** - * Compares its two arguments for inverse order, using the built in < and > - * operators. - * @param {VALUE} a The first object to be compared. - * @param {VALUE} b The second object to be compared. - * @return {number} A negative number, zero, or a positive number as the first - * argument is greater than, equal to, or less than the second, - * respectively. - * @template VALUE - */ -goog.array.inverseDefaultCompare = function(a, b) { - return -goog.array.defaultCompare(a, b); -}; - - -/** - * Compares its two arguments for equality, using the built in === operator. - * @param {*} a The first object to compare. - * @param {*} b The second object to compare. - * @return {boolean} True if the two arguments are equal, false otherwise. - */ -goog.array.defaultCompareEquality = function(a, b) { - return a === b; -}; - - -/** - * Inserts a value into a sorted array. The array is not modified if the - * value is already present. - * @param {IArrayLike} array The array to modify. - * @param {VALUE} value The object to insert. - * @param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison - * function by which the array is ordered. Should take 2 arguments to - * compare, and return a negative number, zero, or a positive number - * depending on whether the first argument is less than, equal to, or - * greater than the second. - * @return {boolean} True if an element was inserted. - * @template VALUE - */ -goog.array.binaryInsert = function(array, value, opt_compareFn) { - var index = goog.array.binarySearch(array, value, opt_compareFn); - if (index < 0) { - goog.array.insertAt(array, value, -(index + 1)); - return true; - } - return false; -}; - - -/** - * Removes a value from a sorted array. - * @param {!IArrayLike} array The array to modify. - * @param {VALUE} value The object to remove. - * @param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison - * function by which the array is ordered. Should take 2 arguments to - * compare, and return a negative number, zero, or a positive number - * depending on whether the first argument is less than, equal to, or - * greater than the second. - * @return {boolean} True if an element was removed. - * @template VALUE - */ -goog.array.binaryRemove = function(array, value, opt_compareFn) { - var index = goog.array.binarySearch(array, value, opt_compareFn); - return (index >= 0) ? goog.array.removeAt(array, index) : false; -}; - - -/** - * Splits an array into disjoint buckets according to a splitting function. - * @param {Array} array The array. - * @param {function(this:S, T, number, !Array):?} sorter Function to call for - * every element. This takes 3 arguments (the element, the index and the - * array) and must return a valid object key (a string, number, etc), or - * undefined, if that object should not be placed in a bucket. - * @param {S=} opt_obj The object to be used as the value of 'this' within - * sorter. - * @return {!Object>} An object, with keys being all of the unique - * return values of sorter, and values being arrays containing the items for - * which the splitter returned that key. - * @template T,S - */ -goog.array.bucket = function(array, sorter, opt_obj) { - var buckets = {}; - - for (var i = 0; i < array.length; i++) { - var value = array[i]; - var key = sorter.call(/** @type {?} */ (opt_obj), value, i, array); - if (goog.isDef(key)) { - // Push the value to the right bucket, creating it if necessary. - var bucket = buckets[key] || (buckets[key] = []); - bucket.push(value); - } - } - - return buckets; -}; - - -/** - * Creates a new object built from the provided array and the key-generation - * function. - * @param {IArrayLike} arr Array or array like object over - * which to iterate whose elements will be the values in the new object. - * @param {?function(this:S, T, number, ?) : string} keyFunc The function to - * call for every element. This function takes 3 arguments (the element, the - * index and the array) and should return a string that will be used as the - * key for the element in the new object. If the function returns the same - * key for more than one element, the value for that key is - * implementation-defined. - * @param {S=} opt_obj The object to be used as the value of 'this' - * within keyFunc. - * @return {!Object} The new object. - * @template T,S - */ -goog.array.toObject = function(arr, keyFunc, opt_obj) { - var ret = {}; - goog.array.forEach(arr, function(element, index) { - ret[keyFunc.call(/** @type {?} */ (opt_obj), element, index, arr)] = - element; - }); - return ret; -}; - - -/** - * Creates a range of numbers in an arithmetic progression. - * - * Range takes 1, 2, or 3 arguments: - *
- * range(5) is the same as range(0, 5, 1) and produces [0, 1, 2, 3, 4]
- * range(2, 5) is the same as range(2, 5, 1) and produces [2, 3, 4]
- * range(-2, -5, -1) produces [-2, -3, -4]
- * range(-2, -5, 1) produces [], since stepping by 1 wouldn't ever reach -5.
- * 
- * - * @param {number} startOrEnd The starting value of the range if an end argument - * is provided. Otherwise, the start value is 0, and this is the end value. - * @param {number=} opt_end The optional end value of the range. - * @param {number=} opt_step The step size between range values. Defaults to 1 - * if opt_step is undefined or 0. - * @return {!Array} An array of numbers for the requested range. May be - * an empty array if adding the step would not converge toward the end - * value. - */ -goog.array.range = function(startOrEnd, opt_end, opt_step) { - var array = []; - var start = 0; - var end = startOrEnd; - var step = opt_step || 1; - if (opt_end !== undefined) { - start = startOrEnd; - end = opt_end; - } - - if (step * (end - start) < 0) { - // Sign mismatch: start + step will never reach the end value. - return []; - } - - if (step > 0) { - for (var i = start; i < end; i += step) { - array.push(i); - } - } else { - for (var i = start; i > end; i += step) { - array.push(i); - } - } - return array; -}; - - -/** - * Returns an array consisting of the given value repeated N times. - * - * @param {VALUE} value The value to repeat. - * @param {number} n The repeat count. - * @return {!Array} An array with the repeated value. - * @template VALUE - */ -goog.array.repeat = function(value, n) { - var array = []; - for (var i = 0; i < n; i++) { - array[i] = value; - } - return array; -}; - - -/** - * Returns an array consisting of every argument with all arrays - * expanded in-place recursively. - * - * @param {...*} var_args The values to flatten. - * @return {!Array} An array containing the flattened values. - */ -goog.array.flatten = function(var_args) { - var CHUNK_SIZE = 8192; - - var result = []; - for (var i = 0; i < arguments.length; i++) { - var element = arguments[i]; - if (goog.isArray(element)) { - for (var c = 0; c < element.length; c += CHUNK_SIZE) { - var chunk = goog.array.slice(element, c, c + CHUNK_SIZE); - var recurseResult = goog.array.flatten.apply(null, chunk); - for (var r = 0; r < recurseResult.length; r++) { - result.push(recurseResult[r]); - } - } - } else { - result.push(element); - } - } - return result; -}; - - -/** - * Rotates an array in-place. After calling this method, the element at - * index i will be the element previously at index (i - n) % - * array.length, for all values of i between 0 and array.length - 1, - * inclusive. - * - * For example, suppose list comprises [t, a, n, k, s]. After invoking - * rotate(array, 1) (or rotate(array, -4)), array will comprise [s, t, a, n, k]. - * - * @param {!Array} array The array to rotate. - * @param {number} n The amount to rotate. - * @return {!Array} The array. - * @template T - */ -goog.array.rotate = function(array, n) { - goog.asserts.assert(array.length != null); - - if (array.length) { - n %= array.length; - if (n > 0) { - Array.prototype.unshift.apply(array, array.splice(-n, n)); - } else if (n < 0) { - Array.prototype.push.apply(array, array.splice(0, -n)); - } - } - return array; -}; - - -/** - * Moves one item of an array to a new position keeping the order of the rest - * of the items. Example use case: keeping a list of JavaScript objects - * synchronized with the corresponding list of DOM elements after one of the - * elements has been dragged to a new position. - * @param {!IArrayLike} arr The array to modify. - * @param {number} fromIndex Index of the item to move between 0 and - * {@code arr.length - 1}. - * @param {number} toIndex Target index between 0 and {@code arr.length - 1}. - */ -goog.array.moveItem = function(arr, fromIndex, toIndex) { - goog.asserts.assert(fromIndex >= 0 && fromIndex < arr.length); - goog.asserts.assert(toIndex >= 0 && toIndex < arr.length); - // Remove 1 item at fromIndex. - var removedItems = Array.prototype.splice.call(arr, fromIndex, 1); - // Insert the removed item at toIndex. - Array.prototype.splice.call(arr, toIndex, 0, removedItems[0]); - // We don't use goog.array.insertAt and goog.array.removeAt, because they're - // significantly slower than splice. -}; - - -/** - * Creates a new array for which the element at position i is an array of the - * ith element of the provided arrays. The returned array will only be as long - * as the shortest array provided; additional values are ignored. For example, - * the result of zipping [1, 2] and [3, 4, 5] is [[1,3], [2, 4]]. - * - * This is similar to the zip() function in Python. See {@link - * http://docs.python.org/library/functions.html#zip} - * - * @param {...!IArrayLike} var_args Arrays to be combined. - * @return {!Array>} A new array of arrays created from - * provided arrays. - */ -goog.array.zip = function(var_args) { - if (!arguments.length) { - return []; - } - var result = []; - var minLen = arguments[0].length; - for (var i = 1; i < arguments.length; i++) { - if (arguments[i].length < minLen) { - minLen = arguments[i].length; - } - } - for (var i = 0; i < minLen; i++) { - var value = []; - for (var j = 0; j < arguments.length; j++) { - value.push(arguments[j][i]); - } - result.push(value); - } - return result; -}; - - -/** - * Shuffles the values in the specified array using the Fisher-Yates in-place - * shuffle (also known as the Knuth Shuffle). By default, calls Math.random() - * and so resets the state of that random number generator. Similarly, may reset - * the state of the any other specified random number generator. - * - * Runtime: O(n) - * - * @param {!Array} arr The array to be shuffled. - * @param {function():number=} opt_randFn Optional random function to use for - * shuffling. - * Takes no arguments, and returns a random number on the interval [0, 1). - * Defaults to Math.random() using JavaScript's built-in Math library. - */ -goog.array.shuffle = function(arr, opt_randFn) { - var randFn = opt_randFn || Math.random; - - for (var i = arr.length - 1; i > 0; i--) { - // Choose a random array index in [0, i] (inclusive with i). - var j = Math.floor(randFn() * (i + 1)); - - var tmp = arr[i]; - arr[i] = arr[j]; - arr[j] = tmp; - } -}; - - -/** - * Returns a new array of elements from arr, based on the indexes of elements - * provided by index_arr. For example, the result of index copying - * ['a', 'b', 'c'] with index_arr [1,0,0,2] is ['b', 'a', 'a', 'c']. - * - * @param {!Array} arr The array to get a indexed copy from. - * @param {!Array} index_arr An array of indexes to get from arr. - * @return {!Array} A new array of elements from arr in index_arr order. - * @template T - */ -goog.array.copyByIndex = function(arr, index_arr) { - var result = []; - goog.array.forEach(index_arr, function(index) { result.push(arr[index]); }); - return result; -}; - - -/** - * Maps each element of the input array into zero or more elements of the output - * array. - * - * @param {!IArrayLike|string} arr Array or array like object - * over which to iterate. - * @param {function(this:THIS, VALUE, number, ?): !Array} f The function - * to call for every element. This function takes 3 arguments (the element, - * the index and the array) and should return an array. The result will be - * used to extend a new array. - * @param {THIS=} opt_obj The object to be used as the value of 'this' within f. - * @return {!Array} a new array with the concatenation of all arrays - * returned from f. - * @template THIS, VALUE, RESULT - */ -goog.array.concatMap = function(arr, f, opt_obj) { - return goog.array.concat.apply([], goog.array.map(arr, f, opt_obj)); -}; diff --git a/assets/viz/2/goog/asserts/asserts.js b/assets/viz/2/goog/asserts/asserts.js deleted file mode 100644 index 1f4b653..0000000 --- a/assets/viz/2/goog/asserts/asserts.js +++ /dev/null @@ -1,369 +0,0 @@ -// Copyright 2008 The Closure Library Authors. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS-IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -/** - * @fileoverview Utilities to check the preconditions, postconditions and - * invariants runtime. - * - * Methods in this package should be given special treatment by the compiler - * for type-inference. For example, goog.asserts.assert(foo) - * will restrict foo to a truthy value. - * - * The compiler has an option to disable asserts. So code like: - * - * var x = goog.asserts.assert(foo()); goog.asserts.assert(bar()); - * - * will be transformed into: - * - * var x = foo(); - * - * The compiler will leave in foo() (because its return value is used), - * but it will remove bar() because it assumes it does not have side-effects. - * - * @author agrieve@google.com (Andrew Grieve) - */ - -goog.provide('goog.asserts'); -goog.provide('goog.asserts.AssertionError'); - -goog.require('goog.debug.Error'); -goog.require('goog.dom.NodeType'); -goog.require('goog.string'); - - -/** - * @define {boolean} Whether to strip out asserts or to leave them in. - */ -goog.define('goog.asserts.ENABLE_ASSERTS', goog.DEBUG); - - - -/** - * Error object for failed assertions. - * @param {string} messagePattern The pattern that was used to form message. - * @param {!Array<*>} messageArgs The items to substitute into the pattern. - * @constructor - * @extends {goog.debug.Error} - * @final - */ -goog.asserts.AssertionError = function(messagePattern, messageArgs) { - messageArgs.unshift(messagePattern); - goog.debug.Error.call(this, goog.string.subs.apply(null, messageArgs)); - // Remove the messagePattern afterwards to avoid permanently modifying the - // passed in array. - messageArgs.shift(); - - /** - * The message pattern used to format the error message. Error handlers can - * use this to uniquely identify the assertion. - * @type {string} - */ - this.messagePattern = messagePattern; -}; -goog.inherits(goog.asserts.AssertionError, goog.debug.Error); - - -/** @override */ -goog.asserts.AssertionError.prototype.name = 'AssertionError'; - - -/** - * The default error handler. - * @param {!goog.asserts.AssertionError} e The exception to be handled. - */ -goog.asserts.DEFAULT_ERROR_HANDLER = function(e) { - throw e; -}; - - -/** - * The handler responsible for throwing or logging assertion errors. - * @private {function(!goog.asserts.AssertionError)} - */ -goog.asserts.errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER; - - -/** - * Throws an exception with the given message and "Assertion failed" prefixed - * onto it. - * @param {string} defaultMessage The message to use if givenMessage is empty. - * @param {Array<*>} defaultArgs The substitution arguments for defaultMessage. - * @param {string|undefined} givenMessage Message supplied by the caller. - * @param {Array<*>} givenArgs The substitution arguments for givenMessage. - * @throws {goog.asserts.AssertionError} When the value is not a number. - * @private - */ -goog.asserts.doAssertFailure_ = function( - defaultMessage, defaultArgs, givenMessage, givenArgs) { - var message = 'Assertion failed'; - if (givenMessage) { - message += ': ' + givenMessage; - var args = givenArgs; - } else if (defaultMessage) { - message += ': ' + defaultMessage; - args = defaultArgs; - } - // The '' + works around an Opera 10 bug in the unit tests. Without it, - // a stack trace is added to var message above. With this, a stack trace is - // not added until this line (it causes the extra garbage to be added after - // the assertion message instead of in the middle of it). - var e = new goog.asserts.AssertionError('' + message, args || []); - goog.asserts.errorHandler_(e); -}; - - -/** - * Sets a custom error handler that can be used to customize the behavior of - * assertion failures, for example by turning all assertion failures into log - * messages. - * @param {function(!goog.asserts.AssertionError)} errorHandler - */ -goog.asserts.setErrorHandler = function(errorHandler) { - if (goog.asserts.ENABLE_ASSERTS) { - goog.asserts.errorHandler_ = errorHandler; - } -}; - - -/** - * Checks if the condition evaluates to true if goog.asserts.ENABLE_ASSERTS is - * true. - * @template T - * @param {T} condition The condition to check. - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @return {T} The value of the condition. - * @throws {goog.asserts.AssertionError} When the condition evaluates to false. - */ -goog.asserts.assert = function(condition, opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS && !condition) { - goog.asserts.doAssertFailure_( - '', null, opt_message, Array.prototype.slice.call(arguments, 2)); - } - return condition; -}; - - -/** - * Fails if goog.asserts.ENABLE_ASSERTS is true. This function is useful in case - * when we want to add a check in the unreachable area like switch-case - * statement: - * - *
- *  switch(type) {
- *    case FOO: doSomething(); break;
- *    case BAR: doSomethingElse(); break;
- *    default: goog.asserts.fail('Unrecognized type: ' + type);
- *      // We have only 2 types - "default:" section is unreachable code.
- *  }
- * 
- * - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @throws {goog.asserts.AssertionError} Failure. - */ -goog.asserts.fail = function(opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS) { - goog.asserts.errorHandler_( - new goog.asserts.AssertionError( - 'Failure' + (opt_message ? ': ' + opt_message : ''), - Array.prototype.slice.call(arguments, 1))); - } -}; - - -/** - * Checks if the value is a number if goog.asserts.ENABLE_ASSERTS is true. - * @param {*} value The value to check. - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @return {number} The value, guaranteed to be a number when asserts enabled. - * @throws {goog.asserts.AssertionError} When the value is not a number. - */ -goog.asserts.assertNumber = function(value, opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS && !goog.isNumber(value)) { - goog.asserts.doAssertFailure_( - 'Expected number but got %s: %s.', [goog.typeOf(value), value], - opt_message, Array.prototype.slice.call(arguments, 2)); - } - return /** @type {number} */ (value); -}; - - -/** - * Checks if the value is a string if goog.asserts.ENABLE_ASSERTS is true. - * @param {*} value The value to check. - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @return {string} The value, guaranteed to be a string when asserts enabled. - * @throws {goog.asserts.AssertionError} When the value is not a string. - */ -goog.asserts.assertString = function(value, opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS && !goog.isString(value)) { - goog.asserts.doAssertFailure_( - 'Expected string but got %s: %s.', [goog.typeOf(value), value], - opt_message, Array.prototype.slice.call(arguments, 2)); - } - return /** @type {string} */ (value); -}; - - -/** - * Checks if the value is a function if goog.asserts.ENABLE_ASSERTS is true. - * @param {*} value The value to check. - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @return {!Function} The value, guaranteed to be a function when asserts - * enabled. - * @throws {goog.asserts.AssertionError} When the value is not a function. - */ -goog.asserts.assertFunction = function(value, opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS && !goog.isFunction(value)) { - goog.asserts.doAssertFailure_( - 'Expected function but got %s: %s.', [goog.typeOf(value), value], - opt_message, Array.prototype.slice.call(arguments, 2)); - } - return /** @type {!Function} */ (value); -}; - - -/** - * Checks if the value is an Object if goog.asserts.ENABLE_ASSERTS is true. - * @param {*} value The value to check. - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @return {!Object} The value, guaranteed to be a non-null object. - * @throws {goog.asserts.AssertionError} When the value is not an object. - */ -goog.asserts.assertObject = function(value, opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS && !goog.isObject(value)) { - goog.asserts.doAssertFailure_( - 'Expected object but got %s: %s.', [goog.typeOf(value), value], - opt_message, Array.prototype.slice.call(arguments, 2)); - } - return /** @type {!Object} */ (value); -}; - - -/** - * Checks if the value is an Array if goog.asserts.ENABLE_ASSERTS is true. - * @param {*} value The value to check. - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @return {!Array} The value, guaranteed to be a non-null array. - * @throws {goog.asserts.AssertionError} When the value is not an array. - */ -goog.asserts.assertArray = function(value, opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS && !goog.isArray(value)) { - goog.asserts.doAssertFailure_( - 'Expected array but got %s: %s.', [goog.typeOf(value), value], - opt_message, Array.prototype.slice.call(arguments, 2)); - } - return /** @type {!Array} */ (value); -}; - - -/** - * Checks if the value is a boolean if goog.asserts.ENABLE_ASSERTS is true. - * @param {*} value The value to check. - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @return {boolean} The value, guaranteed to be a boolean when asserts are - * enabled. - * @throws {goog.asserts.AssertionError} When the value is not a boolean. - */ -goog.asserts.assertBoolean = function(value, opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS && !goog.isBoolean(value)) { - goog.asserts.doAssertFailure_( - 'Expected boolean but got %s: %s.', [goog.typeOf(value), value], - opt_message, Array.prototype.slice.call(arguments, 2)); - } - return /** @type {boolean} */ (value); -}; - - -/** - * Checks if the value is a DOM Element if goog.asserts.ENABLE_ASSERTS is true. - * @param {*} value The value to check. - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @return {!Element} The value, likely to be a DOM Element when asserts are - * enabled. - * @throws {goog.asserts.AssertionError} When the value is not an Element. - */ -goog.asserts.assertElement = function(value, opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS && - (!goog.isObject(value) || value.nodeType != goog.dom.NodeType.ELEMENT)) { - goog.asserts.doAssertFailure_( - 'Expected Element but got %s: %s.', [goog.typeOf(value), value], - opt_message, Array.prototype.slice.call(arguments, 2)); - } - return /** @type {!Element} */ (value); -}; - - -/** - * Checks if the value is an instance of the user-defined type if - * goog.asserts.ENABLE_ASSERTS is true. - * - * The compiler may tighten the type returned by this function. - * - * @param {?} value The value to check. - * @param {function(new: T, ...)} type A user-defined constructor. - * @param {string=} opt_message Error message in case of failure. - * @param {...*} var_args The items to substitute into the failure message. - * @throws {goog.asserts.AssertionError} When the value is not an instance of - * type. - * @return {T} - * @template T - */ -goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) { - if (goog.asserts.ENABLE_ASSERTS && !(value instanceof type)) { - goog.asserts.doAssertFailure_( - 'Expected instanceof %s but got %s.', - [goog.asserts.getType_(type), goog.asserts.getType_(value)], - opt_message, Array.prototype.slice.call(arguments, 3)); - } - return value; -}; - - -/** - * Checks that no enumerable keys are present in Object.prototype. Such keys - * would break most code that use {@code for (var ... in ...)} loops. - */ -goog.asserts.assertObjectPrototypeIsIntact = function() { - for (var key in Object.prototype) { - goog.asserts.fail(key + ' should not be enumerable in Object.prototype.'); - } -}; - - -/** - * Returns the type of a value. If a constructor is passed, and a suitable - * string cannot be found, 'unknown type name' will be returned. - * @param {*} value A constructor, object, or primitive. - * @return {string} The best display name for the value, or 'unknown type name'. - * @private - */ -goog.asserts.getType_ = function(value) { - if (value instanceof Function) { - return value.displayName || value.name || 'unknown type name'; - } else if (value instanceof Object) { - return value.constructor.displayName || value.constructor.name || - Object.prototype.toString.call(value); - } else { - return value === null ? 'null' : typeof value; - } -}; diff --git a/assets/viz/2/goog/base.js b/assets/viz/2/goog/base.js deleted file mode 100644 index 46b2f09..0000000 --- a/assets/viz/2/goog/base.js +++ /dev/null @@ -1,2921 +0,0 @@ -// Copyright 2006 The Closure Library Authors. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS-IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -/** - * @fileoverview Bootstrap for the Google JS Library (Closure). - * - * In uncompiled mode base.js will attempt to load Closure's deps file, unless - * the global CLOSURE_NO_DEPS is set to true. This allows projects - * to include their own deps file(s) from different locations. - * - * Avoid including base.js more than once. This is strictly discouraged and not - * supported. goog.require(...) won't work properly in that case. - * - * @provideGoog - */ - - -/** - * @define {boolean} Overridden to true by the compiler. - */ -var COMPILED = false; - - -/** - * Base namespace for the Closure library. Checks to see goog is already - * defined in the current scope before assigning to prevent clobbering if - * base.js is loaded more than once. - * - * @const - */ -var goog = goog || {}; - - -/** - * Reference to the global context. In most cases this will be 'window'. - */ -goog.global = this; - - -/** - * A hook for overriding the define values in uncompiled mode. - * - * In uncompiled mode, {@code CLOSURE_UNCOMPILED_DEFINES} may be defined before - * loading base.js. If a key is defined in {@code CLOSURE_UNCOMPILED_DEFINES}, - * {@code goog.define} will use the value instead of the default value. This - * allows flags to be overwritten without compilation (this is normally - * accomplished with the compiler's "define" flag). - * - * Example: - *
- *   var CLOSURE_UNCOMPILED_DEFINES = {'goog.DEBUG': false};
- * 
- * - * @type {Object|undefined} - */ -goog.global.CLOSURE_UNCOMPILED_DEFINES; - - -/** - * A hook for overriding the define values in uncompiled or compiled mode, - * like CLOSURE_UNCOMPILED_DEFINES but effective in compiled code. In - * uncompiled code CLOSURE_UNCOMPILED_DEFINES takes precedence. - * - * Also unlike CLOSURE_UNCOMPILED_DEFINES the values must be number, boolean or - * string literals or the compiler will emit an error. - * - * While any @define value may be set, only those set with goog.define will be - * effective for uncompiled code. - * - * Example: - *
- *   var CLOSURE_DEFINES = {'goog.DEBUG': false} ;
- * 
- * - * @type {Object|undefined} - */ -goog.global.CLOSURE_DEFINES; - - -/** - * Returns true if the specified value is not undefined. - * - * @param {?} val Variable to test. - * @return {boolean} Whether variable is defined. - */ -goog.isDef = function(val) { - // void 0 always evaluates to undefined and hence we do not need to depend on - // the definition of the global variable named 'undefined'. - return val !== void 0; -}; - -/** - * Returns true if the specified value is a string. - * @param {?} val Variable to test. - * @return {boolean} Whether variable is a string. - */ -goog.isString = function(val) { - return typeof val == 'string'; -}; - - -/** - * Returns true if the specified value is a boolean. - * @param {?} val Variable to test. - * @return {boolean} Whether variable is boolean. - */ -goog.isBoolean = function(val) { - return typeof val == 'boolean'; -}; - - -/** - * Returns true if the specified value is a number. - * @param {?} val Variable to test. - * @return {boolean} Whether variable is a number. - */ -goog.isNumber = function(val) { - return typeof val == 'number'; -}; - - -/** - * Builds an object structure for the provided namespace path, ensuring that - * names that already exist are not overwritten. For example: - * "a.b.c" -> a = {};a.b={};a.b.c={}; - * Used by goog.provide and goog.exportSymbol. - * @param {string} name name of the object that this file defines. - * @param {*=} opt_object the object to expose at the end of the path. - * @param {Object=} opt_objectToExportTo The object to add the path to; default - * is `goog.global`. - * @private - */ -goog.exportPath_ = function(name, opt_object, opt_objectToExportTo) { - var parts = name.split('.'); - var cur = opt_objectToExportTo || goog.global; - - // Internet Explorer exhibits strange behavior when throwing errors from - // methods externed in this manner. See the testExportSymbolExceptions in - // base_test.html for an example. - if (!(parts[0] in cur) && cur.execScript) { - cur.execScript('var ' + parts[0]); - } - - for (var part; parts.length && (part = parts.shift());) { - if (!parts.length && goog.isDef(opt_object)) { - // last part and we have an object; use it - cur[part] = opt_object; - } else if (cur[part] && cur[part] !== Object.prototype[part]) { - cur = cur[part]; - } else { - cur = cur[part] = {}; - } - } -}; - - -/** - * Defines a named value. In uncompiled mode, the value is retrieved from - * CLOSURE_DEFINES or CLOSURE_UNCOMPILED_DEFINES if the object is defined and - * has the property specified, and otherwise used the defined defaultValue. - * When compiled the default can be overridden using the compiler - * options or the value set in the CLOSURE_DEFINES object. - * - * @param {string} name The distinguished name to provide. - * @param {string|number|boolean} defaultValue - */ -goog.define = function(name, defaultValue) { - var value = defaultValue; - if (!COMPILED) { - if (goog.global.CLOSURE_UNCOMPILED_DEFINES && - // Anti DOM-clobbering runtime check (b/37736576). - /** @type {?} */ (goog.global.CLOSURE_UNCOMPILED_DEFINES).nodeType === - undefined && - Object.prototype.hasOwnProperty.call( - goog.global.CLOSURE_UNCOMPILED_DEFINES, name)) { - value = goog.global.CLOSURE_UNCOMPILED_DEFINES[name]; - } else if ( - goog.global.CLOSURE_DEFINES && - // Anti DOM-clobbering runtime check (b/37736576). - /** @type {?} */ (goog.global.CLOSURE_DEFINES).nodeType === undefined && - Object.prototype.hasOwnProperty.call( - goog.global.CLOSURE_DEFINES, name)) { - value = goog.global.CLOSURE_DEFINES[name]; - } - } - goog.exportPath_(name, value); -}; - - -/** - * @define {boolean} DEBUG is provided as a convenience so that debugging code - * that should not be included in a production. It can be easily stripped - * by specifying --define goog.DEBUG=false to the Closure Compiler aka - * JSCompiler. For example, most toString() methods should be declared inside an - * "if (goog.DEBUG)" conditional because they are generally used for debugging - * purposes and it is difficult for the JSCompiler to statically determine - * whether they are used. - */ -goog.define('goog.DEBUG', true); - - -/** - * @define {string} LOCALE defines the locale being used for compilation. It is - * used to select locale specific data to be compiled in js binary. BUILD rule - * can specify this value by "--define goog.LOCALE=" as a compiler - * option. - * - * Take into account that the locale code format is important. You should use - * the canonical Unicode format with hyphen as a delimiter. Language must be - * lowercase, Language Script - Capitalized, Region - UPPERCASE. - * There are few examples: pt-BR, en, en-US, sr-Latin-BO, zh-Hans-CN. - * - * See more info about locale codes here: - * http://www.unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers - * - * For language codes you should use values defined by ISO 693-1. See it here - * http://www.w3.org/WAI/ER/IG/ert/iso639.htm. There is only one exception from - * this rule: the Hebrew language. For legacy reasons the old code (iw) should - * be used instead of the new code (he). - * - */ -goog.define('goog.LOCALE', 'en'); // default to en - - -/** - * @define {boolean} Whether this code is running on trusted sites. - * - * On untrusted sites, several native functions can be defined or overridden by - * external libraries like Prototype, Datejs, and JQuery and setting this flag - * to false forces closure to use its own implementations when possible. - * - * If your JavaScript can be loaded by a third party site and you are wary about - * relying on non-standard implementations, specify - * "--define goog.TRUSTED_SITE=false" to the compiler. - */ -goog.define('goog.TRUSTED_SITE', true); - - -/** - * @define {boolean} Whether a project is expected to be running in strict mode. - * - * This define can be used to trigger alternate implementations compatible with - * running in EcmaScript Strict mode or warn about unavailable functionality. - * @see https://goo.gl/PudQ4y - * - */ -goog.define('goog.STRICT_MODE_COMPATIBLE', false); - - -/** - * @define {boolean} Whether code that calls {@link goog.setTestOnly} should - * be disallowed in the compilation unit. - */ -goog.define('goog.DISALLOW_TEST_ONLY_CODE', COMPILED && !goog.DEBUG); - - -/** - * @define {boolean} Whether to use a Chrome app CSP-compliant method for - * loading scripts via goog.require. @see appendScriptSrcNode_. - */ -goog.define('goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING', false); - - -/** - * Defines a namespace in Closure. - * - * A namespace may only be defined once in a codebase. It may be defined using - * goog.provide() or goog.module(). - * - * The presence of one or more goog.provide() calls in a file indicates - * that the file defines the given objects/namespaces. - * Provided symbols must not be null or undefined. - * - * In addition, goog.provide() creates the object stubs for a namespace - * (for example, goog.provide("goog.foo.bar") will create the object - * goog.foo.bar if it does not already exist). - * - * Build tools also scan for provide/require/module statements - * to discern dependencies, build dependency files (see deps.js), etc. - * - * @see goog.require - * @see goog.module - * @param {string} name Namespace provided by this file in the form - * "goog.package.part". - */ -goog.provide = function(name) { - if (goog.isInModuleLoader_()) { - throw Error('goog.provide can not be used within a goog.module.'); - } - if (!COMPILED) { - // Ensure that the same namespace isn't provided twice. - // A goog.module/goog.provide maps a goog.require to a specific file - if (goog.isProvided_(name)) { - throw Error('Namespace "' + name + '" already declared.'); - } - } - - goog.constructNamespace_(name); -}; - - -/** - * @param {string} name Namespace provided by this file in the form - * "goog.package.part". - * @param {Object=} opt_obj The object to embed in the namespace. - * @private - */ -goog.constructNamespace_ = function(name, opt_obj) { - if (!COMPILED) { - delete goog.implicitNamespaces_[name]; - - var namespace = name; - while ((namespace = namespace.substring(0, namespace.lastIndexOf('.')))) { - if (goog.getObjectByName(namespace)) { - break; - } - goog.implicitNamespaces_[namespace] = true; - } - } - - goog.exportPath_(name, opt_obj); -}; - - -/** - * Module identifier validation regexp. - * Note: This is a conservative check, it is very possible to be more lenient, - * the primary exclusion here is "/" and "\" and a leading ".", these - * restrictions are intended to leave the door open for using goog.require - * with relative file paths rather than module identifiers. - * @private - */ -goog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/; - - -/** - * Defines a module in Closure. - * - * Marks that this file must be loaded as a module and claims the namespace. - * - * A namespace may only be defined once in a codebase. It may be defined using - * goog.provide() or goog.module(). - * - * goog.module() has three requirements: - * - goog.module may not be used in the same file as goog.provide. - * - goog.module must be the first statement in the file. - * - only one goog.module is allowed per file. - * - * When a goog.module annotated file is loaded, it is enclosed in - * a strict function closure. This means that: - * - any variables declared in a goog.module file are private to the file - * (not global), though the compiler is expected to inline the module. - * - The code must obey all the rules of "strict" JavaScript. - * - the file will be marked as "use strict" - * - * NOTE: unlike goog.provide, goog.module does not declare any symbols by - * itself. If declared symbols are desired, use - * goog.module.declareLegacyNamespace(). - * - * - * See the public goog.module proposal: http://goo.gl/Va1hin - * - * @param {string} name Namespace provided by this file in the form - * "goog.package.part", is expected but not required. - * @return {void} - */ -goog.module = function(name) { - if (!goog.isString(name) || !name || - name.search(goog.VALID_MODULE_RE_) == -1) { - throw Error('Invalid module identifier'); - } - if (!goog.isInModuleLoader_()) { - throw Error( - 'Module ' + name + ' has been loaded incorrectly. Note, ' + - 'modules cannot be loaded as normal scripts. They require some kind of ' + - 'pre-processing step. You\'re likely trying to load a module via a ' + - 'script tag or as a part of a concatenated bundle without rewriting the ' + - 'module. For more info see: ' + - 'https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.'); - } - if (goog.moduleLoaderState_.moduleName) { - throw Error('goog.module may only be called once per module.'); - } - - // Store the module name for the loader. - goog.moduleLoaderState_.moduleName = name; - if (!COMPILED) { - // Ensure that the same namespace isn't provided twice. - // A goog.module/goog.provide maps a goog.require to a specific file - if (goog.isProvided_(name)) { - throw Error('Namespace "' + name + '" already declared.'); - } - delete goog.implicitNamespaces_[name]; - } -}; - - -/** - * @param {string} name The module identifier. - * @return {?} The module exports for an already loaded module or null. - * - * Note: This is not an alternative to goog.require, it does not - * indicate a hard dependency, instead it is used to indicate - * an optional dependency or to access the exports of a module - * that has already been loaded. - * @suppress {missingProvide} - */ -goog.module.get = function(name) { - return goog.module.getInternal_(name); -}; - - -/** - * @param {string} name The module identifier. - * @return {?} The module exports for an already loaded module or null. - * @private - */ -goog.module.getInternal_ = function(name) { - if (!COMPILED) { - if (name in goog.loadedModules_) { - return goog.loadedModules_[name]; - } else if (!goog.implicitNamespaces_[name]) { - var ns = goog.getObjectByName(name); - return ns != null ? ns : null; - } - } - return null; -}; - - -/** - * @private {?{moduleName: (string|undefined), declareLegacyNamespace:boolean}} - */ -goog.moduleLoaderState_ = null; - - -/** - * @private - * @return {boolean} Whether a goog.module is currently being initialized. - */ -goog.isInModuleLoader_ = function() { - return goog.moduleLoaderState_ != null; -}; - - -/** - * Provide the module's exports as a globally accessible object under the - * module's declared name. This is intended to ease migration to goog.module - * for files that have existing usages. - * @suppress {missingProvide} - */ -goog.module.declareLegacyNamespace = function() { - if (!COMPILED && !goog.isInModuleLoader_()) { - throw new Error( - 'goog.module.declareLegacyNamespace must be called from ' + - 'within a goog.module'); - } - if (!COMPILED && !goog.moduleLoaderState_.moduleName) { - throw Error( - 'goog.module must be called prior to ' + - 'goog.module.declareLegacyNamespace.'); - } - goog.moduleLoaderState_.declareLegacyNamespace = true; -}; - - -/** - * Marks that the current file should only be used for testing, and never for - * live code in production. - * - * In the case of unit tests, the message may optionally be an exact namespace - * for the test (e.g. 'goog.stringTest'). The linter will then ignore the extra - * provide (if not explicitly defined in the code). - * - * @param {string=} opt_message Optional message to add to the error that's - * raised when used in production code. - */ -goog.setTestOnly = function(opt_message) { - if (goog.DISALLOW_TEST_ONLY_CODE) { - opt_message = opt_message || ''; - throw Error( - 'Importing test-only code into non-debug environment' + - (opt_message ? ': ' + opt_message : '.')); - } -}; - - -/** - * Forward declares a symbol. This is an indication to the compiler that the - * symbol may be used in the source yet is not required and may not be provided - * in compilation. - * - * The most common usage of forward declaration is code that takes a type as a - * function parameter but does not need to require it. By forward declaring - * instead of requiring, no hard dependency is made, and (if not required - * elsewhere) the namespace may never be required and thus, not be pulled - * into the JavaScript binary. If it is required elsewhere, it will be type - * checked as normal. - * - * Before using goog.forwardDeclare, please read the documentation at - * https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation to - * understand the options and tradeoffs when working with forward declarations. - * - * @param {string} name The namespace to forward declare in the form of - * "goog.package.part". - */ -goog.forwardDeclare = function(name) {}; - - -/** - * Forward declare type information. Used to assign types to goog.global - * referenced object that would otherwise result in unknown type references - * and thus block property disambiguation. - */ -goog.forwardDeclare('Document'); -goog.forwardDeclare('HTMLScriptElement'); -goog.forwardDeclare('XMLHttpRequest'); - - -if (!COMPILED) { - /** - * Check if the given name has been goog.provided. This will return false for - * names that are available only as implicit namespaces. - * @param {string} name name of the object to look for. - * @return {boolean} Whether the name has been provided. - * @private - */ - goog.isProvided_ = function(name) { - return (name in goog.loadedModules_) || - (!goog.implicitNamespaces_[name] && - goog.isDefAndNotNull(goog.getObjectByName(name))); - }; - - /** - * Namespaces implicitly defined by goog.provide. For example, - * goog.provide('goog.events.Event') implicitly declares that 'goog' and - * 'goog.events' must be namespaces. - * - * @type {!Object} - * @private - */ - goog.implicitNamespaces_ = {'goog.module': true}; - - // NOTE: We add goog.module as an implicit namespace as goog.module is defined - // here and because the existing module package has not been moved yet out of - // the goog.module namespace. This satisifies both the debug loader and - // ahead-of-time dependency management. -} - - -/** - * Returns an object based on its fully qualified external name. The object - * is not found if null or undefined. If you are using a compilation pass that - * renames property names beware that using this function will not find renamed - * properties. - * - * @param {string} name The fully qualified name. - * @param {Object=} opt_obj The object within which to look; default is - * |goog.global|. - * @return {?} The value (object or primitive) or, if not found, null. - */ -goog.getObjectByName = function(name, opt_obj) { - var parts = name.split('.'); - var cur = opt_obj || goog.global; - for (var part; part = parts.shift();) { - if (goog.isDefAndNotNull(cur[part])) { - cur = cur[part]; - } else { - return null; - } - } - return cur; -}; - - -/** - * Globalizes a whole namespace, such as goog or goog.lang. - * - * @param {!Object} obj The namespace to globalize. - * @param {Object=} opt_global The object to add the properties to. - * @deprecated Properties may be explicitly exported to the global scope, but - * this should no longer be done in bulk. - */ -goog.globalize = function(obj, opt_global) { - var global = opt_global || goog.global; - for (var x in obj) { - global[x] = obj[x]; - } -}; - - -/** - * Adds a dependency from a file to the files it requires. - * @param {string} relPath The path to the js file. - * @param {!Array} provides An array of strings with - * the names of the objects this file provides. - * @param {!Array} requires An array of strings with - * the names of the objects this file requires. - * @param {boolean|!Object=} opt_loadFlags Parameters indicating - * how the file must be loaded. The boolean 'true' is equivalent - * to {'module': 'goog'} for backwards-compatibility. Valid properties - * and values include {'module': 'goog'} and {'lang': 'es6'}. - */ -goog.addDependency = function(relPath, provides, requires, opt_loadFlags) { - if (goog.DEPENDENCIES_ENABLED) { - var provide, require; - var path = relPath.replace(/\\/g, '/'); - var deps = goog.dependencies_; - if (!opt_loadFlags || typeof opt_loadFlags === 'boolean') { - opt_loadFlags = opt_loadFlags ? {'module': 'goog'} : {}; - } - for (var i = 0; provide = provides[i]; i++) { - deps.nameToPath[provide] = path; - deps.loadFlags[path] = opt_loadFlags; - } - for (var j = 0; require = requires[j]; j++) { - if (!(path in deps.requires)) { - deps.requires[path] = {}; - } - deps.requires[path][require] = true; - } - } -}; - - - - -// NOTE(nnaze): The debug DOM loader was included in base.js as an original way -// to do "debug-mode" development. The dependency system can sometimes be -// confusing, as can the debug DOM loader's asynchronous nature. -// -// With the DOM loader, a call to goog.require() is not blocking -- the script -// will not load until some point after the current script. If a namespace is -// needed at runtime, it needs to be defined in a previous script, or loaded via -// require() with its registered dependencies. -// -// User-defined namespaces may need their own deps file. For a reference on -// creating a deps file, see: -// Externally: https://developers.google.com/closure/library/docs/depswriter -// -// Because of legacy clients, the DOM loader can't be easily removed from -// base.js. Work was done to make it disableable or replaceable for -// different environments (DOM-less JavaScript interpreters like Rhino or V8, -// for example). See bootstrap/ for more information. - - -/** - * @define {boolean} Whether to enable the debug loader. - * - * If enabled, a call to goog.require() will attempt to load the namespace by - * appending a script tag to the DOM (if the namespace has been registered). - * - * If disabled, goog.require() will simply assert that the namespace has been - * provided (and depend on the fact that some outside tool correctly ordered - * the script). - */ -goog.define('goog.ENABLE_DEBUG_LOADER', true); - - -/** - * @param {string} msg - * @private - */ -goog.logToConsole_ = function(msg) { - if (goog.global.console) { - goog.global.console['error'](msg); - } -}; - - -/** - * Implements a system for the dynamic resolution of dependencies that works in - * parallel with the BUILD system. Note that all calls to goog.require will be - * stripped by the compiler. - * @see goog.provide - * @param {string} name Namespace to include (as was given in goog.provide()) in - * the form "goog.package.part". - * @return {?} If called within a goog.module file, the associated namespace or - * module otherwise null. - */ -goog.require = function(name) { - // If the object already exists we do not need to do anything. - if (!COMPILED) { - if (goog.ENABLE_DEBUG_LOADER && goog.IS_OLD_IE_) { - goog.maybeProcessDeferredDep_(name); - } - - if (goog.isProvided_(name)) { - if (goog.isInModuleLoader_()) { - return goog.module.getInternal_(name); - } - } else if (goog.ENABLE_DEBUG_LOADER) { - var path = goog.getPathFromDeps_(name); - if (path) { - goog.writeScripts_(path); - } else { - var errorMessage = 'goog.require could not find: ' + name; - goog.logToConsole_(errorMessage); - - throw Error(errorMessage); - } - } - - return null; - } -}; - - -/** - * Path for included scripts. - * @type {string} - */ -goog.basePath = ''; - - -/** - * A hook for overriding the base path. - * @type {string|undefined} - */ -goog.global.CLOSURE_BASE_PATH; - - -/** - * Whether to attempt to load Closure's deps file. By default, when uncompiled, - * deps files will attempt to be loaded. - * @type {boolean|undefined} - */ -goog.global.CLOSURE_NO_DEPS; - - -/** - * A function to import a single script. This is meant to be overridden when - * Closure is being run in non-HTML contexts, such as web workers. It's defined - * in the global scope so that it can be set before base.js is loaded, which - * allows deps.js to be imported properly. - * - * The function is passed the script source, which is a relative URI. It should - * return true if the script was imported, false otherwise. - * @type {(function(string): boolean)|undefined} - */ -goog.global.CLOSURE_IMPORT_SCRIPT; - - -/** - * Null function used for default values of callbacks, etc. - * @return {void} Nothing. - */ -goog.nullFunction = function() {}; - - -/** - * When defining a class Foo with an abstract method bar(), you can do: - * Foo.prototype.bar = goog.abstractMethod - * - * Now if a subclass of Foo fails to override bar(), an error will be thrown - * when bar() is invoked. - * - * @type {!Function} - * @throws {Error} when invoked to indicate the method should be overridden. - */ -goog.abstractMethod = function() { - throw Error('unimplemented abstract method'); -}; - - -/** - * Adds a {@code getInstance} static method that always returns the same - * instance object. - * @param {!Function} ctor The constructor for the class to add the static - * method to. - */ -goog.addSingletonGetter = function(ctor) { - // instance_ is immediately set to prevent issues with sealed constructors - // such as are encountered when a constructor is returned as the export object - // of a goog.module in unoptimized code. - ctor.instance_ = undefined; - ctor.getInstance = function() { - if (ctor.instance_) { - return ctor.instance_; - } - if (goog.DEBUG) { - // NOTE: JSCompiler can't optimize away Array#push. - goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = ctor; - } - return ctor.instance_ = new ctor; - }; -}; - - -/** - * All singleton classes that have been instantiated, for testing. Don't read - * it directly, use the {@code goog.testing.singleton} module. The compiler - * removes this variable if unused. - * @type {!Array} - * @private - */ -goog.instantiatedSingletons_ = []; - - -/** - * @define {boolean} Whether to load goog.modules using {@code eval} when using - * the debug loader. This provides a better debugging experience as the - * source is unmodified and can be edited using Chrome Workspaces or similar. - * However in some environments the use of {@code eval} is banned - * so we provide an alternative. - */ -goog.define('goog.LOAD_MODULE_USING_EVAL', true); - - -/** - * @define {boolean} Whether the exports of goog.modules should be sealed when - * possible. - */ -goog.define('goog.SEAL_MODULE_EXPORTS', goog.DEBUG); - - -/** - * The registry of initialized modules: - * the module identifier to module exports map. - * @private @const {!Object} - */ -goog.loadedModules_ = {}; - - -/** - * True if goog.dependencies_ is available. - * @const {boolean} - */ -goog.DEPENDENCIES_ENABLED = !COMPILED && goog.ENABLE_DEBUG_LOADER; - - -/** - * @define {string} How to decide whether to transpile. Valid values - * are 'always', 'never', and 'detect'. The default ('detect') is to - * use feature detection to determine which language levels need - * transpilation. - */ -// NOTE(user): we could expand this to accept a language level to bypass -// detection: e.g. goog.TRANSPILE == 'es5' would transpile ES6 files but -// would leave ES3 and ES5 files alone. -goog.define('goog.TRANSPILE', 'detect'); - - -/** - * @define {string} Path to the transpiler. Executing the script at this - * path (relative to base.js) should define a function $jscomp.transpile. - */ -goog.define('goog.TRANSPILER', 'transpile.js'); - - -if (goog.DEPENDENCIES_ENABLED) { - /** - * This object is used to keep track of dependencies and other data that is - * used for loading scripts. - * @private - * @type {{ - * loadFlags: !Object>, - * nameToPath: !Object, - * requires: !Object>, - * visited: !Object, - * written: !Object, - * deferred: !Object - * }} - */ - goog.dependencies_ = { - loadFlags: {}, // 1 to 1 - - nameToPath: {}, // 1 to 1 - - requires: {}, // 1 to many - - // Used when resolving dependencies to prevent us from visiting file twice. - visited: {}, - - written: {}, // Used to keep track of script files we have written. - - deferred: {} // Used to track deferred module evaluations in old IEs - }; - - - /** - * Tries to detect whether is in the context of an HTML document. - * @return {boolean} True if it looks like HTML document. - * @private - */ - goog.inHtmlDocument_ = function() { - /** @type {Document} */ - var doc = goog.global.document; - return doc != null && 'write' in doc; // XULDocument misses write. - }; - - - /** - * Tries to detect the base path of base.js script that bootstraps Closure. - * @private - */ - goog.findBasePath_ = function() { - if (goog.isDef(goog.global.CLOSURE_BASE_PATH) && - // Anti DOM-clobbering runtime check (b/37736576). - goog.isString(goog.global.CLOSURE_BASE_PATH)) { - goog.basePath = goog.global.CLOSURE_BASE_PATH; - return; - } else if (!goog.inHtmlDocument_()) { - return; - } - /** @type {Document} */ - var doc = goog.global.document; - // If we have a currentScript available, use it exclusively. - var currentScript = doc.currentScript; - if (currentScript) { - var scripts = [currentScript]; - } else { - var scripts = doc.getElementsByTagName('SCRIPT'); - } - // Search backwards since the current script is in almost all cases the one - // that has base.js. - for (var i = scripts.length - 1; i >= 0; --i) { - var script = /** @type {!HTMLScriptElement} */ (scripts[i]); - var src = script.src; - var qmark = src.lastIndexOf('?'); - var l = qmark == -1 ? src.length : qmark; - if (src.substr(l - 7, 7) == 'base.js') { - goog.basePath = src.substr(0, l - 7); - return; - } - } - }; - - - /** - * Imports a script if, and only if, that script hasn't already been imported. - * (Must be called at execution time) - * @param {string} src Script source. - * @param {string=} opt_sourceText The optionally source text to evaluate - * @private - */ - goog.importScript_ = function(src, opt_sourceText) { - var importScript = - goog.global.CLOSURE_IMPORT_SCRIPT || goog.writeScriptTag_; - if (importScript(src, opt_sourceText)) { - goog.dependencies_.written[src] = true; - } - }; - - - /** - * Whether the browser is IE9 or earlier, which needs special handling - * for deferred modules. - * @const @private {boolean} - */ - goog.IS_OLD_IE_ = - !!(!goog.global.atob && goog.global.document && goog.global.document.all); - - - /** - * Whether IE9 or earlier is waiting on a dependency. This ensures that - * deferred modules that have no non-deferred dependencies actually get - * loaded, since if we defer them and then never pull in a non-deferred - * script, then `goog.loadQueuedModules_` will never be called. Instead, - * if not waiting on anything we simply don't defer in the first place. - * @private {boolean} - */ - goog.oldIeWaiting_ = false; - - - /** - * Given a URL initiate retrieval and execution of a script that needs - * pre-processing. - * @param {string} src Script source URL. - * @param {boolean} isModule Whether this is a goog.module. - * @param {boolean} needsTranspile Whether this source needs transpilation. - * @private - */ - goog.importProcessedScript_ = function(src, isModule, needsTranspile) { - // In an attempt to keep browsers from timing out loading scripts using - // synchronous XHRs, put each load in its own script block. - var bootstrap = 'goog.retrieveAndExec_("' + src + '", ' + isModule + ', ' + - needsTranspile + ');'; - - goog.importScript_('', bootstrap); - }; - - - /** @private {!Array} */ - goog.queuedModules_ = []; - - - /** - * Return an appropriate module text. Suitable to insert into - * a script tag (that is unescaped). - * @param {string} srcUrl - * @param {string} scriptText - * @return {string} - * @private - */ - goog.wrapModule_ = function(srcUrl, scriptText) { - if (!goog.LOAD_MODULE_USING_EVAL || !goog.isDef(goog.global.JSON)) { - return '' + - 'goog.loadModule(function(exports) {' + - '"use strict";' + scriptText + - '\n' + // terminate any trailing single line comment. - ';return exports' + - '});' + - '\n//# sourceURL=' + srcUrl + '\n'; - } else { - return '' + - 'goog.loadModule(' + - goog.global.JSON.stringify( - scriptText + '\n//# sourceURL=' + srcUrl + '\n') + - ');'; - } - }; - - // On IE9 and earlier, it is necessary to handle - // deferred module loads. In later browsers, the - // code to be evaluated is simply inserted as a script - // block in the correct order. To eval deferred - // code at the right time, we piggy back on goog.require to call - // goog.maybeProcessDeferredDep_. - // - // The goog.requires are used both to bootstrap - // the loading process (when no deps are available) and - // declare that they should be available. - // - // Here we eval the sources, if all the deps are available - // either already eval'd or goog.require'd. This will - // be the case when all the dependencies have already - // been loaded, and the dependent module is loaded. - // - // But this alone isn't sufficient because it is also - // necessary to handle the case where there is no root - // that is not deferred. For that there we register for an event - // and trigger goog.loadQueuedModules_ handle any remaining deferred - // evaluations. - - /** - * Handle any remaining deferred goog.module evals. - * @private - */ - goog.loadQueuedModules_ = function() { - var count = goog.queuedModules_.length; - if (count > 0) { - var queue = goog.queuedModules_; - goog.queuedModules_ = []; - for (var i = 0; i < count; i++) { - var path = queue[i]; - goog.maybeProcessDeferredPath_(path); - } - } - goog.oldIeWaiting_ = false; - }; - - - /** - * Eval the named module if its dependencies are - * available. - * @param {string} name The module to load. - * @private - */ - goog.maybeProcessDeferredDep_ = function(name) { - if (goog.isDeferredModule_(name) && goog.allDepsAreAvailable_(name)) { - var path = goog.getPathFromDeps_(name); - goog.maybeProcessDeferredPath_(goog.basePath + path); - } - }; - - /** - * @param {string} name The module to check. - * @return {boolean} Whether the name represents a - * module whose evaluation has been deferred. - * @private - */ - goog.isDeferredModule_ = function(name) { - var path = goog.getPathFromDeps_(name); - var loadFlags = path && goog.dependencies_.loadFlags[path] || {}; - var languageLevel = loadFlags['lang'] || 'es3'; - if (path && (loadFlags['module'] == 'goog' || - goog.needsTranspile_(languageLevel))) { - var abspath = goog.basePath + path; - return (abspath) in goog.dependencies_.deferred; - } - return false; - }; - - /** - * @param {string} name The module to check. - * @return {boolean} Whether the name represents a - * module whose declared dependencies have all been loaded - * (eval'd or a deferred module load) - * @private - */ - goog.allDepsAreAvailable_ = function(name) { - var path = goog.getPathFromDeps_(name); - if (path && (path in goog.dependencies_.requires)) { - for (var requireName in goog.dependencies_.requires[path]) { - if (!goog.isProvided_(requireName) && - !goog.isDeferredModule_(requireName)) { - return false; - } - } - } - return true; - }; - - - /** - * @param {string} abspath - * @private - */ - goog.maybeProcessDeferredPath_ = function(abspath) { - if (abspath in goog.dependencies_.deferred) { - var src = goog.dependencies_.deferred[abspath]; - delete goog.dependencies_.deferred[abspath]; - goog.globalEval(src); - } - }; - - - /** - * Load a goog.module from the provided URL. This is not a general purpose - * code loader and does not support late loading code, that is it should only - * be used during page load. This method exists to support unit tests and - * "debug" loaders that would otherwise have inserted script tags. Under the - * hood this needs to use a synchronous XHR and is not recommeneded for - * production code. - * - * The module's goog.requires must have already been satisified; an exception - * will be thrown if this is not the case. This assumption is that no - * "deps.js" file exists, so there is no way to discover and locate the - * module-to-be-loaded's dependencies and no attempt is made to do so. - * - * There should only be one attempt to load a module. If - * "goog.loadModuleFromUrl" is called for an already loaded module, an - * exception will be throw. - * - * @param {string} url The URL from which to attempt to load the goog.module. - */ - goog.loadModuleFromUrl = function(url) { - // Because this executes synchronously, we don't need to do any additional - // bookkeeping. When "goog.loadModule" the namespace will be marked as - // having been provided which is sufficient. - goog.retrieveAndExec_(url, true, false); - }; - - - /** - * Writes a new script pointing to {@code src} directly into the DOM. - * - * NOTE: This method is not CSP-compliant. @see goog.appendScriptSrcNode_ for - * the fallback mechanism. - * - * @param {string} src The script URL. - * @private - */ - goog.writeScriptSrcNode_ = function(src) { - goog.global.document.write( - '