diff --git a/js/dist/forum.js b/js/dist/forum.js index c84721d..f9c4447 100644 --- a/js/dist/forum.js +++ b/js/dist/forum.js @@ -1,193 +1,2 @@ -module.exports = -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./forum.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./forum.js": -/*!******************!*\ - !*** ./forum.js ***! - \******************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var details_polyfill__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! details-polyfill */ "./node_modules/details-polyfill/index.js"); -/* harmony import */ var details_polyfill__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(details_polyfill__WEBPACK_IMPORTED_MODULE_0__); - - -/***/ }), - -/***/ "./node_modules/details-polyfill/index.js": -/*!************************************************!*\ - !*** ./node_modules/details-polyfill/index.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;void (function (root, factory) { - if (true) !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), - __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? - (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : - __WEBPACK_AMD_DEFINE_FACTORY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) - else {} -}(this, function () { - var DETAILS = 'details' - var SUMMARY = 'summary' - - var supported = checkSupport() - if (supported) return - - // Add a classname - document.documentElement.className += ' no-details' - - window.addEventListener('click', clickHandler) - - injectStyle('details-polyfill-style', - 'html.no-details ' + DETAILS + ':not([open]) > :not(' + SUMMARY + ') { display: none; }\n' + - 'html.no-details ' + DETAILS + ' > ' + SUMMARY + ':before { content: "\u25b6"; display: inline-block; font-size: .8em; width: 1.5em; }\n' + - 'html.no-details ' + DETAILS + '[open] > ' + SUMMARY + ':before { content: "\u25bc"; }') - - /* - * Click handler for `` tags - */ - - function clickHandler (e) { - if (e.target.nodeName.toLowerCase() === 'summary') { - var details = e.target.parentNode - if (!details) return - - if (details.getAttribute('open')) { - details.open = false - details.removeAttribute('open') - } else { - details.open = true - details.setAttribute('open', 'open') - } - } - } - - /* - * Checks for support for `
` - */ - - function checkSupport () { - var el = document.createElement(DETAILS) - if (!('open' in el)) return false - - el.innerHTML = '<' + SUMMARY + '>ab' - document.body.appendChild(el) - - var diff = el.offsetHeight - el.open = true - var result = (diff != el.offsetHeight) - - document.body.removeChild(el) - return result - } - - /* - * Injects styles (idempotent) - */ - - function injectStyle (id, style) { - if (document.getElementById(id)) return - - var el = document.createElement('style') - el.id = id - el.innerHTML = style - - document.getElementsByTagName('head')[0].appendChild(el) - } -})); // eslint-disable-line semi - - -/***/ }) - -/******/ }); +module.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);n(1)},function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){(function(){var e=document.createElement("details");if(!("open"in e))return!1;e.innerHTML="ab",document.body.appendChild(e);var t=e.offsetHeight;e.open=!0;var n=t!=e.offsetHeight;return document.body.removeChild(e),n})()||(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)}]); //# 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 b888e89..2154c1a 100644 --- a/js/dist/forum.js.map +++ b/js/dist/forum.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://@fof/bbcode-details/webpack/bootstrap","webpack://@fof/bbcode-details/./forum.js","webpack://@fof/bbcode-details/./node_modules/details-polyfill/index.js"],"names":[],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFA;AAAA;AAAA;;;;;;;;;;;;ACAA;AACA,MAAM,IAA0C,EAAE,oCAAO,OAAO;AAAA;AAAA;AAAA;AAAA,oGAAC;AACjE,OAAO,EACS;AAChB,CAAC;AACD;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA,0EAA0E,eAAe,EAAE;AAC3F,+DAA+D,mBAAmB,uBAAuB,iBAAiB,cAAc,EAAE;AAC1I,qEAAqE,mBAAmB,EAAE;;AAE1F;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,CAAC,GAAG","file":"forum.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./forum.js\");\n","import 'details-polyfill';\r\n","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"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://@fof/bbcode-details/webpack/bootstrap","webpack://@fof/bbcode-details/./forum.js","webpack://@fof/bbcode-details/./node_modules/details-polyfill/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","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"],"mappings":"2BACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAAOqB,WAC7B,WAAwB,OAAOrB,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAH,EAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG/B,EAAoBkC,EAAI,GAIjBlC,EAAoBA,EAAoBmC,EAAI,G,+BClFrD,a,gBCAA,aACgE,0BAAd,EAG1C,YAwCN,WACE,IAAIC,EAAKC,SAASC,cAxCN,WAyCZ,KAAM,SAAUF,GAAK,OAAO,EAE5BA,EAAGG,UAAY,wBACfF,SAASG,KAAKC,YAAYL,GAE1B,IAAIM,EAAON,EAAGO,aACdP,EAAGQ,MAAO,EACV,IAAIC,EAAUH,GAAQN,EAAGO,aAGzB,OADAN,SAASG,KAAKM,YAAYV,GACnBS,GAhDOE,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,aA4BnC,SAAsBC,EAAIC,GACxB,IAAIzB,SAAS0B,eAAeF,GAA5B,CAEA,IAAIzB,EAAKC,SAASC,cAAc,SAChCF,EAAGyB,GAAKA,EACRzB,EAAGG,UAAYuB,EAEfzB,SAAS2B,qBAAqB,QAAQ,GAAGvB,YAAYL,IAtDvD6B,CAAY,yBACV,iQAhB4D","file":"forum.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","import 'details-polyfill';\n","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"],"sourceRoot":""} \ No newline at end of file