module.exports=function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=6)}([function(t,e,o){"use strict";function n(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}o.d(e,"a",function(){return n})},,function(t,e){t.exports=flarum.core.compat.extend},function(t,e){t.exports=flarum.core.compat.Application},function(t,e){t.exports=flarum.core.compat.Component},,function(t,e,o){"use strict";o.r(e);var n=o(2),r=o(3),i=o.n(r),u=o(0),c=o(4),a=function(t){function e(){return t.apply(this,arguments)||this}Object(u.a)(e,t);var o=e.prototype;return o.init=function(){this.open=!1;var t=app.forum.attribute("fof-custom-footer.js");t&&$("body").append("<script>"+t.trim()+"<\/script>")},o.view=function(){var t=this;return m("div",{id:"CustomFooter",className:this.open&&"showing"},m("div",{className:"container"},m("div",{className:"Footer--Content",style:"height: "+(this.open?app.forum.attribute("fof-custom-footer.height")||50:0)+"px;"},m.trust(app.forum.attribute("fof-custom-footer.text")||"")),m("div",{className:"Footer--Icons"},m("i",{className:"Footer--Show fa fa-info-circle "+(this.open&&"hidden"),onclick:function(){return t.open=!0}}),m("i",{className:"Footer--Hide fa fa-caret-down "+(!this.open&&"hidden"),onclick:function(){return t.open=!1}}))))},e}(o.n(c).a);app.initializers.add("fof-custom-footer",function(){Object(n.extend)(i.a.prototype,"mount",function(){var t=document.createElement("div");m.mount(document.body.appendChild(t),a.component())})})}]);
//# sourceMappingURL=forum.js.map