diff --git a/js/dist/forum.js b/js/dist/forum.js index fc0a3e5..43af286 100644 --- a/js/dist/forum.js +++ b/js/dist/forum.js @@ -1,2 +1,2 @@ -(()=>{var e={974:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){var e="details";(function(){var t=document.createElement(e);if(!("open"in t))return!1;t.innerHTML="ab",document.body.appendChild(t);var n=t.offsetHeight;t.open=!0;var o=n!=t.offsetHeight;return document.body.removeChild(t),o})()||(document.documentElement.className+=" no-details",window.addEventListener("click",(function(e){if("summary"===e.target.nodeName.toLowerCase()){var t=e.target.parentNode;if(!t)return;t.getAttribute("open")?(t.open=!1,t.removeAttribute("open")):(t.open=!0,t.setAttribute("open","open"))}})),function(e,t){if(!document.getElementById(e)){var n=document.createElement("style");n.id=e,n.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(n)}}("details-polyfill-style",'html.no-details details:not([open]) > :not(summary) { display: none; }\nhtml.no-details details > summary:before { content: "▶"; display: inline-block; font-size: .8em; width: 1.5em; }\nhtml.no-details details[open] > summary:before { content: "▼"; }'))})?o.call(t,n,t,e):o)||(e.exports=r)}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n(974)})(),module.exports=o})(); +(()=>{var e={974:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){var e="details",t="summary";(function(){var n=document.createElement(e);if(!("open"in n))return!1;n.innerHTML="<"+t+">ab",document.body.appendChild(n);var o=n.offsetHeight;n.open=!0;var r=o!=n.offsetHeight;return document.body.removeChild(n),r})()||(document.documentElement.className+=" no-details",window.addEventListener("click",(function(e){if("summary"===e.target.nodeName.toLowerCase()){var t=e.target.parentNode;if(!t)return;t.getAttribute("open")?(t.open=!1,t.removeAttribute("open")):(t.open=!0,t.setAttribute("open","open"))}})),function(e,t){if(!document.getElementById(e)){var n=document.createElement("style");n.id=e,n.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(n)}}("details-polyfill-style","html.no-details "+e+":not([open]) > :not("+t+") { display: none; }\nhtml.no-details "+e+" > "+t+':before { content: "▶"; display: inline-block; font-size: .8em; width: 1.5em; }\nhtml.no-details '+e+"[open] > "+t+':before { content: "▼"; }'))})?o.call(t,n,t,e):o)||(e.exports=r)}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n(974)})(),module.exports=o})(); //# sourceMappingURL=forum.js.map \ No newline at end of file diff --git a/js/dist/forum.js.map b/js/dist/forum.js.map index 2266a58..10131e0 100644 --- a/js/dist/forum.js.map +++ b/js/dist/forum.js.map @@ -1 +1 @@ -{"version":3,"file":"forum.js","mappings":"iCAAA,aACwD,0BAANA,EAG1C,WACN,IAAIC,EAAU,WAuCd,WACE,IAAIC,EAAKC,SAASC,cAAcH,GAChC,KAAM,SAAUC,GAAK,OAAO,EAE5BA,EAAGG,UAAY,wBACfF,SAASG,KAAKC,YA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eAAeb,EAASU,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDd,EAAoBe,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAehB,KAAKa,EAAKC,GCClFrB,EAAoBwB,EAAKpB,IACH,oBAAXqB,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeb,EAASqB,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeb,EAAS,aAAc,CAAEuB,OAAO,GAAO,E","sources":["webpack://@fof/bbcode-details/./node_modules/details-polyfill/index.js","webpack://@fof/bbcode-details/webpack/bootstrap","webpack://@fof/bbcode-details/webpack/runtime/compat get default export","webpack://@fof/bbcode-details/webpack/runtime/define property getters","webpack://@fof/bbcode-details/webpack/runtime/hasOwnProperty shorthand","webpack://@fof/bbcode-details/webpack/runtime/make namespace object"],"sourcesContent":["void (function (root, factory) {\n if (typeof define === 'function' && define.amd) define(factory)\n else if (typeof exports === 'object') module.exports = factory()\n else factory()\n}(this, function () {\n var DETAILS = 'details'\n var SUMMARY = 'summary'\n\n var supported = checkSupport()\n if (supported) return\n\n // Add a classname\n document.documentElement.className += ' no-details'\n\n window.addEventListener('click', clickHandler)\n\n injectStyle('details-polyfill-style',\n 'html.no-details ' + DETAILS + ':not([open]) > :not(' + SUMMARY + ') { display: none; }\\n' +\n 'html.no-details ' + DETAILS + ' > ' + SUMMARY + ':before { content: \"\\u25b6\"; display: inline-block; font-size: .8em; width: 1.5em; }\\n' +\n 'html.no-details ' + DETAILS + '[open] > ' + SUMMARY + ':before { content: \"\\u25bc\"; }')\n\n /*\n * Click handler for `` tags\n */\n\n function clickHandler (e) {\n if (e.target.nodeName.toLowerCase() === 'summary') {\n var details = e.target.parentNode\n if (!details) return\n\n if (details.getAttribute('open')) {\n details.open = false\n details.removeAttribute('open')\n } else {\n details.open = true\n details.setAttribute('open', 'open')\n }\n }\n }\n\n /*\n * Checks for support for `
`\n */\n\n function checkSupport () {\n var el = document.createElement(DETAILS)\n if (!('open' in el)) return false\n\n el.innerHTML = '<' + SUMMARY + '>ab'\n document.body.appendChild(el)\n\n var diff = el.offsetHeight\n el.open = true\n var result = (diff != el.offsetHeight)\n\n document.body.removeChild(el)\n return result\n }\n\n /*\n * Injects styles (idempotent)\n */\n\n function injectStyle (id, style) {\n if (document.getElementById(id)) return\n\n var el = document.createElement('style')\n el.id = id\n el.innerHTML = style\n\n document.getElementsByTagName('head')[0].appendChild(el)\n }\n})); // eslint-disable-line semi\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\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};"],"names":["define","DETAILS","el","document","createElement","innerHTML","body","appendChild","diff","offsetHeight","open","result","removeChild","checkSupport","documentElement","className","window","addEventListener","e","target","nodeName","toLowerCase","details","parentNode","getAttribute","removeAttribute","setAttribute","id","style","getElementById","getElementsByTagName","injectStyle","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","r","Symbol","toStringTag","value"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"forum.js","mappings":"iCAAA,aACgE,0BAAdA,EAG1C,WACN,IAAIC,EAAU,UACVC,EAAU,WAsCd,WACE,IAAIC,EAAKC,SAASC,cAAcJ,GAChC,KAAM,SAAUE,GAAK,OAAO,EAE5BA,EAAGG,UAAY,IAAMJ,EAAU,OAASA,EAAU,KAClDE,SAASG,KAAKC,YAAYL,GAE1B,IAAIM,EAAON,EAAGO,aACdP,EAAGQ,MAAO,EACV,IAAIC,EAAUH,GAAQN,EAAGO,aAGzB,OADAN,SAASG,KAAKM,YAAYV,GACnBS,CACT,EAjDgBE,KAIhBV,SAASW,gBAAgBC,WAAa,cAEtCC,OAAOC,iBAAiB,SAWxB,SAAuBC,GACrB,GAAwC,YAApCA,EAAEC,OAAOC,SAASC,cAA6B,CACjD,IAAIC,EAAUJ,EAAEC,OAAOI,WACvB,IAAKD,EAAS,OAEVA,EAAQE,aAAa,SACvBF,EAAQZ,MAAO,EACfY,EAAQG,gBAAgB,UAExBH,EAAQZ,MAAO,EACfY,EAAQI,aAAa,OAAQ,QAEjC,CACF,IAyBA,SAAsBC,EAAIC,GACxB,IAAIzB,SAAS0B,eAAeF,GAA5B,CAEA,IAAIzB,EAAKC,SAASC,cAAc,SAChCF,EAAGyB,GAAKA,EACRzB,EAAGG,UAAYuB,EAEfzB,SAAS2B,qBAAqB,QAAQ,GAAGvB,YAAYL,EANd,CAOzC,CAvDA6B,CAAY,yBACV,mBAAqB/B,EAAU,uBAAyBC,EAAxD,yCACqBD,EAAU,MAAQC,EADvC,oGAEqBD,EAAU,YAAcC,EAAU,6BAqD3D,GAvEgE,iC,GCA5D+B,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUM,KAAKF,EAAOD,QAASC,EAAQA,EAAOD,QAASJ,GAGpEK,EAAOD,OACf,CCrBAJ,EAAoBQ,EAAKH,IACxB,IAAII,EAASJ,GAAUA,EAAOK,WAC7B,IAAOL,EAAiB,QACxB,IAAM,EAEP,OADAL,EAAoBW,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,ECLdT,EAAoBW,EAAI,CAACP,EAASS,KACjC,IAAI,IAAIC,KAAOD,EACXb,EAAoBe,EAAEF,EAAYC,KAASd,EAAoBe,EAAEX,EAASU,IAC5EE,OAAOC,eAAeb,EAASU,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDd,EAAoBe,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAehB,KAAKa,EAAKC,GCClFrB,EAAoBwB,EAAKpB,IACH,oBAAXqB,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeb,EAASqB,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeb,EAAS,aAAc,CAAEuB,OAAO,GAAO,E","sources":["webpack://@fof/bbcode-details/./node_modules/details-polyfill/index.js","webpack://@fof/bbcode-details/webpack/bootstrap","webpack://@fof/bbcode-details/webpack/runtime/compat get default export","webpack://@fof/bbcode-details/webpack/runtime/define property getters","webpack://@fof/bbcode-details/webpack/runtime/hasOwnProperty shorthand","webpack://@fof/bbcode-details/webpack/runtime/make namespace object"],"sourcesContent":["void (function (root, factory) {\n if (typeof define === 'function' && define.amd) define(factory)\n else if (typeof exports === 'object') module.exports = factory()\n else factory()\n}(this, function () {\n var DETAILS = 'details'\n var SUMMARY = 'summary'\n\n var supported = checkSupport()\n if (supported) return\n\n // Add a classname\n document.documentElement.className += ' no-details'\n\n window.addEventListener('click', clickHandler)\n\n injectStyle('details-polyfill-style',\n 'html.no-details ' + DETAILS + ':not([open]) > :not(' + SUMMARY + ') { display: none; }\\n' +\n 'html.no-details ' + DETAILS + ' > ' + SUMMARY + ':before { content: \"\\u25b6\"; display: inline-block; font-size: .8em; width: 1.5em; }\\n' +\n 'html.no-details ' + DETAILS + '[open] > ' + SUMMARY + ':before { content: \"\\u25bc\"; }')\n\n /*\n * Click handler for `` tags\n */\n\n function clickHandler (e) {\n if (e.target.nodeName.toLowerCase() === 'summary') {\n var details = e.target.parentNode\n if (!details) return\n\n if (details.getAttribute('open')) {\n details.open = false\n details.removeAttribute('open')\n } else {\n details.open = true\n details.setAttribute('open', 'open')\n }\n }\n }\n\n /*\n * Checks for support for `
`\n */\n\n function checkSupport () {\n var el = document.createElement(DETAILS)\n if (!('open' in el)) return false\n\n el.innerHTML = '<' + SUMMARY + '>ab'\n document.body.appendChild(el)\n\n var diff = el.offsetHeight\n el.open = true\n var result = (diff != el.offsetHeight)\n\n document.body.removeChild(el)\n return result\n }\n\n /*\n * Injects styles (idempotent)\n */\n\n function injectStyle (id, style) {\n if (document.getElementById(id)) return\n\n var el = document.createElement('style')\n el.id = id\n el.innerHTML = style\n\n document.getElementsByTagName('head')[0].appendChild(el)\n }\n})); // eslint-disable-line semi\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\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};"],"names":["define","DETAILS","SUMMARY","el","document","createElement","innerHTML","body","appendChild","diff","offsetHeight","open","result","removeChild","checkSupport","documentElement","className","window","addEventListener","e","target","nodeName","toLowerCase","details","parentNode","getAttribute","removeAttribute","setAttribute","id","style","getElementById","getElementsByTagName","injectStyle","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","r","Symbol","toStringTag","value"],"sourceRoot":""} \ No newline at end of file