mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 15:03:44 +08:00
2 lines
7.5 KiB
JavaScript
2 lines
7.5 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=20)}([function(t,n){t.exports=flarum.core.compat.app},function(t,n,r){t.exports=!r(13)(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(3);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(24)("keys"),o=r(22);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(30),o=r(28);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(3),o=r(2).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(4),o=r(37),u=r(36),i=Object.defineProperty;n.f=r(1)?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(43)},,,,function(t,n,r){"use strict";r.r(n);var e=r(0),o=r.n(e),u=r(16),i=r.n(u);var c=r(15),f=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"AkismetSettingsModal Modal--small"},o.title=function(){return app.translator.trans("flarum-akismet.admin.akismet_settings.title")},o.form=function(){return[m("div",{className:"Form-group"},m("label",null,app.translator.trans("flarum-akismet.admin.akismet_settings.api_key_label")),m("input",{className:"FormControl",bidi:this.setting("flarum-akismet.api_key")}))]},e}(r.n(c).a);o.a.initializers.add("flarum-akismet",function(){o.a.extensionSettings["flarum-akismet"]=function(){return o.a.modal.show(new f)}})},function(t,n,r){var e=r(2).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(5),o=r(2),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(23)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(9),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(9),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(10),o=r(26),u=r(25);t.exports=function(t){return function(n,r,i){var c,f=e(n),a=o(f.length),s=u(i,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[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(29);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(11),o=r(10),u=r(27)(!1),i=r(8)("IE_PROTO");t.exports=function(t,n){var r,c=o(t),f=0,a=[];for(r in c)r!=i&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~u(a,r)||a.push(r));return a}},function(t,n,r){var e=r(31),o=r(7);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(14),o=r(4),u=r(32);t.exports=r(1)?Object.defineProperties:function(t,n){o(t);for(var r,i=u(n),c=i.length,f=0;c>f;)e.f(t,r=i[f++],n[r]);return t}},function(t,n,r){var e=r(4),o=r(33),u=r(7),i=r(8)("IE_PROTO"),c=function(){},f=function(){var t,n=r(12)("iframe"),e=u.length;for(n.style.display="none",r(21).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f.prototype[u[e]];return f()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[i]=t):r=f(),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(3);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(1)&&!r(13)(function(){return 7!=Object.defineProperty(r(12)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(14),o=r(35);t.exports=r(1)?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(39);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(2),o=r(5),u=r(40),i=r(38),c=r(11),f=function(t,n,r){var a,s,p,l=t&f.F,v=t&f.G,d=t&f.S,y=t&f.P,m=t&f.B,x=t&f.W,h=v?o:o[n]||(o[n]={}),b=h.prototype,_=v?e:d?e[n]:(e[n]||{}).prototype;for(a in v&&(r=n),r)(s=!l&&_&&void 0!==_[a])&&c(h,a)||(p=s?_[a]:r[a],h[a]=v&&"function"!=typeof _[a]?r[a]:m&&s?u(p,e):x&&_[a]==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):y&&"function"==typeof p?u(Function.call,p):p,y&&((h.virtual||(h.virtual={}))[a]=p,t&f.R&&b&&!b[a]&&i(b,a,p)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,n,r){var e=r(41);e(e.S,"Object",{create:r(34)})},function(t,n,r){r(42);var e=r(5).Object;t.exports=function(t,n){return e.create(t,n)}}]);
|
|
//# sourceMappingURL=admin.js.map
|