goog.provide('sci.configs.cjohansen.replicant');
sci.configs.cjohansen.replicant.rdns = sci.core.create_ns.cljs$core$IFn$_invoke$arity$2(new cljs.core.Symbol(null,"replicant.dom","replicant.dom",1645689663,null),null);
sci.configs.cjohansen.replicant.replicant_dom_namespace = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Symbol(null,"render","render",232498073,null),(function (){var ns__49611__auto__ = sci.configs.cjohansen.replicant.rdns;
var var__49612__auto__ = new cljs.core.Var(function(){return replicant.dom.render;},new cljs.core.Symbol("replicant.dom","render","replicant.dom/render",-1043516497,null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"top-fn","top-fn",-2056129173),new cljs.core.Keyword(null,"export","export",214356590),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"test","test",577538877)],[new cljs.core.Symbol(null,"replicant.dom","replicant.dom",1645689663,null),new cljs.core.Symbol(null,"render","render",232498073,null),"replicant/dom.cljs",22,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"variadic?","variadic?",584179762),true,new cljs.core.Keyword(null,"fixed-arity","fixed-arity",1586445869),(2),new cljs.core.Keyword(null,"max-fixed-arity","max-fixed-arity",-690205543),(2),new cljs.core.Keyword(null,"method-params","method-params",-980792179),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.list(cljs.core.with_meta(new cljs.core.Symbol(null,"el","el",22330409,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"js","js",-886355190,null)], null)),new cljs.core.Symbol(null,"hiccup","hiccup",-1435559531,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"keys","keys",1068423698),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"aliases","aliases",-1307561055,null),new cljs.core.Symbol(null,"alias-data","alias-data",-910571839,null)], null)], null)], null))], null),new cljs.core.Keyword(null,"arglists","arglists",1661989754),cljs.core.list(new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"el","el",22330409,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"js","js",-886355190,null)], null)),new cljs.core.Symbol(null,"hiccup","hiccup",-1435559531,null),new cljs.core.Symbol(null,"&","&",-2144855648,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"keys","keys",1068423698),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"aliases","aliases",-1307561055,null),new cljs.core.Symbol(null,"alias-data","alias-data",-910571839,null)], null)], null)], null)], null)),new cljs.core.Keyword(null,"arglists-meta","arglists-meta",1944829838),cljs.core.list(null)], null),true,1,207,207,cljs.core.list(new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"el","el",22330409,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"js","js",-886355190,null)], null)),new cljs.core.Symbol(null,"hiccup","hiccup",-1435559531,null),new cljs.core.Symbol(null,"&","&",-2144855648,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"keys","keys",1068423698),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"aliases","aliases",-1307561055,null),new cljs.core.Symbol(null,"alias-data","alias-data",-910571839,null)], null)], null)], null)], null)),"Render `hiccup` in DOM element `el`. Replaces any pre-existing content not\n  created by this function. Subsequent calls with the same `el` will update the\n  rendered DOM by comparing `hiccup` to the previous `hiccup`. `hiccup` can be\n  either a single hiccup node, or a list of multiple nodes.",(cljs.core.truth_(replicant.dom.render)?replicant.dom.render.cljs$lang$test:null)]));
var val__49613__auto__ = cljs.core.deref(var__49612__auto__);
var m__49614__auto__ = cljs.core.meta(var__49612__auto__);
var name__49615__auto__ = (function (){var or__5025__auto__ = null;
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})();
var new_m__49616__auto__ = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ns","ns",441598760),ns__49611__auto__,new cljs.core.Keyword(null,"name","name",1843675177),name__49615__auto__,new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m__49614__auto__),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m__49614__auto__)], null);
if(cljs.core.truth_(new cljs.core.Keyword(null,"dynamic","dynamic",704819571).cljs$core$IFn$_invoke$arity$1(m__49614__auto__))){
return sci.core.new_dynamic_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
if(cljs.core.truth_((function (){var or__5025__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword("sci","macro","sci/macro",-868536151).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})())){
return sci.core.new_macro_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
return sci.core.new_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);

}
}
})(),new cljs.core.Symbol(null,"unmount","unmount",-138551806,null),(function (){var ns__49611__auto__ = sci.configs.cjohansen.replicant.rdns;
var var__49612__auto__ = new cljs.core.Var(function(){return replicant.dom.unmount;},new cljs.core.Symbol("replicant.dom","unmount","replicant.dom/unmount",998747708,null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"export","export",214356590),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"test","test",577538877)],[new cljs.core.Symbol(null,"replicant.dom","replicant.dom",1645689663,null),new cljs.core.Symbol(null,"unmount","unmount",-138551806,null),"replicant/dom.cljs",23,true,1,240,240,cljs.core.list(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"el","el",22330409,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"js","js",-886355190,null)], null))], null)),"Unmounts elements in `el`, and clears internal state.",(cljs.core.truth_(replicant.dom.unmount)?replicant.dom.unmount.cljs$lang$test:null)]));
var val__49613__auto__ = cljs.core.deref(var__49612__auto__);
var m__49614__auto__ = cljs.core.meta(var__49612__auto__);
var name__49615__auto__ = (function (){var or__5025__auto__ = null;
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})();
var new_m__49616__auto__ = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ns","ns",441598760),ns__49611__auto__,new cljs.core.Keyword(null,"name","name",1843675177),name__49615__auto__,new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m__49614__auto__),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m__49614__auto__)], null);
if(cljs.core.truth_(new cljs.core.Keyword(null,"dynamic","dynamic",704819571).cljs$core$IFn$_invoke$arity$1(m__49614__auto__))){
return sci.core.new_dynamic_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
if(cljs.core.truth_((function (){var or__5025__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword("sci","macro","sci/macro",-868536151).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})())){
return sci.core.new_macro_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
return sci.core.new_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);

}
}
})(),new cljs.core.Symbol(null,"set-dispatch!","set-dispatch!",-1205273102,null),(function (){var ns__49611__auto__ = sci.configs.cjohansen.replicant.rdns;
var var__49612__auto__ = new cljs.core.Var(function(){return replicant.dom.set_dispatch_BANG_;},new cljs.core.Symbol("replicant.dom","set-dispatch!","replicant.dom/set-dispatch!",-64860732,null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"export","export",214356590),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"test","test",577538877)],[new cljs.core.Symbol(null,"replicant.dom","replicant.dom",1645689663,null),new cljs.core.Symbol(null,"set-dispatch!","set-dispatch!",-1205273102,null),"replicant/dom.cljs",29,true,1,250,250,cljs.core.list(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"f","f",43394975,null)], null)),"Register a global dispatch function for event handlers and life-cycle hooks\n  that are not functions. See data-driven event handlers and life-cycle hooks in\n  the user guide for details.",(cljs.core.truth_(replicant.dom.set_dispatch_BANG_)?replicant.dom.set_dispatch_BANG_.cljs$lang$test:null)]));
var val__49613__auto__ = cljs.core.deref(var__49612__auto__);
var m__49614__auto__ = cljs.core.meta(var__49612__auto__);
var name__49615__auto__ = (function (){var or__5025__auto__ = null;
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})();
var new_m__49616__auto__ = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ns","ns",441598760),ns__49611__auto__,new cljs.core.Keyword(null,"name","name",1843675177),name__49615__auto__,new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m__49614__auto__),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m__49614__auto__)], null);
if(cljs.core.truth_(new cljs.core.Keyword(null,"dynamic","dynamic",704819571).cljs$core$IFn$_invoke$arity$1(m__49614__auto__))){
return sci.core.new_dynamic_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
if(cljs.core.truth_((function (){var or__5025__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword("sci","macro","sci/macro",-868536151).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})())){
return sci.core.new_macro_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
return sci.core.new_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);

}
}
})()], null);
sci.configs.cjohansen.replicant.rsns = sci.core.create_ns.cljs$core$IFn$_invoke$arity$2(new cljs.core.Symbol(null,"replicant.string","replicant.string",1546948263,null),null);
sci.configs.cjohansen.replicant.replicant_string_namespace = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Symbol(null,"create-renderer","create-renderer",1558017944,null),(function (){var ns__49611__auto__ = sci.configs.cjohansen.replicant.rsns;
var var__49612__auto__ = new cljs.core.Var(function(){return replicant.string.create_renderer;},new cljs.core.Symbol("replicant.string","create-renderer","replicant.string/create-renderer",95615515,null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"test","test",577538877)],[new cljs.core.Symbol(null,"replicant.string","replicant.string",1546948263,null),new cljs.core.Symbol(null,"create-renderer","create-renderer",1558017944,null),"replicant/string.cljc",22,1,12,12,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(replicant.string.create_renderer)?replicant.string.create_renderer.cljs$lang$test:null)]));
var val__49613__auto__ = cljs.core.deref(var__49612__auto__);
var m__49614__auto__ = cljs.core.meta(var__49612__auto__);
var name__49615__auto__ = (function (){var or__5025__auto__ = null;
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})();
var new_m__49616__auto__ = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ns","ns",441598760),ns__49611__auto__,new cljs.core.Keyword(null,"name","name",1843675177),name__49615__auto__,new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m__49614__auto__),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m__49614__auto__)], null);
if(cljs.core.truth_(new cljs.core.Keyword(null,"dynamic","dynamic",704819571).cljs$core$IFn$_invoke$arity$1(m__49614__auto__))){
return sci.core.new_dynamic_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
if(cljs.core.truth_((function (){var or__5025__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword("sci","macro","sci/macro",-868536151).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})())){
return sci.core.new_macro_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
return sci.core.new_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);

}
}
})(),new cljs.core.Symbol(null,"render","render",232498073,null),(function (){var ns__49611__auto__ = sci.configs.cjohansen.replicant.rsns;
var var__49612__auto__ = new cljs.core.Var(function(){return replicant.string.render;},new cljs.core.Symbol("replicant.string","render","replicant.string/render",1514026526,null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"top-fn","top-fn",-2056129173),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"test","test",577538877)],[new cljs.core.Symbol(null,"replicant.string","replicant.string",1546948263,null),new cljs.core.Symbol(null,"render","render",232498073,null),"replicant/string.cljc",13,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"variadic?","variadic?",584179762),true,new cljs.core.Keyword(null,"fixed-arity","fixed-arity",1586445869),(1),new cljs.core.Keyword(null,"max-fixed-arity","max-fixed-arity",-690205543),(1),new cljs.core.Keyword(null,"method-params","method-params",-980792179),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.list(new cljs.core.Symbol(null,"hiccup","hiccup",-1435559531,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"keys","keys",1068423698),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"aliases","aliases",-1307561055,null),new cljs.core.Symbol(null,"alias-data","alias-data",-910571839,null),new cljs.core.Symbol(null,"indent","indent",1492331402,null)], null)], null)], null))], null),new cljs.core.Keyword(null,"arglists","arglists",1661989754),cljs.core.list(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"hiccup","hiccup",-1435559531,null),new cljs.core.Symbol(null,"&","&",-2144855648,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"keys","keys",1068423698),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"aliases","aliases",-1307561055,null),new cljs.core.Symbol(null,"alias-data","alias-data",-910571839,null),new cljs.core.Symbol(null,"indent","indent",1492331402,null)], null)], null)], null)], null)),new cljs.core.Keyword(null,"arglists-meta","arglists-meta",1944829838),cljs.core.list(null)], null),1,154,154,cljs.core.list(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"hiccup","hiccup",-1435559531,null),new cljs.core.Symbol(null,"&","&",-2144855648,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"keys","keys",1068423698),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"aliases","aliases",-1307561055,null),new cljs.core.Symbol(null,"alias-data","alias-data",-910571839,null),new cljs.core.Symbol(null,"indent","indent",1492331402,null)], null)], null)], null)], null)),"Render `hiccup` to a string of HTML. `hiccup` can be either a single hiccup\n  node or a list of multiple nodes.",(cljs.core.truth_(replicant.string.render)?replicant.string.render.cljs$lang$test:null)]));
var val__49613__auto__ = cljs.core.deref(var__49612__auto__);
var m__49614__auto__ = cljs.core.meta(var__49612__auto__);
var name__49615__auto__ = (function (){var or__5025__auto__ = null;
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})();
var new_m__49616__auto__ = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ns","ns",441598760),ns__49611__auto__,new cljs.core.Keyword(null,"name","name",1843675177),name__49615__auto__,new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m__49614__auto__),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m__49614__auto__)], null);
if(cljs.core.truth_(new cljs.core.Keyword(null,"dynamic","dynamic",704819571).cljs$core$IFn$_invoke$arity$1(m__49614__auto__))){
return sci.core.new_dynamic_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
if(cljs.core.truth_((function (){var or__5025__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword("sci","macro","sci/macro",-868536151).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})())){
return sci.core.new_macro_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
return sci.core.new_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);

}
}
})()], null);
sci.configs.cjohansen.replicant.rans = sci.core.create_ns.cljs$core$IFn$_invoke$arity$2(new cljs.core.Symbol(null,"replicant.alias","replicant.alias",-268441279,null),null);
/**
 * Define a function to use as an alias function. Creates a function that wraps
 *   returned hiccup with debugging meta data when Replicant asserts are
 *   enabled (e.g. during development). When asserts are not enabled (default for
 *   production builds), creates a regular function with no added overhead.
 *  
 *   `aliasfn` is most commonly used through `defalias`
 */
sci.configs.cjohansen.replicant.aliasfn = (function sci$configs$cjohansen$replicant$aliasfn(var_args){
var args__5755__auto__ = [];
var len__5749__auto___51755 = arguments.length;
var i__5750__auto___51756 = (0);
while(true){
if((i__5750__auto___51756 < len__5749__auto___51755)){
args__5755__auto__.push((arguments[i__5750__auto___51756]));

var G__51757 = (i__5750__auto___51756 + (1));
i__5750__auto___51756 = G__51757;
continue;
} else {
}
break;
}

var argseq__5756__auto__ = ((((3) < args__5755__auto__.length))?(new cljs.core.IndexedSeq(args__5755__auto__.slice((3)),(0),null)):null);
return sci.configs.cjohansen.replicant.aliasfn.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5756__auto__);
});

(sci.configs.cjohansen.replicant.aliasfn.cljs$core$IFn$_invoke$arity$variadic = (function (_,___$1,alias,forms){
var vec__51723 = ((typeof cljs.core.first(forms) === 'string')?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first(forms),cljs.core.next(forms)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["",forms], null));
var _docstring = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__51723,(0),null);
var vec__51726 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__51723,(1),null);
var seq__51727 = cljs.core.seq(vec__51726);
var first__51728 = cljs.core.first(seq__51727);
var seq__51727__$1 = cljs.core.next(seq__51727);
var attr_map = first__51728;
var body = seq__51727__$1;
var n_args = cljs.core.count(attr_map);
var attr_map__$1 = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((0),n_args))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"_","_",-1201019570,null)], null):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((1),n_args))?cljs.core.conj.cljs$core$IFn$_invoke$arity$2(attr_map,new cljs.core.Symbol(null,"_","_",-1201019570,null)):attr_map
));
if(cljs.core.truth_(replicant.assert.assert_QMARK_())){
return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","with-meta","cljs.core/with-meta",749126446,null),null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","fn","cljs.core/fn",-1065745098,null),null,(1),null)),(new cljs.core.List(null,cljs.core.vec(cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol(null,"&","&",-2144855648,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"args__51714__auto__","args__51714__auto__",1601601538,null),null,(1),null)))))),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","let","cljs.core/let",-308701135,null),null,(1),null)),(new cljs.core.List(null,cljs.core.vec(cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,attr_map__$1,null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"args__51714__auto__","args__51714__auto__",1601601538,null),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,new cljs.core.Symbol(null,"res__51715__auto__","res__51715__auto__",726675193,null),null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol(null,"do","do",1686842252,null),null,(1),null)),body))),null,(1),null))], 0))))),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","cond->","cljs.core/cond->",-113941356,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"res__51715__auto__","res__51715__auto__",726675193,null),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","vector?","cljs.core/vector?",-1550392028,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"res__51715__auto__","res__51715__auto__",726675193,null),null,(1),null))))),null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","with-meta","cljs.core/with-meta",749126446,null),null,(1),null)),(new cljs.core.List(null,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.array_map,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Keyword("replicant","context","replicant/context",-909059467),null,(1),null)),(new cljs.core.List(null,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.array_map,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Keyword(null,"alias","alias",-2039751630),null,(1),null)),(new cljs.core.List(null,alias,null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,new cljs.core.Keyword(null,"data","data",-232669377),null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","first","cljs.core/first",-752535972,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"args__51714__auto__","args__51714__auto__",1601601538,null),null,(1),null))))),null,(1),null))], 0))))),null,(1),null)))))),null,(1),null))))),null,(1),null))], 0)))),null,(1),null))], 0)))),null,(1),null))], 0)))),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.array_map,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Keyword("replicant","alias","replicant/alias",563629492),null,(1),null)),(new cljs.core.List(null,alias,null,(1),null)))))),null,(1),null))], 0))));
} else {
return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","with-meta","cljs.core/with-meta",749126446,null),null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","fn","cljs.core/fn",-1065745098,null),null,(1),null)),(new cljs.core.List(null,attr_map__$1,null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([body], 0)))),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.array_map,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Keyword("replicant","alias","replicant/alias",563629492),null,(1),null)),(new cljs.core.List(null,alias,null,(1),null)))))),null,(1),null))], 0))));
}
}));

(sci.configs.cjohansen.replicant.aliasfn.cljs$lang$maxFixedArity = (3));

/** @this {Function} */
(sci.configs.cjohansen.replicant.aliasfn.cljs$lang$applyTo = (function (seq51718){
var G__51719 = cljs.core.first(seq51718);
var seq51718__$1 = cljs.core.next(seq51718);
var G__51720 = cljs.core.first(seq51718__$1);
var seq51718__$2 = cljs.core.next(seq51718__$1);
var G__51721 = cljs.core.first(seq51718__$2);
var seq51718__$3 = cljs.core.next(seq51718__$2);
var self__5734__auto__ = this;
return self__5734__auto__.cljs$core$IFn$_invoke$arity$variadic(G__51719,G__51720,G__51721,seq51718__$3);
}));

/**
 * Creates a function to render `alias` (a namespaced keyword), and registers
 *   it in the global registry. See `aliasfn` for details about the created function.
 *   The global registry is available through `replicant.alias/get-registered-aliases`.
 */
sci.configs.cjohansen.replicant.defalias = (function sci$configs$cjohansen$replicant$defalias(var_args){
var args__5755__auto__ = [];
var len__5749__auto___51758 = arguments.length;
var i__5750__auto___51759 = (0);
while(true){
if((i__5750__auto___51759 < len__5749__auto___51758)){
args__5755__auto__.push((arguments[i__5750__auto___51759]));

var G__51760 = (i__5750__auto___51759 + (1));
i__5750__auto___51759 = G__51760;
continue;
} else {
}
break;
}

var argseq__5756__auto__ = ((((3) < args__5755__auto__.length))?(new cljs.core.IndexedSeq(args__5755__auto__.slice((3)),(0),null)):null);
return sci.configs.cjohansen.replicant.defalias.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5756__auto__);
});

(sci.configs.cjohansen.replicant.defalias.cljs$core$IFn$_invoke$arity$variadic = (function (_,___$1,alias,forms){
var alias_kw = cljs.core.keyword.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(sci.core.ns),cljs.core.name(alias));
var alias_f = cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("replicant.alias","aliasfn","replicant.alias/aliasfn",636525104,null),null,(1),null)),(new cljs.core.List(null,alias_kw,null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([forms], 0))));
return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","let","cljs.core/let",-308701135,null),null,(1),null)),(new cljs.core.List(null,cljs.core.vec(cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol(null,"f__51730__auto__","f__51730__auto__",699114660,null),null,(1),null)),(new cljs.core.List(null,alias_f,null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,new cljs.core.Symbol(null,"alias__51731__auto__","alias__51731__auto__",700405286,null),null,(1),null)),(new cljs.core.List(null,alias_kw,null,(1),null))], 0))))),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("replicant.alias","register!","replicant.alias/register!",1762236575,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"alias__51731__auto__","alias__51731__auto__",700405286,null),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,new cljs.core.Symbol(null,"f__51730__auto__","f__51730__auto__",699114660,null),null,(1),null))], 0)))),null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol(null,"def","def",597100991,null),null,(1),null)),(new cljs.core.List(null,alias,null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,new cljs.core.Symbol(null,"alias__51731__auto__","alias__51731__auto__",700405286,null),null,(1),null))], 0)))),null,(1),null))], 0))));
}));

(sci.configs.cjohansen.replicant.defalias.cljs$lang$maxFixedArity = (3));

/** @this {Function} */
(sci.configs.cjohansen.replicant.defalias.cljs$lang$applyTo = (function (seq51732){
var G__51733 = cljs.core.first(seq51732);
var seq51732__$1 = cljs.core.next(seq51732);
var G__51734 = cljs.core.first(seq51732__$1);
var seq51732__$2 = cljs.core.next(seq51732__$1);
var G__51735 = cljs.core.first(seq51732__$2);
var seq51732__$3 = cljs.core.next(seq51732__$2);
var self__5734__auto__ = this;
return self__5734__auto__.cljs$core$IFn$_invoke$arity$variadic(G__51733,G__51734,G__51735,seq51732__$3);
}));

sci.configs.cjohansen.replicant.replicant_alias_namespace = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Symbol(null,"register!","register!",-892183553,null),(function (){var ns__49611__auto__ = sci.configs.cjohansen.replicant.rsns;
var var__49612__auto__ = new cljs.core.Var(function(){return replicant.alias.register_BANG_;},new cljs.core.Symbol("replicant.alias","register!","replicant.alias/register!",1762236575,null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"test","test",577538877)],[new cljs.core.Symbol(null,"replicant.alias","replicant.alias",-268441279,null),new cljs.core.Symbol(null,"register!","register!",-892183553,null),"replicant/alias.cljc",16,1,47,47,cljs.core.list(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"k","k",-505765866,null),new cljs.core.Symbol(null,"f","f",43394975,null)], null)),"Register an alias. Associates the alias key `k` with the function `f`:\n\n   ```clj\n   (replicant.alias/register! :ui/a custom-link)\n   ```",(cljs.core.truth_(replicant.alias.register_BANG_)?replicant.alias.register_BANG_.cljs$lang$test:null)]));
var val__49613__auto__ = cljs.core.deref(var__49612__auto__);
var m__49614__auto__ = cljs.core.meta(var__49612__auto__);
var name__49615__auto__ = (function (){var or__5025__auto__ = null;
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})();
var new_m__49616__auto__ = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ns","ns",441598760),ns__49611__auto__,new cljs.core.Keyword(null,"name","name",1843675177),name__49615__auto__,new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m__49614__auto__),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m__49614__auto__)], null);
if(cljs.core.truth_(new cljs.core.Keyword(null,"dynamic","dynamic",704819571).cljs$core$IFn$_invoke$arity$1(m__49614__auto__))){
return sci.core.new_dynamic_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
if(cljs.core.truth_((function (){var or__5025__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword("sci","macro","sci/macro",-868536151).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})())){
return sci.core.new_macro_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
return sci.core.new_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);

}
}
})(),new cljs.core.Symbol(null,"aliasfn","aliasfn",1169676048,null),(function (){var ns__49611__auto__ = sci.configs.cjohansen.replicant.rsns;
var var__49612__auto__ = new cljs.core.Var(function(){return sci.configs.cjohansen.replicant.aliasfn;},new cljs.core.Symbol("sci.configs.cjohansen.replicant","aliasfn","sci.configs.cjohansen.replicant/aliasfn",-842885755,null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword("sci","macro","sci/macro",-868536151),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"top-fn","top-fn",-2056129173),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"test","test",577538877)],[new cljs.core.Symbol(null,"sci.configs.cjohansen.replicant","sci.configs.cjohansen.replicant",133518971,null),new cljs.core.Symbol(null,"aliasfn","aliasfn",1169676048,null),true,"sci/configs/cjohansen/replicant.cljs",26,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"variadic?","variadic?",584179762),true,new cljs.core.Keyword(null,"fixed-arity","fixed-arity",1586445869),(3),new cljs.core.Keyword(null,"max-fixed-arity","max-fixed-arity",-690205543),(3),new cljs.core.Keyword(null,"method-params","method-params",-980792179),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.list(new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"alias","alias",-399220103,null),new cljs.core.Symbol(null,"forms","forms",-608443419,null))], null),new cljs.core.Keyword(null,"arglists","arglists",1661989754),cljs.core.list(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"alias","alias",-399220103,null),new cljs.core.Symbol(null,"&","&",-2144855648,null),new cljs.core.Symbol(null,"forms","forms",-608443419,null)], null)),new cljs.core.Keyword(null,"arglists-meta","arglists-meta",1944829838),cljs.core.list(null)], null),1,23,23,cljs.core.list(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"alias","alias",-399220103,null),new cljs.core.Symbol(null,"&","&",-2144855648,null),new cljs.core.Symbol(null,"forms","forms",-608443419,null)], null)),"Define a function to use as an alias function. Creates a function that wraps\n  returned hiccup with debugging meta data when Replicant asserts are\n  enabled (e.g. during development). When asserts are not enabled (default for\n  production builds), creates a regular function with no added overhead.\n \n  `aliasfn` is most commonly used through `defalias`",(cljs.core.truth_(sci.configs.cjohansen.replicant.aliasfn)?sci.configs.cjohansen.replicant.aliasfn.cljs$lang$test:null)]));
var val__49613__auto__ = cljs.core.deref(var__49612__auto__);
var m__49614__auto__ = cljs.core.meta(var__49612__auto__);
var name__49615__auto__ = (function (){var or__5025__auto__ = null;
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})();
var new_m__49616__auto__ = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ns","ns",441598760),ns__49611__auto__,new cljs.core.Keyword(null,"name","name",1843675177),name__49615__auto__,new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m__49614__auto__),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m__49614__auto__)], null);
if(cljs.core.truth_(new cljs.core.Keyword(null,"dynamic","dynamic",704819571).cljs$core$IFn$_invoke$arity$1(m__49614__auto__))){
return sci.core.new_dynamic_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
if(cljs.core.truth_((function (){var or__5025__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword("sci","macro","sci/macro",-868536151).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})())){
return sci.core.new_macro_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
return sci.core.new_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);

}
}
})(),new cljs.core.Symbol(null,"defalias","defalias",-573865365,null),(function (){var ns__49611__auto__ = sci.configs.cjohansen.replicant.rsns;
var var__49612__auto__ = new cljs.core.Var(function(){return sci.configs.cjohansen.replicant.defalias;},new cljs.core.Symbol("sci.configs.cjohansen.replicant","defalias","sci.configs.cjohansen.replicant/defalias",-1511997196,null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword("sci","macro","sci/macro",-868536151),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"top-fn","top-fn",-2056129173),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"test","test",577538877)],[new cljs.core.Symbol(null,"sci.configs.cjohansen.replicant","sci.configs.cjohansen.replicant",133518971,null),new cljs.core.Symbol(null,"defalias","defalias",-573865365,null),true,"sci/configs/cjohansen/replicant.cljs",27,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"variadic?","variadic?",584179762),true,new cljs.core.Keyword(null,"fixed-arity","fixed-arity",1586445869),(3),new cljs.core.Keyword(null,"max-fixed-arity","max-fixed-arity",-690205543),(3),new cljs.core.Keyword(null,"method-params","method-params",-980792179),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.list(new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"alias","alias",-399220103,null),new cljs.core.Symbol(null,"forms","forms",-608443419,null))], null),new cljs.core.Keyword(null,"arglists","arglists",1661989754),cljs.core.list(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"alias","alias",-399220103,null),new cljs.core.Symbol(null,"&","&",-2144855648,null),new cljs.core.Symbol(null,"forms","forms",-608443419,null)], null)),new cljs.core.Keyword(null,"arglists-meta","arglists-meta",1944829838),cljs.core.list(null)], null),1,59,59,cljs.core.list(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.Symbol(null,"alias","alias",-399220103,null),new cljs.core.Symbol(null,"&","&",-2144855648,null),new cljs.core.Symbol(null,"forms","forms",-608443419,null)], null)),"Creates a function to render `alias` (a namespaced keyword), and registers\n  it in the global registry. See `aliasfn` for details about the created function.\n  The global registry is available through `replicant.alias/get-registered-aliases`.",(cljs.core.truth_(sci.configs.cjohansen.replicant.defalias)?sci.configs.cjohansen.replicant.defalias.cljs$lang$test:null)]));
var val__49613__auto__ = cljs.core.deref(var__49612__auto__);
var m__49614__auto__ = cljs.core.meta(var__49612__auto__);
var name__49615__auto__ = (function (){var or__5025__auto__ = null;
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})();
var new_m__49616__auto__ = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ns","ns",441598760),ns__49611__auto__,new cljs.core.Keyword(null,"name","name",1843675177),name__49615__auto__,new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m__49614__auto__),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m__49614__auto__)], null);
if(cljs.core.truth_(new cljs.core.Keyword(null,"dynamic","dynamic",704819571).cljs$core$IFn$_invoke$arity$1(m__49614__auto__))){
return sci.core.new_dynamic_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
if(cljs.core.truth_((function (){var or__5025__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
if(cljs.core.truth_(or__5025__auto__)){
return or__5025__auto__;
} else {
return new cljs.core.Keyword("sci","macro","sci/macro",-868536151).cljs$core$IFn$_invoke$arity$1(m__49614__auto__);
}
})())){
return sci.core.new_macro_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);
} else {
return sci.core.new_var.cljs$core$IFn$_invoke$arity$3(name__49615__auto__,val__49613__auto__,new_m__49616__auto__);

}
}
})()], null);
sci.configs.cjohansen.replicant.replicant_assert_namespace = sci.core._copy_ns(new cljs.core.PersistentArrayMap(null, 2, [cljs.core.with_meta(new cljs.core.Symbol(null,"add-reporter","add-reporter",-1701615391,null),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"export","export",214356590),true,new cljs.core.Keyword(null,"arglists","arglists",1661989754),cljs.core.list(new cljs.core.Symbol(null,"quote","quote",1377916282,null),cljs.core.list(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"k","k",-505765866,null),new cljs.core.Symbol(null,"f","f",43394975,null)], null))),new cljs.core.Keyword(null,"doc","doc",1913296891),"Add assert error exporter. `k` is a keyword, `f` is a function that will be\n  called with an assert error, a map of\n  `{:title :message :hiccup :fname :alias :data}`."], null)),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Symbol("replicant.assert","add-reporter","replicant.assert/add-reporter",843910703,null),new cljs.core.Keyword(null,"val","val",128701612),replicant.assert.add_reporter,new cljs.core.Keyword(null,"meta","meta",1499536964),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"arglists","arglists",1661989754),cljs.core.list(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"k","k",-505765866,null),new cljs.core.Symbol(null,"f","f",43394975,null)], null)),new cljs.core.Keyword(null,"doc","doc",1913296891),"Add assert error exporter. `k` is a keyword, `f` is a function that will be\n  called with an assert error, a map of\n  `{:title :message :hiccup :fname :alias :data}`."], null)], null),cljs.core.with_meta(new cljs.core.Symbol(null,"remove-reporter","remove-reporter",-1262921475,null),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"export","export",214356590),true,new cljs.core.Keyword(null,"arglists","arglists",1661989754),cljs.core.list(new cljs.core.Symbol(null,"quote","quote",1377916282,null),cljs.core.list(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"k","k",-505765866,null)], null))),new cljs.core.Keyword(null,"doc","doc",1913296891),"Remove a previously added reporter, using the same `k` that was used to\n  register it. To remove the default reporter, use `:replicant.assert/default`\n  as `k`."], null)),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Symbol("replicant.assert","remove-reporter","replicant.assert/remove-reporter",479133235,null),new cljs.core.Keyword(null,"val","val",128701612),replicant.assert.remove_reporter,new cljs.core.Keyword(null,"meta","meta",1499536964),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"arglists","arglists",1661989754),cljs.core.list(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"k","k",-505765866,null)], null)),new cljs.core.Keyword(null,"doc","doc",1913296891),"Remove a previously added reporter, using the same `k` that was used to\n  register it. To remove the default reporter, use `:replicant.assert/default`\n  as `k`."], null)], null)], null),sci.core.create_ns.cljs$core$IFn$_invoke$arity$2(new cljs.core.Symbol(null,"replicant.assert","replicant.assert",1917973338,null),null));
sci.configs.cjohansen.replicant.namespaces = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Symbol(null,"replicant.dom","replicant.dom",1645689663,null),sci.configs.cjohansen.replicant.replicant_dom_namespace,new cljs.core.Symbol(null,"replicant.string","replicant.string",1546948263,null),sci.configs.cjohansen.replicant.replicant_string_namespace,new cljs.core.Symbol(null,"replicant.alias","replicant.alias",-268441279,null),sci.configs.cjohansen.replicant.replicant_alias_namespace,new cljs.core.Symbol(null,"replicant.assert","replicant.assert",1917973338,null),sci.configs.cjohansen.replicant.replicant_assert_namespace], null);
sci.configs.cjohansen.replicant.config = new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"namespaces","namespaces",-1444157469),sci.configs.cjohansen.replicant.namespaces], null);

//# sourceMappingURL=sci.configs.cjohansen.replicant.js.map
