Newer
Older
ubuntuhu-news / js / dist / forum.js
@Réz István Réz István on 15 Nov 2021 2 KB first commit
module.exports=function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}([function(t,e){t.exports=flarum.core.compat["forum/app"]},,function(t,e){t.exports=flarum.core.compat["extensions/afrux-forum-widgets-core/common/extend/Widgets"]},function(t,e){t.exports=flarum.core.compat["extensions/afrux-forum-widgets-core/common/components/Widget"]},function(t,e,n){"use strict";var o=n(2),r=n.n(o);function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var c=n(0),i=n.n(c),a=n(3),f=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,u(e,n);var r=o.prototype;return r.oncreate=function(t){document.getElementById("wghtml").innerHTML=i.a.forum.attribute("justoverclock-custom-html-widget.customCode")},r.className=function(){return"custom-html-widget"},r.icon=function(){return"far fa-file-code"},r.content=function(){return m("div",{class:"htmlwidget",id:"wghtml"})},o}(n.n(a).a);e.a=function(t){(new r.a).add({key:"CustomHtml",component:f,isDisabled:!1,isUnique:!0,placement:"end",position:1}).extend(t,"justoverclock-custom-html-widget")}},function(t,e,n){"use strict";n.r(e);var o=n(0),r=n.n(o),u=n(4);r.a.initializers.add("justoverclock/custom-html-widget",(function(){Object(u.a)(r.a)}))}]);
//# sourceMappingURL=forum.js.map