mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +08:00
2 lines
8.2 KiB
JavaScript
2 lines
8.2 KiB
JavaScript
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 c)}})},function(t,n,r){var e=r(3).document;t.exports=e&&e.documentElement},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n){t.exports=!0},function(t,n,r){var e=r(8),o=r(3),u=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return u[t]||(u[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(25)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(11),o=Math.max,u=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):u(t,n)}},function(t,n,r){var e=r(11),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(12),o=r(28),u=r(27);t.exports=function(t){return function(n,r,i){var a,c=e(n),f=o(c.length),s=u(i,f);if(t&&r!=r){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(31);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(13),o=r(12),u=r(29)(!1),i=r(10)("IE_PROTO");t.exports=function(t,n){var r,a=o(t),c=0,f=[];for(r in a)r!=i&&e(a,r)&&f.push(r);for(;n.length>c;)e(a,r=n[c++])&&(~u(f,r)||f.push(r));return f}},function(t,n,r){var e=r(33),o=r(9);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(16),o=r(7),u=r(34);t.exports=r(2)?Object.defineProperties:function(t,n){o(t);for(var r,i=u(n),a=i.length,c=0;a>c;)e.f(t,r=i[c++],n[r]);return t}},function(t,n,r){var e=r(7),o=r(35),u=r(9),i=r(10)("IE_PROTO"),a=function(){},c=function(){var t,n=r(14)("iframe"),e=u.length;for(n.style.display="none",r(23).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c.prototype[u[e]];return c()};t.exports=Object.create||function(t,n){var r;return null!==t?(a.prototype=e(t),r=new a,a.prototype=null,r[i]=t):r=c(),void 0===n?r:o(r,n)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(6);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=!r(2)&&!r(15)(function(){return 7!=Object.defineProperty(r(14)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(16),o=r(37);t.exports=r(2)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(41);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(3),o=r(8),u=r(42),i=r(40),a=r(13),c=function(t,n,r){var f,s,p,l=t&c.F,m=t&c.G,d=t&c.S,v=t&c.P,h=t&c.B,y=t&c.W,b=m?o:o[n]||(o[n]={}),_=b.prototype,x=m?e:d?e[n]:(e[n]||{}).prototype;for(f in m&&(r=n),r)(s=!l&&x&&void 0!==x[f])&&a(b,f)||(p=s?x[f]:r[f],b[f]=m&&"function"!=typeof x[f]?r[f]:h&&s?u(p,e):y&&x[f]==p?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(p):v&&"function"==typeof p?u(Function.call,p):p,v&&((b.virtual||(b.virtual={}))[f]=p,t&c.R&&_&&!_[f]&&i(_,f,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,r){var e=r(43);e(e.S,"Object",{create:r(36)})},function(t,n,r){r(44);var e=r(8).Object;t.exports=function(t,n){return e.create(t,n)}}]);
|
|
//# sourceMappingURL=admin.js.map
|