tracim_lib.js 99KB

12345678910111213141516
  1. /* eslint-disable */
  2. /* eslint-disable */
  3. /* eslint-disable */
  4. /* eslint-disable */
  5. /* eslint-disable */
  6. !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("classnames")):"function"==typeof define&&define.amd?define("tracim_lib",["react","prop-types","classnames"],t):"object"==typeof exports?exports.tracim_lib=t(require("react"),require("prop-types"),require("classnames")):e.tracim_lib=t(e._,e._,e._)}("undefined"!=typeof self?self:this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=19)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=h[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(u(r.parts[i],t))}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(u(r.parts[i],t));h[r.id]={id:r.id,refs:1,parts:a}}}}function o(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s=i[1],l=i[2],c=i[3],u={css:s,media:l,sourceMap:c};r[a]?r[a].parts.push(u):n.push(r[a]={id:a,parts:[u]})}return n}function i(e,t){var n=m(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=_[_.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),_.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=m(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function a(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),i(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),i(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var c=y++;n=b||(b=s(t)),r=f.bind(null,n,c,!1),o=f.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n,t),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function f(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=v(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},g=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),m=function(e){var t={};return function(n){if(void 0===t[n]){var r=e.call(this,n);if(r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[n]=r}return t[n]}}(function(e){return document.querySelector(e)}),b=null,y=0,_=[],v=n(46);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=g()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=o(e,t);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],l=h[s.id];l.refs--,i.push(l)}e&&r(o(e,t),t);for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete h[l.id]}}}};var x=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){var n;console&&console[e]&&(n=console)[e].apply(n,o(t))}},s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.init(t,n)}return e.prototype.init=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||a,this.options=t,this.debug=t.debug},e.prototype.setDebug=function(e){this.debug=e},e.prototype.log=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)},e.prototype.warn=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)},e.prototype.error=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")},e.prototype.deprecate=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)},e.prototype.forward=function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]=""+n+this.prefix+" "+e[0]),this.logger[t](e))},e.prototype.create=function(t){return new e(this.logger,i({prefix:this.prefix+":"+t+":"},this.options))},e}();t.a=new s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){r(this,e),this.observers={}}return e.prototype.on=function(e,t){var n=this;e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})},e.prototype.off=function(e,t){var n=this;this.observers[e]&&this.observers[e].forEach(function(){if(t){var r=n.observers[e].indexOf(t);r>-1&&n.observers[e].splice(r,1)}else delete n.observers[e]})},e.prototype.emit=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){var r;t.apply(t,(r=[e]).concat.apply(r,n))})},e}();t.a=o},function(e,t,n){"use strict";function r(e){return null==e?"":""+e}function o(e,t,n){e.forEach(function(e){t[e]&&(n[e]=t[e])})}function i(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=e[a]}return o()?{}:{obj:e,k:r(i.shift())}}function a(e,t,n){var r=i(e,t,Object);r.obj[r.k]=n}function s(e,t,n,r){var o=i(e,t,Object),a=o.obj,s=o.k;a[s]=a[s]||[],r&&(a[s]=a[s].concat(n)),r||a[s].push(n)}function l(e,t){var n=i(e,t),r=n.obj,o=n.k;if(r)return r[o]}function c(e,t,n){for(var r in t)r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):c(e[r],t[r],n):e[r]=t[r];return e}function u(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function f(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return p[e]}):e}t.e=r,t.a=o,t.h=a,t.f=s,t.d=l,t.b=c,t.g=u,t.c=f;var p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(22);n.d(t,"translate",function(){return r.a});var o=n(14);n.d(t,"I18n",function(){return o.a});var i=n(25);n.d(t,"Interpolate",function(){return i.a});var a=n(26);n.d(t,"Trans",function(){return a.a});var s=n(32);n.d(t,"I18nextProvider",function(){return s.a});var l=n(33);n.d(t,"loadNamespaces",function(){return l.a});var c=n(9);n.d(t,"reactI18nextModule",function(){return c.c}),n.d(t,"setDefaults",function(){return c.d}),n.d(t,"getDefaults",function(){return c.a}),n.d(t,"setI18n",function(){return c.e}),n.d(t,"getI18n",function(){return c.b})},function(e,t,n){"use strict";function r(e){l=s({},l,e)}function o(){return l}function i(e){c=e}function a(){return c}t.d=r,t.a=o,t.e=i,t.b=a,n.d(t,"c",function(){return u});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l={wait:!1,withRef:!1,bindI18n:"languageChanged loaded",bindStore:"added removed",translateFuncName:"t",nsMode:"default",usePureComponent:!1},c=void 0,u={type:"3rdParty",init:function(e){r(e.options.react),i(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={translation:{Input:{SelectStatus:{file_status:"Statut du fichier",validated:"Validé",unvalidated:"Invalidé",obsolete:"Obsolète",ongoing:"En cours"}},PopinFixedOption:{new_version:"Nouvelle version"}}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={translation:{Input:{SelectStatus:{file_status:"File status",validated:"Validated",unvalidated:"Unvalidated",obsolete:"Obsolete",ongoing:"Ongoing"}},PopinFixedOption:{new_version:"New version"}}};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),c=r(l),u=n(2),f=r(u),p=n(1),d=r(p),h=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onChangeTitle=function(e){var t=e.target.value;n.setState({editTitleValue:t})},n.handleClickChangeTitleBtn=function(){n.state.editTitle&&n.props.onValidateChangeTitle(n.state.editTitleValue),n.setState(function(e){return{editTitle:!e.editTitle}})},n.state={editTitle:!1,editTitleValue:""},n}return a(t,e),s(t,[{key:"componentDidUpdate",value:function(e){e.title!==this.props.title&&this.setState({editTitleValue:this.props.title})}},{key:"render",value:function(){var e=this.props,t=e.customClass,n=e.faIcon,r=e.title,o=e.onClickCloseBtn;return c.default.createElement("div",{className:(0,f.default)("wsContentGeneric__header",t+"__header")},c.default.createElement("div",{className:(0,f.default)("wsContentGeneric__header__icon",t+"__header__icon")},c.default.createElement("i",{className:"fa fa-"+n})),c.default.createElement("div",{className:(0,f.default)("wsContentGeneric__header__title mr-auto",t+"__header__title")},this.state.editTitle?c.default.createElement("input",{value:this.state.editTitleValue,onChange:this.onChangeTitle}):c.default.createElement("div",null,r)),c.default.createElement("div",{className:(0,f.default)("wsContentGeneric__header__edittitle",t+"__header__changetitle"),onClick:this.handleClickChangeTitleBtn},this.state.editTitle?c.default.createElement("i",{className:"fa fa-check"}):c.default.createElement("i",{className:"fa fa-pencil"})),c.default.createElement("div",{className:(0,f.default)("wsContentGeneric__header__close",t+"__header__close"),onClick:o},c.default.createElement("i",{className:"fa fa-times"})))}}]),t}(c.default.Component);t.default=h,h.propTypes={faIcon:d.default.string.isRequired,onClickCloseBtn:d.default.func.isRequired,customClass:d.default.string,title:d.default.string,onValidateChangeTitle:d.default.func},h.defaultProps={customClass:"",title:"",onChangeTitle:function(){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n(2),s=r(a),l=n(1),c=r(l),u=n(8),f=n(15),p=r(f),d=function(e){return u.translate.setI18n(e.i18n?e.i18n:p.default),i.default.createElement("div",{className:(0,s.default)("wsContentGeneric__option",e.customClass+"__option")},i.default.createElement("div",{className:(0,s.default)("wsContentGeneric__option__menu",e.customClass+"__option__menu")},e.children))};t.default=(0,u.translate)()(d),d.propTypes={selectedStatus:c.default.object,availableStatus:c.default.array,i18n:c.default.object,onClickNewVersionBtn:c.default.func,onChangeStatus:c.default.func},d.defaultProps={availableStatus:[],i18n:{},onClickNewVersionBtn:function(){}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=(n.n(a),n(1)),l=n.n(s),c=n(9),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=!1,d=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));i.i18n=e.i18n||n.i18n||Object(c.b)(),i.namespaces=e.ns||i.i18n.options&&i.i18n.options.defaultNS,"string"==typeof i.namespaces&&(i.namespaces=[i.namespaces]);var a=i.i18n&&i.i18n.options&&i.i18n.options.react||{};i.options=u({},Object(c.a)(),a,e),e.initialI18nStore&&(i.i18n.services.resourceStore.data=e.initialI18nStore,i.options.wait=!1),e.initialLanguage&&i.i18n.changeLanguage(e.initialLanguage),i.i18n.options&&i.i18n.options.isInitialSSR&&(i.options.wait=!1);var s=i.i18n.languages&&i.i18n.languages[0],l=!!s&&i.namespaces.every(function(e){return i.i18n.hasResourceBundle(s,e)});return i.state={i18nLoadedAt:null,ready:l},i.onI18nChanged=i.onI18nChanged.bind(i),i.getI18nTranslate=i.getI18nTranslate.bind(i),i}return i(t,e),f(t,[{key:"getChildContext",value:function(){return{t:this.t,i18n:this.i18n}}},{key:"componentWillMount",value:function(){this.t=this.getI18nTranslate()}},{key:"componentDidMount",value:function(){var e=this,t=function(){e.options.bindI18n&&e.i18n&&e.i18n.on(e.options.bindI18n,e.onI18nChanged),e.options.bindStore&&e.i18n.store&&e.i18n.store.on(e.options.bindStore,e.onI18nChanged)};this.mounted=!0,this.i18n.loadNamespaces(this.namespaces,function(){var n=function(){e.mounted&&!e.state.ready&&e.setState({ready:!0}),e.options.wait&&e.mounted&&t()};if(e.i18n.isInitialized)n();else{var r=function t(){setTimeout(function(){e.i18n.off("initialized",t)},1e3),n()};e.i18n.on("initialized",r)}}),this.options.wait||t()}},{key:"componentWillUnmount",value:function(){var e=this;this.mounted=!1,this.onI18nChanged&&(this.options.bindI18n&&this.options.bindI18n.split(" ").forEach(function(t){return e.i18n.off(t,e.onI18nChanged)}),this.options.bindStore&&this.options.bindStore.split(" ").forEach(function(t){return e.i18n.store&&e.i18n.store.off(t,e.onI18nChanged)}))}},{key:"onI18nChanged",value:function(){this.mounted&&(this.t=this.getI18nTranslate(),this.setState({i18nLoadedAt:new Date}))}},{key:"getI18nTranslate",value:function(){return this.i18n.getFixedT(null,"fallback"===this.options.nsMode?this.namespaces:this.namespaces[0])}},{key:"render",value:function(){var e=this,t=this.props.children,n=this.state.ready;return!n&&this.options.wait?null:(this.i18n.options&&this.i18n.options.isInitialSSR&&!p&&(p=!0,setTimeout(function(){delete e.i18n.options.isInitialSSR},100)),t(this.t,{i18n:this.i18n,t:this.t,ready:n}))}}]),t}(a.Component);t.a=d,d.contextTypes={i18n:l.a.object},d.childContextTypes={t:l.a.func.isRequired,i18n:l.a.object}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(34),i=r(o),a=n(8),s=n(10),l=r(s),c=n(11),u=r(c);i.default.use(a.reactI18nextModule).init({fallbackLng:"fr",ns:["translation"],defaultNS:"translation",debug:!0,react:{wait:!0},resources:{en:u.default,fr:l.default}}),t.default=i.default},function(e,t,n){"use strict";t.a={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))}),t}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(0),a=r(i),s=n(2),l=r(s),c=n(1),u=r(c),f=function(e){return 2===e.children.length?a.default.createElement("div",{className:(0,l.default)("wsContentGeneric__content",e.customClass+"__content")},a.default.createElement("div",{className:(0,l.default)("wsContentGeneric__content__left",e.customClass+"__content__left")},e.children[0]),a.default.createElement("div",{className:(0,l.default)("wsContentGeneric__content__right",e.customClass+"__content__right")},e.children[1])):a.default.createElement("div",{className:(0,l.default)("wsContentGeneric__content",e.customClass+"__content")},e.children)};t.default=f,f.propTypes={customClass:u.default.string,children:function(e,t,n){return Array.isArray(e)&&2!==e.length?new Error("PropType Error: "+n+" must have 1 or 2 children."):"object"!==(void 0===e?"undefined":o(e))?new Error("PropType Error: childrens of "+n+" must have 1 or 2 children."):void 0}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n(1),s=r(a),l=n(2),c=r(l);n(61);var u=function(e){return i.default.createElement("div",{className:(0,c.default)(e.customClass,"cardPopup")},i.default.createElement("div",{className:"cardPopup__container"},i.default.createElement("div",{className:"cardPopup__header"}),i.default.createElement("div",{className:"cardPopup__close",onClick:e.onClose},i.default.createElement("i",{className:"fa fa-times"})),i.default.createElement("div",{className:"cardPopup__body"},e.children)))};t.default=u,u.propTypes={customClass:s.default.string,onClose:s.default.func},u.defaultProps={customClass:"defaultCustomClass",onClose:function(){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SelectStatus=t.ArchiveDeleteContent=t.NewVersionBtn=t.CardPopupCreateContent=t.CardPopup=t.Delimiter=t.BtnSwitch=t.TextAreaApp=t.Timeline=t.PopinFixedContent=t.PopinFixedOption=t.PopinFixedHeader=t.PopinFixed=t.handleFetchResult=t.langEn=t.langFr=void 0;var o=n(20),i=n(10),a=r(i),s=n(11),l=r(s),c=n(21),u=r(c),f=n(12),p=r(f),d=n(13),h=r(d),g=n(17),m=r(g),b=n(47),y=r(b),_=n(52),v=r(_),x=n(55),w=r(x),C=n(58),O=r(C),j=n(18),S=r(j),E=n(63),k=r(E),P=n(66),N=r(P),R=n(67),T=r(R),L=n(68),I=r(L);t.langFr=a.default,t.langEn=l.default,t.handleFetchResult=o.libHandleFetchResult,t.PopinFixed=u.default,t.PopinFixedHeader=p.default,t.PopinFixedOption=h.default,t.PopinFixedContent=m.default,t.Timeline=y.default,t.TextAreaApp=v.default,t.BtnSwitch=w.default,t.Delimiter=O.default,t.CardPopup=S.default,t.CardPopupCreateContent=k.default,t.NewVersionBtn=N.default,t.ArchiveDeleteContent=T.default,t.SelectStatus=I.default},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}Object.defineProperty(t,"__esModule",{value:!0}),t.libHandleFetchResult=function(){var e=r(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t.status,e.next=200===e.t0?3:304===e.t0?3:204===e.t0?7:400===e.t0?8:404===e.t0?8:409===e.t0?8:500===e.t0?8:501===e.t0?8:502===e.t0?8:503===e.t0?8:504===e.t0?8:9;break;case 3:return e.next=5,t.clone().json();case 5:return n=e.sent,e.abrupt("return",new Promise(function(e,r){return e({apiResponse:t,body:n})}));case 7:return e.abrupt("return",t);case 8:return e.abrupt("return",new Promise(function(e,n){return n(t)}));case 9:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n(2),s=r(a),l=n(1),c=r(l),u=n(12),f=r(u),p=n(13),d=r(p),h=n(17),g=r(h);n(44);var m=function(e){return i.default.createElement("div",{className:(0,s.default)("wsContentGeneric",e.customClass,{visible:e.visible}),style:e.style},e.children)};t.default=m,m.propTypes={children:c.default.arrayOf(function(e,t,n){if(e.length>3||e[0].type!==f.default||e[1].type!==d.default||e[2].type!==g.default)return new Error("PropType Error: childrens of "+n+" must be: 1 PopinFixedHeader, 1 PopinFixedOption and 1 PopinFixedContent.")}).isRequired,customClass:c.default.string,visible:c.default.bool},m.defaultProps={customClass:"",visible:!0}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e.displayName||e.name||"Component"}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var l=function(s){function l(n,r){o(this,l);var a=i(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,n,r));a.i18n=n.i18n||t.i18n||r.i18n||Object(m.b)(),a.namespaces="function"==typeof e?e(n):e||a.i18n.options&&a.i18n.options.defaultNS,"string"==typeof a.namespaces&&(a.namespaces=[a.namespaces]);var s=a.i18n&&a.i18n.options&&a.i18n.options.react||{};return a.options=y({},Object(m.a)(),s,t),a.getWrappedInstance=a.getWrappedInstance.bind(a),a}return a(l,s),_(l,[{key:"shouldComponentUpdate",value:function(e){return!this.options.usePureComponent||!Object(g.a)(this.props,e)}},{key:"getWrappedInstance",value:function(){return this.options.withRef||console.error("To access the wrapped instance, you need to specify { withRef: true } as the second argument of the translate() call."),this.wrappedInstance}},{key:"render",value:function(){var e=this,t={};return this.options.withRef&&(t.ref=function(t){e.wrappedInstance=t}),u.a.createElement(b.a,y({ns:this.namespaces},this.options,this.props,{i18n:this.i18n}),function(o,i){var a=i.ready,s=r(i,["ready"]);return u.a.createElement(n,y({tReady:a},e.props,t,s))})}}]),l}(c.Component);return l.WrappedComponent=n,l.contextTypes={i18n:p.a.object},l.displayName="Translate("+s(n)+")",l.namespaces=e,h()(l,n)}}t.a=l;var c=n(0),u=n.n(c),f=n(1),p=n.n(f),d=n(23),h=n.n(d),g=n(24),m=n(9),b=n(14),y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();l.setDefaults=m.d,l.setI18n=m.e},function(e,t,n){!function(t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,i=Object.getOwnPropertyDescriptor,a=Object.getPrototypeOf,s=a&&a(Object);return function l(c,u,f){if("string"!=typeof u){if(s){var p=a(u);p&&p!==s&&l(c,p,f)}var d=r(u);o&&(d=d.concat(o(u)));for(var h=0;h<d.length;++h){var g=d[h];if(!(e[g]||t[g]||f&&f[g])){var m=i(u,g);try{n(c,g,m)}catch(e){}}}return c}return c}}()}()},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!==(void 0===e?"undefined":i(e))||null===e||"object"!==(void 0===t?"undefined":i(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var s=0;s<n.length;s++)if(!a.call(t,n[s])||!r(e[n[s]],t[n[s]]))return!1;return!0}t.a=o;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(1),c=n.n(l),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.i18n=e.i18n||n.i18n,i.t=e.t||n.t,i}return i(t,e),f(t,[{key:"render",value:function(){var e=this,t=this.props.parent||"span",n=this.props.regexp||this.i18n.services.interpolator.regexp,r=this.props,o=r.className,i=r.style,a=this.props.useDangerouslySetInnerHTML||!1,l=this.props.dangerouslySetInnerHTMLPartElement||"span",c=u({},this.props.options,{interpolation:{prefix:"#$?",suffix:"?$#"}}),f=this.t(this.props.i18nKey,c);if(!f||"string"!=typeof f)return s.a.createElement("noscript",null);var p=[],d=function(t,n){if(t.indexOf(e.i18n.options.interpolation.formatSeparator)<0)return void 0===n[t]&&e.i18n.services.logger.warn("interpolator: missed to pass in variable "+t+" for interpolating "+f),n[t];var r=t.split(e.i18n.options.interpolation.formatSeparator),o=r.shift().trim(),i=r.join(e.i18n.options.interpolation.formatSeparator).trim();return void 0===n[o]&&e.i18n.services.logger.warn("interpolator: missed to pass in variable "+o+" for interpolating "+f),e.i18n.options.interpolation.format(n[o],i,e.i18n.language)};f.split(n).reduce(function(t,n,r){var o=void 0;if(r%2==0){if(0===n.length)return t;o=a?s.a.createElement(l,{dangerouslySetInnerHTML:{__html:n}}):n}else o=d(n,e.props);return t.push(o),t},p);var h={};if(this.i18n.options.react&&this.i18n.options.react.exposeNamespace){var g="string"==typeof this.t.ns?this.t.ns:this.t.ns[0];this.props.i18nKey&&this.i18n.options.nsSeparator&&this.props.i18nKey.indexOf(this.i18n.options.nsSeparator)>-1&&(g=this.props.i18nKey.split(this.i18n.options.nsSeparator)[0]),this.t.ns&&(h["data-i18next-options"]=JSON.stringify({ns:g}))}return o&&(h.className=o),i&&(h.style=i),s.a.createElement.apply(this,[t,h].concat(p))}}]),t}(a.Component);p.propTypes={className:c.a.string},p.defaultProps={className:""},p.contextTypes={i18n:c.a.object.isRequired,t:c.a.func.isRequired},t.a=p},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e&&(e.children||e.props&&e.props.children)}function l(e){return e&&e.children?e.children:e.props&&e.props.children}function c(e,t,n){return t?("[object Array]"!==Object.prototype.toString.call(t)&&(t=[t]),t.forEach(function(t,n){var r=""+n;if("string"==typeof t)e=""+e+t;else if(s(t))e=e+"<"+r+">"+c("",l(t),n+1)+"</"+r+">";else if(p.a.isValidElement(t))e=e+"<"+r+"></"+r+">";else if("object"===(void 0===t?"undefined":_(t))){var o=y({},t),i=o.format;delete o.format;var a=Object.keys(o);i&&1===a.length?e=e+"<"+r+">{{"+a[0]+", "+i+"}}</"+r+">":1===a.length?e=e+"<"+r+">{{"+a[0]+"}}</"+r+">":console&&console.warn&&console.warn("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",t)}else console&&console.warn&&console.warn("react-i18next: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",t)}),e):""}function u(e,t,n){function r(e,t){return"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),"[object Array]"!==Object.prototype.toString.call(t)&&(t=[t]),t.reduce(function(t,o,i){if("tag"===o.type){var a=e[parseInt(o.name,10)]||{},c=p.a.isValidElement(a);if("string"==typeof a)t.push(a);else if(s(a)){var u=r(l(a),o.children);a.dummy&&(a.children=u),t.push(p.a.cloneElement(a,y({},a.props,{key:i}),u))}else if("object"!==(void 0===a?"undefined":_(a))||c)t.push(a);else{var f=n.services.interpolator.interpolate(o.children[0].content,a,n.language);t.push(f)}}else"text"===o.type&&t.push(o.content);return t},[])}return""===t?[]:e?l(r([{dummy:!0,children:e}],m.a.parse("<0>"+t+"</0>"))[0]):[t]}var f=n(0),p=n.n(f),d=n(1),h=n.n(d),g=n(27),m=n.n(g),b=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),b(t,[{key:"render",value:function(){var e=y({i18n:this.context.i18n,t:this.context.t},this.props),t=e.children,n=e.count,o=e.parent,i=e.i18nKey,a=e.ns,s=e.i18n,l=e.t,f=r(e,["children","count","parent","i18nKey","ns","i18n","t"]),d=l||s.t.bind(s),h=s.options&&s.options.react||{},g=void 0!==o?o:h.defaultTransParent,m=c("",t,0),b=h.hashTransKey,_=i||(b?b(m):m),v=_?d(_,{interpolation:{prefix:"#$?",suffix:"?$#"},defaultValue:m,count:n,ns:a}):m;if(h.exposeNamespace){var x="string"==typeof d.ns?d.ns:d.ns[0];i&&s.options&&s.options.nsSeparator&&i.indexOf(s.options.nsSeparator)>-1&&(x=i.split(s.options.nsSeparator)[0]),d.ns&&(f["data-i18next-options"]=JSON.stringify({ns:x}))}return g?p.a.createElement(g,f,u(t,v,s)):u(t,v,s)}}]),t}(p.a.Component);t.a=v,v.propTypes={count:h.a.number,parent:h.a.node,i18nKey:h.a.string,i18n:h.a.object,t:h.a.func},v.contextTypes={i18n:h.a.object.isRequired,t:h.a.func}},function(e,t,n){e.exports={parse:n(28),stringify:n(31)}},function(e,t,n){function r(e,t,n,r,o){var i=t.indexOf("<",r),a=t.slice(r,-1===i?void 0:i);/^\s*$/.test(a)&&(a=" "),(!o&&i>-1&&n+e.length>=0||" "!==a)&&e.push({type:"text",content:a})}var o=/(?:<!--[\S\s]*?-->|<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>)/g,i=n(29),a=Object.create?Object.create(null):{};e.exports=function(e,t){t||(t={}),t.components||(t.components=a);var n,s=[],l=-1,c=[],u={},f=!1;return e.replace(o,function(o,a){if(f){if(o!=="</"+n.name+">")return;f=!1}var p,d="/"!==o.charAt(1),h=0===o.indexOf("\x3c!--"),g=a+o.length,m=e.charAt(g);d&&!h&&(l++,n=i(o),"tag"===n.type&&t.components[n.name]&&(n.type="component",f=!0),n.voidElement||f||!m||"<"===m||r(n.children,e,l,g,t.ignoreWhitespace),u[n.tagName]=n,0===l&&s.push(n),p=c[l-1],p&&p.children.push(n),c[l]=n),(h||!d||n.voidElement)&&(h||l--,!f&&"<"!==m&&m&&(p=-1===l?s:c[l].children,r(p,e,l,g,t.ignoreWhitespace)))}),!s.length&&e.length&&r(s,e,0,0,t.ignoreWhitespace),s}},function(e,t,n){var r=/([\w-]+)|=|(['"])([.\s\S]*?)\2/g,o=n(30);e.exports=function(e){var t,n=0,i=!0,a={type:"tag",name:"",voidElement:!1,attrs:{},children:[]};return e.replace(r,function(r){if("="===r)return i=!0,void n++;i?0===n?((o[r]||"/"===e.charAt(e.length-2))&&(a.voidElement=!0),a.name=r):(a.attrs[t]=r.replace(/^['"]|['"]$/g,""),t=void 0):(t&&(a.attrs[t]=t),t=r),n++,i=!1}),a}},function(e,t){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},function(e,t){function n(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}function r(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?n(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(r,"")+"</"+t.name+">"}}e.exports=function(e){return e.reduce(function(e,t){return e+r("",t)},"")}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=(n.n(a),n(1)),l=n.n(s),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.i18n=e.i18n,e.initialI18nStore&&(i.i18n.services.resourceStore.data=e.initialI18nStore,i.i18n.options.isInitialSSR=!0),e.initialLanguage&&i.i18n.changeLanguage(e.initialLanguage),i}return i(t,e),c(t,[{key:"getChildContext",value:function(){return{i18n:this.i18n}}},{key:"componentWillReceiveProps",value:function(e){if(this.props.i18n!==e.i18n)throw new Error("[react-i18next][I18nextProvider]does not support changing the i18n object.")}},{key:"render",value:function(){var e=this.props.children;return a.Children.only(e)}}]),t}(a.Component);u.propTypes={i18n:l.a.object.isRequired,children:l.a.element.isRequired},u.childContextTypes={i18n:l.a.object.isRequired},t.a=u},function(e,t,n){"use strict";function r(e,t){for(var n=0,r=e.length;n<r;n++)if("object"===s(e[n])){var o=!0,i=!1,l=void 0;try{for(var c,u=Object.entries(e[n])[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){var f=a(c.value,2),p=f[0],d=f[1];t(d,n,p)}}catch(e){i=!0,l=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw l}}}else t(e[n],n)}function o(e){var t=[];return r(e,function(e){e&&e.namespaces&&e.namespaces.forEach(function(e){-1===t.indexOf(e)&&t.push(e)})}),t}function i(e){var t=e.components,n=e.i18n,r=o(t);return new Promise(function(e){n.loadNamespaces(r,e)})}t.a=i;var a=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"changeLanguage",function(){return o}),n.d(t,"cloneInstance",function(){return i}),n.d(t,"createInstance",function(){return a}),n.d(t,"dir",function(){return s}),n.d(t,"exists",function(){return l}),n.d(t,"getFixedT",function(){return c}),n.d(t,"init",function(){return u}),n.d(t,"loadLanguages",function(){return f}),n.d(t,"loadNamespaces",function(){return p}),n.d(t,"loadResources",function(){return d}),n.d(t,"off",function(){return h}),n.d(t,"on",function(){return g}),n.d(t,"setDefaultNamespace",function(){return m}),n.d(t,"t",function(){return b}),n.d(t,"use",function(){return y});var r=n(35);t.default=r.a;var o=r.a.changeLanguage.bind(r.a),i=r.a.cloneInstance.bind(r.a),a=r.a.createInstance.bind(r.a),s=r.a.dir.bind(r.a),l=r.a.exists.bind(r.a),c=r.a.getFixedT.bind(r.a),u=r.a.init.bind(r.a),f=r.a.loadLanguages.bind(r.a),p=r.a.loadNamespaces.bind(r.a),d=r.a.loadResources.bind(r.a),h=r.a.off.bind(r.a),g=r.a.on.bind(r.a),m=r.a.setDefaultNamespace.bind(r.a),b=r.a.t.bind(r.a),y=r.a.use.bind(r.a)},function(e,t,n){"use strict";function r(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):r(e,t))}function s(){}var l=n(5),c=n(6),u=n(36),f=n(37),p=n(38),d=n(39),h=n(40),g=n(41),m=n(42),b=n(43),y=n(16),_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1];o(this,t);var a=i(this,e.call(this));if(a.options=Object(b.b)(n),a.services={},a.logger=l.a,a.modules={external:[]},r&&!a.isInitialized&&!n.isClone){var s;if(!a.options.initImmediate)return s=a.init(n,r),i(a,s);setTimeout(function(){a.init(n,r)},0)}return a}return a(t,e),t.prototype.init=function(){function e(e){return e?"function"==typeof e?new e:e:null}var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1];if("function"==typeof n&&(r=n,n={}),this.options=v({},Object(b.a)(),this.options,Object(b.b)(n)),this.format=this.options.interpolation.format,r||(r=s),!this.options.isClone){this.modules.logger?l.a.init(e(this.modules.logger),this.options):l.a.init(null,this.options);var o=new p.a(this.options);this.store=new u.a(this.options.resources,this.options);var i=this.services;i.logger=l.a,i.resourceStore=this.store,i.resourceStore.on("added removed",function(e,t){i.cacheConnector.save()}),i.languageUtils=o,i.pluralResolver=new d.a(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new h.a(this.options),i.backendConnector=new g.a(e(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))}),i.backendConnector.on("loaded",function(e){i.cacheConnector.save()}),i.cacheConnector=new m.a(e(this.modules.cache),i.resourceStore,i,this.options),i.cacheConnector.on("*",function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))}),this.modules.languageDetector&&(i.languageDetector=e(this.modules.languageDetector),i.languageDetector.init(i,this.options.detection,this.options)),this.translator=new f.a(this.services,this.options),this.translator.on("*",function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))}),this.modules.external.forEach(function(e){e.init&&e.init(t)})}["getResource","addResource","addResources","addResourceBundle","removeResourceBundle","hasResourceBundle","getResourceBundle"].forEach(function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments)}});var a=function(){t.changeLanguage(t.options.lng,function(e,n){t.isInitialized=!0,t.logger.log("initialized",t.options),t.emit("initialized",t.options),r(e,n)})};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),this},t.prototype.loadResources=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;if(this.options.resources)t(null);else{if(this.language&&"cimode"===this.language.toLowerCase())return t();var n=[],r=function(t){t&&e.services.languageUtils.toResolveHierarchy(t).forEach(function(e){n.indexOf(e)<0&&n.push(e)})};this.language?r(this.language):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return r(e)}),this.options.preload&&this.options.preload.forEach(function(e){return r(e)}),this.services.cacheConnector.load(n,this.options.ns,function(){e.services.backendConnector.load(n,e.options.ns,t)})}},t.prototype.reloadResources=function(e,t){e||(e=this.languages),t||(t=this.options.ns),this.services.backendConnector.reload(e,t)},t.prototype.use=function(e){return"backend"===e.type&&(this.modules.backend=e),"cache"===e.type&&(this.modules.cache=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"postProcessor"===e.type&&y.a.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this},t.prototype.changeLanguage=function(e,t){var n=this,r=function(e,r){n.translator.changeLanguage(r),r&&(n.emit("languageChanged",r),n.logger.log("languageChanged",r)),t&&t(e,function(){return n.t.apply(n,arguments)})},o=function(e){e&&(n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.translator.language||n.translator.changeLanguage(e),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(e)),n.loadResources(function(t){r(t,e)})};e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect())},t.prototype.getFixedT=function(e,t){var n=this,r=function e(t,r){for(var o=arguments.length,i=Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];var s=v({},r);return"object"!==(void 0===r?"undefined":_(r))&&(s=n.options.overloadTranslationOptionHandler([t,r].concat(i))),s.lng=s.lng||e.lng,s.lngs=s.lngs||e.lngs,s.ns=s.ns||e.ns,n.t(t,s)};return"string"==typeof e?r.lng=e:r.lngs=e,r.ns=t,r},t.prototype.t=function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)},t.prototype.exists=function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)},t.prototype.setDefaultNamespace=function(e){this.options.defaultNS=e},t.prototype.loadNamespaces=function(e,t){var n=this;if(!this.options.ns)return t&&t();"string"==typeof e&&(e=[e]),e.forEach(function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)}),this.loadResources(t)},t.prototype.loadLanguages=function(e,t){"string"==typeof e&&(e=[e]);var n=this.options.preload||[],r=e.filter(function(e){return n.indexOf(e)<0});if(!r.length)return t();this.options.preload=n.concat(r),this.loadResources(t)},t.prototype.dir=function(e){return e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr":"rtl"},t.prototype.createInstance=function(){return new t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments[1])},t.prototype.cloneInstance=function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,o=v({},this.options,n,{isClone:!0}),i=new t(o);return["store","services","language"].forEach(function(t){i[t]=e[t]}),i.translator=new f.a(i.services,i.options),i.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))}),i.init(o,r),i.translator.options=i.options,i},t}(c.a);t.a=new x},function(e,t,n){"use strict";function r(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):r(e,t))}var s=n(6),l=n(7),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};o(this,t);var a=i(this,e.call(this));return a.data=n||{},a.options=r,a}return a(t,e),t.prototype.addNamespaces=function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)},t.prototype.removeNamespaces=function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)},t.prototype.getResource=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.keySeparator||this.options.keySeparator;void 0===o&&(o=".");var i=[e,t];return n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(i=e.split(".")),l.d(this.data,i)},t.prototype.addResource=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),l.h(this.data,a,r),o.silent||this.emit("added",e,t,n,r)},t.prototype.addResources=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"==typeof n[o]&&this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)},t.prototype.addResourceBundle=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);var s=l.d(this.data,a)||{};r?l.b(s,n,o):s=c({},s,n),l.h(this.data,a,s),i.silent||this.emit("added",e,t,n)},t.prototype.removeResourceBundle=function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)},t.prototype.hasResourceBundle=function(e,t){return void 0!==this.getResource(e,t)},t.prototype.getResourceBundle=function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?c({},this.getResource(e,t)):this.getResource(e,t)},t.prototype.toJSON=function(){return this.data},t}(s.a);t.a=u},function(e,t,n){"use strict";function r(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):r(e,t))}var s=n(5),l=n(6),c=n(16),u=n(7),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t);var a=i(this,e.call(this));return u.a(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector"],n,a),a.options=r,a.logger=s.a.create("translator"),a}return a(t,e),t.prototype.changeLanguage=function(e){e&&(this.language=e)},t.prototype.exists=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res},t.prototype.extractFromKey=function(e,t){var n=t.nsSeparator||this.options.nsSeparator;void 0===n&&(n=":");var r=t.keySeparator||this.options.keySeparator||".",o=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}},t.prototype.translate=function(e,t){var n=this;if("object"!==(void 0===t?"undefined":p(t))&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),void 0===e||null===e||""===e)return"";"number"==typeof e&&(e=String(e)),"string"==typeof e&&(e=[e]);var r=t.keySeparator||this.options.keySeparator||".",o=this.extractFromKey(e[e.length-1],t),i=o.key,a=o.namespaces,s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){var u=t.nsSeparator||this.options.nsSeparator;return s+u+i}return i}var d=this.resolve(e,t),h=d&&d.res,g=d&&d.usedKey||i,m=Object.prototype.toString.apply(h),b=["[object Number]","[object Function]","[object RegExp]"],y=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,_="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(h&&_&&b.indexOf(m)<0&&(!y||"[object Array]"!==m)){if(!t.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,h,t):"key '"+i+" ("+this.language+")' returned an object instead of string.";if(t.keySeparator||this.options.keySeparator){var v="[object Array]"===m?[]:{};for(var x in h)if(Object.prototype.hasOwnProperty.call(h,x)){var w=""+g+r+x;v[x]=this.translate(w,f({},t,{joinArrays:!1,ns:a})),v[x]===w&&(v[x]=h[x])}h=v}}else if(y&&"[object Array]"===m)(h=h.join(y))&&(h=this.extendTranslation(h,e,t));else{var C=!1,O=!1;this.isValidLookup(h)||void 0===t.defaultValue||(C=!0,h=t.defaultValue),this.isValidLookup(h)||(O=!0,h=i);var j=t.defaultValue&&t.defaultValue!==h&&this.options.updateMissing;if(O||C||j){this.logger.log(j?"updateKey":"missingKey",l,s,i,j?t.defaultValue:h);var S=[],E=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&E&&E[0])for(var k=0;k<E.length;k++)S.push(E[k]);else"all"===this.options.saveMissingTo?S=this.languageUtils.toResolveHierarchy(t.lng||this.language):S.push(t.lng||this.language);var P=function(e,r){n.options.missingKeyHandler?n.options.missingKeyHandler(e,s,r,j?t.defaultValue:h,j,t):n.backendConnector&&n.backendConnector.saveMissing&&n.backendConnector.saveMissing(e,s,r,j?t.defaultValue:h,j,t),n.emit("missingKey",e,s,r,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&t.count?S.forEach(function(e){n.pluralResolver.getPluralFormsOfKey(e,i).forEach(function(t){return P([e],t)})}):P(S,i))}h=this.extendTranslation(h,e,t),O&&h===i&&this.options.appendNamespaceToMissingKey&&(h=s+":"+i),O&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(h))}return h},t.prototype.extendTranslation=function(e,t,n){var r=this;n.interpolation&&this.interpolator.init(f({},n,{interpolation:f({},this.options.interpolation,n.interpolation)}));var o=n.replace&&"string"!=typeof n.replace?n.replace:n;this.options.interpolation.defaultVariables&&(o=f({},this.options.interpolation.defaultVariables,o)),e=this.interpolator.interpolate(e,o,n.lng||this.language),!1!==n.nest&&(e=this.interpolator.nest(e,function(){return r.translate.apply(r,arguments)},n)),n.interpolation&&this.interpolator.reset();var i=n.postProcess||this.options.postProcess,a="string"==typeof i?[i]:i;return void 0!==e&&null!==e&&a&&a.length&&!1!==n.applyPostProcessor&&(e=c.a.handle(a,e,t,n,this)),e},t.prototype.resolve=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0,o=void 0;return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!t.isValidLookup(r)){var i=t.extractFromKey(e,n),a=i.key;o=a;var s=i.namespaces;t.options.fallbackNS&&(s=s.concat(t.options.fallbackNS));var l=void 0!==n.count&&"string"!=typeof n.count,c=void 0!==n.context&&"string"==typeof n.context&&""!==n.context,u=n.lngs?n.lngs:t.languageUtils.toResolveHierarchy(n.lng||t.language);s.forEach(function(e){t.isValidLookup(r)||u.forEach(function(o){if(!t.isValidLookup(r)){var i=a,s=[i],u=void 0;l&&(u=t.pluralResolver.getSuffix(o,n.count)),l&&c&&s.push(i+u),c&&s.push(i+=""+t.options.contextSeparator+n.context),l&&s.push(i+=u);for(var f=void 0;f=s.pop();)t.isValidLookup(r)||(r=t.getResource(o,e,f,n))}})})}}),{res:r,usedKey:o}},t.prototype.isValidLookup=function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)},t.prototype.getResource=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.resourceStore.getResource(e,t,n,r)},t}(l.a);t.a=d},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){return e.charAt(0).toUpperCase()+e.slice(1)}var i=n(5),a=function(){function e(t){r(this,e),this.options=t,this.whitelist=this.options.whitelist||!1,this.logger=i.a.create("languageUtils")}return e.prototype.getScriptPartFromCode=function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),this.formatLanguageCode(t.join("-")))},e.prototype.getLanguagePartFromCode=function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])},e.prototype.formatLanguageCode=function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=o(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=o(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=o(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e},e.prototype.isWhitelisted=function(e){return("languageOnly"===this.options.load||this.options.nonExplicitWhitelist)&&(e=this.getLanguagePartFromCode(e)),!this.whitelist||!this.whitelist.length||this.whitelist.indexOf(e)>-1},e.prototype.getFallbackCodes=function(e,t){if(!e)return[];if("string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e.default),n||[]},e.prototype.toResolveHierarchy=function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isWhitelisted(e)?o.push(e):n.logger.warn("rejecting non-whitelisted language code: "+e))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))}),o},e}();t.a=a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e={};return a.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:s[t.fc]}})}),e}var i=n(5),a=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","he","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21}],s={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0===e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0===e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)}},l=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.languageUtils=t,this.options=n,this.logger=i.a.create("pluralResolver"),this.rules=o()}return e.prototype.addRule=function(e,t){this.rules[e]=t},e.prototype.getRule=function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]},e.prototype.needsPlural=function(e){var t=this.getRule(e);return t&&t.numbers.length>1},e.prototype.getPluralFormsOfKey=function(e,t){var n=this,r=[],o=this.getRule(e);return o?(o.numbers.forEach(function(o){var i=n.getSuffix(e,o);r.push(""+t+i)}),r):r},e.prototype.getSuffix=function(e,t){var n=this,r=this.getRule(e);if(r){var o=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[o];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_"+i.toString():a():"v2"===this.options.compatibilityJSON||2===r.numbers.length&&1===r.numbers[0]?a():2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: "+e),""},e}();t.a=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(7),i=n(5),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,e),this.logger=i.a.create("interpolator"),this.init(t,!0)}return e.prototype.init=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};arguments[1]&&(this.options=e,this.format=e.interpolation&&e.interpolation.format||function(e){return e},this.escape=e.interpolation&&e.interpolation.escape||o.c),e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.prefix=t.prefix?o.g(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?o.g(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?o.g(t.nestingPrefix):t.nestingPrefixEscaped||o.g("$t("),this.nestingSuffix=t.nestingSuffix?o.g(t.nestingSuffix):t.nestingSuffixEscaped||o.g(")"),this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.resetRegExp()},e.prototype.reset=function(){this.options&&this.init(this.options)},e.prototype.resetRegExp=function(){var e=this.prefix+"(.+?)"+this.suffix;this.regexp=new RegExp(e,"g");var t=""+this.prefix+this.unescapePrefix+"(.+?)"+this.unescapeSuffix+this.suffix;this.regexpUnescape=new RegExp(t,"g");var n=this.nestingPrefix+"(.+?)"+this.nestingSuffix;this.nestingRegexp=new RegExp(n,"g")},e.prototype.interpolate=function(e,t,n){var r=this,i=void 0,a=void 0,s=void 0,l=function(e){if(e.indexOf(r.formatSeparator)<0)return o.d(t,e);var i=e.split(r.formatSeparator),a=i.shift().trim(),s=i.join(r.formatSeparator).trim();return r.format(o.d(t,a),s,n)};for(this.resetRegExp(),s=0;(i=this.regexpUnescape.exec(e))&&(a=l(i[1].trim()),e=e.replace(i[0],a),this.regexpUnescape.lastIndex=0,!(++s>=this.maxReplaces)););for(s=0;i=this.regexp.exec(e);){if(a=l(i[1].trim()),"string"!=typeof a&&(a=o.e(a)),!a)if("function"==typeof this.options.missingInterpolationHandler){var c=this.options.missingInterpolationHandler(e,i);a="string"==typeof c?c:""}else this.logger.warn("missed to pass in variable "+i[1]+" for interpolating "+e),a="";if(a=function(e){return e.replace(/\$/g,"$$$$")}(this.escapeValue?this.escape(a):a),e=e.replace(i[0],a),this.regexp.lastIndex=0,++s>=this.maxReplaces)break}return e},e.prototype.nest=function(e,t){function n(e,t){if(e.indexOf(",")<0)return e;var n=e.split(",");e=n.shift();var r=n.join(",");r=this.interpolate(r,l),r=r.replace(/'/g,'"');try{l=JSON.parse(r),t&&(l=a({},t,l))}catch(t){this.logger.error("failed parsing options string in nesting for key "+e,t)}return e}var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=void 0,s=void 0,l=a({},r);for(l.applyPostProcessor=!1;i=this.nestingRegexp.exec(e);){if((s=t(n.call(this,i[1].trim(),l),l))&&i[0]===e&&"string"!=typeof s)return s;"string"!=typeof s&&(s=o.e(s)),s||(this.logger.warn("missed to resolve "+i[1]+" for nesting "+e),s=""),e=e.replace(i[0],s),this.regexp.lastIndex=0}return e},e}();t.a=s},function(e,t,n){"use strict";function r(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):r(e,t))}function s(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}var l=n(7),c=n(5),u=n(6),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=function(e){function t(n,r,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};o(this,t);var l=i(this,e.call(this));return l.backend=n,l.store=r,l.languageUtils=a.languageUtils,l.options=s,l.logger=c.a.create("backendConnector"),l.state={},l.queue=[],l.backend&&l.backend.init&&l.backend.init(a,s.backend,s),l}return a(t,e),t.prototype.queueLoad=function(e,t,n){var r=this,o=[],i=[],a=[],s=[];return e.forEach(function(e){var n=!0;t.forEach(function(t){var a=e+"|"+t;r.store.hasResourceBundle(e,t)?r.state[a]=2:r.state[a]<0||(1===r.state[a]?i.indexOf(a)<0&&i.push(a):(r.state[a]=1,n=!1,i.indexOf(a)<0&&i.push(a),o.indexOf(a)<0&&o.push(a),s.indexOf(t)<0&&s.push(t)))}),n||a.push(e)}),(o.length||i.length)&&this.queue.push({pending:i,loaded:{},errors:[],callback:n}),{toLoad:o,pending:i,toLoadLanguages:a,toLoadNamespaces:s}},t.prototype.loaded=function(e,t,n){var r=this,o=e.split("|"),i=p(o,2),a=i[0],c=i[1];t&&this.emit("failedLoading",a,c,t),n&&this.store.addResourceBundle(a,c,n),this.state[e]=t?-1:2,this.queue.forEach(function(n){l.f(n.loaded,[a],c),s(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(r.emit("loaded",n.loaded),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.queue=this.queue.filter(function(e){return!e.done})},t.prototype.read=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=this,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:250,a=arguments[5];return e.length?this.backend[n](e,t,function(s,l){if(s&&l&&r<5)return void setTimeout(function(){o.read.call(o,e,t,n,r+1,2*i,a)},i);a(s,l)}):a(null,{})},t.prototype.load=function(e,t,n){var r=this;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();var o=f({},this.backend.options,this.options.backend);"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,n);if(!i.toLoad.length)return i.pending.length||n(),null;o.allowMultiLoading&&this.backend.readMulti?this.read(i.toLoadLanguages,i.toLoadNamespaces,"readMulti",null,null,function(e,t){e&&r.logger.warn("loading namespaces "+i.toLoadNamespaces.join(", ")+" for languages "+i.toLoadLanguages.join(", ")+" via multiloading failed",e),!e&&t&&r.logger.log("successfully loaded namespaces "+i.toLoadNamespaces.join(", ")+" for languages "+i.toLoadLanguages.join(", ")+" via multiloading",t),i.toLoad.forEach(function(n){var o=n.split("|"),i=p(o,2),a=i[0],s=i[1],c=l.d(t,[a,s]);if(c)r.loaded(n,e,c);else{var u="loading namespace "+s+" for language "+a+" via multiloading failed";r.loaded(n,u),r.logger.error(u)}})}):i.toLoad.forEach(function(e){r.loadOne(e)})},t.prototype.reload=function(e,t){var n=this;this.backend||this.logger.warn("No backend was added via i18next.use. Will not load resources.");var r=f({},this.backend.options,this.options.backend);"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]),r.allowMultiLoading&&this.backend.readMulti?this.read(e,t,"readMulti",null,null,function(r,o){r&&n.logger.warn("reloading namespaces "+t.join(", ")+" for languages "+e.join(", ")+" via multiloading failed",r),!r&&o&&n.logger.log("successfully reloaded namespaces "+t.join(", ")+" for languages "+e.join(", ")+" via multiloading",o),e.forEach(function(e){t.forEach(function(t){var i=l.d(o,[e,t]);if(i)n.loaded(e+"|"+t,r,i);else{var a="reloading namespace "+t+" for language "+e+" via multiloading failed";n.loaded(e+"|"+t,a),n.logger.error(a)}})})}):e.forEach(function(e){t.forEach(function(t){n.loadOne(e+"|"+t,"re")})})},t.prototype.loadOne=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=p(r,2),i=o[0],a=o[1];this.read(i,a,"read",null,null,function(r,o){r&&t.logger.warn(n+"loading namespace "+a+" for language "+i+" failed",r),!r&&o&&t.logger.log(n+"loaded namespace "+a+" for language "+i,o),t.loaded(e,r,o)})},t.prototype.saveMissing=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,f({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r)},t}(u.a);t.a=d},function(e,t,n){"use strict";function r(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):r(e,t))}var s=n(5),l=n(6),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(e){function t(n,r,a){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};o(this,t);var c=i(this,e.call(this));return c.cache=n,c.store=r,c.services=a,c.options=l,c.logger=s.a.create("cacheConnector"),c.cache&&c.cache.init&&c.cache.init(a,l.cache,l),c}return a(t,e),t.prototype.load=function(e,t,n){var r=this;if(!this.cache)return n&&n();var o=c({},this.cache.options,this.options.cache),i="string"==typeof e?this.services.languageUtils.toResolveHierarchy(e):e;o.enabled?this.cache.load(i,function(e,t){if(e&&r.logger.error("loading languages "+i.join(", ")+" from cache failed",e),t)for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))for(var a in t[o])if(Object.prototype.hasOwnProperty.call(t[o],a)&&"i18nStamp"!==a){var s=t[o][a];s&&r.store.addResourceBundle(o,a,s)}n&&n()}):n&&n()},t.prototype.save=function(){this.cache&&this.options.cache&&this.options.cache.enabled&&this.cache.save(this.store.data)},t}(l.a);t.a=u},function(e,t,n){"use strict";function r(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:function(){},parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};return e[1]&&(t.defaultValue=e[1]),e[2]&&(t.tDescription=e[2]),t},interpolation:{escapeValue:!0,format:function(e,t,n){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",maxReplaces:1e3}}}function o(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e}n.d(t,"a",function(){return r}),t.b=o},function(e,t,n){var r=n(45);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(3)(!1),t.push([e.i,".wsContentGeneric{position:fixed;top:85px;right:0;border:1px solid #ababab;height:100%;background-color:#f0f0f0;box-shadow:shadow-page;z-index:4}.wsContentGeneric.visible{visibility:visible}.wsContentGeneric__header{display:flex;align-items:center;padding:15px;height:64px}.wsContentGeneric__header__icon{margin-right:15px;font-size:22px;color:#fff}.wsContentGeneric__header__title{margin-right:15px;border-radius:5px;color:#fff;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.wsContentGeneric__header__title>input{padding-left:5px}.wsContentGeneric__header__edittitle{margin:0 15px;border:1px solid transparent;border-radius:5px;padding:2px 8px;color:#fff;font-size:17px;cursor:pointer}.wsContentGeneric__header__edittitle:hover{border-color:#fff}.wsContentGeneric__header__edittitle .fa-pencil{color:#fdfdfd}.wsContentGeneric__header__close{border:1px solid #fff;border-radius:5px;padding:2px 5px;cursor:pointer}.wsContentGeneric__header__close>i{color:#fff;font-size:20px}.wsContentGeneric__option{border-bottom:1px solid #ababab;padding:10px;height:58px;background-color:#fdfdfd}.wsContentGeneric__option__menu>div{display:flex;align-items:center}.wsContentGeneric__option__menu__addversion{display:flex;align-items:center;cursor:pointer}.wsContentGeneric__option__menu__action{font-size:18px;background-color:transparent;border:none;cursor:pointer}.wsContentGeneric__option__menu__action:focus,.wsContentGeneric__option__menu__action:hover{color:#2571fe}.wsContentGeneric__content{display:flex;flex-wrap:wrap;height:calc(100% - 209px)}.wsContentGeneric__content__left{width:55%;height:calc(100% - 20px)}.wsContentGeneric__content__right{width:45%;height:calc(100% - 10px)}@media (min-width:576px) and (max-width:1199px){.wsContentGeneric__content{overflow-Y:auto}.wsContentGeneric__content__left{width:100%;margin-bottom:50px}.wsContentGeneric__content__right{width:100%}}@media (min-width:576px) and (max-width:767px){.wsContentGeneric{top:70px}}@media (max-width:575px){.wsContentGeneric{top:70px}.wsContentGeneric__content{overflow-Y:auto}.wsContentGeneric__content__left{width:100%;margin-bottom:50px}.wsContentGeneric__content__right{width:100%}}",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return e;var i;return i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),c=r(l),u=n(1),f=r(u),p=n(2),d=r(p),h=n(48),g=r(h),m=n(49),b=r(m);n(50);var y=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.scrollToBottom=function(){return r.timelineBottom.scrollIntoView({behavior:"instant"})},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentDidMount",value:function(){this.scrollToBottom()}},{key:"componentDidUpdate",value:function(){this.scrollToBottom()}},{key:"render",value:function(){var e=this,t=this.props;return Array.isArray(t.timelineData)?c.default.createElement("div",{className:"timeline"},c.default.createElement("div",{className:(0,d.default)(t.customClass+"__header","timeline__header")},"Timeline"),c.default.createElement("ul",{className:(0,d.default)(t.customClass+"__messagelist","timeline__messagelist")},t.timelineData.map(function(e){switch(e.timelineType){case"comment":return c.default.createElement(g.default,{customClass:t.customClass,avatar:e.author.avatar_url,createdAt:e.created,text:e.raw_content,fromMe:t.loggedUser.user_id===e.author.user_id,key:"comment_"+e.content_id});case"revision":return c.default.createElement(b.default,{customClass:t.customClass,createdAt:e.created,number:e.number,key:"revision_"+e.revision_id,onClickRevision:function(){return t.onClickRevisionBtn(e)}})}}),c.default.createElement("li",{style:{visibility:"hidden"},ref:function(t){e.timelineBottom=t}})),c.default.createElement("form",{className:(0,d.default)(t.customClass+"__texteditor","timeline__texteditor")},c.default.createElement("div",{className:(0,d.default)(t.customClass+"__texteditor__textinput","timeline__texteditor__textinput")},c.default.createElement("textarea",{id:"wysiwygTimelineComment",placeholder:"Taper votre message ici",value:t.newComment,onChange:t.onChangeNewComment,disabled:t.disableComment})),c.default.createElement("div",{className:(0,d.default)(t.customClass+"__texteditor__wrapper","timeline__texteditor__wrapper")},c.default.createElement("div",{className:(0,d.default)(t.customClass+"__texteditor__advancedtext","timeline__texteditor__advancedtext")},c.default.createElement("button",{type:"button",className:(0,d.default)(t.customClass+"__texteditor__advancedtext__btn timeline__texteditor__advancedtext__btn btn btn-outline-primary"),onClick:t.onClickWysiwygBtn,disabled:t.disableComment},t.wysiwyg?"Text Simple":"Texte Avancé")),c.default.createElement("div",{className:(0,d.default)(t.customClass+"__texteditor__submit","timeline__texteditor__submit")},c.default.createElement("button",{type:"button",className:(0,d.default)(t.customClass+"__texteditor__submit__btn","timeline__texteditor__submit__btn btn"),onClick:t.onClickValidateNewCommentBtn,disabled:t.disableComment},"Envoyer",c.default.createElement("div",{className:(0,d.default)(t.customClass+"__texteditor__submit__btn__icon","timeline__texteditor__submit__btn__icon")},c.default.createElement("i",{className:"fa fa-paper-plane-o"}))))))):(console.log("Error in Timeline.jsx, props.timelineData is not an array. timelineData: ",t.timelineData),null)}}]),t}(c.default.Component);t.default=y,y.propTypes={timelineData:f.default.array.isRequired,newComment:f.default.string.isRequired,onChangeNewComment:f.default.func.isRequired,onClickValidateNewCommentBtn:f.default.func.isRequired,disableComment:f.default.bool,customClass:f.default.string,loggedUser:f.default.object,wysiwyg:f.default.bool,onClickWysiwygBtn:f.default.func,onClickRevisionBtn:f.default.func},y.defaultProps={disableComment:!1,customClass:"",loggedUser:{id:"",name:"",avatar:""},timelineData:[],wysiwyg:!1,onClickWysiwygBtn:function(){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n(2),s=r(a),l=function(e){return i.default.createElement("li",{className:(0,s.default)(e.customClass+"__messagelist__item","timeline__messagelist__item",{sended:e.fromMe,received:!e.fromMe})},i.default.createElement("div",{className:(0,s.default)(e.customClass+"__messagelist__item__wrapper","timeline__messagelist__item__wrapper")},i.default.createElement("div",{className:(0,s.default)(e.customClass+"__messagelist__item__avatar","timeline__messagelist__item__avatar")},e.avatar?i.default.createElement("img",{src:e.avatar}):"")),i.default.createElement("div",{className:(0,s.default)(e.customClass+"__messagelist__item__createhour","timeline__messagelist__item__createhour")},e.createdAt),i.default.createElement("div",{className:(0,s.default)(e.customClass+"__messagelist__item__content","timeline__messagelist__item__content"),dangerouslySetInnerHTML:{__html:e.text}}))};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n(2),s=r(a),l=function(e){return i.default.createElement("li",{className:(0,s.default)(e.customClass+"__messagelist__version","timeline__messagelist__version")},i.default.createElement("button",{type:"button",className:(0,s.default)(e.customClass+"__messagelist__version__btn","timeline__messagelist__version__btn btn"),onClick:e.onClickRevision},i.default.createElement("i",{className:"fa fa-code-fork"}),"version ",e.number),i.default.createElement("div",{className:(0,s.default)(e.customClass+"__messagelist__version__date","timeline__messagelist__version__date")},"Créer le ",e.createdAt))};t.default=l},function(e,t,n){var r=n(51);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(3)(!1),t.push([e.i,".timeline{display:flex;flex-direction:column;margin:10px 10px 10px 5px;border-radius:10px;height:100%}.timeline__header{flex:0 1 auto;border-radius:10px 10px 0 0;padding:15px;text-align:center;font-size:20px;color:#252525;background-color:#e0e0e0}.timeline__messagelist{flex:1 1 auto;margin-bottom:0;padding-left:0;border-bottom:1px solid #ababab;background-color:#fdfdfd;overflow-y:auto;list-style:none}.timeline__messagelist__item{padding:0 25px 0 35px}.timeline__messagelist__item__avatar{position:relative;top:40px;left:-20px;border-radius:50%;width:45px;height:45px}.timeline__messagelist__item__avatar>img{width:45px;height:45px;border-radius:25px}.timeline__messagelist__item__createhour{margin-left:35px;opacity:.7;font-size:14px}.timeline__messagelist__item__content{display:inline-block;border:1px solid #ababab;border-radius:5px;padding:15px;background-color:#fdfdfd;font-size:15px}.timeline__messagelist__version{display:flex;justify-content:space-between;margin:40px 0 20px;padding:10px 15px;width:100%;background-color:#f0f0f0}.timeline__messagelist__version__btn{display:flex;justify-content:center;padding:5px 20px;border-radius:5px;width:145px;color:#fff;font-size:17px;cursor:pointer}.timeline__messagelist__version__btn>i{margin-right:10px;color:#fdfdfd;font-size:22px}.timeline__messagelist__version__date{color:#252525;font-size:17px;margin:auto 0}.timeline__texteditor{flex:1 0 auto;margin:20px}.timeline__texteditor__textinput{width:100%}.timeline__texteditor__textinput>textarea{border-radius:5px;border:1.5px solid #ababab;padding:5px;height:80px;width:100%}.timeline__texteditor__wrapper{display:flex;align-items:center;justify-content:flex-end;margin-top:10px}.timeline__texteditor__advancedtext{margin-right:15px}.timeline__texteditor__submit__btn{display:inline-block;cursor:pointer}.timeline__texteditor__submit__btn__icon{display:inline-block;margin-left:20px}.received{text-align:right}.received .timeline__messagelist__item__wrapper{display:flex;flex-direction:row-reverse}.received .timeline__messagelist__item__avatar{left:20px}.received .timeline__messagelist__item__createhour{margin-left:0;margin-right:35px}.received .timeline__messagelist__item__content{color:#fff}.mce-btn-group:not(:first-child){border-left:none!important}@media (min-width:576px) and (max-width:1199px){.timeline__messagelist{min-height:350px;max-height:700px}.timeline__messagelist__item{margin-right:55px}}@media (min-width:576px) and (max-width:767px){.timeline__messagelist__item{margin-right:35px}.timeline__texteditor{display:flex;align-items:center}.timeline__texteditor__wysiwyg{width:70%}.timeline__texteditor__wysiwyg>textarea{border-radius:5px;height:40px}.timeline__texteditor__submit{width:30%;margin-left:10px}}@media (max-width:575px){.timeline__texteditor{display:flex;align-items:center}.timeline__texteditor__wysiwyg{width:70%}.timeline__texteditor__wysiwyg>textarea{border-radius:5px;height:40px}.timeline__texteditor__submit{width:30%;margin-left:10px}}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TextAreaApp=void 0;var o=n(0),i=r(o),a=n(1),s=r(a);n(53);var l=t.TextAreaApp=function(e){return i.default.createElement("form",{className:e.customClass+" editionmode"},i.default.createElement("textarea",{id:e.id,className:e.customClass+"__text editionmode__text",value:e.text,onChange:e.onChangeText}),i.default.createElement("div",{className:e.customClass+"__button editionmode__button text-right"},i.default.createElement("button",{type:"button",className:e.customClass+"__cancel editionmode__button__cancel btn btn-outline-primary mr-3",onClick:e.onClickCancelBtn},"Annuler"),i.default.createElement("button",{type:"button",className:e.customClass+"__submit editionmode__button__submit btn btn-outline-primary",onClick:e.onClickValidateBtn},"Valider")))};t.default=l,l.propTypes={text:s.default.string.isRequired,onChangeText:s.default.func.isRequired,onClickCancelBtn:s.default.func.isRequired,onClickValidateBtn:s.default.func.isRequired,id:s.default.string,customClass:s.default.string}},function(e,t,n){var r=n(54);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(3)(!1),t.push([e.i,".editiontitle{width:60%}.editionmode{display:flex;flex-direction:column;align-items:center}.editionmode,.editionmode__text{width:100%;height:calc(100% - 50px)}.editionmode__text{margin-bottom:25px}.editionmode__button{margin:25px 0;width:100%}.editionmode__button__cancel,.editionmode__button__submit{cursor:pointer}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BtnSwitch=void 0;var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r);n(56);var i=t.BtnSwitch=function(e){return o.default.createElement("div",{className:"btnswitch"},o.default.createElement("label",{className:"switch nomarginlabel"},o.default.createElement("input",{type:"checkbox",checked:e.checked,onChange:e.onChange}),o.default.createElement("span",{className:"slider round"})),o.default.createElement("div",{className:"btnswitch__text"},e.checked?"actif":"inactif"))};t.default=i},function(e,t,n){var r=n(57);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(3)(!1),t.push([e.i,'.btnswitch{display:flex;align-items:center}.btnswitch__text{margin-left:10px}.switch{position:relative;display:inline-block;margin-bottom:0;width:60px;height:34px}.switch input{display:none}.slider{cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc}.slider,.slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.slider:before{content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff}input:checked+.slider{background-color:#c17838}input:focus+.slider{box-shadow:0 0 1px #c17838}input:checked+.slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px)}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}',""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Delimiter=void 0;var o=n(0),i=r(o),a=n(2),s=r(a);n(59);var l=t.Delimiter=function(e){return i.default.createElement("div",{className:(0,s.default)(e.customClass,"delimiter")})};t.default=l},function(e,t,n){var r=n(60);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(3)(!1),t.push([e.i,".delimiter{border-radius:10px;width:50%;height:5px;background-color:#c17838}",""])},function(e,t,n){var r=n(62);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(3)(!1),t.push([e.i,".cardPopup{position:fixed;display:flex;justify-content:center;width:100%;z-index:10}.cardPopup__container{margin-top:50px;border:0;border-radius:10px;width:800px;background:#f0f0f0;box-shadow:1px 1px 5px 2px #ababab}.cardPopup__header{border-top-right-radius:10px;border-top-left-radius:10px;width:100%;height:8px}.cardPopup__close{display:flex;justify-content:flex-end;padding:5px 15px 5px 5px;cursor:pointer}.cardPopup__body{display:flex;align-items:center;padding:10px 15px 15px}.cardPopup__body__icon{padding:0 30px;font-size:40px}.cardPopup__body__text__title{font-size:20px;font-weight:600}.cardPopup__body__text__message{padding-right:20px;font-weight:500}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n(1),s=r(a),l=n(18),c=r(l);n(64);var u=function(e){return i.default.createElement(c.default,{customClass:"popupCreateContent",onClose:e.onClose},i.default.createElement("div",{className:"createcontent"},i.default.createElement("div",{className:"createcontent__contentname mb-4"},i.default.createElement("div",{className:"createcontent__contentname__icon ml-1 mr-3"},i.default.createElement("i",{className:"fa fa-"+e.faIcon,style:{color:e.color}})),i.default.createElement("div",{className:"createcontent__contentname__title",style:{color:e.color}},e.label)),i.default.createElement("form",{className:"createcontent__form"},i.default.createElement("input",{type:"text",className:"createcontent__form__input",value:e.contentName,onChange:e.onChangeContentName}),i.default.createElement("div",{className:"createcontent__form__button"},i.default.createElement("button",{type:"button",className:"createcontent__form__button btn btn-primary",onClick:e.onValidate},e.btnValidateLabel)))))};u.propTypes={onClose:s.default.func.isRequired,onValidate:s.default.func.isRequired,contentName:s.default.string.isRequired,onChangeContentName:s.default.func.isRequired,label:s.default.string,hexcolor:s.default.string,faIcon:s.default.string,btnValidateLabel:s.default.string},u.defaultProps={label:"",hexcolor:"#333",inputPlaceHolder:"",btnValidateLabel:""},t.default=u},function(e,t,n){var r=n(65);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(3)(!1),t.push([e.i,".popupCreateContent{position:fixed;top:0;left:0;display:flex;justify-content:center;width:100%;z-index:5}.popupCreateContent .cardPopup__container{margin-top:120px;border:0;border-radius:10px;width:400px;background:#f0f0f0;box-shadow:1px 1px 5px 2px #ababab}.popupCreateContent__header{border-top-right-radius:10px;border-top-left-radius:10px;width:100%;height:8px;background-color:#f90}.popupCreateContent .createcontent{width:100%}.popupCreateContent .createcontent__close{cursor:pointer}.popupCreateContent .createcontent__contentname{display:flex;align-items:baseline}.popupCreateContent .createcontent__contentname__icon{font-size:30px}.popupCreateContent .createcontent__contentname__title{font-size:20px;color:#3f52e3}.popupCreateContent .createcontent__form__input{width:100%;border:1px solid #ababab;border-radius:5px;margin-bottom:25px;padding:5px}.popupCreateContent .createcontent__form__button{display:flex;justify-content:flex-end;cursor:pointer}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=function(e){return o.default.createElement("button",{className:"wsContentGeneric__option__menu__addversion newversionbtn btn btn-outline-primary mr-auto",onClick:e.onClickNewVersionBtn,disabled:e.disabled},"Nouvelle version",o.default.createElement("i",{className:"fa fa-plus-circle ml-3"}))};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=function(e){return o.default.createElement("div",{className:"d-flex align-items-center"},o.default.createElement("button",{type:"button",className:"wsContentGeneric__option__menu__action optionicon d-none d-sm-block",onClick:e.onClickArchiveBtn,disabled:e.disabled},o.default.createElement("i",{className:"fa fa-fw fa-archive"})),o.default.createElement("button",{type:"button",className:"wsContentGeneric__option__menu__action optionicon d-none d-sm-block",onClick:e.onClickDeleteBtn,disabled:e.disabled},o.default.createElement("i",{className:"fa fa-fw fa-trash"})))};t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SelectStatus=void 0;var o=n(0),i=r(o),a=n(8),s=n(15),l=r(s);n(69);var c=t.SelectStatus=function(e){return a.translate.setI18n(e.i18n?e.i18n:l.default),i.default.createElement("div",{className:"selectStatus dropdown"},i.default.createElement("button",{className:"selectStatus__dropdownbtn check btn dropdown-toggle",type:"button",id:"dropdownMenu2","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",style:{color:e.selectedStatus?e.selectedStatus.hexcolor:"transparent"},disabled:e.disabled},e.selectedStatus?e.selectedStatus.label:"",i.default.createElement("div",{className:"selectStatus__dropdownbtn__icon"},i.default.createElement("i",{className:"fa fa-"+(e.selectedStatus?e.selectedStatus.faIcon:"")}))),i.default.createElement("div",{className:"selectStatus__submenu dropdown-menu","aria-labelledby":"dropdownMenu2"},i.default.createElement("h6",{className:"dropdown-header"},e.t("Input.SelectStatus.file_status")),i.default.createElement("div",{className:"dropdown-divider"}),e.availableStatus.map(function(t){return i.default.createElement("button",{className:"selectStatus__submenu__item current dropdown-item",type:"button",onClick:function(){return e.onChangeStatus(t.slug)},key:"status_"+t.slug,style:{color:t.hexcolor}},t.label,i.default.createElement("div",{className:"selectStatus__submenu__item__icon"},i.default.createElement("i",{className:"fa fa-fw fa-"+t.faIcon})))})))};t.default=(0,a.translate)()(c)},function(e,t,n){var r=n(70);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(3)(!1),t.push([e.i,".selectStatus{margin-right:20px}.selectStatus__dropdownbtn{border:1px solid #ababab;background-color:transparent;cursor:pointer}.selectStatus__dropdownbtn:after{color:#252525}.selectStatus__dropdownbtn:hover{background-color:transparent}.selectStatus__dropdownbtn__icon{display:inline-block;margin:0 15px}.selectStatus__submenu__item{display:flex;justify-content:space-between;margin:5px 0;cursor:pointer}.selectStatus__submenu__item:active{background-color:transparent}",""])}])});
  7. /* eslint-enable */
  8. /* eslint-enable */
  9. /* eslint-enable */
  10. /* eslint-enable */
  11. /* eslint-enable */