text: module.exports=function(t){var n={};function o(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=n,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},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,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)o.d(e,r,function(n){return t[n]}.bind(null,r));return e},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="",o(o.s=3)}([function(t,n){t.exports=flarum.core.compat["admin/app"]},function(t,n){t.exports=flarum.core.compat["admin/components/ExtensionPage"]},function(t,n){t.exports=flarum.core.compat["common/components/Link"]},function(t,n,o){"use strict";o.r(n);var e=o(0),r=o.n(e);function i(t,n){return(i=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}var s=o(1),a=o.n(s),u=o(2),p=o.n(u),l=function(t){var n,o;function e(){return t.apply(this,arguments)||this}o=t,(n=e).prototype=Object.create(o.prototype),n.prototype.constructor=n,i(n,o);var s=e.prototype;return s.oninit=function(n){t.prototype.oninit.call(this,n)},s.getOptions=function(){return["user","organization"].reduce((function(t,n){return t[n]=r.a.translator.trans("fof-github-sponsors.admin.account_types."+n),t}),{})},s.content=function(){return[m("div",{className:"container"},m("div",{className:"GithubSponsorsSettings"},m("div",{className:"Form"},this.buildSettingComponent({type:"password",setting:"fof-github-sponsors.api_token",label:r.a.translator.trans("fof-github-sponsors.admin.settings.api_token_label"),help:r.a.translator.trans("fof-github-sponsors.admin.settings.desc",{a:m(p.a,{href:"https://github.com/settings/tokens",target:"_blank"})})}),this.buildSettingComponent({type:"select",setting:"fof-github-sponsors.account_type",label:r.a.translator.trans("fof-github-sponsors.admin.settings.account_type_label"),options:this.getOptions(),required:!0}),this.buildSettingComponent({type:"string",setting:"fof-github-sponsors.login",label:r.a.translator.trans("fof-github-sponsors.admin.settings.login_label"),required:!0}),this.buildSettingComponent({type:"select",setting:"fof-github-sponsors.group_id",label:r.a.translator.trans("fof-github-sponsors.admin.settings.group_label"),options:r.a.store.all("groups").reduce((function(t,n){return t[n.id()]=n.nameSingular(),t}),{}),required:!0}),this.submitButton())))]},e}(a.a);r.a.initializers.add("fof/github-sponsors",(function(){r.a.extensionData.for("fof-github-sponsors").registerPage(l)}))}]);
  //# sourceMappingURL=admin.js.map