varDocs=function(t){functione(e){for(varn,r,i=e[0],a=e[1],u=0,c=[];u<i.length;u++)r=i[u],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&c.push(o[r][0]),o[r]=0;for(nina)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n]);for(s&&s(e);c.length;)c.shift()()}varn={},r={2:0},o={2:0};functioni(e){if(n[e])returnn[e].exports;varr=n[e]={i:e,l:!1,exports:{}};returnt[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(t){vare=[];r[t]?e.push(r[t]):0!==r[t]&&{0:1}[t]&&e.push(r[t]=newPromise((function(e,n){for(varo=({0:"code-styling",1:"editor"}[t]||t)+".css",a=i.p+o,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){vars=(f=u[c]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(s===o||s===a))returne()}varl=document.getElementsByTagName("style");for(c=0;c<l.length;c++){varf;if((s=(f=l[c]).getAttribute("data-href"))===o||s===a)returne()}varp=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=e,p.onerror=function(e){varo=e&&e.target&&e.target.src||a,i=newError("Loading CSS chunk "+t+" failed.\n("+o+")");i.request=o,deleter[t],p.parentNode.removeChild(p),n(i)},p.href=a,document.getElementsByTagName("head")[0].appendChild(p)})).then((function(){r[t]=0})));varn=o[t];if(0!==n)if(n)e.push(n[2]);else{vara=newPromise((function(e,r){n=o[t]=[e,r]}));e.push(n[2]=a);varu,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(t){returni.p+""+({0:"code-styling",1:"editor"}[t]||t)+".bundle.js"}(t);vars=newError;u=function(e){c.onerror=c.onload=null,clearTimeout(l);varn=o[t];if(0!==n){if(n){varr=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,n[1](s)}o[t]=void0}};varl=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}returnPromise.all(e)},i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varn=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varrint)i.d(n,r,function(e){returnt[e]}.bind(null,r));returnn},i.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returni.d(e,"a",e),e},i.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},i.p="/dist/",i.oe=function(t){throwconsole.error(t),t};vara=window.webpackJsonp=window.webpackJsonp||[],u=a.push.bind(a);a.push=e,a=a.slice();for(varc=0;c<a.length;c++)e(a[c]);vars=u;returni(i.s=61)}([function(t,e){varn=t.exports="undefined"!=typeofwindow&&window.Math==Math?window:"undefined"!=typeofself&&self.Math==Math?self:Function("return this")();"number"==typeof__g&&(__g=n)},function(t,e,n){varr=n(21)("wks"),o=n(20),i=n(0).Symbol,a="function"==typeofi;(t.exports=function(t){returnr[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){varr=n(4);t.exports=function(t){if(!r(t))throwTypeError(t+" is not an object!");returnt}},function(t,e,n){t.exports=!n(14)((function(){return7!=Object.defineProperty({},"a",{get:function(){return7}}).a}))},function(t,e){t.exports=function(t){return"object"==typeoft?null!==t:"function"==typeoft}},function(t,e){varn=t.exports={version:"2.6.11"};"number"==typeof__e&&(__e=n)},function(t,e,n){varr=n(2),o=n(45),i=n(46),a=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{returna(t,e,n)}catch(t){}if("get"inn||"set"inn)throwTypeError("Accessors not supported!");return"value"inn&&(t[e]=n.value),t}},function(t,e,n){varr=n(0),o=n(13),i=n(18),a=n(20)("src"),u=n(47),c=(""+u).split("toString");n(5).inspectSource=function(t){returnu.call
"undefined"!=typeofself&&self,t.exports=function(t){functione(r){if(n[r])returnn[r].exports;varo=n[r]={i:r,l:!1,exports:{}};returnt[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}varn={};returne.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){varn=t&&t.__esModule?function(){returnt.default}:function(){returnt};returne.d(n,"a",n),n},e.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";functionr(t){if(Array.isArray(t)){for(vare=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];returnn}returnArray.from(t)}functiono(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});vari=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),a=function(){functiont(e){varn=e.name,r=e.element,i=e.settings,a=e.moduleClass;o(this,t),this.name=n,this.element=r,this.settings=i,this.moduleClass=a}returni(t,[{key:"init",value:function(){try{console.assert(this.moduleClass.initinstanceofFunction,"Module «"+this.name+"» should implement init method"),this.moduleClass.initinstanceofFunction&&(this.moduleClass.init(this.settings,this.element),console.log("Module «"+this.name+"» initialized"))}catch(t){console.warn("Module «"+this.name+"» was not initialized because of ",t)}}},{key:"destroy",value:function(){this.moduleClass.destroyinstanceofFunction&&(this.moduleClass.destroy(),console.log("Module «"+this.name+"» destroyed."))}}]),t}(),u=function(){functiont(){vare=arguments.length>0&&void0!==arguments[0]?arguments[0]:{};o(this,t),this.Library=e.Library||window,this.modules=this.findModules(document),this.initModules()}returni(t,[{key:"findModules",value:function(t){for(vare=[],n=t.querySelectorAll("[data-module]"),o=n.length-1;o>=0;o--)e.push.apply(e,r(this.extractModulesData(n[o])));returne}},{key:"extractModulesData",value:function(t){vare=this,n=[],r=t.dataset.module;return(r=r.replace(/\s+/," ")).split(" ").forEach((function(r,o){vari=newa({name:r,element:t,settings:e.getModuleSettings(t,o,r),moduleClass:e.Library[r]});n.push(i)})),n}},{key:"getModuleSettings",value:function(t,e,n){varr=t.querySelector('textarea[name="module-settings"]'),o=void0;if(!r)returnnull;try{o=r.value.trim(),o=JSON.parse(o)}catch(t){returnconsole.warn("Can not parse Module «"+n+"» settings because of: "+t),console.groupCollapsed(n+" settings"),console.log(o),console.groupEnd(),null}returnArray.isArray(o)?o[e]?o[e]:null:0===e?o:(console.warn("Wrong settings format. For several Modules use an array instead of object."),null)}},{key:"initModules",value:function(){console.groupCollapsed("ModuleDispatcher"),this.modules.forEach((function(t){t.init()})),console.groupEnd()}}]),t}();e.default=u}]).default},function(t,e,n){window,t.exports=function(t){vare={};functionn(r){if(e[r])returne[r].exports;varo=e[r]={i:r,l:!1,exports:{}};returnt[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}returnn.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varoint)n.d(r,o,function(e){returnt[e]}.bind(null,o));returnr},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});varr=n(1);e.default=