img{width:45px;height:45px;border-radius:25px}.timeline__body__messagelist__item__createhour{margin-left:35px;opacity:.7;font-size:14px}.timeline__body__messagelist__item__content{display:inline-block;border:1px solid #ababab;border-radius:5px;padding:15px;background-color:#fdfdfd;font-size:15px}.timeline__body__messagelist__version{display:flex;justify-content:space-between;margin:20px 0;padding:10px 15px;width:100%;background-color:#f0f0f0}.timeline__body__messagelist__version__btn{display:flex;justify-content:center;padding:5px 20px;border-radius:5px;width:145px;color:#fff;font-size:17px;cursor:pointer}.timeline__body__messagelist__version__btn>i{margin-right:10px;color:#fdfdfd;font-size:22px}.timeline__body__messagelist__version__date{color:#252525;font-size:17px;margin:auto 0}.timeline__body__texteditor{flex:1 0 auto;margin:20px}.timeline__body__texteditor__textinput{width:100%}.timeline__body__texteditor__textinput>textarea{border-radius:5px;border:1.5px solid #ababab;padding:5px;height:80px;width:100%}.timeline__body__texteditor__wrapper{display:flex;align-items:center;justify-content:flex-end;margin-top:10px}.timeline__body__texteditor__advancedtext{margin-right:15px;cursor:pointer}.timeline__body__texteditor__submit__btn{display:inline-block;cursor:pointer}.timeline__body__texteditor__submit__btn__icon{display:inline-block;margin-left:20px}.sent{text-align:right}.sent .timeline__body__messagelist__item__wrapper{display:flex;flex-direction:row-reverse}.sent .timeline__body__messagelist__item__avatar{left:20px}.sent .timeline__body__messagelist__item__createhour{margin-left:0;margin-right:35px}.mce-btn-group:not(:first-child){border-left:none!important}@media (min-width:992px) and (max-width:1199px){.timeline{margin:0}}@media (min-width:576px) and (max-width:991px){.timeline{display:block;margin:0}}@media (max-width:575px){.timeline{display:block;margin:0}}",""])},function(e,t,n){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),l=n(7),u=r(l);n(137);var c=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"},i.default.createElement("button",{type:"button",className:e.customClass+"__cancel editionmode__button__cancel btn mr-3",onClick:e.onClickCancelBtn,style:{backgroundColor:"#fdfdfd",color:e.customColor,borderColor:e.customColor,":hover":{backgroundColor:e.customColor,color:"#fdfdfd"}},key:"TextAreaApp__cancel"},"Annuler"),i.default.createElement("button",{type:"button",className:e.customClass+"__submit editionmode__button__submit btn",onClick:e.onClickValidateBtn,style:{backgroundColor:"#fdfdfd",color:e.customColor,borderColor:e.customColor,":hover":{backgroundColor:e.customColor,color:"#fdfdfd"}},key:"TextAreaApp__validate"},"Valider")))};t.default=(0,u.default)(c),c.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,customColor:s.default.string}},function(e,t,n){var r=n(138);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(5)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(4)(!1),t.push([e.i,".editiontitle{width:100%}.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%;text-align:right}.editionmode__button__cancel,.editionmode__button__submit{cursor:pointer}",""])},function(e,t,n){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(140);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(141);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(5)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(4)(!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){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(3),s=r(a);n(143);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(144);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(5)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(4)(!1),t.push([e.i,".delimiter{border-radius:10px;width:50%;height:5px;background-color:#c17838}",""])},function(e,t,n){var r=n(146);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(5)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(4)(!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){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(7),u=r(l),c=n(44),f=r(c);n(148);var p=function(e){return i.default.createElement(f.default,{customClass:"popupCreateContent",customColor:e.customColor,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.customColor}})),i.default.createElement("div",{className:"createcontent__contentname__title",style:{color:e.customColor}},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,style:{backgroundColor:"#fdfdfd",color:e.customColor,borderColor:e.customColor,":hover":{backgroundColor:e.customColor,color:"#fdfdfd"}}},e.btnValidateLabel)))))};p.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,customColor:s.default.string,faIcon:s.default.string,btnValidateLabel:s.default.string},p.defaultProps={label:"",customColor:"#333",inputPlaceHolder:"",btnValidateLabel:""},t.default=(0,u.default)(p)},function(e,t,n){var r=n(149);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(5)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(4)(!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}.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}.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){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(7),s=r(a),l=function(e){return i.default.createElement("button",{className:"wsContentGeneric__option__menu__addversion newversionbtn btn",onClick:e.onClickNewVersionBtn,disabled:e.disabled,style:{backgroundColor:"#fdfdfd",color:"#333",border:"1px solid",borderColor:e.customColor,":hover":{backgroundColor:e.customColor,color:"#fdfdfd"}}},"Modifier",i.default.createElement("i",{className:"fa fa-plus-circle ml-3"}))};t.default=(0,s.default)(l)},function(e,t,n){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(7),s=r(a),l=function(e){var t={backgroundColor:"#fdfdfd",color:"#333",":hover":{color:e.customColor}};return i.default.createElement("div",{className:"d-flex align-items-center"},i.default.createElement("button",{type:"button",className:"wsContentGeneric__option__menu__action optionicon d-none d-sm-block",onClick:e.onClickArchiveBtn,disabled:e.disabled,title:"Archiver",style:t,key:"archiveDeleteContent__archive"},i.default.createElement("i",{className:"fa fa-fw fa-archive"})),i.default.createElement("button",{type:"button",className:"wsContentGeneric__option__menu__action optionicon d-none d-sm-block",onClick:e.onClickDeleteBtn,disabled:e.disabled,title:"Supprimer",style:t,key:"archiveDeleteContent__delete"},i.default.createElement("i",{className:"fa fa-fw fa-trash"})))};t.default=(0,s.default)(l)},function(e,t,n){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(11),s=n(22),l=r(s);n(153);var u=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},i.default.createElement("span",{className:"selectStatus__dropdownbtn__label"},"Status :"),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)()(u)},function(e,t,n){var r=n(154);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0};o.transform=void 0,n(5)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(4)(!1),t.push([e.i,".selectStatus__dropdownbtn{border:1px solid #ababab;background-color:transparent;cursor:pointer}.selectStatus__dropdownbtn:after{color:#252525}.selectStatus__dropdownbtn:hover{background-color:transparent}.selectStatus__dropdownbtn__label{margin-right:10px;color:#333}.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}",""])}])})}).call(t,n(30)(e))},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 u(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]):u(e[r],t[r],n):e[r]=t[r];return e}function c(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=u,t.g=c,t.c=f;var p={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debug=t.MODE=t.FETCH_CONFIG=void 0;var r=n(38);t.FETCH_CONFIG={headers:{Accept:"application/json","Content-Type":"application/json"}},t.MODE={VIEW:"view",EDIT:"edit",REVISION:"revision"},t.debug={config:{label:"Text Document",slug:"html-documents",faIcon:"file-text-o",hexcolor:"#3f52e3",creationLabel:"Write a document",domContainer:"appContainer",apiUrl:"http://localhost:6543/api/v2",apiHeader:{Accept:"application/json","Content-Type":"application/json"},availableStatuses:[{label:"Open",slug:"open",faIcon:"square-o",hexcolor:"#3f52e3",globalStatus:"open"},{label:"Validated",slug:"closed-validated",faIcon:"check-square-o",hexcolor:"#008000",globalStatus:"closed"},{label:"Cancelled",slug:"closed-unvalidated",faIcon:"close",hexcolor:"#f63434",globalStatus:"closed"},{label:"Deprecated",slug:"closed-deprecated",faIcon:"warning",hexcolor:"#ababab",globalStatus:"closed"}]},loggedUser:{user_id:5,username:"Smoi",firstname:"Côme",lastname:"Stoilenom",email:"osef@algoo.fr",avatar_url:"https://avatars3.githubusercontent.com/u/11177014?s=460&v=4",auth:btoa("admin@admin.admin:admin@admin.admin")},content:{author:{avatar_url:null,public_name:"Global manager",user_id:1},content_id:22,content_type:"html-documents",created:"2018-06-18T14:59:26Z",current_revision_id:11,is_archived:!1,is_deleted:!1,label:"Current Menu",last_modifier:{avatar_url:null,public_name:"Global manager",user_id:1},modified:"2018-06-18T14:59:26Z",parent_id:2,raw_content:"bonjour, je suis un lapin.
",show_in_ui:!0,slug:"current-menu",status:"open",sub_content_types:["thread","html-documents","file","folder"],workspace_id:1},timeline:r.timelineDebugData}},function(e,t,n){"use strict";function r(e){l=s({},l,e)}function o(){return l}function i(e){u=e}function a(){return u}t.d=r,t.a=o,t.e=i,t.b=a,n.d(t,"c",function(){return c});var s=Object.assign||function(e){for(var t=1;tU.length&&U.push(e)}function p(e,t,n,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case x:case k:a=!0}}if(a)return n(o,e,""===t?"."+d(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;sthis.eventPool.length&&this.eventPool.push(e)}function B(e){e.eventPool=[],e.getPooled=L,e.release=U}function F(e,t){switch(e){case"keyup":return-1!==ko.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function V(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function z(e,t){switch(e){case"compositionend":return V(t);case"keypress":return 32!==t.which?null:(To=!0,Po);case"textInput":return e=t.data,e===Po&&To?null:e;default:return null}}function W(e,t){if(No)return"compositionend"===e||!Co&&F(e,t)?(e=I(),vo._root=null,vo._startText=null,vo._fallbackText=null,No=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function fe(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}function pe(e){return e[1].toUpperCase()}function de(e,t,n,r){var o=ni.hasOwnProperty(t)?ni[t]:null;(null!==o?0===o.type:!r&&2Ti.length&&Ti.push(e)}}}function Ge(e){return Object.prototype.hasOwnProperty.call(e,Ai)||(e[Ai]=Ii++,Mi[e[Ai]]={}),Mi[e[Ai]]}function qe(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $e(e,t){var n=qe(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qe(n)}}function Ye(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Qe(e,t){if(Vi||null==Ui||Ui!==Br())return null;var n=Ui;return"selectionStart"in n&&Ye(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,Fi&&Fr(Fi,n)?null:(Fi=n,e=D.getPooled(Li.select,Bi,e,t),e.type="select",e.target=Ui,j(e),e)}function Xe(e){var t="";return Ar.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}function Je(e,t){return e=Lr({children:void 0},t),(t=Xe(t.children))&&(e.children=t),e}function Ze(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o=t.length||r("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function rt(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function ot(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function it(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function at(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?it(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function st(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function lt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=n,i=t[n];o=null==i||"boolean"==typeof i||""===i?"":r||"number"!=typeof i||0===i||ha.hasOwnProperty(o)&&ha[o]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function ut(e,t,n){t&&(ga[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&r("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&r("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||r("61")),null!=t.style&&"object"!=typeof t.style&&r("62",n()))}function ct(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ft(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=Ge(e);t=Yr[t];for(var r=0;r<\/script>",e=e.removeChild(e.firstChild)):e="string"==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function dt(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function ht(e,t,n,r){var o=ct(t,n);switch(t){case"iframe":case"object":ze("load",e);var i=n;break;case"video":case"audio":for(i=0;iSa||(e.current=Ca[Sa],Ca[Sa]=null,Sa--)}function St(e,t){Sa++,Ca[Sa]=e.current,e.current=t}function Ot(e){return Pt(e)?Pa:Oa.current}function Et(e,t){var n=e.type.contextTypes;if(!n)return zr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Pt(e){return 2===e.tag&&null!=e.type.childContextTypes}function jt(e){Pt(e)&&(Ct(Ea,e),Ct(Oa,e))}function Tt(e){Ct(Ea,e),Ct(Oa,e)}function Nt(e,t,n){Oa.current!==zr&&r("168"),St(Oa,t,e),St(Ea,n,e)}function Rt(e,t){var n=e.stateNode,o=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;n=n.getChildContext();for(var i in n)i in o||r("108",ae(e)||"Unknown",i);return Lr({},t,n)}function Mt(e){if(!Pt(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||zr,Pa=Oa.current,St(Oa,t,e),St(Ea,Ea.current,e),!0}function It(e,t){var n=e.stateNode;if(n||r("169"),t){var o=Rt(e,Pa);n.__reactInternalMemoizedMergedChildContext=o,Ct(Ea,e),Ct(Oa,e),St(Oa,o,e)}else Ct(Ea,e);St(Ea,t,e)}function At(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function Dt(e,t,n){var r=e.alternate;return null===r?(r=new At(e.tag,t,e.key,e.mode),r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Lt(e,t,n){var o=e.type,i=e.key;if(e=e.props,"function"==typeof o)var a=o.prototype&&o.prototype.isReactComponent?2:0;else if("string"==typeof o)a=5;else switch(o){case Ho:return Ut(e.children,t,n,i);case Yo:a=11,t|=3;break;case Ko:a=11,t|=2;break;case Go:return o=new At(15,e,i,4|t),o.type=Go,o.expirationTime=n,o;case Xo:a=16,t|=2;break;default:e:{switch("object"==typeof o&&null!==o?o.$$typeof:null){case qo:a=13;break e;case $o:a=12;break e;case Qo:a=14;break e;default:r("130",null==o?o:typeof o,"")}a=void 0}}return t=new At(a,e,i,t),t.type=o,t.expirationTime=n,t}function Ut(e,t,n,r){return e=new At(10,e,r,t),e.expirationTime=n,e}function Bt(e,t,n){return e=new At(6,e,null,t),e.expirationTime=n,e}function Ft(e,t,n){return t=new At(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vt(e,t,n){return t=new At(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}function zt(e){return function(t){try{return e(t)}catch(e){}}}function Wt(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);ja=zt(function(e){return t.onCommitFiberRoot(n,e)}),Ta=zt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Ht(e){"function"==typeof ja&&ja(e)}function Kt(e){"function"==typeof Ta&&Ta(e)}function Gt(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function qt(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function $t(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Yt(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Qt(e,t,n){var r=e.alternate;if(null===r){var o=e.updateQueue,i=null;null===o&&(o=e.updateQueue=Gt(e.memoizedState))}else o=e.updateQueue,i=r.updateQueue,null===o?null===i?(o=e.updateQueue=Gt(e.memoizedState),i=r.updateQueue=Gt(r.memoizedState)):o=e.updateQueue=qt(i):null===i&&(i=r.updateQueue=qt(o));null===i||o===i?Yt(o,t,n):null===o.lastUpdate||null===i.lastUpdate?(Yt(o,t,n),Yt(i,t,n)):(Yt(o,t,n),i.lastUpdate=t)}function Xt(e,t,n){var r=e.updateQueue;r=null===r?e.updateQueue=Gt(e.memoizedState):Jt(e,r),null===r.lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function Jt(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=qt(t)),t}function Zt(e,t,n,r,o,i){switch(n.tag){case 1:return e=n.payload,"function"==typeof e?e.call(i,r,o):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(e=n.payload,null===(o="function"==typeof e?e.call(i,r,o):e)||void 0===o)break;return Lr({},r,o);case 2:Na=!0}return r}function en(e,t,n,r,o){if(Na=!1,!(0===t.expirationTime||t.expirationTime>o)){t=Jt(e,t);for(var i=t.baseState,a=null,s=0,l=t.firstUpdate,u=i;null!==l;){var c=l.expirationTime;c>o?(null===a&&(a=l,i=u),(0===s||s>c)&&(s=c)):(u=Zt(e,t,l,u,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=l:(t.lastEffect.nextEffect=l,t.lastEffect=l))),l=l.next}for(c=null,l=t.firstCapturedUpdate;null!==l;){var f=l.expirationTime;f>o?(null===c&&(c=l,null===a&&(i=u)),(0===s||s>f)&&(s=f)):(u=Zt(e,t,l,u,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=l:(t.lastCapturedEffect.nextEffect=l,t.lastCapturedEffect=l))),l=l.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(i=u),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=c,t.expirationTime=s,e.memoizedState=u}}function tn(e,t){"function"!=typeof e&&r("191",e),e.call(t)}function nn(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,tn(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)t=e.callback,null!==t&&(e.callback=null,tn(t,n)),e=e.nextEffect}function rn(e,t){return{value:e,source:t,stack:se(t)}}function on(e){var t=e.type._context;St(Ia,t._changedBits,e),St(Ma,t._currentValue,e),St(Ra,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function an(e){var t=Ia.current,n=Ma.current;Ct(Ra,e),Ct(Ma,e),Ct(Ia,e),e=e.type._context,e._currentValue=n,e._changedBits=t}function sn(e){return e===Aa&&r("174"),e}function ln(e,t){St(Ua,t,e),St(La,e,e),St(Da,Aa,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:at(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=at(t,n)}Ct(Da,e),St(Da,t,e)}function un(e){Ct(Da,e),Ct(La,e),Ct(Ua,e)}function cn(e){La.current===e&&(Ct(Da,e),Ct(La,e))}function fn(e,t,n){var r=e.memoizedState;t=t(n,r),r=null===t||void 0===t?r:Lr({},r,t),e.memoizedState=r,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=r)}function pn(e,t,n,r,o,i){var a=e.stateNode;return e=e.type,"function"==typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,o,i):!(e.prototype&&e.prototype.isPureReactComponent&&Fr(t,n)&&Fr(r,o))}function dn(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ba.enqueueReplaceState(t,t.state,null)}function hn(e,t){var n=e.type,r=e.stateNode,o=e.pendingProps,i=Ot(e);r.props=o,r.state=e.memoizedState,r.refs=zr,r.context=Et(e,i),i=e.updateQueue,null!==i&&(en(e,i,o,r,t),r.state=e.memoizedState),i=e.type.getDerivedStateFromProps,"function"==typeof i&&(fn(e,i,o),r.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(n=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&Ba.enqueueReplaceState(r,r.state,null),null!==(i=e.updateQueue)&&(en(e,i,o,r,t),r.state=e.memoizedState)),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}function mn(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var o=void 0;n&&(2!==n.tag&&r("110"),o=n.stateNode),o||r("147",e);var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs===zr?o.refs={}:o.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}"string"!=typeof e&&r("148"),n._owner||r("254",e)}return e}function gn(e,t){"textarea"!==e.type&&r("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function yn(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return e=Dt(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,rm?(g=f,f=null):g=f.sibling;var y=d(r,f,s[m],l);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(r,f),i=a(y,i,m),null===c?u=y:c.sibling=y,c=y,f=g}if(m===s.length)return n(r,f),u;if(null===f){for(;mg?(y=m,m=null):y=m.sibling;var b=d(i,m,v.value,u);if(null===b){m||(m=y);break}e&&m&&null===b.alternate&&t(i,m),s=a(b,s,g),null===f?c=b:f.sibling=b,f=b,m=y}if(v.done)return n(i,m),c;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=p(i,v.value,u))&&(s=a(v,s,g),null===f?c=v:f.sibling=v,f=v);return c}for(m=o(i,m);!v.done;g++,v=l.next())null!==(v=h(m,i,g,v.value,u))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),s=a(v,s,g),null===f?c=v:f.sibling=v,f=v);return e&&m.forEach(function(e){return t(i,e)}),c}return function(e,o,a,l){var u="object"==typeof a&&null!==a&&a.type===Ho&&null===a.key;u&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case zo:e:{for(c=a.key,u=o;null!==u;){if(u.key===c){if(10===u.tag?a.type===Ho:u.type===a.type){n(e,u.sibling),o=i(u,a.type===Ho?a.props.children:a.props,l),o.ref=mn(e,u,a),o.return=e,e=o;break e}n(e,u);break}t(e,u),u=u.sibling}a.type===Ho?(o=Ut(a.props.children,e.mode,l,a.key),o.return=e,e=o):(l=Lt(a,e.mode,l),l.ref=mn(e,o,a),l.return=e,e=l)}return s(e);case Wo:e:{for(u=a.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(e,o.sibling),o=i(o,a.children||[],l),o.return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}o=Ft(a,e.mode,l),o.return=e,e=o}return s(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==o&&6===o.tag?(n(e,o.sibling),o=i(o,a,l),o.return=e,e=o):(n(e,o),o=Bt(a,e.mode,l),o.return=e,e=o),s(e);if(Fa(a))return m(e,o,a,l);if(ie(a))return g(e,o,a,l);if(c&&gn(e,a),void 0===a&&!u)switch(e.tag){case 2:case 1:l=e.type,r("152",l.displayName||l.name||"Component")}return n(e,o)}}function vn(e,t){var n=new At(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function bn(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function _n(e){if(Ka){var t=Ha;if(t){var n=t;if(!bn(e,t)){if(!(t=wt(n))||!bn(e,t))return e.effectTag|=2,Ka=!1,void(Wa=e);vn(Wa,n)}Wa=e,Ha=xt(t)}else e.effectTag|=2,Ka=!1,Wa=e}}function wn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Wa=e}function xn(e){if(e!==Wa)return!1;if(!Ka)return wn(e),Ka=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!_t(t,e.memoizedProps))for(t=Ha;t;)vn(e,t),t=wt(t);return wn(e),Ha=Wa?wt(e.stateNode):null,!0}function kn(){Ha=Wa=null,Ka=!1}function Cn(e,t,n){Sn(e,t,n,t.expirationTime)}function Sn(e,t,n,r){t.child=null===e?za(t,null,n,r):Va(t,e.child,n,r)}function On(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function En(e,t,n,r,o){On(e,t);var i=0!=(64&t.effectTag);if(!n&&!i)return r&&It(t,!1),Nn(e,t);n=t.stateNode,Fo.current=t;var a=i?null:n.render();return t.effectTag|=1,i&&(Sn(e,t,null,o),t.child=null),Sn(e,t,a,o),t.memoizedState=n.state,t.memoizedProps=n.props,r&&It(t,!0),t.child}function Pn(e){var t=e.stateNode;t.pendingContext?Nt(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Nt(e,t.context,!1),ln(e,t.containerInfo)}function jn(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){switch(o.tag){case 12:var i=0|o.stateNode;if(o.type===t&&0!=(i&n)){for(i=o;null!==i;){var a=i.alternate;if(0===i.expirationTime||i.expirationTime>r)i.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}i=i.return}i=null}else i=o.child;break;case 13:i=o.type===e.type?null:o.child;break;default:i=o.child}if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}function Tn(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=!0;if(Ea.current)a=!1;else if(i===o)return t.stateNode=0,on(t),Nn(e,t);var s=o.value;if(t.memoizedProps=o,null===i)s=1073741823;else if(i.value===o.value){if(i.children===o.children&&a)return t.stateNode=0,on(t),Nn(e,t);s=0}else{var l=i.value;if(l===s&&(0!==l||1/l==1/s)||l!==l&&s!==s){if(i.children===o.children&&a)return t.stateNode=0,on(t),Nn(e,t);s=0}else if(s="function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,s):1073741823,0==(s|=0)){if(i.children===o.children&&a)return t.stateNode=0,on(t),Nn(e,t)}else jn(t,r,s,n)}return t.stateNode=s,on(t),Cn(e,t,o.children),t.child}function Nn(e,t){if(null!==e&&t.child!==e.child&&r("153"),null!==t.child){e=t.child;var n=Dt(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=Dt(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function Rn(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:Pn(t);break;case 2:Mt(t);break;case 4:ln(t,t.stateNode.containerInfo);break;case 13:on(t)}return null}switch(t.tag){case 0:null!==e&&r("155");var o=t.type,i=t.pendingProps,a=Ot(t);return a=Et(t,a),o=o(i,a),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(a=t.type,t.tag=2,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,a=a.getDerivedStateFromProps,"function"==typeof a&&fn(t,a,i),i=Mt(t),o.updater=Ba,t.stateNode=o,o._reactInternalFiber=t,hn(t,n),e=En(e,t,!0,i,n)):(t.tag=1,Cn(e,t,o),t.memoizedProps=i,e=t.child),e;case 1:return i=t.type,n=t.pendingProps,Ea.current||t.memoizedProps!==n?(o=Ot(t),o=Et(t,o),i=i(n,o),t.effectTag|=1,Cn(e,t,i),t.memoizedProps=n,e=t.child):e=Nn(e,t),e;case 2:if(i=Mt(t),null===e)if(null===t.stateNode){var s=t.pendingProps,l=t.type;o=Ot(t);var u=2===t.tag&&null!=t.type.contextTypes;a=u?Et(t,o):zr,s=new l(s,a),t.memoizedState=null!==s.state&&void 0!==s.state?s.state:null,s.updater=Ba,t.stateNode=s,s._reactInternalFiber=t,u&&(u=t.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=o,u.__reactInternalMemoizedMaskedChildContext=a),hn(t,n),o=!0}else{l=t.type,o=t.stateNode,u=t.memoizedProps,a=t.pendingProps,o.props=u;var c=o.context;s=Ot(t),s=Et(t,s);var f=l.getDerivedStateFromProps;(l="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==a||c!==s)&&dn(t,o,a,s),Na=!1;var p=t.memoizedState;c=o.state=p;var d=t.updateQueue;null!==d&&(en(t,d,a,o,n),c=t.memoizedState),u!==a||p!==c||Ea.current||Na?("function"==typeof f&&(fn(t,f,a),c=t.memoizedState),(u=Na||pn(t,u,a,p,c,s))?(l||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.effectTag|=4)):("function"==typeof o.componentDidMount&&(t.effectTag|=4),t.memoizedProps=a,t.memoizedState=c),o.props=a,o.state=c,o.context=s,o=u):("function"==typeof o.componentDidMount&&(t.effectTag|=4),o=!1)}else l=t.type,o=t.stateNode,a=t.memoizedProps,u=t.pendingProps,o.props=a,c=o.context,s=Ot(t),s=Et(t,s),f=l.getDerivedStateFromProps,(l="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==u||c!==s)&&dn(t,o,u,s),Na=!1,c=t.memoizedState,p=o.state=c,d=t.updateQueue,null!==d&&(en(t,d,u,o,n),p=t.memoizedState),a!==u||c!==p||Ea.current||Na?("function"==typeof f&&(fn(t,f,u),p=t.memoizedState),(f=Na||pn(t,a,u,c,p,s))?(l||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(u,p,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(u,p,s)),"function"==typeof o.componentDidUpdate&&(t.effectTag|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=u,t.memoizedState=p),o.props=u,o.state=p,o.context=s,o=f):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),o=!1);return En(e,t,o,i,n);case 3:return Pn(t),i=t.updateQueue,null!==i?(o=t.memoizedState,o=null!==o?o.element:null,en(t,i,t.pendingProps,null,n),(i=t.memoizedState.element)===o?(kn(),e=Nn(e,t)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(Ha=xt(t.stateNode.containerInfo),Wa=t,o=Ka=!0),o?(t.effectTag|=2,t.child=za(t,null,i,n)):(kn(),Cn(e,t,i)),e=t.child)):(kn(),e=Nn(e,t)),e;case 5:return sn(Ua.current),i=sn(Da.current),o=at(i,t.type),i!==o&&(St(La,t,t),St(Da,o,t)),null===e&&_n(t),i=t.type,u=t.memoizedProps,o=t.pendingProps,a=null!==e?e.memoizedProps:null,Ea.current||u!==o||((u=1&t.mode&&!!o.hidden)&&(t.expirationTime=1073741823),u&&1073741823===n)?(u=o.children,_t(i,o)?u=null:a&&_t(i,a)&&(t.effectTag|=16),On(e,t),1073741823!==n&&1&t.mode&&o.hidden?(t.expirationTime=1073741823,t.memoizedProps=o,e=null):(Cn(e,t,u),t.memoizedProps=o,e=t.child)):e=Nn(e,t),e;case 6:return null===e&&_n(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return ln(t,t.stateNode.containerInfo),i=t.pendingProps,Ea.current||t.memoizedProps!==i?(null===e?t.child=Va(t,null,i,n):Cn(e,t,i),t.memoizedProps=i,e=t.child):e=Nn(e,t),e;case 14:return i=t.type.render,n=t.pendingProps,o=t.ref,Ea.current||t.memoizedProps!==n||o!==(null!==e?e.ref:null)?(i=i(n,o),Cn(e,t,i),t.memoizedProps=n,e=t.child):e=Nn(e,t),e;case 10:return n=t.pendingProps,Ea.current||t.memoizedProps!==n?(Cn(e,t,n),t.memoizedProps=n,e=t.child):e=Nn(e,t),e;case 11:return n=t.pendingProps.children,Ea.current||null!==n&&t.memoizedProps!==n?(Cn(e,t,n),t.memoizedProps=n,e=t.child):e=Nn(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=Nn(e,t):(Cn(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return Tn(e,t,n);case 12:e:if(o=t.type,a=t.pendingProps,u=t.memoizedProps,i=o._currentValue,s=o._changedBits,Ea.current||0!==s||u!==a){if(t.memoizedProps=a,l=a.unstable_observedBits,void 0!==l&&null!==l||(l=1073741823),t.stateNode=l,0!=(s&l))jn(t,o,s,n);else if(u===a){e=Nn(e,t);break e}n=a.children,n=n(i),t.effectTag|=1,Cn(e,t,n),e=t.child}else e=Nn(e,t);return e;default:r("156")}}function Mn(e){e.effectTag|=4}function In(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return jt(t),null;case 3:un(t),Tt(t);var o=t.stateNode;return o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(xn(t),t.effectTag&=-3),Ga(t),null;case 5:cn(t),o=sn(Ua.current);var i=t.type;if(null!==e&&null!=t.stateNode){var a=e.memoizedProps,s=t.stateNode,l=sn(Da.current);s=mt(s,i,a,n,o),qa(e,t,s,i,a,n,o,l),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode&&r("166"),null;if(e=sn(Da.current),xn(t))n=t.stateNode,i=t.type,a=t.memoizedProps,n[oo]=t,n[io]=a,o=yt(n,i,a,e,o),t.updateQueue=o,null!==o&&Mn(t);else{e=pt(i,n,o,e),e[oo]=t,e[io]=n;e:for(a=t.child;null!==a;){if(5===a.tag||6===a.tag)e.appendChild(a.stateNode);else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}ht(e,i,n,o),bt(i,n)&&Mn(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)$a(e,t,e.memoizedProps,n);else{if("string"!=typeof n)return null===t.stateNode&&r("166"),null;o=sn(Ua.current),sn(Da.current),xn(t)?(o=t.stateNode,n=t.memoizedProps,o[oo]=t,vt(o,n)&&Mn(t)):(o=dt(n,o),o[oo]=t,t.stateNode=o)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return un(t),Ga(t),null;case 13:return an(t),null;case 12:return null;case 0:r("167");default:r("156")}}function An(e,t){var n=t.source;null===t.stack&&null!==n&&se(n),null!==n&&ae(n),t=t.value,null!==e&&2===e.tag&&ae(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function Dn(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Qn(e,t)}else t.current=null}function Ln(e){switch("function"==typeof Kt&&Kt(e),e.tag){case 2:Dn(e);var t=e.stateNode;if("function"==typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Qn(e,t)}break;case 5:Dn(e);break;case 4:Fn(e)}}function Un(e){return 5===e.tag||3===e.tag||4===e.tag}function Bn(e){e:{for(var t=e.return;null!==t;){if(Un(t)){var n=t;break e}t=t.return}r("160"),n=void 0}var o=t=void 0;switch(n.tag){case 5:t=n.stateNode,o=!1;break;case 3:case 4:t=n.stateNode.containerInfo,o=!0;break;default:r("161")}16&n.effectTag&&(st(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Un(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var i=e;;){if(5===i.tag||6===i.tag)if(n)if(o){var a=t,s=i.stateNode,l=n;8===a.nodeType?a.parentNode.insertBefore(s,l):a.insertBefore(s,l)}else t.insertBefore(i.stateNode,n);else o?(a=t,s=i.stateNode,8===a.nodeType?a.parentNode.insertBefore(s,a):a.appendChild(s)):t.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function Fn(e){for(var t=e,n=!1,o=void 0,i=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&r("160"),n.tag){case 5:o=n.stateNode,i=!1;break e;case 3:case 4:o=n.stateNode.containerInfo,i=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var a=t,s=a;;)if(Ln(s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===a)break;for(;null===s.sibling;){if(null===s.return||s.return===a)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}i?(a=o,s=t.stateNode,8===a.nodeType?a.parentNode.removeChild(s):a.removeChild(s)):o.removeChild(t.stateNode)}else if(4===t.tag?o=t.stateNode.containerInfo:Ln(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function Vn(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps;e=null!==e?e.memoizedProps:o;var i=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&(n[io]=o,gt(n,a,i,e,o))}break;case 6:null===t.stateNode&&r("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 15:case 16:break;default:r("163")}}function zn(e,t,n){n=$t(n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){hr(r),An(e,t)},n}function Wn(e,t,n){n=$t(n),n.tag=3;var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){null===us?us=new Set([this]):us.add(this);var n=t.value,r=t.stack;An(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Hn(e,t,n,r,o,i){n.effectTag|=512,n.firstEffect=n.lastEffect=null,r=rn(r,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,r=zn(e,r,i),void Xt(e,r,i);case 2:if(t=r,n=e.stateNode,0==(64&e.effectTag)&&null!==n&&"function"==typeof n.componentDidCatch&&(null===us||!us.has(n)))return e.effectTag|=1024,r=Wn(e,t,i),void Xt(e,r,i)}e=e.return}while(null!==e)}function Kn(e){switch(e.tag){case 2:jt(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return un(e),Tt(e),t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 5:return cn(e),null;case 16:return t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 4:return un(e),null;case 13:return an(e),null;default:return null}}function Gn(){if(null!==ts)for(var e=ts.return;null!==e;){var t=e;switch(t.tag){case 2:jt(t);break;case 3:un(t),Tt(t);break;case 5:cn(t);break;case 4:un(t);break;case 13:an(t)}e=e.return}ns=null,rs=0,os=-1,is=!1,ts=null,ls=!1}function qn(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(512&e.effectTag)){t=In(t,e,rs);var o=e;if(1073741823===rs||1073741823!==o.expirationTime){var i=0;switch(o.tag){case 3:case 2:var a=o.updateQueue;null!==a&&(i=a.expirationTime)}for(a=o.child;null!==a;)0!==a.expirationTime&&(0===i||i>a.expirationTime)&&(i=a.expirationTime),a=a.sibling;o.expirationTime=i}if(null!==t)return t;if(null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1ys)&&(ys=e),e}function Zn(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!es&&0!==rs&&tOs&&r("185")}e=e.return}}function er(){return Xa=wa()-Ya,Qa=2+(Xa/10|0)}function tr(e){var t=Za;Za=2+25*(1+((er()-2+500)/25|0));try{return e()}finally{Za=t}}function nr(e,t,n,r,o){var i=Za;Za=1;try{return e(t,n,r,o)}finally{Za=i}}function rr(e){if(0!==ps){if(e>ps)return;null!==ds&&ka(ds)}var t=wa()-Ya;ps=e,ds=xa(ar,{timeout:10*(e-2)-t})}function or(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===fs?(cs=fs=e,e.nextScheduledRoot=e):(fs=fs.nextScheduledRoot=e,fs.nextScheduledRoot=cs);else{var n=e.remainingExpirationTime;(0===n||t=gs)&&(!vs||er()>=gs);)er(),fr(ms,gs,!vs),ir();else for(;null!==ms&&0!==gs&&(0===e||e>=gs);)fr(ms,gs,!1),ir();null!==ws&&(ps=0,ds=null),0!==gs&&rr(gs),ws=null,vs=!1,cr()}function ur(e,t){hs&&r("253"),ms=e,gs=t,fr(e,t,!1),sr(),cr()}function cr(){if(Es=0,null!==Ss){var e=Ss;Ss=null;for(var t=0;tb&&(_=b,b=O,O=_),_=$e(C,O),w=$e(C,b),_&&w&&(1!==S.rangeCount||S.anchorNode!==_.node||S.anchorOffset!==_.offset||S.focusNode!==w.node||S.focusOffset!==w.offset)&&(x=document.createRange(),x.setStart(_.node,_.offset),S.removeAllRanges(),O>b?(S.addRange(x),S.extend(w.node,w.offset)):(x.setEnd(w.node,w.offset),S.addRange(x))))),S=[];for(O=C;O=O.parentNode;)1===O.nodeType&&S.push({element:O,left:O.scrollLeft,top:O.scrollTop});for("function"==typeof C.focus&&C.focus(),C=0;CPs)&&(vs=!0)}function hr(e){null===ms&&r("246"),ms.remainingExpirationTime=0,bs||(bs=!0,_s=e)}function mr(e){null===ms&&r("246"),ms.remainingExpirationTime=e}function gr(e,t){var n=xs;xs=!0;try{return e(t)}finally{(xs=n)||hs||sr()}}function yr(e,t){if(xs&&!ks){ks=!0;try{return e(t)}finally{ks=!1}}return e(t)}function vr(e,t){hs&&r("187");var n=xs;xs=!0;try{return nr(e,t)}finally{xs=n,sr()}}function br(e,t,n){if(Cs)return e(t,n);xs||hs||0===ys||(lr(ys,!1,null),ys=0);var r=Cs,o=xs;xs=Cs=!0;try{return e(t,n)}finally{Cs=r,(xs=o)||hs||sr()}}function _r(e){var t=xs;xs=!0;try{nr(e)}finally{(xs=t)||hs||lr(1,!1,null)}}function wr(e,t,n,o,i){var a=t.current;if(n){n=n._reactInternalFiber;var s;e:{for(2===Me(n)&&2===n.tag||r("170"),s=n;3!==s.tag;){if(Pt(s)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}(s=s.return)||r("171")}s=s.stateNode.context}n=Pt(n)?Rt(n,s):s}else n=zr;return null===t.context?t.context=n:t.pendingContext=n,t=i,i=$t(o),i.payload={element:e},t=void 0===t?null:t,null!==t&&(i.callback=t),Qt(a,i,o),Zn(a,o),o}function xr(e){var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?r("188"):r("268",Object.keys(e))),e=De(t),null===e?null:e.stateNode}function kr(e,t,n,r){var o=t.current;return o=Jn(er(),o),wr(e,t,n,o,r)}function Cr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Sr(e){var t=e.findFiberByHostInstance;return Wt(Lr({},e,{findHostInstanceByFiber:function(e){return e=De(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function Or(e,t,n){var r=3=So),Po=String.fromCharCode(32),jo={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},To=!1,No=!1,Ro={eventTypes:jo,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(Co)e:{switch(e){case"compositionstart":o=jo.compositionStart;break e;case"compositionend":o=jo.compositionEnd;break e;case"compositionupdate":o=jo.compositionUpdate;break e}o=void 0}else No?F(e,n)&&(o=jo.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=jo.compositionStart);return o?(Eo&&(No||o!==jo.compositionStart?o===jo.compositionEnd&&No&&(i=I()):(vo._root=r,vo._startText=A(),No=!0)),o=wo.getPooled(o,t,n,r),i?o.data=i:null!==(i=V(n))&&(o.data=i),j(o),i=o):i=null,(e=Oo?z(e,n):W(e,n))?(t=xo.getPooled(jo.beforeInput,t,n,r),t.data=e,j(t)):t=null,null===i?t:null===t?i:[i,t]}},Mo=null,Io={injectFiberControlledHostComponent:function(e){Mo=e}},Ao=null,Do=null,Lo={injection:Io,enqueueStateRestore:K,needsStateRestore:G,restoreStateIfNeeded:q},Uo=!1,Bo={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Fo=Ar.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Vo="function"==typeof Symbol&&Symbol.for,zo=Vo?Symbol.for("react.element"):60103,Wo=Vo?Symbol.for("react.portal"):60106,Ho=Vo?Symbol.for("react.fragment"):60107,Ko=Vo?Symbol.for("react.strict_mode"):60108,Go=Vo?Symbol.for("react.profiler"):60114,qo=Vo?Symbol.for("react.provider"):60109,$o=Vo?Symbol.for("react.context"):60110,Yo=Vo?Symbol.for("react.async_mode"):60111,Qo=Vo?Symbol.for("react.forward_ref"):60112,Xo=Vo?Symbol.for("react.timeout"):60113,Jo="function"==typeof Symbol&&Symbol.iterator,Zo=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ei={},ti={},ni={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ni[e]=new fe(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ni[t]=new fe(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ni[e]=new fe(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){ni[e]=new fe(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ni[e]=new fe(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){ni[e]=new fe(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){ni[e]=new fe(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){ni[e]=new fe(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){ni[e]=new fe(e,5,!1,e.toLowerCase(),null)});var ri=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ri,pe);ni[t]=new fe(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ri,pe);ni[t]=new fe(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ri,pe);ni[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),ni.tabIndex=new fe("tabIndex",1,!1,"tabindex",null);var oi={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},ii=null,ai=null,si=!1;Dr.canUseDOM&&(si=ee("input")&&(!document.documentMode||9=document.documentMode,Li={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Ui=null,Bi=null,Fi=null,Vi=!1,zi={eventTypes:Li,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Ge(i),o=Yr.onSelect;for(var a=0;at)){e=-1;for(var n=[],r=Ji;null!==r;){var o=r.timeoutTime;-1!==o&&o<=t?n.push(r):-1!==o&&(-1===e||ot&&(t=8),ia=t"+t+"",t=pa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),ha={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ma=["Webkit","ms","Moz","O"];Object.keys(ha).forEach(function(e){ma.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ha[t]=ha[e]})});var ga=Lr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),ya=Ur.thatReturns(""),va={createElement:pt,createTextNode:dt,setInitialProperties:ht,diffProperties:mt,updateProperties:gt,diffHydratedProperties:yt,diffHydratedText:vt,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(ye(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t Custom event","color: #28a745",n,o),r.setState({isVisible:!0});break;case"html-documents_hideApp":console.log("%c Custom event","color: #28a745",n,o),r.setState({isVisible:!1});break;case"html-documents_reloadContent":console.log("%c Custom event","color: #28a745",n,o),r.setState(function(e){return{content:c({},e.content,o),isVisible:!0}})}},r.loadContent=i(regeneratorRuntime.mark(function e(){var t,i,a,s,l,f,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.state,i=t.loggedUser,a=t.content,s=t.config,l=(0,v.getHtmlDocContent)(i,s.apiUrl,a.workspace_id,a.content_id),f=(0,v.getHtmlDocComment)(i,s.apiUrl,a.workspace_id,a.content_id),p=(0,v.getHtmlDocRevision)(i,s.apiUrl,a.workspace_id,a.content_id),e.t0=g.handleFetchResult,e.next=7,l;case 7:return e.t1=e.sent,e.t2=function(e){return r.setState({content:e.body})},e.t3=function(e){return console.log("Error loading content.",e)},(0,e.t0)(e.t1).then(e.t2).catch(e.t3),e.t4=Promise,e.t5=g.handleFetchResult,e.next=15,f;case 15:return e.t6=e.sent,e.t7=(0,e.t5)(e.t6),e.t8=g.handleFetchResult,e.next=20,p;case 20:e.t9=e.sent,e.t10=(0,e.t8)(e.t9),e.t11=[e.t7,e.t10],e.t12=function(e){var t=u(e,2),n=t[0],i=t[1],a=n.body.map(function(e){return c({},e,{created:new Date(e.created).toLocaleString()})}),s=i.body.map(function(e,t){return c({},e,{created:new Date(e.created).toLocaleString(),timelineType:"revision",commentList:e.comment_ids.map(function(e){return c({timelineType:"comment"},a.find(function(t){return t.content_id===e}))}),number:t+1})}).reduce(function(e,t){return[].concat(o(e),[t],o(t.commentList.map(function(e){return c({},e,{customClass:"",loggedUser:r.state.config.loggedUser})})))},[]);r.setState({timeline:s,mode:1===i.body.length?y.MODE.EDIT:y.MODE.VIEW})},e.t13=function(e){console.log("Error loading Timeline.",e),r.setState({timeline:[]})},e.t4.all.call(e.t4,e.t11).then(e.t12).catch(e.t13);case 26:case"end":return e.stop()}},e,n)})),r.handleClickBtnCloseApp=function(){r.setState({isVisible:!1}),GLOBAL_dispatchEvent({type:"appClosed",data:{}})},r.handleSaveEditTitle=function(){var e=i(regeneratorRuntime.mark(function e(t){var o,i,a,s,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.state,i=o.loggedUser,a=o.config,s=o.content,l=(0,v.putHtmlDocContent)(i,a.apiUrl,s.workspace_id,s.content_id,t,s.raw_content),e.t0=g.handleFetchResult,e.next=5,l;case 5:e.t1=e.sent,e.t2=function(e){200===e.apiResponse.status?(r.loadContent(),GLOBAL_dispatchEvent({type:"refreshContentList",data:{}})):console.warn("Error saving html-document. Result:",e,"content:",s,"config:",a)},(0,e.t0)(e.t1).then(e.t2);case 8:case"end":return e.stop()}},e,n)}));return function(t){return e.apply(this,arguments)}}(),r.handleClickNewVersion=function(){return r.setState(function(e){return{rawContentBeforeEdit:e.content.raw_content,mode:y.MODE.EDIT}})},r.handleCloseNewVersion=function(){tinymce.remove("#wysiwygNewVersion"),r.setState(function(e){return{content:c({},e.content,{raw_content:e.rawContentBeforeEdit}),mode:y.MODE.VIEW}})},r.handleSaveHtmlDocument=i(regeneratorRuntime.mark(function e(){var t,o,i,a,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.state,o=t.loggedUser,i=t.content,a=t.config,s=(0,v.putHtmlDocContent)(o,a.apiUrl,i.workspace_id,i.content_id,i.label,i.raw_content),e.t0=g.handleFetchResult,e.next=5,s;case 5:e.t1=e.sent,e.t2=function(e){200===e.apiResponse.status?(r.handleCloseNewVersion(),r.loadContent()):console.warn("Error saving html-document. Result:",e,"content:",i,"config:",a)},(0,e.t0)(e.t1).then(e.t2);case 8:case"end":return e.stop()}},e,n)})),r.handleChangeText=function(e){var t=e.target.value;r.setState(function(e){return{content:c({},e.content,{raw_content:t})}})},r.handleChangeNewComment=function(e){var t=e.target.value;r.setState({newComment:t})},r.handleClickValidateNewCommentBtn=i(regeneratorRuntime.mark(function e(){var t,o,i,a,s,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.state,o=t.loggedUser,i=t.config,a=t.content,s=t.newComment,e.next=3,(0,v.postHtmlDocNewComment)(o,i.apiUrl,a.workspace_id,a.content_id,s);case 3:return l=e.sent,e.t0=g.handleFetchResult,e.next=7,l;case 7:e.t1=e.sent,e.t2=function(e){200===e.apiResponse.status?(r.setState({newComment:""}),r.state.timelineWysiwyg&&tinymce.get("wysiwygTimelineComment").setContent(""),r.loadContent()):console.warn("Error saving html-document comment. Result:",e,"content:",a,"config:",i)},(0,e.t0)(e.t1).then(e.t2);case 10:case"end":return e.stop()}},e,n)})),r.handleToggleWysiwyg=function(){return r.setState(function(e){return{timelineWysiwyg:!e.timelineWysiwyg}})},r.handleChangeStatus=function(){var e=i(regeneratorRuntime.mark(function e(t){var o,i,a,s,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.state,i=o.loggedUser,a=o.config,s=o.content,l=(0,v.putHtmlDocStatus)(i,a.apiUrl,s.workspace_id,s.content_id,t),e.t0=g.handleFetchResult,e.next=5,l;case 5:e.t1=e.sent,e.t2=function(e){204!==e.status?console.warn("Error saving html-document comment. Result:",e,"content:",s,"config:",a):r.loadContent()},(0,e.t0)(e.t1).then(e.t2);case 8:case"end":return e.stop()}},e,n)}));return function(t){return e.apply(this,arguments)}}(),r.handleClickArchive=i(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:console.log("archive");case 1:case"end":return e.stop()}},e,n)})),r.handleClickDelete=i(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:console.log("delete");case 1:case"end":return e.stop()}},e,n)})),r.handleClickShowRevision=function(e){var t=r.state,n=t.mode,o=t.timeline,i=o.filter(function(e){return"revision"===e.timelineType}),a=e.revision_id===i[i.length-1].revision_id;if(n===y.MODE.REVISION&&a)return void r.handleClickLastVersion();n===y.MODE.VIEW&&a||r.setState(function(t){return{content:c({},t.content,{label:e.label,raw_content:e.raw_content,number:e.number,status:e.status}),mode:y.MODE.REVISION}})},r.handleClickLastVersion=function(){r.loadContent(),r.setState({mode:y.MODE.VIEW})},r.state={appName:"html-documents",isVisible:!0,config:e.data?e.data.config:y.debug.config,loggedUser:e.data?e.data.loggedUser:y.debug.loggedUser,content:e.data?e.data.content:y.debug.content,rawContentBeforeEdit:"",timeline:(e.data,[]),newComment:"",timelineWysiwyg:!1,mode:y.MODE.VIEW},document.addEventListener("appCustomEvent",r.customEventReducer),r}return l(t,e),f(t,[{key:"componentDidMount",value:function(){console.log("%c did mount","color: "+this.state.config.hexcolor),this.loadContent()}},{key:"componentDidUpdate",value:function(e,t){var n=this.state;console.log("%c did update","color: "+this.state.config.hexcolor,t,n),t.content&&n.content&&(t.content.content_id!==n.content.content_id&&this.loadContent(),n.mode===y.MODE.EDIT&&t.mode!==n.mode&&(tinymce.remove("#wysiwygNewVersion"),wysiwyg("#wysiwygNewVersion",this.handleChangeText)),!t.timelineWysiwyg&&n.timelineWysiwyg?wysiwyg("#wysiwygTimelineComment",this.handleChangeNewComment):t.timelineWysiwyg&&!n.timelineWysiwyg&&tinymce.remove("#wysiwygTimelineComment"))}},{key:"componentWillUnmount",value:function(){console.log("%c will Unmount","color: "+this.state.config.hexcolor),document.removeEventListener("appCustomEvent",this.customEventReducer)}},{key:"render",value:function(){var e=this.state,t=e.isVisible,n=e.loggedUser,r=e.content,o=e.timeline,i=e.newComment,a=e.timelineWysiwyg,s=e.config,l=e.mode;return t?d.default.createElement(g.PopinFixed,{customClass:""+s.slug,customColor:s.hexcolor},d.default.createElement(g.PopinFixedHeader,{customClass:""+s.slug,customColor:s.hexcolor,faIcon:s.faIcon,title:r.label,onClickCloseBtn:this.handleClickBtnCloseApp,onValidateChangeTitle:this.handleSaveEditTitle}),d.default.createElement(g.PopinFixedOption,{customColor:s.hexcolor,customClass:""+s.slug,i18n:_.default},d.default.createElement("div",null,d.default.createElement("div",{className:"d-flex"},d.default.createElement(g.NewVersionBtn,{customColor:s.hexcolor,onClickNewVersionBtn:this.handleClickNewVersion,disabled:l!==y.MODE.VIEW}),l===y.MODE.REVISION&&d.default.createElement("button",{className:"wsContentGeneric__option__menu__lastversion html-documents__lastversionbtn btn",onClick:this.handleClickLastVersion,style:{backgroundColor:s.hexcolor,color:"#fdfdfd"}},d.default.createElement("i",{className:"fa fa-code-fork"}),"Dernière version")),d.default.createElement("div",{className:"d-flex"},d.default.createElement(g.SelectStatus,{selectedStatus:s.availableStatuses.find(function(e){return e.slug===r.status}),availableStatus:s.availableStatuses,onChangeStatus:this.handleChangeStatus,disabled:l===y.MODE.REVISION}),d.default.createElement(g.ArchiveDeleteContent,{customColor:s.hexcolor,onClickArchiveBtn:this.handleClickArchive,onClickDeleteBtn:this.handleClickDelete,disabled:l===y.MODE.REVISION})))),d.default.createElement(g.PopinFixedContent,{customClass:s.slug+"__contentpage",showRightPartOnLoad:l===y.MODE.VIEW},d.default.createElement(m.default,{mode:l,customColor:s.hexcolor,wysiwygNewVersion:"wysiwygNewVersion",onClickCloseEditMode:this.handleCloseNewVersion,onClickValidateBtn:this.handleSaveHtmlDocument,version:r.number,lastVersion:o.filter(function(e){return"revision"===e.timelineType}).length,text:r.raw_content,onChangeText:this.handleChangeText,key:"html-documents"}),d.default.createElement(g.Timeline,{customClass:s.slug+"__contentpage",customColor:s.hexcolor,loggedUser:n,timelineData:o,newComment:i,disableComment:l===y.MODE.REVISION,wysiwyg:a,onChangeNewComment:this.handleChangeNewComment,onClickValidateNewCommentBtn:this.handleClickValidateNewCommentBtn,onClickWysiwygBtn:this.handleToggleWysiwyg,onClickRevisionBtn:this.handleClickShowRevision,shouldScrollToBottom:l!==y.MODE.REVISION}))):null}}]),t}(d.default.Component);t.default=w},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=n(4),a=n(6),s=function(e){return o.default.createElement("div",{className:"wsContentHtmlDocument__contentpage__textnote html-documents__contentpage__textnote"},(e.mode===a.MODE.VIEW||e.mode===a.MODE.REVISION)&&o.default.createElement("div",null,o.default.createElement("div",{className:"html-documents__contentpage__textnote__version"},"version n°",o.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.mode===a.MODE.VIEW?e.lastVersion:e.version}}),e.mode===a.MODE.REVISION&&o.default.createElement("div",{className:"html-documents__contentpage__textnote__lastversion"},"(dernière version : ",e.lastVersion,")")),o.default.createElement("div",{className:"html-documents__contentpage__textnote__text",dangerouslySetInnerHTML:{__html:e.text}})),e.mode===a.MODE.EDIT&&o.default.createElement(i.TextAreaApp,{id:e.wysiwygNewVersion,customClass:"html-documents__editionmode",customColor:e.customColor,onClickCancelBtn:e.onClickCloseEditMode,onClickValidateBtn:e.onClickValidateBtn,text:e.text,onChangeText:e.onChangeText}))};t.default=s},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rU.length&&U.push(e)}function p(e,t,n,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case x:case k:a=!0}}if(a)return n(o,e,""===t?"."+d(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1];o(this,t);var a=i(this,e.call(this));if(a.options=Object(y.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=_({},Object(y.a)(),this.options,Object(y.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 c.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 m.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;o1?n-1:0),o=1;o1?n-1:0),o=1;o0&&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&&v.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;a0?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=_({},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;r1&&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=u({},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?u({},this.getResource(e,t)):this.getResource(e,t)},t.prototype.toJSON=function(){return this.data},t}(s.a);t.a=c},function(e,t,n){"use strict";function r(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};o(this,t);var a=i(this,e.call(this));return c.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,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(u){var c=t.nsSeparator||this.options.nsSeparator;return s+c+i}return i}var d=this.resolve(e,t),h=d&&d.res,m=d&&d.usedKey||i,g=Object.prototype.toString.apply(h),y=["[object Number]","[object Function]","[object RegExp]"],v=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,b="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(h&&b&&y.indexOf(g)<0&&(!v||"[object Array]"!==g)){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(m,h,t):"key '"+i+" ("+this.language+")' returned an object instead of string.";if(t.keySeparator||this.options.keySeparator){var _="[object Array]"===g?[]:{};for(var w in h)if(Object.prototype.hasOwnProperty.call(h,w)){var x=""+m+r+w;_[w]=this.translate(x,f({},t,{joinArrays:!1,ns:a})),_[w]===x&&(_[w]=h[w])}h=_}}else if(v&&"[object Array]"===g)(h=h.join(v))&&(h=this.extendTranslation(h,e,t));else{var k=!1,C=!1;this.isValidLookup(h)||void 0===t.defaultValue||(k=!0,h=t.defaultValue),this.isValidLookup(h)||(C=!0,h=i);var S=t.defaultValue&&t.defaultValue!==h&&this.options.updateMissing;if(C||k||S){this.logger.log(S?"updateKey":"missingKey",l,s,i,S?t.defaultValue:h);var O=[],E=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&E&&E[0])for(var P=0;P1&&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,u=void 0!==n.context&&"string"==typeof n.context&&""!==n.context,c=n.lngs?n.lngs:t.languageUtils.toResolveHierarchy(n.lng||t.language);s.forEach(function(e){t.isValidLookup(r)||c.forEach(function(o){if(!t.isValidLookup(r)){var i=a,s=[i],c=void 0;l&&(c=t.pluralResolver.getSuffix(o,n.count)),l&&u&&s.push(i+c),u&&s.push(i+=""+t.options.contextSeparator+n.context),l&&s.push(i+=c);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(1),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(1),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(5),i=n(1),a=Object.assign||function(e){for(var t=1;t0&&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 u=this.options.missingInterpolationHandler(e,i);a="string"==typeof u?u:""}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;r3&&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=u.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],u=i[1];t&&this.emit("failedLoading",a,u,t),n&&this.store.addResourceBundle(a,u,n),this.state[e]=t?-1:2,this.queue.forEach(function(n){l.f(n.loaded,[a],u),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],u=l.d(t,[a,s]);if(u)r.loaded(n,e,u);else{var c="loading namespace "+s+" for language "+a+" via multiloading failed";r.loaded(n,c),r.logger.error(c)}})}):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}(c.a);t.a=d},function(e,t,n){"use strict";function r(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r3&&void 0!==arguments[3]?arguments[3]:{};o(this,t);var u=i(this,e.call(this));return u.cache=n,u.store=r,u.services=a,u.options=l,u.logger=s.a.create("cacheConnector"),u.cache&&u.cache.init&&u.cache.init(a,l.cache,l),u}return a(t,e),t.prototype.load=function(e,t,n){var r=this;if(!this.cache)return n&&n();var o=u({},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=c},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){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(51);n.d(t,"translate",function(){return r.a});var o=n(17);n.d(t,"I18n",function(){return o.a});var i=n(56);n.d(t,"Interpolate",function(){return i.a});var a=n(57);n.d(t,"Trans",function(){return a.a});var s=n(63);n.d(t,"I18nextProvider",function(){return s.a});var l=n(64);n.d(t,"loadNamespaces",function(){return l.a});var u=n(7);n.d(t,"reactI18nextModule",function(){return u.c}),n.d(t,"setDefaults",function(){return u.d}),n.d(t,"getDefaults",function(){return u.a}),n.d(t,"setI18n",function(){return u.e}),n.d(t,"getI18n",function(){return u.b})},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(g.b)(),a.namespaces="function"==typeof e?e(n):e||r.defaultNS||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=v({},Object(g.a)(),s,t),a.getWrappedInstance=a.getWrappedInstance.bind(a),a}return a(l,s),b(l,[{key:"shouldComponentUpdate",value:function(e){return!this.options.usePureComponent||!Object(m.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}),c.a.createElement(y.a,v({ns:this.namespaces},this.options,this.props,{i18n:this.i18n}),function(o,i){var a=i.ready,s=r(i,["ready"]);return c.a.createElement(n,v({tReady:a},e.props,t,s))})}}]),l}(u.Component);return l.WrappedComponent=n,l.contextTypes={i18n:p.a.object,defaultNS:p.a.string},l.displayName="Translate("+s(n)+")",l.namespaces=e,h()(l,n)}}t.a=l;var u=n(0),c=n.n(u),f=n(3),p=n.n(f),d=n(54),h=n.n(d),m=n(55),g=n(7),y=n(17),v=Object.assign||function(e){for(var t=1;t-1&&(m=this.props.i18nKey.split(this.i18n.options.nsSeparator)[0]),this.t.ns&&(h["data-i18next-options"]=JSON.stringify({ns:m}))}return o&&(h.className=o),i&&(h.style=i),s.a.createElement.apply(this,[t,h].concat(p))}}]),t}(a.Component);p.propTypes={className:u.a.string},p.defaultProps={className:""},p.contextTypes={i18n:u.a.object.isRequired,t:u.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 u(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+">"+u("",l(t),n+1)+""+r+">";else if(p.a.isValidElement(t))e=e+"<"+r+">"+r+">";else if("object"===(void 0===t?"undefined":b(t))){var o=v({},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 c(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)]||{},u=p.a.isValidElement(a);if("string"==typeof a)t.push(a);else if(s(a)){var c=r(l(a),o.children);a.dummy&&(a.children=c),t.push(p.a.cloneElement(a,v({},a.props,{key:i}),c))}else if("object"!==(void 0===a?"undefined":b(a))||u)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}],g.a.parse("<0>"+t+"0>"))[0]):[t]}var f=n(0),p=n.n(f),d=n(3),h=n.n(d),m=n(58),g=n.n(m),y=function(){function e(e,t){for(var n=0;n-1&&(O=i.split(h.options.nsSeparator)[0]),y.ns&&(g["data-i18next-options"]=JSON.stringify({ns:O}))}return _?p.a.createElement(_,g,c(f||t,S,h)):c(f||t,S,h)}}]),t}(p.a.Component);t.a=_,_.propTypes={count:h.a.number,parent:h.a.oneOfType([h.a.node,h.a.func]),i18nKey:h.a.string,i18n:h.a.object,t:h.a.func},_.contextTypes={i18n:h.a.object,t:h.a.func}},function(e,t,n){e.exports={parse:n(59),stringify:n(62)}},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=/(?:|<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>)/g,i=n(60),a=Object.create?Object.create(null):{};e.exports=function(e,t){t||(t={}),t.components||(t.components=a);var n,s=[],l=-1,u=[],c={},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!--"),m=a+o.length,g=e.charAt(m);d&&!h&&(l++,n=i(o),"tag"===n.type&&t.components[n.name]&&(n.type="component",f=!0),n.voidElement||f||!g||"<"===g||r(n.children,e,l,m,t.ignoreWhitespace),c[n.tagName]=n,0===l&&s.push(n),p=u[l-1],p&&p.children.push(n),u[l]=n),(h||!d||n.voidElement)&&(h||l--,!f&&"<"!==g&&g&&(p=-1===l?s:u[l].children,r(p,e,l,m,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(61);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(3)),l=n.n(s),u=function(){function e(e,t){for(var n=0;ni{font-size:20px}.html-documents .selectStatus{margin-right:15px}.html-documents__contentpage__textnote{margin:10px 5px 10px 10px;border-radius:10px;padding:25px;height:100%;overflow-y:auto;background-color:#fdfdfd}.html-documents__contentpage__textnote__version{display:flex;justify-content:flex-end;align-items:center;text-align:right;opacity:.7}.html-documents__contentpage__textnote__lastversion{margin-left:15px;font-weight:700}.html-documents__contentpage__textnote__text{font-size:14px}.html-documents__contentpage__textnote__edition{display:none}.html-documents__contentpage__messagelist{min-height:70px}.html-documents__contentpage__messagelist__item__avatar{border:1px solid #36b6ee;background-color:#fdfdfd}.html-documents__contentpage__messagelist__item__content{color:#252525}.html-documents__contentpage__messagelist__version{background-color:#e0e0e0}.html-documents__contentpage__messagelist__version__btn{padding:5px 25px;border-radius:5px;width:145px;color:#fff;font-size:17px}.html-documents__contentpage__messagelist__version__btn>i{margin-right:10px;color:#252525;font-size:20px}.html-documents__contentpage__messagelist__version__date{color:#252525;font-size:17px}.messagelistOpen .timeline__messagelist{flex:0;min-height:0}.received .timeline__messagelist__item__content{background-color:#65c7f2}@media (min-width:576px) and (max-width:1199px){.html-documents__contentpage__content{margin:10px}.html-documents__contentpage__textnote{margin:0}}@media (min-width:768px) and (max-width:991px){.html-documents{top:68px}}@media (min-width:576px) and (max-width:767px){.html-documents{top:68px;width:100%}}@media (max-width:575px){.html-documents{top:68px;width:100%}.html-documents__contentpage__content{margin:10px}.html-documents__contentpage__textnote{margin:0}}",""])},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=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",u(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",u(t,e.attrs),i(e,t),t}function u(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function c(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 u=v++;n=y||(y=s(t)),r=f.bind(null,n,u,!1),o=f.bind(null,n,u,!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=w(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=_(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={},m=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),g=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)}),y=null,v=0,b=[],_=n(72);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=m()),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