mini-program-cljs
Version:
1 lines • 232 kB
JSON
["^ ","~:output",["^ ","~:js","goog.provide('datascript.pull_parser');\n\n/**\n* @constructor\n * @implements {cljs.core.IRecord}\n * @implements {cljs.core.IKVReduce}\n * @implements {cljs.core.IEquiv}\n * @implements {cljs.core.IHash}\n * @implements {cljs.core.ICollection}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ISeqable}\n * @implements {cljs.core.IMeta}\n * @implements {cljs.core.ICloneable}\n * @implements {cljs.core.IPrintWithWriter}\n * @implements {cljs.core.IIterable}\n * @implements {cljs.core.IWithMeta}\n * @implements {cljs.core.IAssociative}\n * @implements {cljs.core.IMap}\n * @implements {cljs.core.ILookup}\n*/\ndatascript.pull_parser.PullSpec = (function (wildcard_QMARK_,attrs,__meta,__extmap,__hash){\nthis.wildcard_QMARK_ = wildcard_QMARK_;\nthis.attrs = attrs;\nthis.__meta = __meta;\nthis.__extmap = __extmap;\nthis.__hash = __hash;\nthis.cljs$lang$protocol_mask$partition0$ = 2230716170;\nthis.cljs$lang$protocol_mask$partition1$ = 139264;\n});\n(datascript.pull_parser.PullSpec.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4439__auto__,k__4440__auto__){\nvar self__ = this;\nvar this__4439__auto____$1 = this;\nreturn this__4439__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4440__auto__,null);\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4441__auto__,k22759,else__4442__auto__){\nvar self__ = this;\nvar this__4441__auto____$1 = this;\nvar G__22763 = k22759;\nvar G__22763__$1 = (((G__22763 instanceof cljs.core.Keyword))?G__22763.fqn:null);\nswitch (G__22763__$1) {\ncase \"wildcard?\":\nreturn self__.wildcard_QMARK_;\n\nbreak;\ncase \"attrs\":\nreturn self__.attrs;\n\nbreak;\ndefault:\nreturn cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k22759,else__4442__auto__);\n\n}\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__4458__auto__,f__4459__auto__,init__4460__auto__){\nvar self__ = this;\nvar this__4458__auto____$1 = this;\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__4461__auto__,p__22764){\nvar vec__22765 = p__22764;\nvar k__4462__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__22765,(0),null);\nvar v__4463__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__22765,(1),null);\nreturn (f__4459__auto__.cljs$core$IFn$_invoke$arity$3 ? f__4459__auto__.cljs$core$IFn$_invoke$arity$3(ret__4461__auto__,k__4462__auto__,v__4463__auto__) : f__4459__auto__.call(null,ret__4461__auto__,k__4462__auto__,v__4463__auto__));\n}),init__4460__auto__,this__4458__auto____$1);\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4453__auto__,writer__4454__auto__,opts__4455__auto__){\nvar self__ = this;\nvar this__4453__auto____$1 = this;\nvar pr_pair__4456__auto__ = (function (keyval__4457__auto__){\nreturn cljs.core.pr_sequential_writer(writer__4454__auto__,cljs.core.pr_writer,\"\",\" \",\"\",opts__4455__auto__,keyval__4457__auto__);\n});\nreturn cljs.core.pr_sequential_writer(writer__4454__auto__,pr_pair__4456__auto__,\"#datascript.pull-parser.PullSpec{\",\", \",\"}\",opts__4455__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,\"wildcard?\",\"wildcard?\",-686044101),self__.wildcard_QMARK_],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,\"attrs\",\"attrs\",-2090668713),self__.attrs],null))], null),self__.__extmap));\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__22758){\nvar self__ = this;\nvar G__22758__$1 = this;\nreturn (new cljs.core.RecordIter((0),G__22758__$1,2,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\"wildcard?\",\"wildcard?\",-686044101),new cljs.core.Keyword(null,\"attrs\",\"attrs\",-2090668713)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter())));\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4437__auto__){\nvar self__ = this;\nvar this__4437__auto____$1 = this;\nreturn self__.__meta;\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4434__auto__){\nvar self__ = this;\nvar this__4434__auto____$1 = this;\nreturn (new datascript.pull_parser.PullSpec(self__.wildcard_QMARK_,self__.attrs,self__.__meta,self__.__extmap,self__.__hash));\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__4443__auto__){\nvar self__ = this;\nvar this__4443__auto____$1 = this;\nreturn (2 + cljs.core.count(self__.__extmap));\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4435__auto__){\nvar self__ = this;\nvar this__4435__auto____$1 = this;\nvar h__4297__auto__ = self__.__hash;\nif((!((h__4297__auto__ == null)))){\nreturn h__4297__auto__;\n} else {\nvar h__4297__auto____$1 = (function (coll__4436__auto__){\nreturn (90253489 ^ cljs.core.hash_unordered_coll(coll__4436__auto__));\n})(this__4435__auto____$1);\n(self__.__hash = h__4297__auto____$1);\n\nreturn h__4297__auto____$1;\n}\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this22760,other22761){\nvar self__ = this;\nvar this22760__$1 = this;\nreturn (((!((other22761 == null)))) && ((this22760__$1.constructor === other22761.constructor)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22760__$1.wildcard_QMARK_,other22761.wildcard_QMARK_)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22760__$1.attrs,other22761.attrs)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22760__$1.__extmap,other22761.__extmap)));\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4448__auto__,k__4449__auto__){\nvar self__ = this;\nvar this__4448__auto____$1 = this;\nif(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\"attrs\",\"attrs\",-2090668713),null,new cljs.core.Keyword(null,\"wildcard?\",\"wildcard?\",-686044101),null], null), null),k__4449__auto__)){\nreturn cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__4448__auto____$1),self__.__meta),k__4449__auto__);\n} else {\nreturn (new datascript.pull_parser.PullSpec(self__.wildcard_QMARK_,self__.attrs,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__4449__auto__)),null));\n}\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4446__auto__,k__4447__auto__,G__22758){\nvar self__ = this;\nvar this__4446__auto____$1 = this;\nvar pred__22771 = cljs.core.keyword_identical_QMARK_;\nvar expr__22772 = k__4447__auto__;\nif(cljs.core.truth_((pred__22771.cljs$core$IFn$_invoke$arity$2 ? pred__22771.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\"wildcard?\",\"wildcard?\",-686044101),expr__22772) : pred__22771.call(null,new cljs.core.Keyword(null,\"wildcard?\",\"wildcard?\",-686044101),expr__22772)))){\nreturn (new datascript.pull_parser.PullSpec(G__22758,self__.attrs,self__.__meta,self__.__extmap,null));\n} else {\nif(cljs.core.truth_((pred__22771.cljs$core$IFn$_invoke$arity$2 ? pred__22771.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\"attrs\",\"attrs\",-2090668713),expr__22772) : pred__22771.call(null,new cljs.core.Keyword(null,\"attrs\",\"attrs\",-2090668713),expr__22772)))){\nreturn (new datascript.pull_parser.PullSpec(self__.wildcard_QMARK_,G__22758,self__.__meta,self__.__extmap,null));\n} else {\nreturn (new datascript.pull_parser.PullSpec(self__.wildcard_QMARK_,self__.attrs,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__4447__auto__,G__22758),null));\n}\n}\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4451__auto__){\nvar self__ = this;\nvar this__4451__auto____$1 = this;\nreturn cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,\"wildcard?\",\"wildcard?\",-686044101),self__.wildcard_QMARK_,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,\"attrs\",\"attrs\",-2090668713),self__.attrs,null))], null),self__.__extmap));\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__4438__auto__,G__22758){\nvar self__ = this;\nvar this__4438__auto____$1 = this;\nreturn (new datascript.pull_parser.PullSpec(self__.wildcard_QMARK_,self__.attrs,G__22758,self__.__extmap,self__.__hash));\n}));\n\n(datascript.pull_parser.PullSpec.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4444__auto__,entry__4445__auto__){\nvar self__ = this;\nvar this__4444__auto____$1 = this;\nif(cljs.core.vector_QMARK_(entry__4445__auto__)){\nreturn this__4444__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth(entry__4445__auto__,(0)),cljs.core._nth(entry__4445__auto__,(1)));\n} else {\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__4444__auto____$1,entry__4445__auto__);\n}\n}));\n\n(datascript.pull_parser.PullSpec.getBasis = (function (){\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\"wildcard?\",\"wildcard?\",954487426,null),new cljs.core.Symbol(null,\"attrs\",\"attrs\",-450137186,null)], null);\n}));\n\n(datascript.pull_parser.PullSpec.cljs$lang$type = true);\n\n(datascript.pull_parser.PullSpec.cljs$lang$ctorPrSeq = (function (this__4482__auto__){\nreturn (new cljs.core.List(null,\"datascript.pull-parser/PullSpec\",null,(1),null));\n}));\n\n(datascript.pull_parser.PullSpec.cljs$lang$ctorPrWriter = (function (this__4482__auto__,writer__4483__auto__){\nreturn cljs.core._write(writer__4483__auto__,\"datascript.pull-parser/PullSpec\");\n}));\n\n/**\n * Positional factory function for datascript.pull-parser/PullSpec.\n */\ndatascript.pull_parser.__GT_PullSpec = (function datascript$pull_parser$__GT_PullSpec(wildcard_QMARK_,attrs){\nreturn (new datascript.pull_parser.PullSpec(wildcard_QMARK_,attrs,null,null,null));\n});\n\n/**\n * Factory function for datascript.pull-parser/PullSpec, taking a map of keywords to field values.\n */\ndatascript.pull_parser.map__GT_PullSpec = (function datascript$pull_parser$map__GT_PullSpec(G__22762){\nvar extmap__4478__auto__ = (function (){var G__22775 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__22762,new cljs.core.Keyword(null,\"wildcard?\",\"wildcard?\",-686044101),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\"attrs\",\"attrs\",-2090668713)], 0));\nif(cljs.core.record_QMARK_(G__22762)){\nreturn cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__22775);\n} else {\nreturn G__22775;\n}\n})();\nreturn (new datascript.pull_parser.PullSpec(new cljs.core.Keyword(null,\"wildcard?\",\"wildcard?\",-686044101).cljs$core$IFn$_invoke$arity$1(G__22762),new cljs.core.Keyword(null,\"attrs\",\"attrs\",-2090668713).cljs$core$IFn$_invoke$arity$1(G__22762),null,cljs.core.not_empty(extmap__4478__auto__),null));\n});\n\n\n/**\n * @interface\n */\ndatascript.pull_parser.IPullSpecComponent = function(){};\n\ndatascript.pull_parser._as_spec = (function datascript$pull_parser$_as_spec(this$){\nif((((!((this$ == null)))) && ((!((this$.datascript$pull_parser$IPullSpecComponent$_as_spec$arity$1 == null)))))){\nreturn this$.datascript$pull_parser$IPullSpecComponent$_as_spec$arity$1(this$);\n} else {\nvar x__4487__auto__ = (((this$ == null))?null:this$);\nvar m__4488__auto__ = (datascript.pull_parser._as_spec[goog.typeOf(x__4487__auto__)]);\nif((!((m__4488__auto__ == null)))){\nreturn (m__4488__auto__.cljs$core$IFn$_invoke$arity$1 ? m__4488__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__4488__auto__.call(null,this$));\n} else {\nvar m__4485__auto__ = (datascript.pull_parser._as_spec[\"_\"]);\nif((!((m__4485__auto__ == null)))){\nreturn (m__4485__auto__.cljs$core$IFn$_invoke$arity$1 ? m__4485__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__4485__auto__.call(null,this$));\n} else {\nthrow cljs.core.missing_protocol(\"IPullSpecComponent.-as-spec\",this$);\n}\n}\n}\n});\n\n\n/**\n* @constructor\n * @implements {cljs.core.IRecord}\n * @implements {cljs.core.IKVReduce}\n * @implements {cljs.core.IEquiv}\n * @implements {cljs.core.IHash}\n * @implements {cljs.core.ICollection}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ISeqable}\n * @implements {cljs.core.IMeta}\n * @implements {cljs.core.ICloneable}\n * @implements {cljs.core.IPrintWithWriter}\n * @implements {cljs.core.IIterable}\n * @implements {datascript.pull_parser.IPullSpecComponent}\n * @implements {cljs.core.IWithMeta}\n * @implements {cljs.core.IAssociative}\n * @implements {cljs.core.IMap}\n * @implements {cljs.core.ILookup}\n*/\ndatascript.pull_parser.PullAttrName = (function (attr,__meta,__extmap,__hash){\nthis.attr = attr;\nthis.__meta = __meta;\nthis.__extmap = __extmap;\nthis.__hash = __hash;\nthis.cljs$lang$protocol_mask$partition0$ = 2230716170;\nthis.cljs$lang$protocol_mask$partition1$ = 139264;\n});\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4439__auto__,k__4440__auto__){\nvar self__ = this;\nvar this__4439__auto____$1 = this;\nreturn this__4439__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4440__auto__,null);\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4441__auto__,k22777,else__4442__auto__){\nvar self__ = this;\nvar this__4441__auto____$1 = this;\nvar G__22784 = k22777;\nvar G__22784__$1 = (((G__22784 instanceof cljs.core.Keyword))?G__22784.fqn:null);\nswitch (G__22784__$1) {\ncase \"attr\":\nreturn self__.attr;\n\nbreak;\ndefault:\nreturn cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k22777,else__4442__auto__);\n\n}\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__4458__auto__,f__4459__auto__,init__4460__auto__){\nvar self__ = this;\nvar this__4458__auto____$1 = this;\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__4461__auto__,p__22785){\nvar vec__22786 = p__22785;\nvar k__4462__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__22786,(0),null);\nvar v__4463__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__22786,(1),null);\nreturn (f__4459__auto__.cljs$core$IFn$_invoke$arity$3 ? f__4459__auto__.cljs$core$IFn$_invoke$arity$3(ret__4461__auto__,k__4462__auto__,v__4463__auto__) : f__4459__auto__.call(null,ret__4461__auto__,k__4462__auto__,v__4463__auto__));\n}),init__4460__auto__,this__4458__auto____$1);\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4453__auto__,writer__4454__auto__,opts__4455__auto__){\nvar self__ = this;\nvar this__4453__auto____$1 = this;\nvar pr_pair__4456__auto__ = (function (keyval__4457__auto__){\nreturn cljs.core.pr_sequential_writer(writer__4454__auto__,cljs.core.pr_writer,\"\",\" \",\"\",opts__4455__auto__,keyval__4457__auto__);\n});\nreturn cljs.core.pr_sequential_writer(writer__4454__auto__,pr_pair__4456__auto__,\"#datascript.pull-parser.PullAttrName{\",\", \",\"}\",opts__4455__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),self__.attr],null))], null),self__.__extmap));\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__22776){\nvar self__ = this;\nvar G__22776__$1 = this;\nreturn (new cljs.core.RecordIter((0),G__22776__$1,1,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter())));\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4437__auto__){\nvar self__ = this;\nvar this__4437__auto____$1 = this;\nreturn self__.__meta;\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4434__auto__){\nvar self__ = this;\nvar this__4434__auto____$1 = this;\nreturn (new datascript.pull_parser.PullAttrName(self__.attr,self__.__meta,self__.__extmap,self__.__hash));\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__4443__auto__){\nvar self__ = this;\nvar this__4443__auto____$1 = this;\nreturn (1 + cljs.core.count(self__.__extmap));\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4435__auto__){\nvar self__ = this;\nvar this__4435__auto____$1 = this;\nvar h__4297__auto__ = self__.__hash;\nif((!((h__4297__auto__ == null)))){\nreturn h__4297__auto__;\n} else {\nvar h__4297__auto____$1 = (function (coll__4436__auto__){\nreturn (-838771693 ^ cljs.core.hash_unordered_coll(coll__4436__auto__));\n})(this__4435__auto____$1);\n(self__.__hash = h__4297__auto____$1);\n\nreturn h__4297__auto____$1;\n}\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this22778,other22779){\nvar self__ = this;\nvar this22778__$1 = this;\nreturn (((!((other22779 == null)))) && ((this22778__$1.constructor === other22779.constructor)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22778__$1.attr,other22779.attr)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22778__$1.__extmap,other22779.__extmap)));\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.datascript$pull_parser$IPullSpecComponent$ = cljs.core.PROTOCOL_SENTINEL);\n\n(datascript.pull_parser.PullAttrName.prototype.datascript$pull_parser$IPullSpecComponent$_as_spec$arity$1 = (function (this$){\nvar self__ = this;\nvar this$__$1 = this;\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.attr,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),self__.attr], null)], null);\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4448__auto__,k__4449__auto__){\nvar self__ = this;\nvar this__4448__auto____$1 = this;\nif(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),null], null), null),k__4449__auto__)){\nreturn cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__4448__auto____$1),self__.__meta),k__4449__auto__);\n} else {\nreturn (new datascript.pull_parser.PullAttrName(self__.attr,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__4449__auto__)),null));\n}\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4446__auto__,k__4447__auto__,G__22776){\nvar self__ = this;\nvar this__4446__auto____$1 = this;\nvar pred__22790 = cljs.core.keyword_identical_QMARK_;\nvar expr__22791 = k__4447__auto__;\nif(cljs.core.truth_((pred__22790.cljs$core$IFn$_invoke$arity$2 ? pred__22790.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),expr__22791) : pred__22790.call(null,new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),expr__22791)))){\nreturn (new datascript.pull_parser.PullAttrName(G__22776,self__.__meta,self__.__extmap,null));\n} else {\nreturn (new datascript.pull_parser.PullAttrName(self__.attr,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__4447__auto__,G__22776),null));\n}\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4451__auto__){\nvar self__ = this;\nvar this__4451__auto____$1 = this;\nreturn cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),self__.attr,null))], null),self__.__extmap));\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__4438__auto__,G__22776){\nvar self__ = this;\nvar this__4438__auto____$1 = this;\nreturn (new datascript.pull_parser.PullAttrName(self__.attr,G__22776,self__.__extmap,self__.__hash));\n}));\n\n(datascript.pull_parser.PullAttrName.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4444__auto__,entry__4445__auto__){\nvar self__ = this;\nvar this__4444__auto____$1 = this;\nif(cljs.core.vector_QMARK_(entry__4445__auto__)){\nreturn this__4444__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth(entry__4445__auto__,(0)),cljs.core._nth(entry__4445__auto__,(1)));\n} else {\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__4444__auto____$1,entry__4445__auto__);\n}\n}));\n\n(datascript.pull_parser.PullAttrName.getBasis = (function (){\nreturn new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\"attr\",\"attr\",1036399174,null)], null);\n}));\n\n(datascript.pull_parser.PullAttrName.cljs$lang$type = true);\n\n(datascript.pull_parser.PullAttrName.cljs$lang$ctorPrSeq = (function (this__4482__auto__){\nreturn (new cljs.core.List(null,\"datascript.pull-parser/PullAttrName\",null,(1),null));\n}));\n\n(datascript.pull_parser.PullAttrName.cljs$lang$ctorPrWriter = (function (this__4482__auto__,writer__4483__auto__){\nreturn cljs.core._write(writer__4483__auto__,\"datascript.pull-parser/PullAttrName\");\n}));\n\n/**\n * Positional factory function for datascript.pull-parser/PullAttrName.\n */\ndatascript.pull_parser.__GT_PullAttrName = (function datascript$pull_parser$__GT_PullAttrName(attr){\nreturn (new datascript.pull_parser.PullAttrName(attr,null,null,null));\n});\n\n/**\n * Factory function for datascript.pull-parser/PullAttrName, taking a map of keywords to field values.\n */\ndatascript.pull_parser.map__GT_PullAttrName = (function datascript$pull_parser$map__GT_PullAttrName(G__22780){\nvar extmap__4478__auto__ = (function (){var G__22793 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(G__22780,new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353));\nif(cljs.core.record_QMARK_(G__22780)){\nreturn cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__22793);\n} else {\nreturn G__22793;\n}\n})();\nreturn (new datascript.pull_parser.PullAttrName(new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353).cljs$core$IFn$_invoke$arity$1(G__22780),null,cljs.core.not_empty(extmap__4478__auto__),null));\n});\n\n\n/**\n* @constructor\n * @implements {cljs.core.IRecord}\n * @implements {cljs.core.IKVReduce}\n * @implements {cljs.core.IEquiv}\n * @implements {cljs.core.IHash}\n * @implements {cljs.core.ICollection}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ISeqable}\n * @implements {cljs.core.IMeta}\n * @implements {cljs.core.ICloneable}\n * @implements {cljs.core.IPrintWithWriter}\n * @implements {cljs.core.IIterable}\n * @implements {datascript.pull_parser.IPullSpecComponent}\n * @implements {cljs.core.IWithMeta}\n * @implements {cljs.core.IAssociative}\n * @implements {cljs.core.IMap}\n * @implements {cljs.core.ILookup}\n*/\ndatascript.pull_parser.PullReverseAttrName = (function (attr,rattr,__meta,__extmap,__hash){\nthis.attr = attr;\nthis.rattr = rattr;\nthis.__meta = __meta;\nthis.__extmap = __extmap;\nthis.__hash = __hash;\nthis.cljs$lang$protocol_mask$partition0$ = 2230716170;\nthis.cljs$lang$protocol_mask$partition1$ = 139264;\n});\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4439__auto__,k__4440__auto__){\nvar self__ = this;\nvar this__4439__auto____$1 = this;\nreturn this__4439__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4440__auto__,null);\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4441__auto__,k22795,else__4442__auto__){\nvar self__ = this;\nvar this__4441__auto____$1 = this;\nvar G__22814 = k22795;\nvar G__22814__$1 = (((G__22814 instanceof cljs.core.Keyword))?G__22814.fqn:null);\nswitch (G__22814__$1) {\ncase \"attr\":\nreturn self__.attr;\n\nbreak;\ncase \"rattr\":\nreturn self__.rattr;\n\nbreak;\ndefault:\nreturn cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k22795,else__4442__auto__);\n\n}\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__4458__auto__,f__4459__auto__,init__4460__auto__){\nvar self__ = this;\nvar this__4458__auto____$1 = this;\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__4461__auto__,p__22815){\nvar vec__22816 = p__22815;\nvar k__4462__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__22816,(0),null);\nvar v__4463__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__22816,(1),null);\nreturn (f__4459__auto__.cljs$core$IFn$_invoke$arity$3 ? f__4459__auto__.cljs$core$IFn$_invoke$arity$3(ret__4461__auto__,k__4462__auto__,v__4463__auto__) : f__4459__auto__.call(null,ret__4461__auto__,k__4462__auto__,v__4463__auto__));\n}),init__4460__auto__,this__4458__auto____$1);\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4453__auto__,writer__4454__auto__,opts__4455__auto__){\nvar self__ = this;\nvar this__4453__auto____$1 = this;\nvar pr_pair__4456__auto__ = (function (keyval__4457__auto__){\nreturn cljs.core.pr_sequential_writer(writer__4454__auto__,cljs.core.pr_writer,\"\",\" \",\"\",opts__4455__auto__,keyval__4457__auto__);\n});\nreturn cljs.core.pr_sequential_writer(writer__4454__auto__,pr_pair__4456__auto__,\"#datascript.pull-parser.PullReverseAttrName{\",\", \",\"}\",opts__4455__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),self__.attr],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,\"rattr\",\"rattr\",-1122345563),self__.rattr],null))], null),self__.__extmap));\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__22794){\nvar self__ = this;\nvar G__22794__$1 = this;\nreturn (new cljs.core.RecordIter((0),G__22794__$1,2,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),new cljs.core.Keyword(null,\"rattr\",\"rattr\",-1122345563)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter())));\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4437__auto__){\nvar self__ = this;\nvar this__4437__auto____$1 = this;\nreturn self__.__meta;\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4434__auto__){\nvar self__ = this;\nvar this__4434__auto____$1 = this;\nreturn (new datascript.pull_parser.PullReverseAttrName(self__.attr,self__.rattr,self__.__meta,self__.__extmap,self__.__hash));\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__4443__auto__){\nvar self__ = this;\nvar this__4443__auto____$1 = this;\nreturn (2 + cljs.core.count(self__.__extmap));\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4435__auto__){\nvar self__ = this;\nvar this__4435__auto____$1 = this;\nvar h__4297__auto__ = self__.__hash;\nif((!((h__4297__auto__ == null)))){\nreturn h__4297__auto__;\n} else {\nvar h__4297__auto____$1 = (function (coll__4436__auto__){\nreturn (158820207 ^ cljs.core.hash_unordered_coll(coll__4436__auto__));\n})(this__4435__auto____$1);\n(self__.__hash = h__4297__auto____$1);\n\nreturn h__4297__auto____$1;\n}\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this22796,other22797){\nvar self__ = this;\nvar this22796__$1 = this;\nreturn (((!((other22797 == null)))) && ((this22796__$1.constructor === other22797.constructor)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22796__$1.attr,other22797.attr)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22796__$1.rattr,other22797.rattr)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22796__$1.__extmap,other22797.__extmap)));\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.datascript$pull_parser$IPullSpecComponent$ = cljs.core.PROTOCOL_SENTINEL);\n\n(datascript.pull_parser.PullReverseAttrName.prototype.datascript$pull_parser$IPullSpecComponent$_as_spec$arity$1 = (function (this$){\nvar self__ = this;\nvar this$__$1 = this;\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.rattr,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),self__.attr], null)], null);\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4448__auto__,k__4449__auto__){\nvar self__ = this;\nvar this__4448__auto____$1 = this;\nif(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\"rattr\",\"rattr\",-1122345563),null,new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),null], null), null),k__4449__auto__)){\nreturn cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__4448__auto____$1),self__.__meta),k__4449__auto__);\n} else {\nreturn (new datascript.pull_parser.PullReverseAttrName(self__.attr,self__.rattr,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__4449__auto__)),null));\n}\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4446__auto__,k__4447__auto__,G__22794){\nvar self__ = this;\nvar this__4446__auto____$1 = this;\nvar pred__22820 = cljs.core.keyword_identical_QMARK_;\nvar expr__22821 = k__4447__auto__;\nif(cljs.core.truth_((pred__22820.cljs$core$IFn$_invoke$arity$2 ? pred__22820.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),expr__22821) : pred__22820.call(null,new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),expr__22821)))){\nreturn (new datascript.pull_parser.PullReverseAttrName(G__22794,self__.rattr,self__.__meta,self__.__extmap,null));\n} else {\nif(cljs.core.truth_((pred__22820.cljs$core$IFn$_invoke$arity$2 ? pred__22820.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\"rattr\",\"rattr\",-1122345563),expr__22821) : pred__22820.call(null,new cljs.core.Keyword(null,\"rattr\",\"rattr\",-1122345563),expr__22821)))){\nreturn (new datascript.pull_parser.PullReverseAttrName(self__.attr,G__22794,self__.__meta,self__.__extmap,null));\n} else {\nreturn (new datascript.pull_parser.PullReverseAttrName(self__.attr,self__.rattr,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__4447__auto__,G__22794),null));\n}\n}\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4451__auto__){\nvar self__ = this;\nvar this__4451__auto____$1 = this;\nreturn cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),self__.attr,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,\"rattr\",\"rattr\",-1122345563),self__.rattr,null))], null),self__.__extmap));\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__4438__auto__,G__22794){\nvar self__ = this;\nvar this__4438__auto____$1 = this;\nreturn (new datascript.pull_parser.PullReverseAttrName(self__.attr,self__.rattr,G__22794,self__.__extmap,self__.__hash));\n}));\n\n(datascript.pull_parser.PullReverseAttrName.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4444__auto__,entry__4445__auto__){\nvar self__ = this;\nvar this__4444__auto____$1 = this;\nif(cljs.core.vector_QMARK_(entry__4445__auto__)){\nreturn this__4444__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth(entry__4445__auto__,(0)),cljs.core._nth(entry__4445__auto__,(1)));\n} else {\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__4444__auto____$1,entry__4445__auto__);\n}\n}));\n\n(datascript.pull_parser.PullReverseAttrName.getBasis = (function (){\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\"attr\",\"attr\",1036399174,null),new cljs.core.Symbol(null,\"rattr\",\"rattr\",518185964,null)], null);\n}));\n\n(datascript.pull_parser.PullReverseAttrName.cljs$lang$type = true);\n\n(datascript.pull_parser.PullReverseAttrName.cljs$lang$ctorPrSeq = (function (this__4482__auto__){\nreturn (new cljs.core.List(null,\"datascript.pull-parser/PullReverseAttrName\",null,(1),null));\n}));\n\n(datascript.pull_parser.PullReverseAttrName.cljs$lang$ctorPrWriter = (function (this__4482__auto__,writer__4483__auto__){\nreturn cljs.core._write(writer__4483__auto__,\"datascript.pull-parser/PullReverseAttrName\");\n}));\n\n/**\n * Positional factory function for datascript.pull-parser/PullReverseAttrName.\n */\ndatascript.pull_parser.__GT_PullReverseAttrName = (function datascript$pull_parser$__GT_PullReverseAttrName(attr,rattr){\nreturn (new datascript.pull_parser.PullReverseAttrName(attr,rattr,null,null,null));\n});\n\n/**\n * Factory function for datascript.pull-parser/PullReverseAttrName, taking a map of keywords to field values.\n */\ndatascript.pull_parser.map__GT_PullReverseAttrName = (function datascript$pull_parser$map__GT_PullReverseAttrName(G__22798){\nvar extmap__4478__auto__ = (function (){var G__22823 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__22798,new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\"rattr\",\"rattr\",-1122345563)], 0));\nif(cljs.core.record_QMARK_(G__22798)){\nreturn cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__22823);\n} else {\nreturn G__22823;\n}\n})();\nreturn (new datascript.pull_parser.PullReverseAttrName(new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353).cljs$core$IFn$_invoke$arity$1(G__22798),new cljs.core.Keyword(null,\"rattr\",\"rattr\",-1122345563).cljs$core$IFn$_invoke$arity$1(G__22798),null,cljs.core.not_empty(extmap__4478__auto__),null));\n});\n\n\n/**\n* @constructor\n * @implements {cljs.core.IRecord}\n * @implements {cljs.core.IKVReduce}\n * @implements {cljs.core.IEquiv}\n * @implements {cljs.core.IHash}\n * @implements {cljs.core.ICollection}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ISeqable}\n * @implements {cljs.core.IMeta}\n * @implements {cljs.core.ICloneable}\n * @implements {cljs.core.IPrintWithWriter}\n * @implements {cljs.core.IIterable}\n * @implements {datascript.pull_parser.IPullSpecComponent}\n * @implements {cljs.core.IWithMeta}\n * @implements {cljs.core.IAssociative}\n * @implements {cljs.core.IMap}\n * @implements {cljs.core.ILookup}\n*/\ndatascript.pull_parser.PullLimitExpr = (function (attr,limit,__meta,__extmap,__hash){\nthis.attr = attr;\nthis.limit = limit;\nthis.__meta = __meta;\nthis.__extmap = __extmap;\nthis.__hash = __hash;\nthis.cljs$lang$protocol_mask$partition0$ = 2230716170;\nthis.cljs$lang$protocol_mask$partition1$ = 139264;\n});\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4439__auto__,k__4440__auto__){\nvar self__ = this;\nvar this__4439__auto____$1 = this;\nreturn this__4439__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4440__auto__,null);\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4441__auto__,k22825,else__4442__auto__){\nvar self__ = this;\nvar this__4441__auto____$1 = this;\nvar G__22829 = k22825;\nvar G__22829__$1 = (((G__22829 instanceof cljs.core.Keyword))?G__22829.fqn:null);\nswitch (G__22829__$1) {\ncase \"attr\":\nreturn self__.attr;\n\nbreak;\ncase \"limit\":\nreturn self__.limit;\n\nbreak;\ndefault:\nreturn cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k22825,else__4442__auto__);\n\n}\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__4458__auto__,f__4459__auto__,init__4460__auto__){\nvar self__ = this;\nvar this__4458__auto____$1 = this;\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__4461__auto__,p__22830){\nvar vec__22831 = p__22830;\nvar k__4462__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__22831,(0),null);\nvar v__4463__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__22831,(1),null);\nreturn (f__4459__auto__.cljs$core$IFn$_invoke$arity$3 ? f__4459__auto__.cljs$core$IFn$_invoke$arity$3(ret__4461__auto__,k__4462__auto__,v__4463__auto__) : f__4459__auto__.call(null,ret__4461__auto__,k__4462__auto__,v__4463__auto__));\n}),init__4460__auto__,this__4458__auto____$1);\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__4453__auto__,writer__4454__auto__,opts__4455__auto__){\nvar self__ = this;\nvar this__4453__auto____$1 = this;\nvar pr_pair__4456__auto__ = (function (keyval__4457__auto__){\nreturn cljs.core.pr_sequential_writer(writer__4454__auto__,cljs.core.pr_writer,\"\",\" \",\"\",opts__4455__auto__,keyval__4457__auto__);\n});\nreturn cljs.core.pr_sequential_writer(writer__4454__auto__,pr_pair__4456__auto__,\"#datascript.pull-parser.PullLimitExpr{\",\", \",\"}\",opts__4455__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),self__.attr],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,\"limit\",\"limit\",-1355822363),self__.limit],null))], null),self__.__extmap));\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__22824){\nvar self__ = this;\nvar G__22824__$1 = this;\nreturn (new cljs.core.RecordIter((0),G__22824__$1,2,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),new cljs.core.Keyword(null,\"limit\",\"limit\",-1355822363)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter())));\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__4437__auto__){\nvar self__ = this;\nvar this__4437__auto____$1 = this;\nreturn self__.__meta;\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__4434__auto__){\nvar self__ = this;\nvar this__4434__auto____$1 = this;\nreturn (new datascript.pull_parser.PullLimitExpr(self__.attr,self__.limit,self__.__meta,self__.__extmap,self__.__hash));\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__4443__auto__){\nvar self__ = this;\nvar this__4443__auto____$1 = this;\nreturn (2 + cljs.core.count(self__.__extmap));\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__4435__auto__){\nvar self__ = this;\nvar this__4435__auto____$1 = this;\nvar h__4297__auto__ = self__.__hash;\nif((!((h__4297__auto__ == null)))){\nreturn h__4297__auto__;\n} else {\nvar h__4297__auto____$1 = (function (coll__4436__auto__){\nreturn (2109320956 ^ cljs.core.hash_unordered_coll(coll__4436__auto__));\n})(this__4435__auto____$1);\n(self__.__hash = h__4297__auto____$1);\n\nreturn h__4297__auto____$1;\n}\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this22826,other22827){\nvar self__ = this;\nvar this22826__$1 = this;\nreturn (((!((other22827 == null)))) && ((this22826__$1.constructor === other22827.constructor)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22826__$1.attr,other22827.attr)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22826__$1.limit,other22827.limit)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this22826__$1.__extmap,other22827.__extmap)));\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.datascript$pull_parser$IPullSpecComponent$ = cljs.core.PROTOCOL_SENTINEL);\n\n(datascript.pull_parser.PullLimitExpr.prototype.datascript$pull_parser$IPullSpecComponent$_as_spec$arity$1 = (function (this$){\nvar self__ = this;\nvar this$__$1 = this;\nreturn cljs.core.assoc_in(datascript.pull_parser._as_spec(self__.attr),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),new cljs.core.Keyword(null,\"limit\",\"limit\",-1355822363)], null),self__.limit);\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__4448__auto__,k__4449__auto__){\nvar self__ = this;\nvar this__4448__auto____$1 = this;\nif(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\"limit\",\"limit\",-1355822363),null,new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),null], null), null),k__4449__auto__)){\nreturn cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__4448__auto____$1),self__.__meta),k__4449__auto__);\n} else {\nreturn (new datascript.pull_parser.PullLimitExpr(self__.attr,self__.limit,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__4449__auto__)),null));\n}\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__4446__auto__,k__4447__auto__,G__22824){\nvar self__ = this;\nvar this__4446__auto____$1 = this;\nvar pred__22834 = cljs.core.keyword_identical_QMARK_;\nvar expr__22835 = k__4447__auto__;\nif(cljs.core.truth_((pred__22834.cljs$core$IFn$_invoke$arity$2 ? pred__22834.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),expr__22835) : pred__22834.call(null,new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),expr__22835)))){\nreturn (new datascript.pull_parser.PullLimitExpr(G__22824,self__.limit,self__.__meta,self__.__extmap,null));\n} else {\nif(cljs.core.truth_((pred__22834.cljs$core$IFn$_invoke$arity$2 ? pred__22834.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\"limit\",\"limit\",-1355822363),expr__22835) : pred__22834.call(null,new cljs.core.Keyword(null,\"limit\",\"limit\",-1355822363),expr__22835)))){\nreturn (new datascript.pull_parser.PullLimitExpr(self__.attr,G__22824,self__.__meta,self__.__extmap,null));\n} else {\nreturn (new datascript.pull_parser.PullLimitExpr(self__.attr,self__.limit,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__4447__auto__,G__22824),null));\n}\n}\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__4451__auto__){\nvar self__ = this;\nvar this__4451__auto____$1 = this;\nreturn cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),self__.attr,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,\"limit\",\"limit\",-1355822363),self__.limit,null))], null),self__.__extmap));\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__4438__auto__,G__22824){\nvar self__ = this;\nvar this__4438__auto____$1 = this;\nreturn (new datascript.pull_parser.PullLimitExpr(self__.attr,self__.limit,G__22824,self__.__extmap,self__.__hash));\n}));\n\n(datascript.pull_parser.PullLimitExpr.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__4444__auto__,entry__4445__auto__){\nvar self__ = this;\nvar this__4444__auto____$1 = this;\nif(cljs.core.vector_QMARK_(entry__4445__auto__)){\nreturn this__4444__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null,cljs.core._nth(entry__4445__auto__,(0)),cljs.core._nth(entry__4445__auto__,(1)));\n} else {\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__4444__auto____$1,entry__4445__auto__);\n}\n}));\n\n(datascript.pull_parser.PullLimitExpr.getBasis = (function (){\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\"attr\",\"attr\",1036399174,null),new cljs.core.Symbol(null,\"limit\",\"limit\",284709164,null)], null);\n}));\n\n(datascript.pull_parser.PullLimitExpr.cljs$lang$type = true);\n\n(datascript.pull_parser.PullLimitExpr.cljs$lang$ctorPrSeq = (function (this__4482__auto__){\nreturn (new cljs.core.List(null,\"datascript.pull-parser/PullLimitExpr\",null,(1),null));\n}));\n\n(datascript.pull_parser.PullLimitExpr.cljs$lang$ctorPrWriter = (function (this__4482__auto__,writer__4483__auto__){\nreturn cljs.core._write(writer__4483__auto__,\"datascript.pull-parser/PullLimitExpr\");\n}));\n\n/**\n * Positional factory function for datascript.pull-parser/PullLimitExpr.\n */\ndatascript.pull_parser.__GT_PullLimitExpr = (function datascript$pull_parser$__GT_PullLimitExpr(attr,limit){\nreturn (new datascript.pull_parser.PullLimitExpr(attr,limit,null,null,null));\n});\n\n/**\n * Factory function for datascript.pull-parser/PullLimitExpr, taking a map of keywords to field values.\n */\ndatascript.pull_parser.map__GT_PullLimitExpr = (function datascript$pull_parser$map__GT_PullLimitExpr(G__22828){\nvar extmap__4478__auto__ = (function (){var G__22837 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__22828,new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\"limit\",\"limit\",-1355822363)], 0));\nif(cljs.core.record_QMARK_(G__22828)){\nreturn cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__22837);\n} else {\nreturn G__22837;\n}\n})();\nreturn (new datascript.pull_parser.PullLimitExpr(new cljs.core.Keyword(null,\"attr\",\"attr\",-604132353).cljs$core$IFn$_invoke$arity$1(G__22828),new cljs.core.Keyword(null,\"limit\",\"limit\",-1355822363).cljs$core$IFn$_invoke$arity$1(G__22828),null,cljs.core.not_empty(extmap__4478__auto__),null));\n});\n\n\n/**\n* @constructor\n * @implements {cljs.core.IRecord}\n * @implements {cljs.core.IKVReduce}\n * @implements {cljs.core.IEquiv}\n * @implements {cljs.core.IHash}\n * @implements {cljs.core.ICollection}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ISeqable}\n * @implements {cljs.core.IMeta}\n * @implements {cljs.core.ICloneable}\n * @implements {cljs.core.IPrintWithWriter}\n * @implements {cljs.core.IIterable}\n * @implements {datascript.pull_parser.IPullSpecComponent}\n * @implements {cljs.core.IWithMeta}\n * @implements {cljs.core.IAssociative}\n * @implements {cljs.core.IMap}\n * @implements {cljs.core.ILookup}\n*/\ndatascript.pull_parser.PullDefaultExpr = (function (attr,value,__meta,__extmap,__hash){\nthis.attr = attr;\nthis.value = value;\nthis.__meta = __meta;\nthis.__extmap = __extmap;\nthis.__hash = __hash;\nthis.cljs$lang$protocol_mask$partition0$ = 2230716170;\nthis.cljs$lang$protocol_mask$partition1$ = 139264;\n});\n(datascript.pull_parser.PullDefaultExpr.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__4439__auto__,k__4440__auto__){\nvar self__ = this;\nvar this__4439__auto____$1 = this;\nreturn this__4439__auto____$1.cljs$core$ILookup$_lookup$arity$3(null,k__4440__auto__,null);\n}));\n\n(datascript.pull_parser.PullDefaultExpr.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__4441__auto__,k22839,else__4442__auto__){\nvar self__ = this;\nvar this__4441__auto____$1 = this;\nvar G__22843 = k22839;\nvar G__22843__$1 = (((G__22843 instanceof cljs.core.Keyword))?G__22843.fqn:null);\nswitch (G__22843__$1) {\ncase \"attr\":\nreturn self__.attr;\n\nbreak;\ncase \"value\":\nreturn self__.value;\n\nbreak;\ndefault:\nreturn cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k22839,else__4442__au