framework/extensions/pusher/js/dist/admin.js

2 lines
8.2 KiB
JavaScript
Raw Normal View History

module.exports=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=22)}([function(t,n){t.exports=flarum.core.compat.app},function(t,n){t.exports=flarum.core.compat.extend},function(t,n,r){t.exports=!r(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},,,function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(6);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(26)("keys"),o=r(24);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(32),o=r(30);t.exports=function(t){return e(o(t))}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(6),o=r(3).document,u=e(o)&&e(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(7),o=r(39),u=r(38),i=Object.defineProperty;n.f=r(2)?Object.defineProperty:function(t,n,r){if(e(t),n=u(n,!0),e(r),o)try{return i(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n){t.exports=flarum.core.compat["components/SettingsModal"]},function(t,n,r){t.exports=r(45)},,,,function(t,n,r){"use strict";r.r(n);r(1);var e=r(0),o=r.n(e),u=r(18),i=r.n(u);var a=r(17),c=function(t){var n,r;function e(){return t.apply(this,arguments)||this}r=t,(n=e).prototype=i()(r.prototype),n.prototype.constructor=n,n.__proto__=r;var o=e.prototype;return o.className=function(){return"PusherSettingsModal Modal--small"},o.title=function(){return app.translator.trans("flarum-pusher.admin.pusher_settings.title")},o.form=function(){return[m("div",{className:"Form-group"},m("label",null,app.translator.trans("flarum-pusher.admin.pusher_settings.app_id_label")),m("input",{className:"FormControl",bidi:this.setting("flarum-pusher.app_id")})),m("div",{className:"Form-group"},m("label",null,app.translator.trans("flarum-pusher.admin.pusher_settings.app_key_label")),m("input",{className:"FormControl",bidi:this.setting("flarum-pusher.app_key")})),m("div",{className:"Form-group"},m("label",null,app.translator.trans("flarum-pusher.admin.pusher_settings.app_secret_label")),m("input",{className:"FormControl",bidi:this.setting("flarum-pusher.app_secret")})),m("div",{className:"Form-group"},m("label",null,app.translator.trans("flarum-pusher.admin.pusher_settings.app_cluster_label")),m("input",{className:"FormControl",bidi:this.setting("flarum-pusher.app_cluster")}))]},e}(r.n(a).a);o.a.initializers.add("flarum-pusher",function(t){t.extensionSettings["flarum-pusher"]=function(){return t.modal.show(new
//# sourceMappingURL=admin.js.map