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AU,SAAUZ,GACC,aAA7C1B,IAAAA,MAAAA,UAAoB,sBAEpBA,IAAAA,MAAAA,UAAoB,+BACtB0B,EAAMG,IACJ,WACA,SAAK5B,UAAU,cACb,WACEA,UAAU,cACVK,KAAK,WACLF,KAAK,OACL+B,YAAaC,IAAYpC,IAAAA,WAAAA,MAAqB,wDAC9CO,KAAMV,KAAKC,SACXU,SAAUX,KAAKY,SAAWZ,KAAK6C,WAAW,YAC1CC,SAAU3C,IAAAA,MAAAA,UAAoB,sCAGlC,IAGEA,IAAAA,MAAAA,UAAoB,oCACtB0B,EAAMkB,OAAO,YAGnB,KAEApB,EAAAA,EAAAA,QAAOc,IAAAA,UAAuB,cAAc,SAAUD,GACpD,GAAiD,aAA7CrC,IAAAA,MAAAA,UAAoB,sBAEpBA,IAAAA,MAAAA,UAAoB,+BACtBqC,EAAKvC,SAAWD,KAAKC,WACjBE,IAAAA,MAAAA,UAAoB,oCAAoC,CAC1D,IAAM6C,EAAM,IAAIC,YAAY,GAC5BC,OAAOC,gBAAgBH,GACvBR,EAAKE,SAAWM,EAAII,KAAK,GAC3B,CAEJ,GACF,G","sources":["webpack://@flarum/nicknames/webpack/bootstrap","webpack://@flarum/nicknames/webpack/runtime/compat get default export","webpack://@flarum/nicknames/webpack/runtime/define property getters","webpack://@flarum/nicknames/webpack/runtime/hasOwnProperty shorthand","webpack://@flarum/nicknames/webpack/runtime/make namespace object","webpack://@flarum/nicknames/external root \"flarum.core.compat['forum/app']\"","webpack://@flarum/nicknames/external root \"flarum.core.compat['common/extend']\"","webpack://@flarum/nicknames/external root \"flarum.core.compat['common/components/Button']\"","webpack://@flarum/nicknames/external root \"flarum.core.compat['common/components/EditUserModal']\"","webpack://@flarum/nicknames/external root \"flarum.core.compat['forum/components/SignUpModal']\"","webpack://@flarum/nicknames/external root \"flarum.core.compat['forum/components/SettingsPage']\"","webpack://@flarum/nicknames/external root \"flarum.core.compat['common/utils/extractText']\"","webpack://@flarum/nicknames/external root \"flarum.core.compat['common/utils/Stream']\"","webpack://@flarum/nicknames/../../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@flarum/nicknames/external root \"flarum.core.compat['common/components/Modal']\"","webpack://@flarum/nicknames/./src/forum/components/NicknameModal.js","webpack://@flarum/nicknames/../../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@flarum/nicknames/external root \"flarum.core.compat['common/extenders']\"","webpack://@flarum/nicknames/external root \"flarum.core.compat['common/models/User']\"","webpack://@flarum/nicknames/./src/forum/extend.ts","webpack://@flarum/nicknames/./src/forum/index.js"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/app'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/extend'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/Button'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/EditUserModal'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/SignUpModal'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/SettingsPage'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/extractText'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/Stream'];","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/Modal'];","import app from 'flarum/forum/app';\nimport Modal from 'flarum/common/components/Modal';\nimport Button from 'flarum/common/components/Button';\nimport Stream from 'flarum/common/utils/Stream';\n\nexport default class NicknameModal extends Modal {\n oninit(vnode) {\n super.oninit(vnode);\n this.nickname = Stream(app.session.user.displayName());\n }\n\n className() {\n return 'NickameModal Modal--small';\n }\n\n title() {\n return app.translator.trans('flarum-nicknames.forum.change_nickname.title');\n }\n\n content() {\n return (\n