点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 行业软件>> 在线考试系统>> 源文件浏览
[免费版 Free] WebForm,下载次数:252 次 | 关键字: 考试 办公 高校 竞赛 企事业单位

源码截图

源码目录树

;
当前路径:public/static/control/p__questionBank__eBook.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[29,5],{"+aGp":function(e,t,n){"use strict";var r=/([A-Z])/g;function o(e){return e.replace(r,"-$1").toLowerCase()}e.exports=o},"+d4F":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("y3Yb"));function o(e){return e&&e.__esModule?e:{default:e}}var i=r;t.default=i,e.exports=i},"/y+l":function(e,t,n){"use strict";var r=n("MgzW"),o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n("8uQm"),a=n("JL7T"),l=n("dyxW"),c=n("U84a"),s=n("yxyD"),u=n("2NuI"),f=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:s(e),entityRanges:c(e,t),data:e.getData().toObject()}},d=function(e,t,n,r){if(e instanceof i)n.push(f(e,t));else{e instanceof a||u(!1);var l=e.getParentKey(),c=r[e.getKey()]=o({},f(e,t),{children:[]});l?r[l].children.push(c):n.push(c)}},p=function(e,t){var n=t.entityMap,r=[],o={},i={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),o=l.stringify(r);i[o]||(i[o]=r,n[o]=""+a,a++)})),d(e,n,r,o)})),{blocks:r,entityMap:n}},h=function(e,t){var n=t.blocks,r=t.entityMap,o={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(l.unstringify(t));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}},g=function(e){var t={entityMap:{},blocks:[]};return t=p(e,t),t=h(e,t),t};e.exports=g},"/y0H":function(e,t,n){"use strict";var r={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map((function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<i.length-1)return e+" ";return e}));for(var a,l,c=r,s=null,u=null,f=0;f<i.length;f++){if(l=i[f],a=c+l.length,e<a&&c<t)null!==s||(s=c),u=a;else if(null!==s)break;c=a}var d=r+n.length,p=s===r,h=u===d;return(!p&&h||p&&!h)&&("forward"===o?u!==d&&u++:s!==r&&s--),{start:s,end:u}}};e.exports=r},"0RQb":function(e,t,n){"use strict";var r=n("3sOJ");function o(e){var t=e.getSelection(),n=t.getEndKey(),o=e.getCurrentContent(),i=o.getBlockForKey(n).getLength();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})}e.exports=o},"0TRD":function(e,t,n){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},"158f":function(e,t,n){"use strict";var r=n("CYTE"),o=n("2NuI"),i=r.isBrowser("Chrome");function a(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,l=Array.from(t.getClientRects());if(n.push(l),i)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(r)}o(!1)}var l=i?a:function(e){return Array.from(e.getClientRects())};e.exports=l},"1Jbx":function(e,t,n){"use strict";var r=n("h/2P"),o=n("JI+E"),i=n("jH4x"),a=n("YDMw"),l=n("e/Ok"),c=n("cmQj"),s=n("Y/kH"),u=n("pg4M"),f=n("jyDg"),d=n("C9ER"),p=n("kDkJ"),h=n("WJOU"),g={onBeforeInput:r,onBlur:o,onCompositionStart:i,onCopy:a,onCut:l,onDragOver:c,onDragStart:s,onFocus:u,onInput:f,onKeyDown:d,onPaste:p,onSelect:h};e.exports=g},"1qq2":function(e,t,n){"use strict";var r,o=i||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n("MgzW");function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n("lFJn"),c=n("8uQm"),s=n("JL7T"),u=n("rAV9"),f=n("TzU/"),d=n("cX45"),p=n("JPcv"),h=n("JPcv"),g=h.Set,m=n("Z9sL"),v=n("YVIB"),y=n("rJY1"),b=n("xocI"),w=n("2NuI"),E=n("HriT"),x=d.draft_tree_data_support,k=p.List,S=p.OrderedSet,C="&nbsp;",A=" ",O=4,I=new RegExp("\r","g"),_=new RegExp("\n","g"),T=new RegExp(C,"g"),M=new RegExp("&#13;?","g"),N=new RegExp("&#8203;?","g"),j=["bold","bolder","500","600","700","800","900"],D=["light","lighter","100","200","300","400"],R={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},L=(r={},a(r,v("public/DraftStyleDefault/depth0"),0),a(r,v("public/DraftStyleDefault/depth1"),1),a(r,v("public/DraftStyleDefault/depth2"),2),a(r,v("public/DraftStyleDefault/depth3"),3),a(r,v("public/DraftStyleDefault/depth4"),4),r),B=["className","href","rel","target","title"],P=["alt","className","height","src","width"],K=void 0,F={text:"",inlines:[],entities:[],blocks:[]},z={children:k(),depth:0,key:"",type:""},U=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null},H=function(e){var t=e.get("unstyled").element,n=g([]);return e.forEach((function(e){e.aliasedElements&&e.aliasedElements.forEach((function(e){n=n.add(e)})),n=n.add(e.element)})),n.filter((function(e){return e&&e!==t})).toArray().sort()},V=function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r](e,t);if(o)return o}return null},W=function(e,t,n){var r=n.filter((function(t){return t.element===e||t.wrapper===e||t.aliasedElements&&t.aliasedElements.some((function(t){return t===e}))})).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return V(e,t,[U])||"unstyled"}},q=function(e,t,n){var r=R[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var o=t;n=n.withMutations((function(e){var t=o.style.fontWeight,n=o.style.fontStyle,r=o.style.textDecoration;j.indexOf(t)>=0?e.add("BOLD"):D.indexOf(t)>=0&&e.remove("BOLD"),"italic"===n?e.add("ITALIC"):"normal"===n&&e.remove("ITALIC"),"underline"===r&&e.add("UNDERLINE"),"line-through"===r&&e.add("STRIKETHROUGH"),"none"===r&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))})).toOrderedSet()}return n},Q=function(e,t,n){var r=e.text.slice(-1),o=t.text.slice(0,1);if("\r"!==r||"\r"!==o||n||(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===r){if(t.text===A||"\n"===t.text)return e;o!==A&&"\n"!==o||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}},Y=function(e,t){return t.some((function(t){return-1!==e.indexOf("<"+t)}))},J=function(e){e instanceof HTMLAnchorElement||w(!1);var t=e.protocol;return"http:"===t||"https:"===t||"mailto:"===t},G=function(e){var t=new Array(1);return e&&(t[0]=e),o({},F,{text:A,inlines:[S()],entities:t})},X=function(){return o({},F,{text:"\n",inlines:[S()],entities:new Array(1)})},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o({},z,e)},$=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{text:"\r",inlines:[S()],entities:new Array(1),blocks:[Z({parent:n,key:y(),type:e,depth:Math.max(0,Math.min(O,t))})]}},ee=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(L).some((function(n){e.classList.contains(n)&&(t=L[n])})),t},te=function e(t,n,r,i,a,l,c,s,u,d){var p=K,h=n.nodeName.toLowerCase(),g=t,v="unstyled",y=!1,b=a&&W(a,i,s),w=o({},F),E=null,k=void 0;if("#text"===h){var S=n.textContent,C=S.trim();if(i&&""===C&&n.parentElement){var O=n.parentElement.nodeName.toLowerCase();if("ol"===O||"ul"===O)return{chunk:o({},F),entityMap:t}}return""===C&&"pre"!==a?{chunk:G(u),entityMap:t}:("pre"!==a&&(S=S.replace(_,A)),K=h,{chunk:{text:S,inlines:Array(S.length).fill(r),entities:Array(S.length).fill(u),blocks:[]},entityMap:t})}if(K=h,"br"===h)return"br"!==p||a&&"unstyled"!==b?{chunk:X(),entityMap:t}:{chunk:$("unstyled",c,d),entityMap:t};if("img"===h&&n instanceof HTMLImageElement&&n.attributes.getNamedItem("src")&&n.attributes.getNamedItem("src").value){var I=n,T={};P.forEach((function(e){var t=I.getAttribute(e);t&&(T[e]=t)})),n.textContent="\ud83d\udcf7",u=f.__create("IMAGE","MUTABLE",T||{})}r=q(h,n,r),"ul"!==h&&"ol"!==h||(i&&(c+=1),i=h),!x&&"li"===h&&n instanceof HTMLElement&&(c=ee(n,c));var M=W(h,i,s),N=i&&"li"===a&&"li"===h,j=(!a||x)&&-1!==l.indexOf(h);(N||j)&&(w=$(M,c,d),k=w.blocks[0].key,a=h,y=!x),N&&(v="ul"===i?"unordered-list-item":"ordered-list-item");var D=n.firstChild;null!=D&&(h=D.nodeName.toLowerCase());var R=null;while(D){D instanceof HTMLAnchorElement&&D.href&&J(D)?function(){var e=D,t={};B.forEach((function(n){var r=e.getAttribute(n);r&&(t[n]=r)})),t.url=new m(e.href).toString(),R=f.__create("LINK","MUTABLE",t||{})}():R=void 0;var L=e(g,D,r,i,a,l,c,s,R||u,x?k:null),z=L.chunk,U=L.entityMap;E=z,g=U,w=Q(w,E,x);var H=D.nextSibling;!d&&H&&l.indexOf(h)>=0&&a&&(w=Q(w,X())),H&&(h=H.nodeName.toLowerCase()),D=H}return y&&(w=Q(w,$(v,c,d))),{chunk:w,entityMap:g}},ne=function(e,t,n,r){e=e.trim().replace(I,"").replace(T,A).replace(M,"").replace(N,"");var i=H(n),a=t(e);if(!a)return null;K=null;var l=Y(e,i)?i:["div"],c=te(r,a,S(),"ul",null,l,-1,n),s=c.chunk,u=c.entityMap;return 0===s.text.indexOf("\r")&&(s={text:s.text.slice(1),inlines:s.inlines.slice(1),entities:s.entities.slice(1),blocks:s.blocks}),"\r"===s.text.slice(-1)&&(s.text=s.text.slice(0,-1),s.inlines=s.inlines.slice(0,-1),s.entities=s.entities.slice(0,-1),s.blocks.pop()),0===s.blocks.length&&s.blocks.push(o({},F,{type:"unstyled",depth:0})),s.text.split("\r").length===s.blocks.length+1&&s.blocks.unshift({type:"unstyled",depth:0}),{chunk:s,entityMap:u}},re=function(e){if(!e||!e.text||!Array.isArray(e.blocks))return null;var t={cacheRef:{},contentBlocks:[]},n=0,r=e.blocks,o=e.inlines,i=e.entities,a=x?s:c;return e.text.split("\r").reduce((function(e,t,c){t=E(t);var u=r[c],f=n+t.length,d=o.slice(n,f),p=i.slice(n,f),h=k(d.map((function(e,t){var n={style:e,entity:null};return p[t]&&(n.entity=p[t]),l.create(n)})));n=f+1;var g=u.depth,m=u.type,v=u.parent,b=u.key||y(),w=null;if(v){var x=e.cacheRef[v],S=e.contentBlocks[x];if(S.getChildKeys().isEmpty()&&S.getText()){var C=S.getCharacterList(),A=S.getText();w=y();var O=new s({key:w,text:A,characterList:C,parent:v,nextSibling:b});e.contentBlocks.push(O),S=S.withMutations((function(e){e.set("characterList",k()).set("text","").set("children",S.children.push(O.getKey()))}))}e.contentBlocks[x]=S.set("children",S.children.push(b))}var I=new a({key:b,parent:v,type:m,depth:g,text:t,characterList:h,prevSibling:w||(0===c||r[c-1].parent!==v?null:r[c-1].key),nextSibling:c===r.length-1||r[c+1].parent!==v?null:r[c+1].key});return e.contentBlocks.push(I),e.cacheRef[I.key]=c,e}),t).contentBlocks},oe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,r=ne(e,t,n,f);if(null==r)return null;var o=r.chunk,i=r.entityMap,a=re(o);return{contentBlocks:a,entityMap:i}};e.exports=oe},"1wcP":function(e,t,n){},"2NuI":function(e,t,n){"use strict";var r=function(e){};function o(e,t,n,o,i,a,l,c){if(r(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,i,a,l,c],f=0;s=new Error(t.replace(/%s/g,(function(){return u[f++]}))),s.name="Invariant Violation"}throw s.framesToPop=1,s}}e.exports=o},"2jpz":function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("cDf5"),o=n.n(r),i=n("q1tI"),a=n("TSYQ"),l=n.n(a),c=n("gZBC"),s=n.n(c),u=n("vk+C"),f=n.n(u),d=n("pG52"),p=n.n(d),h=n("Csr3"),g=n.n(h),m=n("e5VY"),v=n.n(m),y=n("0n0R");function b(e,t,n,r){var a,c=r.isLeaf,u=r.expanded,d=r.loading;if(d)return i["createElement"](s.a,{className:"".concat(e,"-switcher-loading-icon")});if(n&&"object"===o()(n)&&(a=n.showLeafIcon),c)return n?"object"!==o()(n)||a?i["createElement"](f.a,{className:"".concat(e,"-switcher-line-icon")}):i["createElement"]("span",{className:"".concat(e,"-switcher-leaf-line")}):null;var h="".concat(e,"-switcher-icon");return Object(y["b"])(t)?Object(y["a"])(t,{className:l()(t.props.className||"",h)}):t||(n?u?i["createElement"](p.a,{className:"".concat(e,"-switcher-line-icon")}):i["createElement"](g.a,{className:"".concat(e,"-switcher-line-icon")}):i["createElement"](v.a,{className:h}))}},"2qtc":function(e,t,n){"use strict";n("cIOH"),n("1wcP"),n("+L6B")},"3Br+":function(e,t,n){"use strict";var r=n("3sOJ"),o=n("jLRO"),i=n("kWjT"),a=n("8d//");function l(e){var t=a(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),l=n.getBlockForKey(r).getText()[a-1];return i(e,l?o.getUTF16Length(l,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}e.exports=l},"3sOJ":function(e,t,n){"use strict";var r=n("MgzW"),o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=n("L0q3"),l=n("LpQA"),c=n("VSmT"),s=n("JPcv"),u=n("hMpd"),f=s.OrderedSet,d=s.Record,p=s.Stack,h={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:p(),selection:null,treeMap:null,undoStack:p()},g=d(h),m=function(){function e(t){i(this,e),this._immutable=t}return e.createEmpty=function(t){return e.createWithContent(l.createFromText(""),t)},e.createWithContent=function(t,n){var r=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:p(),redoStack:p(),decorator:n||null,selection:u.createEmpty(r)})},e.create=function(t){var n=t.currentContent,r=t.decorator,i=o({},t,{treeMap:y(n,r),directionMap:c.getDirectionMap(n)});return new e(new g(i))},e.set=function(t,n){var r=t.getImmutable().withMutations((function(e){var r=e.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var i=n.currentContent||t.getCurrentContent();if(o!==r){var a,l=e.get("treeMap");return a=o&&r?w(i,i.getBlockMap(),l,o,r):y(i,o),void e.merge({decorator:o,treeMap:a,nativelyRenderedContent:null})}var c=t.getCurrentContent();i!==c&&e.set("treeMap",b(t,i.getBlockMap(),i.getEntityMap(),o)),e.merge(n)}));return new e(r)},e.prototype.toJS=function(){return this.getImmutable().toJS()},e.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.prototype.getSelection=function(){return this.getImmutable().get("selection")},e.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},e.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},e.prototype.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?x(t,n):k(t,n)},e.prototype.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.prototype.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.prototype.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent(),t=e.getBlockMap(),n=t.last(),r=n.getLength();return this.getSelection().hasEdgeWithin(n.getKey(),r,r)},e.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(e,t){return v(e,t,!1)},e.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),v(e,t,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent(),r=n.getLastBlock(),o=r.getKey(),i=r.getLength();return e.acceptSelection(t,new u({anchorKey:o,anchorOffset:i,focusKey:o,focusOffset:i,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){if(t.getCurrentContent()===n)return t;var o="insert-characters"!==r,i=c.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=t.getSelection(),l=t.getCurrentContent(),s=t.getUndoStack(),u=n;a!==l.getSelectionAfter()||E(t,r)?(s=s.push(l),u=u.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(u=u.set("selectionBefore",l.getSelectionBefore()));var f=t.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(f=null);var h={currentContent:u,directionMap:i,undoStack:s,redoStack:p(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:f};return e.set(t,h)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=c.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=c.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.prototype.getImmutable=function(){return this._immutable},e}();function v(e,t,n){return m.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function y(e,t){return e.getBlockMap().map((function(n){return a.generate(e,n,t)})).toOrderedMap()}function b(e,t,n,r){var o=e.getCurrentContent().set("entityMap",n),i=o.getBlockMap(),l=e.getImmutable().get("treeMap");return l.merge(t.toSeq().filter((function(e,t){return e!==i.get(t)})).map((function(e){return a.generate(o,e,r)})))}function w(e,t,n,r,o){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==o.getDecorations(t,e)})).map((function(t){return a.generate(e,t,r)})))}function E(e,t){var n=e.getLastChangeType();return t!==n||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function x(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);return r>0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):S(e,n)}function k(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):r>0?o.getInlineStyleAt(r-1):S(e,n)}function S(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):f()}e.exports=m},"4mNk":function(e,t,n){(function(t,r){e.exports=r(n("q1tI"),n("v83y"),n("JPcv"),n("Psm9"),n("yEr3"))})(window,(function(e,t,n,r,o){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=47)}([function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(t,n){t.exports=e},function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){var r=n(2);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}e.exports=o},function(e,t){e.exports=r},function(e,t,n){"use strict";n.r(t),n.d(t,"rebuildTableBlocks",(function(){return v})),n.d(t,"rebuildTableNode",(function(){return y})),n.d(t,"updateAllTableBlocks",(function(){return b})),n.d(t,"getCellCountForInsert",(function(){return w})),n.d(t,"getCellsInsideRect",(function(){return E})),n.d(t,"insertCell",(function(){return x})),n.d(t,"insertCells",(function(){return k})),n.d(t,"insertTable",(function(){return S})),n.d(t,"removeTable",(function(){return C})),n.d(t,"insertColumn",(function(){return A})),n.d(t,"removeColumn",(function(){return O})),n.d(t,"insertRow",(function(){return I})),n.d(t,"removeRow",(function(){return _})),n.d(t,"mergeCells",(function(){return T})),n.d(t,"splitCell",(function(){return M}));var r=n(13),o=n.n(r),i=n(5),a=n.n(i),l=n(3),c=n(4),s=n.n(c),u=n(6),f=function(e,t,n){switch(n){case"==":return e==t;case">=":return e>=t;case"<=":return e<=t;case">":return e>t;case"<":return e<t}},d=function(e){e=a()({colSpan:1,rowSpan:1,text:""},e);var t=e,n=t.tableKey,r=t.key,o=t.colIndex,i=t.rowIndex,c=t.colSpan,u=t.rowSpan,f=t.text,d=t.isHead;return new l["ContentBlock"]({key:r||Object(l["genKey"])(),type:"table-cell",text:f,data:s.a.Map({tableKey:n,colIndex:o,rowIndex:i,colSpan:c,rowSpan:u,isHead:d}),characterList:s.a.List(s.a.Repeat(l["CharacterMetadata"].create(),f.length))})},p=function(){var e=Object(l["genKey"])();return[e,new l["ContentBlock"]({key:e,type:"unstyled",text:"",data:s.a.Map({}),characterList:s.a.List([])})]},h=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=s.a.Range(0,n).map((function(n){var o=d({tableKey:e,colIndex:n,rowIndex:t,text:0===n?r:""});return[o.getKey(),o]})).toArray();return s.a.OrderedMap(o).toSeq()},g=function(e,t,n,r,o){var i=e.getBlockMap().toSeq(),a=i.takeUntil((function(e){return e.getData().get("tableKey")===o})),l=i.skipUntil((function(t,n){var r=e.getKeyAfter(n);return t.getData().get("tableKey")===o&&r&&e.getBlockForKey(r).getData().get("tableKey")!==o})).rest();return e.merge({blockMap:a.concat(r,l).toOrderedMap(),selectionBefore:t,selectionAfter:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,hasFocus:!1,isBackward:!1})})},m=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"==";return e.filter((function(e){return f(e.getData().get(t),n,r)}))},v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=[];return e.map((function(e){var o=e.getData(),i=o.get("rowIndex"),l=o.get("colSpan")||1,c=o.get("rowSpan")||1;r[i]=r[i]||0,r[i]++;for(var u,f,d=r[i]-1,p=d;n[i]&&n[i][p];p++,r[i]++);if(c>1||l>1)for(u=i;u<i+c;u++)for(f=p;f<p+l;f++)n[u]=n[u]||{},n[u][f]=!0;return e.merge({data:s.a.Map(a()({},o.toJS(),t,{colIndex:p}))})}))},y=function(e){var t=Object(l["genKey"])(),n={};[].forEach.call(e.rows,(function(e,r){[].forEach.call(e.cells,(function(e,o){for(var i,a,l=o;n[r]&&n[r][l];l++);var c=e.rowSpan,s=e.colSpan;if(c>1||s>1)for(i=r;i<r+c;i++)for(a=l;a<l+s;a++)n[i]=n[i]||{},n[i][a]=!0;e.innerHTML=e.innerHTML.replace(/\n\s*$/,""),e.dataset.tableKey=t,e.dataset.colIndex=l,e.dataset.rowIndex=r}))}))},b=function(e,t,n){var r=e.getSelection(),o=e.getCurrentContent(),i=o.getBlockMap(),a=m(i,"tableKey",t),c=v(a,n),s=g(o,e.getSelection(),r.focusKey,c,t);return l["EditorState"].push(e,s,"insert-table-row")},w=function(e,t){return m(e,"rowIndex",t).reduce((function(e,t){return e+1*(t.getData().get("colSpan")||1)}),0)},E=function(e,t,n,r){for(var i=o()(n,2),a=i[0],l=i[1],c=o()(r,2),u=c[0],f=c[1],d=Math.min(a,u),p=Math.max(a,u),h=Math.min(l,f),g=Math.max(l,f),v=[],y=d;y<=p;y++)for(var b=h;b<=g;b++)v.push([y,b]);if(0===v.length)return s.a.OrderedMap([]);var w=e.getCurrentContent(),E=w.getBlockMap(),x=m(E,"tableKey",t),k=[],S=[],C=s.a.List([]),A=s.a.List([]);return x.forEach((function(e){var t=e.getData(),n=e.getKey(),r=t.get("colIndex"),i=t.get("rowIndex"),a=t.get("colSpan"),l=t.get("rowSpan");v.forEach((function(t){var c=o()(t,2),s=c[0],u=c[1];r===s&&i===u?(-1===k.indexOf(n)&&(C=C.push(e))&&k.push(n),(a>1||l>1)&&-1===S.indexOf(n)&&(A=A.push(e))&&S.push(n)):(a>1||l>1)&&r<=s&&r+a>s&&i<=u&&i+l>u&&-1===S.indexOf(n)&&(A=A.push(e))&&S.push(n)}))})),{cellBlocks:C.merge(A),cellKeys:k.concat(S),spannedCellBlocks:A,spannedCellBlockKeys:S}},x=function(e,t){var n,r,o;t instanceof l["ContentBlock"]?(n=t.getData().get("colIndex"),r=t.getData().get("rowIndex"),o=t):(n=t.colIndex,r=t.rowIndex,o=d(t));var i=e.takeUntil((function(e){var t=e.getData().get("rowIndex"),o=e.getData().get("colIndex");return o>=n&&t===r||t>r})),a=e.skipUntil((function(e){var t=e.getData().get("rowIndex"),o=e.getData().get("colIndex");return o>=n&&t===r||t>r})),c=i.concat(s.a.OrderedMap([[o.getKey(),o]]).toSeq(),a);return c},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.reduce((function(e,t){return x(e,t)}),e)},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3;if(u["ContentUtils"].selectionContainsStrictBlock(e))return e;for(var r=e.getSelection(),o=e.getCurrentContent(),i=o.getBlockMap(),a=Object(l["genKey"])(),c=[p()],f=0;f<n;f++)for(var h=0;h<t;h++){var g=d({tableKey:a,colIndex:h,rowIndex:f});c.push([g.getKey(),g])}c.push(p());var m=r.getStartKey(),v=o.getBlockForKey(m),y=i.toSeq().takeUntil((function(e){return e===v})),b=i.toSeq().skipUntil((function(e){return e===v})).rest(),w=s.a.OrderedMap(c).toSeq(),E=c[1][0],x=y.concat(s.a.OrderedMap([[m,v]]).toSeq(),w,b).toOrderedMap(),k=o.merge({blockMap:x,selectionBefore:r,selectionAfter:r.merge({anchorKey:E,anchorOffset:r.getStartOffset(),focusKey:E,focusOffset:r.getStartOffset(),isBackward:!1})});return l["EditorState"].push(e,k,"insert-table")},C=function(e,t){if(!t)return e;var n=e.getSelection(),r=e.getCurrentContent(),o=r.getBlockMap(),i=m(o,"tableKey",t),a=o.filter((function(e){return"table-cell"!==e.getType()||e.getData().get("tableKey")!==t})),c=(i.first()&&r.getBlockBefore(i.first().getKey())||a.first()).getKey(),s=r.merge({blockMap:a,selectionBefore:n,selectionAfter:n.merge({anchorKey:c,anchorOffset:n.getStartOffset(),focusKey:c,focusOffset:n.getStartOffset(),isBackward:!1})});return l["EditorState"].push(e,s,"remove-table")},A=function(e,t,n,r){var o=e.getCurrentContent(),i=o.getBlockMap(),c=m(i,"tableKey",t),u=[];if(0===r)for(var f=0;f<n;f++)u.push({text:"",colIndex:0,rowIndex:f,colSpan:1,rowSpan:1,tableKey:t});var d=c.map((function(e){var n=e.getData().toJS(),o=n.colIndex,i=n.rowIndex,l=n.colSpan,c=n.rowSpan,f=o<r?o:o+1,d=o<r&&l>1&&o+l>r?l+1:l,p=f!==o||d!==l;if(1===l&&o===r-1||l>1&&o+l===r)for(var h=i;h<i+c;h++)u.push({text:"",colIndex:r,rowIndex:h,colSpan:1,rowSpan:1,tableKey:t});return p?e.merge({data:s.a.Map(a()({},n,{colIndex:f,colSpan:d}))}):e}));if(0===u.length)return e;var p=u[0].key=Object(l["genKey"])(),h=g(o,e.getSelection(),p,k(d,u),t);return l["EditorState"].push(e,h,"insert-table-column")},O=function(e,t,n){var r=e.getCurrentContent(),o=r.getBlockMap().toSeq(),i=m(o,"tableKey",t),c=m(i,"colIndex",n).reduce((function(e,n){var r=n.getData().toJS(),o=r.colIndex,i=r.rowIndex,a=r.colSpan,l=r.rowSpan;return a>1&&e.push({text:n.getText(),tableKey:t,colIndex:o,rowIndex:i,colSpan:a-1,rowSpan:l}),e}),[]),s=i.filter((function(e){return 1*e.getData().get("colIndex")!==n})).map((function(e){var t=e.getData().toJS(),r=t.colIndex,o=t.colSpan,i=r>n?r-1:r,l=r<n&&r+o>n?o-1:o,c=i!==r||l!==o;return c?e.merge({data:a()({},t,{colIndex:i,colSpan:l})}):e})),u=(s.first()||r.getBlockBefore(i.first().getKey())||r.getBlockAfter(i.first().getKey())).getKey(),f=g(r,e.getSelection(),u,k(s,c),t);return l["EditorState"].push(e,f,"remove-table-column")},I=function(e,t,n,r,o){var i=e.getCurrentContent(),c=i.getBlockMap().toSeq(),u=m(c,"tableKey",t),f=m(u,"rowIndex",r,"<").map((function(e){var t=e.getData().toJS(),n=t.rowIndex,o=t.rowSpan;if(n>r)return e;var i=o&&n+o>r,l=i?1*o+1:o;return e.merge({data:s.a.Map(a()({},t,{rowSpan:l}))})})),d=m(u,"rowIndex",r,">=").map((function(e){var t=e.getData().toJS();return e.merge({data:s.a.Map(a()({},t,{rowIndex:1*t.rowIndex+1}))})})),p=w(u,r),y=h(t,r,p||n),b=y.first().getKey(),E=v(f.concat(y,d),o),x=g(i,e.getSelection(),b,E,t);return l["EditorState"].push(e,x,"insert-table-row")},_=function(e,t,n,r){var o=e.getCurrentContent(),i=o.getBlockMap().toSeq(),c=m(i,"tableKey",t),u=m(c,"rowIndex",n,"<").map((function(e){var t=e.getData().toJS(),r=t.rowIndex,o=t.rowSpan;if(r>n)return e;var i=o&&r+o>n,l=i?1*o-1:o;return e.merge({data:s.a.Map(a()({},t,{rowSpan:l}))})})),f=m(c,"rowIndex",n,">").map((function(e){var t=e.getData().toJS();return e.merge({data:s.a.Map(a()({},t,{rowIndex:1*t.rowIndex-1}))})})),d=m(c,"rowIndex",n).reduce((function(e,n){var r=n.getData().toJS(),o=r.colIndex,i=r.rowIndex,a=r.colSpan,l=r.rowSpan;return l>1&&e.push({text:n.getText(),tableKey:t,colIndex:o,rowIndex:i,colSpan:a,rowSpan:l-1}),e}),[]),p=(f.first()||u.last()||i.first()).getKey(),h=v(k(u.concat(f),d),r),y=g(o,e.getSelection(),p,h,t,!0);return l["EditorState"].push(e,y,"remove-table-row")},T=function(e,t,n){var r=e.getCurrentContent(),o=r.getBlockMap(),i=[],c="",u=m(o,"tableKey",t).filter((function(e){return!~n.indexOf(e.getKey())||(c+=e.getText(),i.push(a()({key:e.getKey()},e.getData().toJS())),!1)})),f=i.sort((function(e,t){return t.colIndex+t.rowIndex-(e.colIndex+e.rowIndex)})),d=f.slice(-1)[0],p=f[0],h=r.getBlockForKey(d.key).merge({text:c,data:s.a.Map(a()({},d,{colSpan:p.colIndex-d.colIndex+1,rowSpan:p.rowIndex-d.rowIndex+1})),characterList:s.a.List(s.a.Repeat(l["CharacterMetadata"].create(),c.length))}),v=g(r,e.getSelection(),d.key,x(u,h),t);return l["EditorState"].push(e,v,"merge-table-cell")},M=function(e,t,n){var r=e.getCurrentContent(),o=r.getBlockMap(),i=[],c=m(o,"tableKey",t).map((function(e){if(e.getKey()===n){var r=e.getData().toJS(),o=r.colIndex,l=r.rowIndex,c=r.colSpan,u=r.rowSpan;if(1===c&&1===u)return e;for(var f=o;f<o+c;f++)for(var d=l;d<l+u;d++)f===o&&d===l||i.push({text:"",tableKey:t,colIndex:f,rowIndex:d,colSpan:1,rowSpan:1});return e.merge({data:s.a.Map(a()({},r,{colSpan:1,rowSpan:1}))})}return e})),u=g(r,e.getSelection(),n,k(c,i),t);return l["EditorState"].push(e,u,"merge-table-cell")}},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){var r=n(15),o=n(0);function i(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?o(e):t}e.exports=i},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(16);function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}e.exports=o},function(e,t,n){var r=n(19),o=n(20),i=n(21);function a(e,t){return r(e)||o(e,t)||i()}e.exports=a},,function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return N}));var r=n(5),o=n.n(r),i=n(22),a=n.n(i),l=n(8),c=n.n(l),s=n(9),u=n.n(s),f=n(10),d=n.n(f),p=n(11),h=n.n(p),g=n(12),m=n.n(g),v=n(0),y=n.n(v),b=n(2),w=n.n(b),E=n(1),x=n.n(E),k=n(4),S=n.n(k),C=n(18),A=n(7),O=n(29),I=n.n(O),_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return isNaN(e)?!(t&&e&&e.target&&e.target.dataset.role===t)&&(!!(e&&e.currentTarget&&e.currentTarget.dataset.index)&&1*e.currentTarget.dataset.index):1*e},T=function(e){var t=e.editorProps.language;return"function"===typeof t?t(C["a"],"braft-table"):C["a"][t]||C["a"]["zh"]},M=function(t){function n(t){var r;return c()(this,n),r=d()(this,h()(n).call(this,t)),w()(y()(y()(r)),"state",{tableRows:[],colToolHandlers:[],rowToolHandlers:[],defaultColWidth:0,colResizing:!1,colResizeOffset:0,selectedCells:[],selectedRowIndex:-1,selectedColumnIndex:-1,setFirstRowAsHead:!1,dragSelecting:!1,draggingRectBounding:null,cellsMergeable:!1,cellSplittable:!1,contextMenuPosition:null}),w()(y()(y()(r)),"__tableRef",null),w()(y()(y()(r)),"__colRefs",{}),w()(y()(y()(r)),"__rowRefs",{}),w()(y()(y()(r)),"__colResizeIndex",0),w()(y()(y()(r)),"__colResizeStartAt",0),w()(y()(y()(r)),"__startCellKey",null),w()(y()(y()(r)),"__endCellKey",null),w()(y()(y()(r)),"__dragSelecting",!1),w()(y()(y()(r)),"__dragSelected",!1),w()(y()(y()(r)),"__dragSelectingStartColumnIndex",null),w()(y()(y()(r)),"__dragSelectingStartRowIndex",null),w()(y()(y()(r)),"__dragSelectingEndColumnIndex",null),w()(y()(y()(r)),"__dragSelectingEndRowIndex",null),w()(y()(y()(r)),"__draggingRectBoundingUpdating",!1),w()(y()(y()(r)),"__selectedCellsCleared",!1),w()(y()(y()(r)),"handleToolbarMouseDown",(function(e){e.preventDefault()})),w()(y()(y()(r)),"handleKeyDown",(function(e){if(8===e.keyCode){var t=r.state,n=t.selectedColumnIndex,o=t.selectedRowIndex;n>-1?(r.removeColumn(),e.preventDefault()):o>-1&&(r.removeRow(),e.preventDefault())}})),w()(y()(y()(r)),"handleMouseUp",(function(e){if(0!==e.button)return!1;if(r.state.colResizing){var t=r.state,n=t.defaultColWidth,o=t.colToolHandlers,i=t.colResizeOffset,l=a()(o);l[r.__colResizeIndex-1].width=(l[r.__colResizeIndex-1].width||n)+i,l[r.__colResizeIndex].width=(l[r.__colResizeIndex].width||n)-i,r.__colResizeIndex=0,r.__colResizeStartAt=0,r.setState({contextMenuPosition:null,colToolHandlers:l,colResizeOffset:0,colResizing:!1},(function(){r.renderCells(),r.updateCellsData({colgroupData:l.map((function(e){return{width:e.width}}))})}))}else r.setState({contextMenuPosition:null})})),w()(y()(y()(r)),"handleMouseMove",(function(e){r.state.colResizing&&r.setState({colResizeOffset:r.getResizeOffset(e.clientX-r.__colResizeStartAt)})})),w()(y()(y()(r)),"handleColResizerMouseDown",(function(e){r.__colResizeIndex=1*e.currentTarget.dataset.index,r.__colResizeStartAt=e.clientX,r.setState({colResizing:!0})})),w()(y()(y()(r)),"handleCellContexrMenu",(function(e){var t=r.state.selectedCells,n=e.currentTarget.dataset.cellKey;~t.indexOf(n)||r.selectCell(e);var o=r.__tableRef.getBoundingClientRect(),i=o.top,a=o.left,l=o.width,c=e.clientY-i+15,s=e.clientX-a+10;s+150>l&&(s=l-150),r.setState({contextMenuPosition:{top:c,left:s}}),e.preventDefault()})),w()(y()(y()(r)),"handleContextMenuContextMenu",(function(e){e.preventDefault()})),w()(y()(y()(r)),"handleCellMouseDown",(function(e){if(r.state.colResizing)return e.preventDefault(),e.stopPropagation(),!1;r.__dragSelecting=!0,r.__dragSelectingStartColumnIndex=e.currentTarget.dataset.colIndex,r.__dragSelectingStartRowIndex=e.currentTarget.dataset.rowIndex,r.__draggingStartPoint={x:e.clientX,y:e.clientY},r.setState({dragSelecting:!0})})),w()(y()(y()(r)),"handleCellMouseUp",(function(){r.__dragSelecting=!1,r.__dragSelected=!1,r.__dragSelectingStartColumnIndex=null,r.__dragSelectingStartRowIndex=null,r.__dragSelectingEndColumnIndex=null,r.__dragSelectingEndRowIndex=null,r.setState({dragSelecting:!1,draggingRectBounding:null})})),w()(y()(y()(r)),"handleCellMouseEnter",(function(e){r.__dragSelecting&&(r.__dragSelectingEndColumnIndex=e.currentTarget.dataset.colIndex,r.__dragSelectingEndRowIndex=e.currentTarget.dataset.rowIndex,r.__dragSelectingEndColumnIndex!==r.__dragSelectingStartColumnIndex||r.__dragSelectingEndRowIndex!==r.__dragSelectingStartRowIndex?(r.__dragSelected=!0,e.preventDefault()):r.__dragSelected=!1,r.confirmDragSelecting())})),w()(y()(y()(r)),"handleTableMouseMove",(function(e){r.__dragSelecting&&r.__dragSelected&&(r.updateDraggingRectBounding(e),e.preventDefault())})),w()(y()(y()(r)),"handleTableMouseLeave",(function(e){r.__dragSelecting&&e.currentTarget&&"table"===e.currentTarget.dataset.role&&r.handleCellMouseUp(),e.preventDefault()})),w()(y()(y()(r)),"confirmDragSelecting",(function(){if(!r.__dragSelectingStartColumnIndex||!r.__dragSelectingStartRowIndex||!r.__dragSelectingEndColumnIndex||!r.__dragSelectingEndRowIndex)return!1;var e=A["getCellsInsideRect"](r.props.editorState,r.tableKey,[r.__dragSelectingStartColumnIndex,r.__dragSelectingStartRowIndex],[r.__dragSelectingEndColumnIndex,r.__dragSelectingEndRowIndex]),t=e.cellKeys,n=e.spannedCellBlockKeys;if(t.length<2)return!1;r.setState({selectedColumnIndex:-1,selectedRowIndex:-1,cellsMergeable:0===n.length,cellSplittable:!1,selectedCells:t},r.renderCells)})),w()(y()(y()(r)),"updateDraggingRectBounding",(function(e){if(r.__draggingRectBoundingUpdating||!r.__dragSelecting)return!1;r.__draggingRectBoundingUpdating=!0;var t=r.__tableRef.getBoundingClientRect(),n=r.__draggingStartPoint,o=n.x,i=n.y,a=e.clientX,l=e.clientY,c={};a<=o?c.right=t.left+t.width-o:c.left=o-t.left+9,l<=i?c.bottom=t.top+t.height-i:c.top=i-t.top+9,c.width=Math.abs(a-o),c.height=Math.abs(l-i),r.setState({draggingRectBounding:c},(function(){setTimeout((function(){r.__draggingRectBoundingUpdating=!1}),100)}))})),w()(y()(y()(r)),"selectCell",(function(e){var t=r.state.selectedCells,n=e.currentTarget.dataset.cellKey,o=e.currentTarget,i=o.colSpan,a=o.rowSpan,l=~t.indexOf(n)?[]:[n],c=l.length&&(i>1||a>1);r.setState({selectedCells:l,cellSplittable:c,cellsMergeable:!1,selectedRowIndex:-1,selectedColumnIndex:-1},r.renderCells)})),w()(y()(y()(r)),"selectColumn",(function(e){var t=_(e,"insert-column");if(!1===t)return!1;if(r.state.selectedColumnIndex===t)return r.setState({selectedCells:[],cellsMergeable:!1,cellSplittable:!1,selectedColumnIndex:-1},r.renderCells),!1;var n=A["getCellsInsideRect"](r.props.editorState,r.tableKey,[t,0],[t,r.state.rowToolHandlers.length-1]),o=n.cellKeys,i=n.spannedCellBlockKeys;r.setState({selectedColumnIndex:t,selectedRowIndex:-1,cellSplittable:!1,cellsMergeable:0===i.length,selectedCells:o},r.renderCells)})),w()(y()(y()(r)),"selectRow",(function(e){var t=_(e,"insert-row");if(!1===t)return!1;if(r.state.selectedRowIndex===t)return r.setState({selectedCells:[],cellsMergeable:!1,cellSplittable:!1,selectedRowIndex:-1},r.renderCells),!1;var n=A["getCellsInsideRect"](r.props.editorState,r.tableKey,[0,t],[r.state.colToolHandlers.length,t]),o=n.cellKeys,i=n.spannedCellBlockKeys;r.setState({selectedColumnIndex:-1,selectedRowIndex:t,cellSplittable:!1,cellsMergeable:0===i.length,selectedCells:o},r.renderCells)})),w()(y()(y()(r)),"insertColumn",(function(e){var t=_(e);if(!1===t)return!1;var n=r.state.colToolHandlers.map((function(e){return o()({},e,{width:0})}));r.setState({selectedCells:[],selectedRowIndex:-1,selectedColumnIndex:-1,colToolHandlers:n},(function(){r.props.editor.setValue(A["insertColumn"](r.props.editorState,r.tableKey,r.state.tableRows.length,t,n))}))})),w()(y()(y()(r)),"removeColumn",(function(){var t=r.state.selectedColumnIndex,n=r.state.colToolHandlers.map((function(e){return o()({},e,{width:0})}));t>=0&&r.setState({selectedColumnIndex:-1,colToolHandlers:n},(function(){r.props.editor.draftInstance.blur(),e((function(){var e=A["removeColumn"](r.props.editorState,r.tableKey,t,n);r.props.editor.setValue(r.validateContent(e))}))}))})),w()(y()(y()(r)),"insertRow",(function(e){var t=_(e);if(!1===t)return!1;r.setState({selectedCells:[],selectedRowIndex:-1,selectedColumnIndex:-1},(function(){r.props.editor.setValue(A["insertRow"](r.props.editorState,r.tableKey,r.colLength,t))}))})),w()(y()(y()(r)),"validateContent",(function(e){var t=e.toRAW(!0).blocks.length;return t?e:I.a.createEditorState(null)})),w()(y()(y()(r)),"removeRow",(function(){var t=r.state.selectedRowIndex;t>=0&&r.setState({selectedRowIndex:-1},(function(){r.props.editor.draftInstance.blur(),e((function(){var e=A["removeRow"](r.props.editorState,r.tableKey,t);r.props.editor.setValue(r.validateContent(e))}))}))})),w()(y()(y()(r)),"mergeCells",(function(){var e=r.state,t=e.selectedCells,n=e.cellsMergeable;n&&t.length>1&&r.setState({selectedCells:[t[0]],cellSplittable:!0,cellsMergeable:!1,selectedRowIndex:-1,selectedColumnIndex:-1},(function(){r.props.editor.setValue(A["mergeCells"](r.props.editorState,r.tableKey,t))}))})),w()(y()(y()(r)),"splitCell",(function(){var e=r.state,t=e.selectedCells,n=e.cellSplittable;n&&1===t.length&&r.setState({cellSplittable:!1,cellsMergeable:!1,selectedRowIndex:-1,selectedColumnIndex:-1},(function(){r.props.editor.setValue(A["splitCell"](r.props.editorState,r.tableKey,t[0]))}))})),w()(y()(y()(r)),"removeTable",(function(){r.props.editor.setValue(A["removeTable"](r.props.editorState,r.tableKey))})),r.language=T(t.editor),r}return m()(n,t),u()(n,[{key:"componentDidMount",value:function(){this.renderCells(this.props),document.body.addEventListener("keydown",this.handleKeyDown,!1),document.body.addEventListener("mousemove",this.handleMouseMove,!1),document.body.addEventListener("mouseup",this.handleMouseUp,!1)}},{key:"componentWillReceiveProps",value:function(e){this.renderCells(e)}},{key:"componentWillUnmount",value:function(){document.body.removeEventListener("keydown",this.handleKeyDown,!1),document.body.removeEventListener("mousemove",this.handleMouseMove,!1),document.body.removeEventListener("mouseup",this.handleMouseUp,!1)}},{key:"getResizeOffset",value:function(e){var t=0,n=0,r=this.state,o=r.colToolHandlers,i=r.defaultColWidth;return t=-1*((o[this.__colResizeIndex-1].width||i)-30),n=(o[this.__colResizeIndex].width||i)-30,e=e<t?t:e,e=e>n?n:e,e}},{key:"adjustToolbarHandlers",value:function(){var e=this,t=!1,n=a()(this.state.rowToolHandlers);Object.keys(this.__rowRefs).forEach((function(r){var o=e.__rowRefs[r]?e.__rowRefs[r].getBoundingClientRect().height:40;n[r]&&n[r].height!==o&&(t=!0,n[r].height=o)})),t&&this.setState({rowToolHandlers:n})}},{key:"updateCellsData",value:function(e){this.props.editor.setValue(A["updateAllTableBlocks"](this.props.editorState,this.tableKey,e))}},{key:"renderCells",value:function(e){var t=this;e=e||this.props,this.colLength=0;var n=[],r=[],o=[],i=e,a=i.editorState,l=i.children,c=this.__tableRef.getBoundingClientRect().width;this.__startCellKey=l[0].key,this.__endCellKey=l[l.length-1].key,l.forEach((function(e,i){var l=a.getCurrentContent().getBlockForKey(e.key),s=l.getData(),u=s.get("tableKey"),f=1*s.get("colIndex"),d=1*s.get("rowIndex"),p=s.get("colSpan"),h=s.get("rowSpan");if(t.tableKey=u,0===d){for(var g=s.get("colgroupData")||[],m=g.reduce((function(e,t){return e+1*t.width}),0),v=1*(s.get("colSpan")||1),y=t.colLength;y<t.colLength+v;y++)r[y]={key:e.key,width:t.state.colToolHandlers[y]?t.state.colToolHandlers[y].width:g[y]?g[y].width/m*c*1:0};t.colLength+=v}for(var b=x.a.cloneElement(e,{"data-active":!!~t.state.selectedCells.indexOf(e.key),"data-row-index":d,"data-col-index":f||(n[d]||[]).length,"data-cell-index":i,"data-cell-key":e.key,"data-table-key":u,className:"bf-table-cell ".concat(e.props.className),colSpan:p,rowSpan:h,onClick:t.selectCell,onContextMenu:t.handleCellContexrMenu,onMouseDown:t.handleCellMouseDown,onMouseUp:t.handleCellMouseUp,onMouseEnter:t.handleCellMouseEnter}),w=d;w<d+h;w++)o[w]={key:e.key,height:0},n[w]=n[w]||[];n[d]?n[d].push(b):n[d]=[b]}));var s=c/this.colLength;this.setState({tableRows:n,colToolHandlers:r,rowToolHandlers:o,defaultColWidth:s},this.adjustToolbarHandlers)}},{key:"createColGroup",value:function(){var e=this;return x.a.createElement("colgroup",null,this.state.colToolHandlers.map((function(t,n){return x.a.createElement("col",{ref:function(t){return e.__colRefs[n]=t},width:t.width||e.state.defaultColWidth,key:n})})))}},{key:"createColTools",value:function(){var e=this,t=this.state,n=t.colResizing,r=t.colResizeOffset,o=t.colToolHandlers,i=t.selectedColumnIndex,a=t.defaultColWidth;return x.a.createElement("div",{"data-active":i>=0,contentEditable:!1,"data-key":"bf-col-toolbar",className:"bf-table-col-tools".concat(n?" resizing":""),onMouseDown:this.handleToolbarMouseDown},o.map((function(t,o){return x.a.createElement("div",{key:o,"data-key":t.key,"data-index":o,"data-active":i==o,className:"bf-col-tool-handler",style:{width:t.width||a},onClick:e.selectColumn},e.props.columnResizable&&0!==o?x.a.createElement("div",{"data-index":o,"data-key":t.key,className:"bf-col-resizer".concat(n&&e.__colResizeIndex===o?" active":""),style:n&&e.__colResizeIndex===o?{transform:"translateX(".concat(r,"px)")}:null,onMouseDown:e.handleColResizerMouseDown}):null,x.a.createElement("div",{className:"bf-col-tool-left"},x.a.createElement("div",{"data-index":o,"data-role":"insert-column",className:"bf-insert-col-before",onClick:e.insertColumn},x.a.createElement("i",{className:"bfi-add"}))),x.a.createElement("div",{className:"bf-col-tool-center"},x.a.createElement("div",{"data-index":o,"data-role":"remove-col",className:"bf-remove-col",onClick:e.removeColumn},x.a.createElement("i",{className:"bfi-bin"}))),x.a.createElement("div",{className:"bf-col-tool-right"},x.a.createElement("div",{"data-index":o+1,"data-role":"insert-column",className:"bf-insert-col-after",onClick:e.insertColumn},x.a.createElement("i",{className:"bfi-add"}))))})))}},{key:"createRowTools",value:function(){var e=this,t=this.state,n=t.rowToolHandlers,r=t.selectedRowIndex;return x.a.createElement("div",{"data-active":r>=0,contentEditable:!1,className:"bf-table-row-tools",onMouseDown:this.handleToolbarMouseDown},n.map((function(t,n){return x.a.createElement("div",{key:n,"data-key":t.key,"data-index":n,"data-active":r==n,className:"bf-row-tool-handler",style:{height:t.height},onClick:e.selectRow},x.a.createElement("div",{className:"bf-row-tool-up"},x.a.createElement("div",{"data-index":n,"data-role":"insert-row",className:"bf-insert-row-before",onClick:e.insertRow},x.a.createElement("i",{className:"bfi-add"}))),x.a.createElement("div",{className:"bf-row-tool-center"},x.a.createElement("div",{"data-index":n,"data-role":"remove-row",className:"bf-remove-row",onClick:e.removeRow},x.a.createElement("i",{className:"bfi-bin"}))),x.a.createElement("div",{className:"bf-row-tool-down"},x.a.createElement("div",{"data-index":n+1,"data-role":"insert-row",className:"bf-insert-row-after",onClick:e.insertRow},x.a.createElement("i",{className:"bfi-add"}))))})))}},{key:"createContextMenu",value:function(){var e=this.state,t=e.cellsMergeable,n=e.cellSplittable,r=e.contextMenuPosition;return r?x.a.createElement("div",{className:"bf-table-context-menu",onContextMenu:this.handleContextMenuContextMenu,contentEditable:!1,style:r},x.a.createElement("div",{className:"context-menu-item",onMouseDown:this.mergeCells,"data-disabled":!t},this.language.mergeCells),x.a.createElement("div",{className:"context-menu-item",onMouseDown:this.splitCell,"data-disabled":!n},this.language.splitCell),x.a.createElement("div",{className:"context-menu-item",onMouseDown:this.removeTable},this.language.removeTable)):null}},{key:"render",value:function(){var e=this,t=this.state,n=t.tableRows,r=t.dragSelecting,o=t.draggingRectBounding,i=this.props.editor.props.readOnly;return x.a.createElement("div",{className:"bf-table-container"},x.a.createElement("table",{"data-role":"table",className:"bf-table".concat(r?" dragging":""),ref:function(t){return e.__tableRef=t},onMouseDown:this.handleTableMouseDown,onMouseUp:this.hanldeTableMouseUp,onMouseMove:this.handleTableMouseMove,onMouseLeave:this.handleTableMouseLeave},this.createColGroup(),x.a.createElement("tbody",null,n.map((function(t,n){return x.a.createElement("tr",{ref:function(t){return e.__rowRefs[n]=t},key:n},t)})))),r?x.a.createElement("div",{className:"dragging-rect",style:o}):null,!i&&this.createContextMenu(),!i&&this.createColTools(),!i&&this.createRowTools())}}]),n}(x.a.Component),N=function(e){return function(t){return S.a.Map({"table-cell":{element:"td",wrapper:x.a.createElement(M,{columnResizable:e.columnResizable,editor:t.editor,editorState:t.editorState})}})}}}).call(this,n(40).setImmediate)},function(e,t,n){"use strict";var r={rows:"\u884c\u6570",columns:"\u5217\u6570",cancel:"\u53d6\u6d88",insertTable:"\u63d2\u5165",removeTable:"\u5220\u9664\u8868\u683c",insertColumn:"\u63d2\u5165\u5217",removeColumn:"\u5220\u9664\u5217",insertRow:"\u63d2\u5165\u884c",removeRow:"\u5220\u9664\u884c",mergeCells:"\u5408\u5e76\u5355\u5143\u683c",splitCell:"\u62c6\u5206\u5355\u5143\u683c"},o={rows:"\u884c\u6570",columns:"\u5217\u6570",cancel:"\u53d6\u6d88",insertTable:"\u63d2\u5165",removeTable:"\u5220\u9664\u8868\u683c",insertColumn:"\u63d2\u5165\u5217",removeColumn:"\u5220\u9664\u5217",insertRow:"\u63d2\u5165\u884c",removeRow:"\u5220\u9664\u884c",mergeCells:"\u5408\u5e76\u5355\u5143\u683c",splitCell:"\u62c6\u5206\u5355\u5143\u683c"},i={rows:"Rows",columns:"Columns",cancel:"Cancel",insertTable:"Insert",removeTable:"Remove Table",insertColumn:"Insert Column",removeColumn:"Remove Column",insertRow:"Insert Row",removeRow:"Remove Row",mergeCells:"Merge Cells",splitCell:"Split Cell"},a={rows:"Wiersz",columns:"Kolumn\u0119",cancel:"Anuluj",insertTable:"Wstaw",removeTable:"Usu\u0144 tabel\u0119",insertColumn:"Wstaw kolumn\u0119",removeColumn:"Usu\u0144 kolumn\u0119",insertRow:"Wstaw wiersz",removeRow:"Usu\u0144 wiersz",mergeCells:"Scal kom\xf3rki",splitCell:"Podziel kom\xf3rk\u0119"},l={rows:"\ud589\uc218",columns:"\uc5f4\uc218",cancel:"\ucde8\uc18c",insertTable:"\uc0bd\uc785",removeTable:"\uc591\uc2dd\uc0ad\uc81c",insertColumn:"\uc5f4\uc0bd\uc785",removeColumn:"\uc5f4\uc0ad\uc81c",insertRow:"\ud589\uc0bd\uc785",removeRow:"\ud589\uc0ad\uc81c",mergeCells:"\ud589\uc0bd\uc785",splitCell:"\uc140\ubd84\ud560"},c={rows:"\u884c\u6570",columns:"\u5217\u6570",cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb",insertTable:"\u633f\u5165\u3059\u308b",removeTable:"\u30d5\u30a9\u30fc\u30e0\u3092\u524a\u9664",insertColumn:"\u5217\u3092\u633f\u5165",removeColumn:"\u5217\u3092\u524a\u9664",insertRow:"\u884c\u3092\u633f\u5165",removeRow:"\u884c\u3092\u524a\u9664",mergeCells:"\u30bb\u30eb\u3092\u7d50\u5408",splitCell:"\u5206\u5272\u30bb\u30eb"};t["a"]={zh:r,zhHant:o,en:i,pl:a,jpn:c,kr:l}},function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n},function(e,t){function n(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(c){o=!0,i=c}finally{try{r||null==l["return"]||l["return"]()}finally{if(o)throw i}}return n}}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e.exports=n},function(e,t,n){var r=n(43),o=n(44),i=n(45);function a(e){return r(e)||o(e)||i()}e.exports=a},function(e,t,n){},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},,,,,function(e,t){e.exports=o},,,,,,,,,,,function(e,t,n){(function(e){var r="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(41),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(24))},function(e,t,n){(function(e,t){(function(e,n){"use strict";if(!e.setImmediate){var r,o=1,i={},a=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?p():h()?g():e.MessageChannel?m():l&&"onreadystatechange"in l.createElement("script")?v():y(),c.setImmediate=s,c.clearImmediate=u}function s(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return i[o]=a,r(o),o++}function u(e){delete i[e]}function f(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r);break}}function d(e){if(a)setTimeout(d,0,e);else{var t=i[e];if(t){a=!0;try{f(t)}finally{u(e),a=!1}}}}function p(){r=function(e){t.nextTick((function(){d(e)}))}}function h(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}function g(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"===typeof n.data&&0===n.data.indexOf(t)&&d(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),r=function(n){e.postMessage(t+n,"*")}}function m(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;d(t)},r=function(t){e.port2.postMessage(t)}}function v(){var e=l.documentElement;r=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}function y(){r=function(e){setTimeout(d,0,e)}}})("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(this,n(24),n(42))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function c(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}})();var s,u=[],f=!1,d=-1;function p(){f&&s&&(f=!1,s.length?u=s.concat(u):d=-1,u.length&&h())}function h(){if(!f){var e=l(p);f=!0;var t=u.length;while(t){s=u,u=[];while(++d<t)s&&s[d].run();d=-1,t=u.length}s=null,f=!1,c(e)}}function g(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new g(e,t)),1!==u.length||f||l(h)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}e.exports=n},function(e,t){function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance")}e.exports=n},,function(e,t,n){"use strict";n.r(t);var r=n(5),o=n.n(r),i=(n(23),n(1)),a=n.n(i),l=n(6),c=n(3),s=n(7),u=function(e){return function(t,n,r){if(e&&"handled"===e(t,n,r))return"handled";if("backspace"===t){var o=n.getCurrentContent(),i=n.getSelection().getFocusOffset();if(0===i){var a=l["ContentUtils"].getSelectionBlock(n),c=o.getBlockBefore(a.getKey());if(!c)return"not-handled";if("table-cell"===c.getType()){var u=c.getData().get("tableKey");return r.setValue(s["removeTable"](n,u)),"handled"}}}var f=l["ContentUtils"].getSelectedBlocks(n);if(!f.find((function(e){return"table-cell"===e.getType()})))return"not-handled";var d=l["ContentUtils"].getSelectionBlock(n);if(["backspace","delete"].indexOf(t)>-1){if(f.length>1)return"handled";var p=d.getLength();if(0===p)return"handled";var h=n.getSelection().getFocusOffset();if("backspace"===t&&0===h)return"handled";if("delete"===t&&h===p)return"handled"}else if("tab"===t)return"handled"}},f=function(e){return function(t,n,r){if(e&&"handled"===e(t,n,r))return"handled";if(!l["ContentUtils"].selectionContainsBlockType(n,"table-cell"))return"not-handled";var o=l["ContentUtils"].getSelectionBlockType(n);return"table-cell"!==o?"not-handled":(r.setValue(c["RichUtils"].insertSoftNewline(n)),"handled")}},d=function(e){return function(t,n,r){if(e&&"handled"===e(t,n,r))return"handled";if(!l["ContentUtils"].selectionContainsBlockType(r.state.editorState,"table-cell"))return"not-handled";var o=l["ContentUtils"].getSelectionBlock(r.state.editorState);return"table-cell"===o.getType()?"handled":void 0}},p=function(e){return function(t,n){if(e&&"handled"===e(t,n))return"handled";if(!l["ContentUtils"].selectionContainsBlockType(n.state.editorState,"table-cell"))return"not-handled";var r=l["ContentUtils"].getSelectionBlock(n.state.editorState);return"table-cell"===r.getType()?"handled":void 0}},h=function(e){return function(t,n,r,o){if(e&&"handled"===e(t,n,r,o))return"handled";var i=l["ContentUtils"].getSelectedBlocks(o.state.editorState);return i.find((function(e){return"table-cell"===e.getType()}))?(1===i.length&&o.setValue(l["ContentUtils"].insertText(o.state.editorState,t)),"handled"):"not-handled"}},g=n(17),m=n(8),v=n.n(m),y=n(9),b=n.n(y),w=n(10),E=n.n(w),x=n(11),k=n.n(x),S=n(12),C=n.n(S),A=n(0),O=n.n(A),I=n(2),_=n.n(I),T=function(e){function t(){var e,n;v()(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=E()(this,(e=k()(t)).call.apply(e,[this].concat(o))),_()(O()(O()(n)),"state",{rows:3,columns:3}),_()(O()(O()(n)),"inputValue",(function(e){n.setState(_()({},e.target.name,e.target.value))})),_()(O()(O()(n)),"confirmInsert",(function(){n.props.onConfirm(n.state)})),_()(O()(O()(n)),"cancelInsert",(function(){n.props.onCancel()})),n}return C()(t,e),b()(t,[{key:"componentDidMount",value:function(){this.setState({rows:this.props.defaultRows,columns:this.props.defaultColumns})}},{key:"render",value:function(){return a.a.createElement("div",{className:"bf-table-dropdown-control"},a.a.createElement("input",{placeholder:this.props.language.columns,className:"input",type:"text",name:"columns",value:this.state.columns,onChange:this.inputValue}),a.a.createElement("label",{className:"label"},"x"),a.a.createElement("input",{placeholder:this.props.language.rows,className:"input",type:"text",name:"rows",value:this.state.rows,onChange:this.inputValue}),a.a.createElement("button",{disabled:!this.state.rows||!this.state.columns,className:"button primary",onClick:this.confirmInsert},this.props.language.insertTable))}}]),t}(a.a.Component),M=function(e){return e?Array.prototype.map.call(e.querySelectorAll("col"),(function(e){return{width:e.width?1*e.width:0}})):[]},N=function(e){return e&&e.colgroupData&&e.colgroupData.length?"<colgroup>".concat(e.colgroupData.map((function(e){return'<col width="'.concat(e.width,'"></col>')})).join(""),"</<colgroup>"):""},j=[],D=function(e,t){if("body"!==e&&t&&t.querySelector&&t.querySelector(":scope > table")&&t.parentNode.insertBefore(t.querySelector(":scope > table"),t.nextSibling),"table"===e&&(j=M(t.querySelector("colgroup")),Object(s["rebuildTableNode"])(t)),"th"===e||"td"===e){var n=t.dataset.tableKey,r=1*t.dataset.colIndex,o=1*t.dataset.rowIndex,i=t.colSpan,a=t.rowSpan,l={tableKey:n,colIndex:r,rowIndex:o,colSpan:i,rowSpan:a,colgroupData:j};return l.isHead="th"===e,t.style&&t.style.textAlign?l.textAlign=t.style.textAlign:t.align&&(l.textAlign=t.align),{type:"table-cell",data:l}}return null},R=function(e){return function(t,n){if("table-cell"!==n.type.toLowerCase())return null;var r=t.getBlockBefore(n.key),o=t.getBlockAfter(n.key),i=r?r.getType():null,a=r?r.getData().toJS():{},l=o?o.getType():null,c=o?o.getData().toJS():{},s="",u="",f="";return n.data.textAlign&&(f+=' style="text-align:'.concat(n.data.textAlign,';"')),s="table-cell"!==i?"<table ".concat(e,">").concat(N(n.data),"<tr><td").concat(f,' colSpan="').concat(n.data.colSpan,'" rowSpan="').concat(n.data.rowSpan,'">'):a.rowIndex!==n.data.rowIndex?"<tr><td".concat(f,' colSpan="').concat(n.data.colSpan,'" rowSpan="').concat(n.data.rowSpan,'">'):"<td".concat(f,' colSpan="').concat(n.data.colSpan,'" rowSpan="').concat(n.data.rowSpan,'">'),u="table-cell"!==l?"</td></tr></table>":c.rowIndex!==n.data.rowIndex?"</td></tr>":"</td>",i||(s="<p></p>"+s),l||(u+="<p></p>"),{start:s,end:u}}};n.d(t,"dropdownInstance",(function(){return L})),n.d(t,"TableUtils",(function(){return P})),l["ContentUtils"].registerStrictBlockType("table-cell");var L=null,B=function(e){return L=e},P=s;t["default"]=function(e){e=o()({defaultColumns:3,defaultRows:3,withDropdown:!1,columnResizable:!1,exportAttrString:""},e);var t=e,n=t.includeEditors,r=t.excludeEditors,i=t.defaultColumns,l=t.defaultRows,c=t.withDropdown,s=t.exportAttrString,m=c?{type:"control",includeEditors:n,excludeEditors:r,control:function(e){var t=Object(g["a"])(e.editor);return{key:"table",replace:"table",type:"dropdown",title:t.insertTable,text:a.a.createElement("i",{className:"bfi-table"}),showArrow:!1,autoHide:!0,ref:B,component:a.a.createElement(T,{language:t,defaultRows:l,defaultColumns:i,onConfirm:function(t){var n=t.columns,r=t.rows;e.editor.setValue(P.insertTable(e.editorState,n,r)),L&&L.hide()}})}}}:{type:"control",includeEditors:n,excludeEditors:r,control:function(e){return{key:"table",replace:"table",type:"button",title:Object(g["a"])(e.editor).insertTable,text:a.a.createElement("i",{className:"bfi-table"}),onClick:function(){e.editor.setValue(P.insertTable(e.editorState,i,l))}}}};return[m,{type:"prop-interception",includeEditors:n,excludeEditors:r,interceptor:function(e){return e.handleKeyCommand=u(e.handleKeyCommand),e.handleReturn=f(e.handleReturn),e.handleDroppedFiles=d(e.handleDroppedFiles),e.handlePastedFiles=p(e.handlePastedFiles),e.handlePastedText=h(e.handlePastedText),e}},{type:"block",name:"table-cell",includeEditors:n,excludeEditors:r,renderMap:Object(g["b"])(e),importer:D,exporter:R(s)}]}}])}))},"4vCz":function(e,t,n){"use strict";var r=n("TqRt"),o=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n("q1tI")),a=r(n("X2/X")),l=r(n("KQxl")),c=function(e,t){return i.createElement(l.default,Object.assign({},e,{ref:t,icon:a.default}))};c.displayName="PlusSquareOutlined";var s=i.forwardRef(c);t.default=s},"5RSi":function(e,t,n){"use strict";var r=n("Iq8E"),o=n("gWRK");function i(e,t,n,i,a){var l=o(e.getSelection());var c=r.decode(t),s=c.blockKey,u=e.getBlockTree(s).getIn([c.decoratorKey,"leaves",c.leafKey]),f=r.decode(i),d=f.blockKey,p=e.getBlockTree(d).getIn([f.decoratorKey,"leaves",f.leafKey]),h=u.get("start"),g=p.get("start"),m=u?h+n:null,v=p?g+a:null,y=l.getAnchorKey()===s&&l.getAnchorOffset()===m&&l.getFocusKey()===d&&l.getFocusOffset()===v;if(y)return l;var b=!1;if(s===d){var w=u.get("end"),E=p.get("end");b=g===h&&E===w?a<n:g<h}else{var x=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=x===d}return l.merge({anchorKey:s,anchorOffset:m,focusKey:d,focusOffset:v,isBackward:b})}e.exports=i},"5Uyt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("KmBX"));function o(e){return e&&e.__esModule?e:{default:e}}var i=r;t.default=i,e.exports=i},"5rEg":function(e,t,n){"use strict";var r=n("mh/l"),o=n("lSNA"),i=n.n(o),a=n("q1tI"),l=n("TSYQ"),c=n.n(l),s=n("H84U"),u=function(e){return a["createElement"](s["a"],null,(function(t){var n,r=t.getPrefixCls,o=t.direction,l=e.prefixCls,s=e.className,u=void 0===s?"":s,f=r("input-group",l),d=c()(f,(n={},i()(n,"".concat(f,"-lg"),"large"===e.size),i()(n,"".concat(f,"-sm"),"small"===e.size),i()(n,"".concat(f,"-compact"),e.compact),i()(n,"".concat(f,"-rtl"),"rtl"===o),n),u);return a["createElement"]("span",{className:d,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}))},f=u,d=n("pVnL"),p=n.n(d),h=n("c+Xe"),g=n("w6Tc"),m=n.n(g),v=n("2/Rp"),y=n("3Nzz"),b=n("0n0R"),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},E=a["forwardRef"]((function(e,t){var n=a["useRef"](null),o=function(t){var n=e.onChange,r=e.onSearch;t&&t.target&&"click"===t.type&&r&&r(t.target.value,t),n&&n(t)},l=function(e){var t;document.activeElement===(null===(t=n.current)||void 0===t?void 0:t.input)&&e.preventDefault()},u=function(t){var r,o=e.onSearch;o&&o(null===(r=n.current)||void 0===r?void 0:r.input.value,t)},f=function(t,n){var r,o=e.enterButton,i=e.disabled,c=e.addonAfter,s=e.loading,f="boolean"===typeof o||"undefined"===typeof o?a["createElement"](m.a,null):null,d="".concat(t,"-button"),h=o,g=h.type&&!0===h.type.__ANT_BUTTON;return r=g||"button"===h.type?Object(b["a"])(h,p()({onMouseDown:l,onClick:u,key:"enterButton"},g?{className:d,size:n}:{})):a["createElement"](v["a"],{className:d,type:o?"primary":void 0,size:n,disabled:i,key:"enterButton",onMouseDown:l,onClick:u,loading:s,icon:f},o),c?[r,Object(b["a"])(c,{key:"addonAfter"})]:r},d=function(l){var s=l.getPrefixCls,d=l.direction,g=e.prefixCls,m=e.inputPrefixCls,v=e.className,b=e.size,E=e.suffix,x=e.enterButton,k=w(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton"]);delete k.onSearch,delete k.loading;var S=s("input-search",g),C=s("input",m),A=function(e){var t;return c()(S,(t={},i()(t,"".concat(S,"-rtl"),"rtl"===d),i()(t,"".concat(S,"-").concat(e),!!e),i()(t,"".concat(S,"-with-button"),!!x),t),v)};return a["createElement"](y["b"].Consumer,null,(function(e){return a["createElement"](r["a"],p()({ref:Object(h["a"])(n,t),onPressEnter:u},k,{size:b||e,prefixCls:C,addonAfter:f(S,b||e),suffix:E,onChange:o,className:A(b||e)}))}))};return a["createElement"](s["a"],null,d)}));E.defaultProps={enterButton:!1},E.displayName="Search";var x=E,k=n("whJP"),S=n("J4zp"),C=n.n(S),A=n("6UMo"),O=n("qPY4"),I=n.n(O),_=n("fUL4"),T=n.n(_),M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},N={click:"onClick",hover:"onMouseOver"},j=a["forwardRef"]((function(e,t){var n=Object(a["useState"])(!1),o=C()(n,2),l=o[0],u=o[1],f=function(){var t=e.disabled;t||u(!l)},d=function(t){var n,r=e.action,o=e.iconRender,c=void 0===o?function(){return null}:o,s=N[r]||"",u=c(l),d=(n={},i()(n,s,f),i()(n,"className","".concat(t,"-icon")),i()(n,"key","passwordIcon"),i()(n,"onMouseDown",(function(e){e.preventDefault()})),i()(n,"onMouseUp",(function(e){e.preventDefault()})),n);return a["cloneElement"](a["isValidElement"](u)?u:a["createElement"]("span",null,u),d)},h=function(n){var o=n.getPrefixCls,s=e.className,u=e.prefixCls,f=e.inputPrefixCls,h=e.size,g=e.visibilityToggle,m=M(e,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),v=o("input",f),y=o("input-password",u),b=g&&d(y),w=c()(y,s,i()({},"".concat(y,"-").concat(h),!!h)),E=p()(p()({},Object(A["default"])(m,["suffix","iconRender"])),{type:l?"text":"password",className:w,prefixCls:v,suffix:b});return h&&(E.size=h),a["createElement"](r["a"],p()({ref:t},E))};return a["createElement"](s["a"],null,h)}));j.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(e){return e?a["createElement"](I.a,null):a["createElement"](T.a,null)}},j.displayName="Password";var D=j;r["a"].Group=f,r["a"].Search=x,r["a"].TextArea=k["a"],r["a"].Password=D;t["a"]=r["a"]},"6SEX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("qWUW"));function o(e){return e&&e.__esModule?e:{default:e}}var i=r;t.default=i,e.exports=i},"6Xrj":function(e,t,n){"use strict";var r=n("S5bm");function o(e,t){var n=i.get(e,t);return"auto"===n||"scroll"===n}var i={get:r,getScrollParent:function(e){if(!e)return null;var t=e.ownerDocument;while(e&&e!==t.body){if(o(e,"overflow")||o(e,"overflowY")||o(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=i},"6tyx":function(e,t,n){"use strict";var r=n("MgzW"),o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 l(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 c=n("rAV9"),s=n("0TRD"),u=n("jl1W"),f=n("Idtq"),d=n("ISR0"),p=n("1Jbx"),h=n("Hdlu"),g=n("3sOJ"),m=n("q1tI"),v=n("i8i4"),y=n("prOm"),b=n("6Xrj"),w=n("CYTE"),E=n("YVIB"),x=n("ohE5"),k=n("rJY1"),S=n("AyB5"),C=n("DeIs"),A=n("2NuI"),O=n("gWRK"),I=w.isBrowser("IE"),_=!I,T={edit:p,composite:u,drag:d,cut:null,render:null},M=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));return r.focus=function(e){var t=r.props.editorState,n=t.getSelection().getHasFocus(),o=v.findDOMNode(r.editor);if(o){var i=b.getScrollParent(o),a=e||C(i),l=a.x,c=a.y;o instanceof HTMLElement||A(!1),o.focus(),i===window?window.scrollTo(l,c):y.setTop(i,c),n||r.update(g.forceSelection(t,t.getSelection()))}},r.blur=function(){var e=v.findDOMNode(r.editor);e instanceof HTMLElement||A(!1),e.blur()},r.setMode=function(e){r._handler=T[e]},r.exitCurrentMode=function(){r.setMode("edit")},r.restoreEditorDOM=function(e){r.setState({contentsKey:r.state.contentsKey+1},(function(){r.focus(e)}))},r.setClipboard=function(e){r._clipboard=e},r.getClipboard=function(){return r._clipboard},r.update=function(e){r._latestEditorState=e,r.props.onChange(e)},r.onDragEnter=function(){r._dragCount++},r.onDragLeave=function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()},r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=n.editorKey||k(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=n.editorState,r._latestCommittedEditorState=n.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}return l(t,e),t.prototype._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&r(t,n)}}},t.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},t.prototype._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:O(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return m.createElement(h,e)}return null},t.prototype.render=function(){var e=this,t=this.props,n=t.blockRenderMap,r=t.blockRendererFn,i=t.blockStyleFn,a=t.customStyleFn,l=t.customStyleMap,c=t.editorState,u=t.readOnly,d=t.textAlignment,p=t.textDirectionality,h=E({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===d,"DraftEditor/alignRight":"right"===d,"DraftEditor/alignCenter":"center"===d}),g={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},v=this.props.role||"textbox",y="combobox"===v?!!this.props.ariaExpanded:null,b={blockRenderMap:n,blockRendererFn:r,blockStyleFn:i,customStyleMap:o({},s,l),customStyleFn:a,editorKey:this._editorKey,editorState:c,key:"contents"+this.state.contentsKey,textDirectionality:p};return m.createElement("div",{className:h},this._renderPlaceholder(),m.createElement("div",{className:E("DraftEditor/editorContainer"),ref:function(t){return e.editorContainer=t}},m.createElement("div",{"aria-activedescendant":u?null:this.props.ariaActiveDescendantID,"aria-autocomplete":u?null:this.props.ariaAutoComplete,"aria-controls":u?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":u?null:y,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:E({notranslate:!u,"public/DraftEditor/content":!0}),contentEditable:!u,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:function(t){return e.editor=t},role:u?null:v,spellCheck:_&&this.props.spellCheck,style:g,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},m.createElement(f,b))))},t.prototype.componentDidMount=function(){this.setMode("edit"),I&&document.execCommand("AutoUrlDetect",!1,!1)},t.prototype.componentWillUpdate=function(e){this._blockSelectEvents=!0,this._latestEditorState=e.editorState},t.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},t}(m.Component);M.defaultProps={blockRenderMap:c,blockRendererFn:x.thatReturnsNull,blockStyleFn:x.thatReturns(""),keyBindingFn:S,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},e.exports=M},"6xfc":function(e,t,n){(function(t,r){e.exports=r(n("q1tI"))})(window,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=20)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.compressImage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1280,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:800;return new Promise((function(r,o){var i=new Image;i.src=e,i.onerror=function(e){o(e)},i.onload=function(){try{var e=document.createElement("canvas"),i=this.width>t||this.height>n?this.width>this.height?t/this.width:n/this.height:1;e.width=this.width*i,e.height=this.height*i;var a=e.getContext("2d");a.drawImage(this,0,0,e.width,e.height),r({url:e.toDataURL("image/png",1),width:e.width,height:e.height})}catch(l){o(l)}}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.UniqueIndex=function(){return isNaN(window.__BRAFT_MM_UNIQUE_INDEX__)?window.__BRAFT_MM_UNIQUE_INDEX__=1:window.__BRAFT_MM_UNIQUE_INDEX__+=1,window.__BRAFT_MM_UNIQUE_INDEX__}},function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={remove:"Kald\u0131r",cancel:"\u0130ptal",confirm:"Onayla",insert:"Se\xe7ilenleri ekle",width:"Geni\u015flik",height:"Y\xfckseklik",image:"Resim",video:"G\xf6r\xfcnt\xfc",audio:"Ses",embed:"Nesne g\xf6m",caption:"Kitapl\u0131k",dragTip:"T\u0131kla ya da dosya s\xfcr\xfckle",dropTip:"Y\xfcklemek i\xe7in s\xfcr\xfckleyin",selectAll:"T\xfcm\xfcn\xfc se\xe7",deselect:"Se\xe7imi kald\u0131r",removeSelected:"Se\xe7ilenleri kald\u0131r",externalInputPlaceHolder:"Kaynak ad\u0131|Kaynak ba\u011flant\u0131s\u0131",externalInputTip:'Kaynak as\u0131n\u0131 ve ba\u011flant\u0131s\u0131n\u0131 "|" ile ay\u0131r\u0131n ve Enter\' a bas\u0131n.',addLocalFile:"Yerel' den ekle",addExternalSource:"Harici kaynaktan ekle",unnamedItem:"Adland\u0131r\u0131lmam\u0131\u015f giri\u015f",confirmInsert:"Se\xe7ilenleri ekle"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={remove:"\u524a\u9664\u3059\u308b",cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb",confirm:"\u78ba\u8a8d\u3059\u308b",insert:"\u9078\u629e\u3057\u305f\u30a2\u30a4\u30c6\u30e0\u3092\u633f\u5165",width:"\u5e45",height:"\u8eab\u9577",image:"\u7d75",video:"\u30d3\u30c7\u30aa",audio:"\u97f3\u58f0",embed:"\u57cb\u3081\u8fbc\u307f\u30e1\u30c7\u30a3\u30a2",caption:"\u30e1\u30c7\u30a3\u30a2\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc",dragTip:"\u30d5\u30a1\u30a4\u30eb\u3092\u3053\u306e\u4f4d\u7f6e\u307e\u3067\u30af\u30ea\u30c3\u30af\u307e\u305f\u306f\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059",dropTip:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30de\u30a6\u30b9\u3092\u653e\u3057\u307e\u3059",selectAll:"\u3059\u3079\u3066\u9078\u629e",deselect:"\u9078\u629e\u3092\u89e3\u9664",removeSelected:"\u9078\u629e\u3057\u305f\u30a2\u30a4\u30c6\u30e0\u3092\u524a\u9664",externalInputPlaceHolder:"\u30ea\u30bd\u30fc\u30b9\u540d|\u30ea\u30bd\u30fc\u30b9\u30a2\u30c9\u30ec\u30b9",externalInputTip:'\u30ea\u30bd\u30fc\u30b9\u540d\u3068\u30ea\u30bd\u30fc\u30b9\u30a2\u30c9\u30ec\u30b9\u306f "|"\u3067\u533a\u5207\u308a\u307e\u3059\u3002',addLocalFile:"\u30ed\u30fc\u30ab\u30eb\u30ea\u30bd\u30fc\u30b9\u3092\u8ffd\u52a0\u3059\u308b",addExternalSource:"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30ea\u30bd\u30fc\u30b9\u3092\u8ffd\u52a0\u3059\u308b",unnamedItem:"\u540d\u524d\u306e\u306a\u3044\u30a2\u30a4\u30c6\u30e0",confirmInsert:"\u9078\u629e\u3057\u305f\u30a2\u30a4\u30c6\u30e0\u3092\u633f\u5165"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={remove:"\uc0ad\uc81c",cancel:"\ucde8\uc18c",confirm:"\ud655\uc778",insert:"\uc120\ud0dd\ud55c\ud56d\ubaa9\uc0bd\uc785",width:"\ub108\ube44",height:"\ub192\uc774",image:"\uadf8\ub9bc",video:"\ube44\ub514\uc624",audio:"\uc624\ub514\uc624",embed:"\uc784\ubca0\ub514\ub4dc\ubbf8\ub514\uc5b4",caption:"\ubbf8\ub514\uc5b4\ub77c\uc774\ube0c\ub7ec\ub9ac",dragTip:"\ud30c\uc77c\uc744 \ud074\ub9ad\ud558\uac70\ub098\uc774 \uc9c0\uc810\uc73c\ub85c \ub4dc\ub798\uadf8\ud558\uc2ed\uc2dc\uc624.",dropTip:"\uc5c5\ub85c\ub4dc\ud558\ub824\uba74\ub9c8\uc6b0\uc2a4\ub97c\ub193\uc73c\uc2ed\uc2dc\uc624.",selectAll:"\ubaa8\ub450 \uc120\ud0dd",deselect:"\uc120\ud0dd \ucde8\uc18c",removeSelected:"\uc120\ud0dd\ud55c \ud56d\ubaa9 \uc0ad\uc81c",externalInputPlaceHolder:"\ub9ac\uc18c\uc2a4 \uc774\ub984 | \ub9ac\uc18c\uc2a4 \uc8fc\uc18c",externalInputTip:'\uc790\uc6d0 \uc774\ub984\uacfc \uc790\uc6d0 \uc8fc\uc18c\ub97c "|"',addLocalFile:"\ub85c\uceec \ub9ac\uc18c\uc2a4 \ucd94\uac00",addExternalSource:"\ub124\ud2b8\uc6cc\ud06c \ub9ac\uc18c\uc2a4 \ucd94\uac00",unnamedItem:"\uc774\ub984\uc5c6\ub294 \ud56d\ubaa9",confirmInsert:"\uc120\ud0dd\ud55c \ud56d\ubaa9 \uc0bd\uc785"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={remove:"Usu\u0144",cancel:"Anuluj",confirm:"Potwierd\u017a",insert:"Wstaw wybrane elementy",width:"Szeroko\u015b\u0107",height:"Wysoko\u015b\u0107",image:"Obraz",video:"Wideo",audio:"D\u017awi\u0119k",embed:"Obiekt",caption:"Biblioteka medi\xf3w",dragTip:"Kliknij lub przenie\u015b tu pliki",dropTip:"Upu\u015b\u0107 aby doda\u0107 plik",selectAll:"Zaznacz wszystko",deselect:"Odznacz",removeSelected:"Usu\u0144 wybrane",externalInputPlaceHolder:"Nazwa \u017ar\xf3d\u0142a|Adres URL",externalInputTip:'Oddziel nazw\u0119 i adres URL \u017ar\xf3d\u0142a z pomoc\u0105 "|", Potwierd\u017a Enter-em',addLocalFile:"Dodaj z komputera",addExternalSource:"Dodaj z Internetu",unnamedItem:"Bez nazwy",confirmInsert:"Dodaj wybrane elementy"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={remove:"\u5220\u9664",cancel:"\u53d6\u6d88",confirm:"\u786e\u8ba4",insert:"\u63d2\u5165\u6240\u9009\u9879\u76ee",width:"\u5bbd\u5ea6",height:"\u9ad8\u5ea6",image:"\u56fe\u7247",video:"\u89c6\u9891",audio:"\u97f3\u9891",embed:"\u5d4c\u5165\u5f0f\u5a92\u4f53",caption:"\u5a92\u4f53\u5e93",dragTip:"\u70b9\u51fb\u6216\u62d6\u52a8\u6587\u4ef6\u81f3\u6b64",dropTip:"\u653e\u5f00\u9f20\u6807\u4ee5\u4e0a\u4f20",selectAll:"\u9009\u62e9\u5168\u90e8",deselect:"\u53d6\u6d88\u9009\u62e9",removeSelected:"\u5220\u9664\u9009\u4e2d\u9879\u76ee",externalInputPlaceHolder:"\u8d44\u6e90\u540d\u79f0|\u8d44\u6e90\u5730\u5740",externalInputTip:"\u4f7f\u7528\u201c|\u201d\u5206\u9694\u8d44\u6e90\u540d\u79f0\u548c\u8d44\u6e90\u5730\u5740",addLocalFile:"\u6dfb\u52a0\u672c\u5730\u8d44\u6e90",addExternalSource:"\u6dfb\u52a0\u7f51\u7edc\u8d44\u6e90",unnamedItem:"\u672a\u547d\u540d\u9879\u76ee",confirmInsert:"\u63d2\u5165\u9009\u4e2d\u9879\u76ee"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={remove:"\u5220\u9664",cancel:"\u53d6\u6d88",confirm:"\u786e\u8ba4",insert:"\u63d2\u5165\u6240\u9009\u9879\u76ee",width:"\u5bbd\u5ea6",height:"\u9ad8\u5ea6",image:"\u56fe\u7247",video:"\u89c6\u9891",audio:"\u97f3\u9891",embed:"\u5d4c\u5165\u5f0f\u5a92\u4f53",caption:"\u5a92\u4f53\u5e93",dragTip:"\u70b9\u51fb\u6216\u62d6\u52a8\u6587\u4ef6\u81f3\u6b64",dropTip:"\u653e\u5f00\u9f20\u6807\u4ee5\u4e0a\u4f20",selectAll:"\u9009\u62e9\u5168\u90e8",deselect:"\u53d6\u6d88\u9009\u62e9",removeSelected:"\u5220\u9664\u9009\u4e2d\u9879\u76ee",externalInputPlaceHolder:"\u8d44\u6e90\u540d\u79f0|\u8d44\u6e90\u5730\u5740",externalInputTip:"\u4f7f\u7528\u201c|\u201d\u5206\u9694\u8d44\u6e90\u540d\u79f0\u548c\u8d44\u6e90\u5730\u5740",addLocalFile:"\u6dfb\u52a0\u672c\u5730\u8d44\u6e90",addExternalSource:"\u6dfb\u52a0\u7f51\u7edc\u8d44\u6e90",unnamedItem:"\u672a\u547d\u540d\u9879\u76ee",confirmInsert:"\u63d2\u5165\u9009\u4e2d\u9879\u76ee"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={remove:"Remove",cancel:"Cancel",confirm:"Confirm",insert:"Insert Selected Items",width:"Width",height:"Height",image:"Image",video:"Video",audio:"Audio",embed:"Embed",caption:"Media Library",dragTip:"Click Or Drag Files Here",dropTip:"Drop To Upload",selectAll:"Select All",deselect:"Deselect",removeSelected:"Remove Selected Items",externalInputPlaceHolder:"Source Name|Source URL",externalInputTip:'Split source name and source URL with "|", confirm by hit Enter.',addLocalFile:"Add from local",addExternalSource:"Add from Internet",unnamedItem:"Unnamed Item",confirmInsert:"Insert selected items"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),o=v(r),i=n(8),a=v(i),l=n(7),c=v(l),s=n(6),u=v(s),f=n(5),d=v(f),p=n(4),h=v(p),g=n(3),m=v(g);function v(e){return e&&e.__esModule?e:{default:e}}t.default={en:o.default,zh:a.default,"zh-hant":c.default,pl:u.default,kr:d.default,jpn:h.default,tr:m.default}},function(e,t){e.exports=function(e){var t="undefined"!==typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!==typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/"),o=e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}));return o}},function(e,t,n){var r={},o=function(e){var t;return function(){return"undefined"===typeof t&&(t=e.apply(this,arguments)),t}},i=o((function(){return window&&document&&document.all&&!window.atob})),a=function(e){return document.querySelector(e)},l=function(e){var t={};return function(e){if("function"===typeof e)return e();if("undefined"===typeof t[e]){var n=a.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(r){n=null}t[e]=n}return t[e]}}(),c=null,s=0,u=[],f=n(11);function d(e,t){for(var n=0;n<e.length;n++){var o=e[n],i=r[o.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](o.parts[a]);for(;a<o.parts.length;a++)i.parts.push(b(o.parts[a],t))}else{var l=[];for(a=0;a<o.parts.length;a++)l.push(b(o.parts[a],t));r[o.id]={id:o.id,refs:1,parts:l}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],l=i[1],c=i[2],s=i[3],u={css:l,media:c,sourceMap:s};r[a]?r[a].parts.push(u):n.push(r[a]={id:a,parts:[u]})}return n}function h(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!==typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function m(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),y(t,e.attrs),h(e,t),t}function v(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),h(e,t),t}function y(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function b(e,t){var n,r,o,i;if(t.transform&&e.css){if(i=t.transform(e.css),!i)return function(){};e.css=i}if(t.singleton){var a=s++;n=c||(c=m(t)),r=E.bind(null,n,a,!1),o=E.bind(null,n,a,!0)}else e.sourceMap&&"function"===typeof URL&&"function"===typeof URL.createObjectURL&&"function"===typeof URL.revokeObjectURL&&"function"===typeof Blob&&"function"===typeof btoa?(n=v(t),r=k.bind(null,n,t),o=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(t),r=x.bind(null,n),o=function(){g(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()}}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=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return d(n,t),function(e){for(var o=[],i=0;i<n.length;i++){var a=n[i],l=r[a.id];l.refs--,o.push(l)}if(e){var c=p(e,t);d(c,t)}for(i=0;i<o.length;i++){l=o[i];if(0===l.refs){for(var s=0;s<l.parts.length;s++)l.parts[s]();delete r[l.id]}}}};var w=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function E(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 x(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function k(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),l=e.href;e.href=URL.createObjectURL(a),l&&URL.revokeObjectURL(l)}},function(e,t){e.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBsIAAAC8AAAAYGNtYXBWNv1DAAABHAAAANRnYXNwAAAAEAAAAfAAAAAIZ2x5ZtZLKCQAAAH4AAAPTGhlYWQT25ZrAAARRAAAADZoaGVhB8ID3gAAEXwAAAAkaG10eGoAC+sAABGgAAAAdGxvY2EqcC3wAAASFAAAADxtYXhwACcAewAAElAAAAAgbmFtZZlKCfsAABJwAAABhnBvc3QAAwAAAAAT+AAAACAAAwPsAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADprAPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAuAAAACoAIAAEAAoAAQAg4DTgN+BC4V3iQ+gN6Mno/ukD6QjpD+kT6RjpHOkm6YDprP/9//8AAAAAACDgNOA34ELhXeJD6A3oyej+6QHpB+kO6RHpFukc6SbpgOms//3//wAB/+Mf0B/OH8Qeqh3FF/wXQRcNFwsXCBcDFwIXABb9FvQWmxZwAAMAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAIBAACBAwAC1QADAAcAAAEzESMhETMRAlaqqv6qqgLV/awCVP2sAAABAVYAgQMqAtUAAgAACQIBVgHU/iwC1f7W/tYAAQCqACsDVgOBAC4AAAEyFx4BFxYVFAcOAQcGIyInLgEnJjUzFBceARcWMzI3PgE3NjU0Jy4BJyYjFSc3AgBGPz5dGxsbG10+PkdGPz5dGxtWFBRFLy81NS8vRRQUFBRFLy811tYC1RsbXD4+Rkc+Pl0bGxsbXT4+RzYuL0UUFBQURS8uNjUvLkYUFKzW1gAAAwBWAAEDqgNVABsANwA7AAAlMjc+ATc2NTQnLgEnJiMiBw4BBwYVFBceARcWEzIXHgEXFhUUBw4BBwYjIicuAScmNTQ3PgE3NgMhFSECAEY/Pl0bGxsbXT4+R0Y/Pl0bGxsbXT4+R1hOTnMiISEic05NWVhOTnMiISEic05NfQGs/lRVGxtdPj5HRj4/XRsbGxtdPz5GRz4+XRsbAwAiIXRNTlhZTU50ISEhIXROTVlYTk10ISL+gFQAAAABAKoAAQOAA1UAHwAAATMRIREUBisBIiY1ESE1IxUUBiMhIiY9ATQ2MyEyFhUDAID+qhgSVhIYAaoqGBL+ABIaGhICABIYAwH+qv6AEhgYEgHWqioSGhoSqhIYGBIAAAABAIAAAwOAA1UAMwAAJTIWFRQGIyImNTwBNyUOASMiJjU0NjMyFhclLgE1NDYzMhYVFAYjIiYnBR4BFRQGBwU+AQMAM0lJMzNJAv7SEiwaNExLNRktEgEsAQNLNTRMSzUZLRL+1AEDAgIBMBAs/UkzM0tLMwcPBrAREUs1NEwSEK4HDwg0TEw0NUsTEbAIDwcIDwewDxEAAAMAVgArA6oDVQACAAYAGgAALQI3FTM1FyERFAYjISImNREhNTQ2OwEyFhUBgAFA/sAqrFQBADAk/VQkMAEAMCSsJDCr1qrWVlZW/dYkMjIkAipWJDAwJAAEAIAAgQOAAtUAAwAHAAsADwAAEyEVIRU1IRUBNSEVJTUhFYADAP0AAwD9AAMA/QADAALVVKxWVv6sVFSqVlYABABVACIDqwN3AAQAIQA9AEIAACUzESMREyIHDgEHBhUUFx4BFxYzMjc+ATc2NTQnLgEnJiMRIicuAScmNTQ3PgE3NjMyFx4BFxYVFAcOAQcGAzM1IxUB1VZWK1hOTnQhIiIhdE5OWFhOTnQhIiIhdE5OWEc+Pl0aGxsaXT4+R0c+Pl0aGxsaXT4+clZW9wEA/wACgCEic05OWFlNTnQhIiIhdE5NWVhOTnMiIf0AGxtdPj5HRj8+XBsbGxtcPj9GRz4+XRsbAdZVVQAABABVACIDqwN3AAQAIQA9AFIAACUzNSMVEyIHDgEHBhUUFx4BFxYzMjc+ATc2NTQnLgEnJiMRIicuAScmNTQ3PgE3NjMyFx4BFxYVFAcOAQcGAyIGFTM0NjMyFhUUBhUzNDY1NCYjAdVWVitYTk50ISIiIXROTlhYTk50ISIiIXROTlhHPj5dGhsbGl0+PkdHPj5dGhsbGl0+PkdHZFYyIyMygFaAZEfNVVUCqiEic05OWFlNTnQhIiIhdE5NWVhOTnMiIf0AGxtdPj5HRj8+XBsbGxtcPj9GRz4+XRsbAlZkRyMyMiNALWhIPVBHZAAAAgBVAM0DqwLNAAUACwAAASc3JwkBJTcnNwkBAZHExDz/AAEAARrExDwBAP8AAQnExDz/AP8APMTEPP8A/wAAAAMAVQAiA6sDdwAcACsAOgAAASIHDgEHBhUUFx4BFxYzMjc+ATc2NTQnLgEnJiMBNDc+ATc2MzIWFwEuATUBIiYnAR4BFRQHDgEHBiMCAFhOTXQiIiIidE1OWFhOTXQiIiIidE1OWP6rGxtcPj9GOmot/iIjJQFVOmotAd4jJRsbXD4/RgN3ISJ0Tk1YWE5OdCEiIiF0Tk5YWE1OdCIh/lZGPj5dGxslI/4iLWo6/qomIwHeLWs5Rz4+XRsbAAAAAAMAgADNA4ACzQADAAcACwAANyE1ITUhNSE1FSE1gAMA/QADAP0AAwDNVYBV1lZWAAEAZAAlA1wDXABEAAABERQHBgcGBwYjIicmJyYnJjU0NzY3Njc2MzIXEQURFAcGBwYHBiMiJyYnJicmNTQ3Njc2NzYzMhcRNDc2NyU2MzIXFhUDXBERGhkaGRYXGRoZGhEREREaGRoZFzMr/oURERoZGhkXFhkaGRoRERERGhkaGRY0KwoJDwGbBggUDg4DLP3WGBQTCgsFBQUFCwoTFBgZExQKCwUFEwEKdv6iGRMTCwsFBQUFCwsTExkZExMLCgYFEwHeDw0MBX8CDg4UAAAEAHUAQgOJA1YALwA8AGIAeAAAAS4BBw4BJy4BJy4BBwYiJyYGBw4BJyYGBxQVHAEVFBUeATM2MzoBMzIzMjY3PAE1BSImNTQ2MzIWFRQGJyUqASM8ATU6ATMUFhUUFxwBFQYHFAYHDgEnLgE3PgE3OgEzPAE1BT4BNzoBMxQWBw4BJy4BNz4BNzoBMwKBARkZChUJCxcEFEMvBw8HHikMDCgdFyILCxgWNDM0ZzQzNBsaAf77L0FBMDBAQDEBtx8/IDRoNgEBAQENCxVFICIlBgc3JAcNCf7OAQICEyQTAwUFSiMmOAIBOiYHEAkCzhcaAQEBAwIJCC0fCAEBBhgbGxYGBBMVKCgpUCgoKQ8VARcaSpRK7T8uMEA/LzBAARchPyAKEgkzMjNmMjMzFCwRIBAOD0IjJjQDN2053QwUCi5dLSUsBgVEJig+BAAAAAAEAAAAAAQAA0AAGwAzAE8AUwAAARQXHgEXFjMyNz4BNzY1NCcuAScmIyIHDgEHBgEjLgEjISIGByMiBhURFBYzITI2NRE0JgEiJy4BJyY1NDc+ATc2MzIXHgEXFhUUBw4BBwYBIzUzATAQETgmJisrJiY4ERAQETgmJisrJiY4ERACkOAMJDD/ADAkDOAaJiYaA4AaJib+Jjs0M00XFhYXTTM0Ozs0M00XFhYXTTM0AYWAgAFgKyYmOBEQEBE4JiYrKyYmOBEQEBE4JiYBNTBQUDAmGv3AGiYmGgJAGib9hBYXTTM0Ozs0M00XFhYXTTM0Ozs0M00XFgG8QAABAJEAogOAAt4ABgAAAScHFwEnAQGAszzvAgA8/jwBGrM87wIAPP48AAAAAAEA4gCAAx4CyQAmAAABNzY0JyYiDwEnJiIHBhQfAQcGFBceATMyNj8BFx4BMzI2NzY0LwECPOINDQwkDOLiDCQMDQ3i4g0NBhAICBAG4uIGEAgIEAYNDeIBq+IMIw0MDOLiDAwNIwzi4g0jDAcGBgfh4QcGBgcMIw3iAAACAIAAYwNqA00AIgAvAAABIyc+ATU0Jy4BJyYjIgcOAQcGFRQXHgEXFjMyNjcXFRc3JyEiJjU0NjMyFhUUBiMClSEMHyQWFkszMjo5MzJLFhYWFksyMzk0XCUL1j/V/wBPcXFPUHBwUAF3DCRdMzoyM0sWFhYWSzMyOjkyM0sWFiQfDCLUP9VxT1BwcFBPcQACAGQAIgOcA3cATQBZAAABPgE1NCYnNz4BLwEuAQ8BLgEvAS4BKwEiBg8BDgEHJyYGDwEGFh8BDgEVFBYXBw4BHwEeAT8BHgEfAR4BOwEyNj8BPgE3FxY2PwE2JicFIiY1NDYzMhYVFAYDPQECAgFaBgMEVQQPB2oRJBQQAQwIqggMARAUJBFqBw8EVQQDBloBAgIBWgYDBFUEDwdqESQUEAEMCKoIDAEQFCQRagcPBFUEAwb+aT5XVz4+V1cBowoVCwsUC0YFDweUBwUDKgwVCHIHCgoHcggVDCoDBQeUBw8FRgsVCgsVCkYFEAeTBwUCKw0VCHEICgoIcQgVDSsDBgeTBxAFJlg+PldXPj5YAAEA1QCiAysC9wALAAABIREjESE1IREzESEDK/8AVv8AAQBWAQABov8AAQBVAQD/AAAAAAAJAAAAQAQAA0AAAwAHAAsADwATABcAGwAfACIAABMRIREBIzUzNSM1MzUjNTMBIREhEyM1MzUjNTM1IzUzBRElAAQA/MCAgICAgIACQP4AAgDAgICAgICA/cABAANA/QADAP1AgICAgID9gAKA/YCAgICAgID+gMAAAAAABgBA/8ADwAPAABkAIQA5AEcAVQBjAAABLgEnLgEnLgEjISIGFREUFjMhMjY1ETQmJyceARcjNR4BExQGIyEiJjURNDYzMDM6ATMyMRUUFjsBAyEiJjU0NjMhMhYVFAYnISImNTQ2MyEyFhUUBichIiY1NDYzITIWFRQGA5YRLRkaMxcnKQv+ECEvLyEC4CEvDhyFFyUNmhEphgkH/SAHCQkHTU66TU4TDeCg/kANExMNAcANExMN/kANExMNAcANExMN/kANExMNAcANExMC2xczGhktERwOLyH8oCEvLyECcAspJzYXKRGaDSX86AcJCQcDYAcJ4A0T/gATDQ0TEw0NE4ATDQ0TEw0NE4ATDQ0TEw0NEwAAAAcAAP/ABAADRgALABcAIwAvADsARwBTAAAlNDYzMhYVFAYjIiYBNDYzMhYVFAYjIiYlNDYzMhYVFAYjIiYBNDYzMhYVFAYjIiYBNDYzMhYVFAYjIiYlNDYzMhYVFAYjIiYBNDYzMhYVFAYjIiYBoDgoKDg4KCg4/mA4KCg4OCgoOANAOCgoODgoKDj9OjgoKDg4KCg4Akw4KCg4OCgoOP20OCgoODgoKDgCTDgoKDg4KCg4ICg4OCgoODgByCg4OCgoODgoKDg4KCg4OAFOKDg4KCg4OP3cKDg4KCg4OCgoODgoKDg4AnQoODgoKDg4AAUAfAAAA4QDVQAiAC0AOABGAFQAAAEjNTQmKwEiBh0BIyIGFRQWOwERFBYzITI2NREzMjY1NCYjJTQ2OwEyFh0BIzUBFAYjISImNREhEQEiBh0BFBYzMjY9ATQmMyIGHQEUFjMyNj0BNCYDXZtEMJwwRJsQFxcQJ0QwAYQwRCcQFxcQ/i8WEJwQFugBXRcQ/nwQFwHS/skQFhYQEBcXjBAXFxAQFhYCuicwREQwJxcQEBb+BzBERDAB+RYQEBcnEBcXECcn/ZMQFhYQAfn+BwGEFxDoEBcXEOgQFxcQ6BAXFxDoEBcAAAABAAAAAQAANAmLwV8PPPUACwQAAAAAANheKPcAAAAA2F4o9wAA/8AEAAPAAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAQAAAEAAAAAAAAAAAAAAAAAAAAdBAAAAAAAAAAAAAAAAgAAAAQAAQAEAAFWBAAAqgQAAFYEAACqBAAAgAQAAFYEAACABAAAVQQAAFUEAABVBAAAVQQAAIAEAABkBAAAdQQAAAAEAACRBAAA4gQAAIAEAABkBAAA1QQAAAAEAABABAAAAAQAAHwAAAAAAAoAFAAeADIAQACIAOYBFgFiAY4BrgIUAowCrAMMAyQDjAQ0BLIEyAUGBU4F1gXwBi4GugcyB6YAAQAAAB0AeQAJAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},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),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function r(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return"/*# "+n+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"===typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t){e.exports=function(e){return"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t,n){var r=n(15);t=e.exports=n(14)(!1),t.push([e.i,"@font-face {\n  font-family: 'bf-icons';\n  src: url("+r(n(13))+') format("truetype");\n  font-weight: normal;\n  font-style: normal; }\n\n.braft-finder [class^="braft-icon-"], .braft-finder [class*=" braft-icon-"] {\n  /* use !important to prevent issues with browser extensions that change fonts */\n  font-family: \'bf-icons\' !important;\n  font-style: normal;\n  font-weight: normal;\n  font-variant: normal;\n  text-transform: none;\n  /* Better Font Rendering =========== */\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale; }\n\n.braft-finder .braft-icon-code:before {\n  content: "\\E903"; }\n\n.braft-finder .braft-icon-pause:before {\n  content: "\\E034"; }\n\n.braft-finder .braft-icon-play_arrow:before {\n  content: "\\E037"; }\n\n.braft-finder .braft-icon-bin:before {\n  content: "\\E9AC"; }\n\n.braft-finder .braft-icon-replay:before {\n  content: "\\E042"; }\n\n.braft-finder .braft-icon-close:before {\n  content: "\\E913"; }\n\n.braft-finder .braft-icon-music:before {\n  content: "\\E90E"; }\n\n.braft-finder .braft-icon-camera:before {\n  content: "\\E911"; }\n\n.braft-finder .braft-icon-file-text:before {\n  content: "\\E926"; }\n\n.braft-finder .braft-icon-film:before {\n  content: "\\E91C"; }\n\n.braft-finder .braft-icon-paste:before {\n  content: "\\E92D"; }\n\n.braft-finder .braft-icon-spinner:before {\n  content: "\\E980"; }\n\n.braft-finder .braft-icon-media:before {\n  content: "\\E90F"; }\n\n.braft-finder .braft-icon-add:before {\n  content: "\\E918"; }\n\n.braft-finder .braft-icon-done:before {\n  content: "\\E912"; }\n\n.braft-finder .braft-icon-drop-down:before {\n  content: "\\E906"; }\n\n.braft-finder .braft-icon-drop-up:before {\n  content: "\\E909"; }\n\n.braft-finder .braft-icon-help:before {\n  content: "\\E902"; }\n\n.braft-finder .braft-icon-info:before {\n  content: "\\E901"; }\n\n.braft-finder .braft-icon-menu:before {\n  content: "\\E908"; }\n\n.pull-left {\n  float: left; }\n\n.pull-right {\n  float: right; }\n\n.braft-finder .bf-uploader {\n  position: relative;\n  height: 370px;\n  margin: 0; }\n  .braft-finder .bf-uploader.draging .bf-list-wrap,\n  .braft-finder .bf-uploader.draging .bf-add-external {\n    pointer-events: none; }\n  .braft-finder .bf-uploader input::-webkit-input-placeholder {\n    color: #ccc; }\n  .braft-finder .bf-uploader input::-moz-placeholder {\n    color: #ccc; }\n  .braft-finder .bf-uploader input::-ms-input-placeholder {\n    color: #ccc; }\n\n.braft-finder .bf-list-wrap {\n  position: relative;\n  height: 370px; }\n\n.braft-finder .bf-list-tools {\n  z-index: 1;\n  position: absolute;\n  top: 0;\n  right: 0;\n  left: 0;\n  height: 20px;\n  padding: 0 15px;\n  background-color: #fff; }\n  .braft-finder .bf-list-tools span {\n    height: 26px;\n    font-size: 12px;\n    line-height: 20px;\n    cursor: pointer;\n    user-select: none; }\n    .braft-finder .bf-list-tools span[disabled] {\n      opacity: .3;\n      pointer-events: none; }\n  .braft-finder .bf-list-tools .bf-select-all,\n  .braft-finder .bf-list-tools .bf-deselect-all {\n    float: left;\n    margin-right: 5px;\n    color: #bbb; }\n    .braft-finder .bf-list-tools .bf-select-all:hover,\n    .braft-finder .bf-list-tools .bf-deselect-all:hover {\n      color: #3498db; }\n  .braft-finder .bf-list-tools .bf-remove-selected {\n    float: right;\n    color: #e74c3c; }\n    .braft-finder .bf-list-tools .bf-remove-selected:hover {\n      color: #c92e1e; }\n\n.braft-finder .bf-list {\n  position: absolute;\n  z-index: 1;\n  top: 30px;\n  right: 0;\n  left: 0;\n  bottom: 0;\n  margin: 0;\n  padding: 0 10px;\n  list-style: none;\n  overflow: auto; }\n  .braft-finder .bf-list::-webkit-scrollbar {\n    width: 5px;\n    height: 5px;\n    background-color: #fff; }\n  .braft-finder .bf-list::-webkit-scrollbar-track {\n    background-color: #fff; }\n  .braft-finder .bf-list::-webkit-scrollbar-thumb {\n    background-color: rgba(0, 0, 0, 0.1); }\n\n.braft-finder .bf-item,\n.braft-finder .bf-add-item {\n  position: relative;\n  display: block;\n  float: left;\n  width: 113px;\n  height: 113px;\n  margin: 5px;\n  overflow: hidden;\n  border-radius: 3px; }\n\n.braft-finder .bf-item.uploading {\n  pointer-events: none; }\n\n.braft-finder .bf-item.error::before {\n  display: block;\n  content: "\\E901"; }\n\n.braft-finder .bf-item.error::after {\n  position: absolute;\n  z-index: 1;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-color: rgba(231, 76, 60, 0.8);\n  content: \'\'; }\n\n.braft-finder .bf-item.error:hover::after {\n  background-color: rgba(231, 76, 60, 0.9); }\n\n.braft-finder .bf-item.error .bf-item-uploading {\n  display: none; }\n\n.braft-finder .bf-add-item {\n  background-color: #ecedef;\n  color: #999; }\n  .braft-finder .bf-add-item:hover {\n    background-color: #e1e2e3; }\n  .braft-finder .bf-add-item i {\n    display: block;\n    width: 113px;\n    height: 113px;\n    font-size: 48px;\n    line-height: 113px;\n    text-align: center; }\n  .braft-finder .bf-add-item input {\n    position: absolute;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    opacity: 0;\n    cursor: pointer; }\n\n.braft-finder .bf-item::before {\n  display: none;\n  position: absolute;\n  z-index: 2;\n  top: 0;\n  left: 0;\n  width: 113px;\n  height: 113px;\n  color: #fff;\n  font-size: 48px;\n  font-family: \'bf-icons\';\n  line-height: 113px;\n  text-align: center; }\n\n.braft-finder .bf-item::after {\n  position: absolute;\n  z-index: 1;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-color: rgba(52, 152, 219, 0);\n  content: \'\'; }\n\n.braft-finder .bf-item:hover::after {\n  background-color: rgba(52, 152, 219, 0.3); }\n\n.braft-finder .bf-item:hover .bf-item-remove {\n  display: block; }\n\n.braft-finder .bf-item.active::before {\n  display: block;\n  content: "\\E912"; }\n\n.braft-finder .bf-item.active::after {\n  background-color: rgba(52, 152, 219, 0.6); }\n\n.braft-finder .bf-item.active:hover::after {\n  background-color: rgba(52, 152, 219, 0.8); }\n\n.braft-finder .bf-item.active:hover .bf-item-remove {\n  display: none; }\n\n.braft-finder .bf-item-uploading {\n  box-sizing: border-box;\n  position: absolute;\n  z-index: 3;\n  top: 52px;\n  left: 10px;\n  width: 93px;\n  height: 10px;\n  overflow: hidden;\n  background-color: rgba(255, 255, 255, 0.3);\n  border-radius: 5px;\n  box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.5); }\n\n.braft-finder .bf-item-uploading-bar {\n  height: 10px;\n  background-color: #3498db;\n  border-radius: 0; }\n\n.braft-finder .bf-item-remove {\n  display: none;\n  position: absolute;\n  z-index: 2;\n  top: 0;\n  right: 0;\n  width: 28px;\n  height: 28px;\n  color: #fff;\n  font-size: 18px;\n  line-height: 28px;\n  text-align: center;\n  cursor: pointer; }\n  .braft-finder .bf-item-remove:hover {\n    color: #e74c3c; }\n\n.braft-finder .bf-item-title {\n  display: none;\n  box-sizing: border-box;\n  position: absolute;\n  z-index: 2;\n  bottom: 0;\n  left: 0;\n  width: 100%;\n  height: 40px;\n  padding: 0 5px;\n  overflow: hidden;\n  background-image: linear-gradient(rgba(0, 0, 0, 0), black);\n  color: #fff;\n  font-size: 12px;\n  line-height: 55px;\n  text-align: center;\n  text-overflow: ellipsis;\n  white-space: nowrap; }\n\n.braft-finder .bf-image {\n  width: 100%;\n  height: 100%;\n  background-color: #eee;\n  user-select: none; }\n  .braft-finder .bf-image img {\n    display: block;\n    width: 100%;\n    height: 100%;\n    object-fit: cover; }\n\n.braft-finder .bf-video {\n  background-color: #8e44ad; }\n\n.braft-finder .bf-audio {\n  background-color: #f39c12; }\n\n.braft-finder .bf-embed {\n  background-color: #f1c40f; }\n\n.braft-finder .bf-icon {\n  display: block;\n  width: 113px;\n  height: 113px;\n  overflow: hidden;\n  color: #fff;\n  text-align: center;\n  text-decoration: none; }\n  .braft-finder .bf-icon i, .braft-finder .bf-icon span {\n    display: block; }\n  .braft-finder .bf-icon i {\n    margin-top: 35px;\n    font-size: 24px; }\n  .braft-finder .bf-icon span {\n    width: 103px;\n    margin: 10px auto;\n    overflow: hidden;\n    font-size: 12px;\n    text-overflow: ellipsis;\n    white-space: nowrap; }\n\n.braft-finder .bf-drag-uploader {\n  box-sizing: border-box;\n  position: absolute;\n  z-index: 2;\n  top: 0;\n  right: 15px;\n  left: 15px;\n  height: 100%;\n  background-color: #fff;\n  border: dashed 1px #bbb;\n  text-align: center;\n  opacity: 0;\n  pointer-events: none; }\n  .braft-finder .bf-drag-uploader:hover, .braft-finder .bf-drag-uploader.draging {\n    background-color: #f1f2f3; }\n  .braft-finder .bf-drag-uploader.active {\n    opacity: 1;\n    pointer-events: auto; }\n\n.braft-finder .bf-uploader-buttons {\n  height: 370px;\n  margin: auto;\n  text-align: center; }\n\n.braft-finder .bf-drag-tip {\n  display: inline-block;\n  margin-top: 150px;\n  color: #ccc;\n  text-align: center;\n  font-size: 28px;\n  font-weight: normal;\n  line-height: 40px; }\n  .braft-finder .bf-drag-tip input {\n    position: absolute;\n    top: 0;\n    right: 0;\n    bottom: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    opacity: 0;\n    color: #fff;\n    text-indent: -100px;\n    cursor: pointer; }\n\n.braft-finder .bf-manager-footer {\n  height: 36px;\n  margin: 10px 0;\n  padding: 0 15px; }\n  .braft-finder .bf-manager-footer .button {\n    float: right;\n    height: 36px;\n    margin-left: 5px;\n    padding: 0 35px;\n    font-size: 12px;\n    font-weight: 700;\n    border: none;\n    border-radius: 3px;\n    cursor: pointer; }\n  .braft-finder .bf-manager-footer .button-insert {\n    color: #fff;\n    background-color: #3498db; }\n    .braft-finder .bf-manager-footer .button-insert:hover {\n      background-color: #2084c7; }\n    .braft-finder .bf-manager-footer .button-insert[disabled] {\n      opacity: .3;\n      pointer-events: none;\n      filter: grayscale(0.4); }\n  .braft-finder .bf-manager-footer .button-cancel {\n    color: #999;\n    background-color: #e8e8e9; }\n    .braft-finder .bf-manager-footer .button-cancel:hover {\n      background-color: #d8d8d9; }\n\n.braft-finder .bf-toggle-external-form {\n  color: #666;\n  font-size: 12px;\n  line-height: 36px; }\n  .braft-finder .bf-toggle-external-form span {\n    color: #bbb;\n    line-height: 16px;\n    cursor: pointer;\n    user-select: none; }\n    .braft-finder .bf-toggle-external-form span:hover {\n      color: #3498db; }\n    .braft-finder .bf-toggle-external-form span i {\n      position: relative;\n      top: 2px;\n      font-size: 16px; }\n\n.braft-finder .bf-add-external {\n  position: absolute;\n  z-index: 3;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-color: #fff; }\n  .braft-finder .bf-add-external input {\n    border: solid 1px rgba(0, 0, 0, 0.3);\n    border: solid 0.5px rgba(0, 0, 0, 0.3);\n    box-shadow: none; }\n    .braft-finder .bf-add-external input:focus {\n      border-color: #3498db;\n      box-shadow: none; }\n\n.braft-finder .bf-external-form {\n  width: 500px;\n  max-width: 90%;\n  margin: 91px auto 0 auto; }\n\n.braft-finder .bf-external-input {\n  position: relative;\n  width: 100%;\n  height: 40px;\n  margin-bottom: 10px; }\n  .braft-finder .bf-external-input div {\n    position: absolute;\n    top: 0;\n    right: 85px;\n    left: 0;\n    height: 40px; }\n  .braft-finder .bf-external-input input,\n  .braft-finder .bf-external-input textarea {\n    display: block;\n    box-sizing: border-box;\n    width: 100%;\n    height: 40px;\n    padding: 0 10px;\n    border: none;\n    border-radius: 3px;\n    outline: none;\n    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);\n    color: #999;\n    font-size: 18px; }\n    .braft-finder .bf-external-input input:focus,\n    .braft-finder .bf-external-input textarea:focus {\n      box-shadow: inset 0 0 0 1px #3498db; }\n  .braft-finder .bf-external-input textarea {\n    height: 100px;\n    font-size: 14px; }\n  .braft-finder .bf-external-input button {\n    position: absolute;\n    top: 0;\n    right: 0;\n    width: 80px;\n    height: 40px;\n    background-color: #3498db;\n    border: none;\n    border-radius: 3px;\n    color: #fff;\n    font-size: 14px;\n    font-weight: bold;\n    cursor: pointer; }\n    .braft-finder .bf-external-input button:disabled {\n      opacity: .3;\n      pointer-events: none;\n      filter: grayscale(0.4); }\n    .braft-finder .bf-external-input button:hover {\n      background-color: #2084c7; }\n\n.braft-finder .bf-switch-external-type {\n  overflow: hidden;\n  text-align: center; }\n  .braft-finder .bf-switch-external-type button {\n    width: auto;\n    height: 30px;\n    margin: 10px 5px;\n    padding: 0 10px;\n    background-color: #e8e9ea;\n    border: none;\n    border-radius: 3px;\n    color: #999;\n    font-size: 12px;\n    cursor: pointer; }\n    .braft-finder .bf-switch-external-type button:hover {\n      background-color: #d8d9da; }\n    .braft-finder .bf-switch-external-type button:only-child {\n      display: none; }\n  .braft-finder .bf-switch-external-type[data-type="IMAGE"] [data-type="IMAGE"],\n  .braft-finder .bf-switch-external-type[data-type="VIDEO"] [data-type="VIDEO"],\n  .braft-finder .bf-switch-external-type[data-type="AUDIO"] [data-type="AUDIO"],\n  .braft-finder .bf-switch-external-type[data-type="EMBED"] [data-type="EMBED"],\n  .braft-finder .bf-switch-external-type[data-type="FILE"] [data-type="FILE"] {\n    background-color: #3498db;\n    color: #fff; }\n\n.braft-finder .bf-external-tip {\n  display: block;\n  margin-top: 15px;\n  color: #ccc;\n  font-size: 12px;\n  text-align: center; }\n',""])},function(e,t,n){var r,o=n(16);"string"===typeof o&&(o=[[e.i,o,""]]);var i={hmr:!0};i.transform=r,i.insertInto=void 0;n(12)(o,i);o.locals&&(e.exports=o.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(17);var i=n(2),a=c(i),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f(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 d={image:"image/png,image/jpeg,image/gif,image/webp,image/apng,image/svg",video:"video/mp4",audio:"audio/mp3"},p=function(e){function t(e){s(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.toggleSelectItem=function(e){var t=e.currentTarget.dataset.id,r=n.controller.getMediaItem(t);if(!r)return!1;r.selected?n.props.onBeforeDeselect&&!1===n.props.onBeforeDeselect([r],n.controller.getItems())||(n.controller.deselectMediaItem(t),n.props.onDeselect&&n.props.onDeselect([r],n.controller.getItems())):n.props.onBeforeSelect&&!1===n.props.onBeforeSelect([r],n.controller.getItems())||(n.controller.selectMediaItem(t),n.props.onSelect&&n.props.onSelect([r],n.controller.getItems()))},n.removeItem=function(e){var t=e.currentTarget.dataset.id,r=n.controller.getMediaItem(t);if(!r)return!1;n.props.onBeforeRemove&&!1===n.props.onBeforeRemove([r],n.controller.getItems())||(n.controller.removeMediaItem(t),n.props.onRemove&&n.props.onRemove([r],n.controller.getItems())),e.stopPropagation()},n.selectAllItems=function(){var e=n.controller.getItems();n.props.onBeforeSelect&&!1===n.props.onBeforeSelect(e,e)||(n.controller.selectAllItems(),n.props.onSelect&&n.props.onSelect(e,e))},n.deselectAllItems=function(){var e=n.controller.getItems();n.props.onBeforeDeselect&&!1===n.props.onBeforeDeselect(e,e)||(n.controller.deselectAllItems(),n.props.onDeselect&&n.props.onDeselect(e,e))},n.removeSelectedItems=function(){var e=n.controller.getSelectedItems();n.props.onBeforeRemove&&!1===n.props.onBeforeRemove(e,n.controller.getItems())||(n.controller.removeSelectedItems(),n.props.onRemove&&n.props.onRemove(e,n.controller.getItems()))},n.handleDragLeave=function(e){e.preventDefault(),n.dragCounter--,0===n.dragCounter&&n.setState({draging:!1})},n.handleDragDrop=function(e){e.preventDefault(),n.dragCounter=0,n.setState({draging:!1}),n.reslovePickedFiles(e)},n.handleDragEnter=function(e){e.preventDefault(),n.dragCounter++,n.setState({draging:!0})},n.reslovePickedFiles=function(e){e.persist();var t="drop"===e.type?e.dataTransfer:e.target,o=t.files;if(n.props.onFileSelect){var i=n.props.onFileSelect(o);if(!1===i)return!1;(i instanceof FileList||i instanceof Array)&&(o=i)}var a=r({},d,n.props.accepts);n.controller.resolveFiles({files:o,onItemReady:function(e){var t=e.id;return n.controller.selectMediaItem(t)},onAllReady:function(){return e.target.value=null}},0,a)},n.inputExternal=function(e){n.setState({external:r({},n.state.external,{url:e.target.value})})},n.switchExternalType=function(e){n.setState({external:r({},n.state.external,{type:e.target.dataset.type})})},n.confirmAddExternal=function(e){if("button"===e.target.nodeName.toLowerCase()||13===e.keyCode){var t=n.state.external,r=t.url,o=t.type;r=r.split("|");var i=r.length>1?r[0]:n.props.language.unnamedItem;r=r.length>1?r[1]:r[0];var a="IMAGE"===o?r:null;n.controller.addItems([{thumbnail:a,url:r,name:i,type:o,id:(new Date).getTime()+"_"+(0,l.UniqueIndex)(),uploading:!1,uploadProgress:1,selected:!0}]),n.setState({showExternalForm:!1,external:{url:"",type:"IMAGE"}})}},n.toggleExternalForm=function(){n.setState({showExternalForm:!n.state.showExternalForm})},n.cancelInsert=function(){n.props.onCancel&&n.props.onCancel()},n.confirmInsert=function(){var e=n.controller.getSelectedItems();if(n.props.onBeforeInsert){var t=n.props.onBeforeInsert(e);t&&t instanceof Array?(n.controller.deselectAllItems(),n.props.onInsert&&n.props.onInsert(t)):!1!==t&&(n.controller.deselectAllItems(),n.props.onInsert&&n.props.onInsert(e))}else n.controller.deselectAllItems(),n.props.onInsert&&n.props.onInsert(e)},n.dragCounter=0,n.controller=n.props.controller;var o=n.controller.getItems();return n.state={draging:!1,error:!1,confirmable:o.find((function(e){var t=e.selected;return t})),external:{url:"",type:"IMAGE"},fileAccept:"",showExternalForm:!1,allowExternal:!1,items:o},n.changeListenerId=n.controller.onChange((function(e){n.setState({items:e,confirmable:e.find((function(e){var t=e.selected;return t}))}),n.props.onChange&&n.props.onChange(e)})),n}return f(t,e),o(t,[{key:"mapPropsToState",value:function(e){var t=e.accepts,n=e.externals;t=r({},d,t);var o=t?[t.image,t.video,t.audio].filter((function(e){return e})).join(","):[d.image,d.video,d.audio].join(","),i={url:"",type:n.image?"IMAGE":n.audio?"AUDIO":n.video?"VIDEO":n.embed?"EMBED":""};return{fileAccept:o,external:i,allowExternal:n&&(n.image||n.audio||n.video||n.embed)}}},{key:"componentDidMount",value:function(){this.setState(this.mapPropsToState(this.props))}},{key:"componentWillReceiveProps",value:function(e){this.setState(this.mapPropsToState(e))}},{key:"componentWillUnmount",value:function(){this.controller.offChange(this.changeListenerId)}},{key:"render",value:function(){var e=this.props,t=e.language,n=e.externals,r=this.state,o=r.items,i=r.draging,l=r.confirmable,c=r.fileAccept,s=r.external,u=r.showExternalForm,f=r.allowExternal;return a.default.createElement("div",{className:"braft-finder"},a.default.createElement("div",{onDragEnter:this.handleDragEnter,onDragOver:this.handleDragEnter,onDragLeave:this.handleDragLeave,onDrop:this.handleDragDrop,className:"bf-uploader"},a.default.createElement("div",{className:"bf-drag-uploader "+(i||!o.length?"active ":" ")+(i?"draging":"")},a.default.createElement("span",{className:"bf-drag-tip"},a.default.createElement("input",{accept:c,onChange:this.reslovePickedFiles,multiple:!0,type:"file"}),i?t.dropTip:t.dragTip)),o.length?a.default.createElement("div",{className:"bf-list-wrap"},a.default.createElement("div",{className:"bf-list-tools"},a.default.createElement("span",{onClick:this.selectAllItems,className:"bf-select-all"},a.default.createElement("i",{className:"braft-icon-done"})," ",t.selectAll),a.default.createElement("span",{onClick:this.deselectAllItems,disabled:!l,className:"bf-deselect-all"},a.default.createElement("i",{className:"braft-icon-close"})," ",t.deselect),a.default.createElement("span",{onClick:this.removeSelectedItems,disabled:!l,className:"bf-remove-selected"},a.default.createElement("i",{className:"braft-icon-bin"})," ",t.removeSelected)),this.buildItemList()):null,u&&f?a.default.createElement("div",{className:"bf-add-external"},a.default.createElement("div",{className:"bf-external-form"},a.default.createElement("div",{className:"bf-external-input"},a.default.createElement("div",null,a.default.createElement("input",{onKeyDown:this.confirmAddExternal,value:s.url,onChange:this.inputExternal,placeholder:t.externalInputPlaceHolder})),a.default.createElement("button",{type:"button",onClick:this.confirmAddExternal,disabled:!s.url.trim().length},t.confirm)),a.default.createElement("div",{"data-type":s.type,className:"bf-switch-external-type"},n.image?a.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"IMAGE"},t.image):null,n.audio?a.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"AUDIO"},t.audio):null,n.video?a.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"VIDEO"},t.video):null,n.embed?a.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"EMBED"},t.embed):null),a.default.createElement("span",{className:"bf-external-tip"},t.externalInputTip))):null),a.default.createElement("footer",{className:"bf-manager-footer"},a.default.createElement("div",{className:"pull-left"},f?a.default.createElement("span",{onClick:this.toggleExternalForm,className:"bf-toggle-external-form"},u?a.default.createElement("span",{className:"bf-bottom-text"},a.default.createElement("i",{className:"braft-icon-add"})," ",t.addLocalFile):a.default.createElement("span",{className:"bf-bottom-text"},a.default.createElement("i",{className:"braft-icon-add"})," ",t.addExternalSource)):null),a.default.createElement("div",{className:"pull-right"},a.default.createElement("button",{onClick:this.confirmInsert,className:"button button-insert",disabled:!l},t.insert),a.default.createElement("button",{onClick:this.cancelInsert,className:"button button-cancel"},t.cancel))))}},{key:"buildItemList",value:function(){var e=this;return a.default.createElement("ul",{className:"bf-list"},a.default.createElement("li",{className:"bf-add-item"},a.default.createElement("i",{className:"braft-icon-add"}),a.default.createElement("input",{accept:this.state.fileAccept,onChange:this.reslovePickedFiles,multiple:!0,type:"file"})),this.state.items.map((function(t,n){var r=null,o=t.uploading&&!e.props.hideProgress?a.default.createElement("div",{className:"bf-item-uploading"},a.default.createElement("div",{className:"bf-item-uploading-bar",style:{width:t.uploadProgress/1+"%"}})):"";switch(t.type){case"IMAGE":r=a.default.createElement("div",{className:"bf-image"},o,a.default.createElement("img",{src:t.thumbnail||t.url}));break;case"VIDEO":r=a.default.createElement("div",{className:"bf-icon bf-video",title:t.url},o,a.default.createElement("i",{className:"braft-icon-film"}),a.default.createElement("span",null,t.name||t.url));break;case"AUDIO":r=a.default.createElement("div",{className:"bf-icon bf-audio",title:t.url},o,a.default.createElement("i",{className:"braft-icon-music"}),a.default.createElement("span",null,t.name||t.url));break;case"EMBED":r=a.default.createElement("div",{className:"bf-icon bf-embed",title:t.url},o,a.default.createElement("i",{className:"braft-icon-code"}),a.default.createElement("span",null,t.name||e.props.language.embed));break;default:r=a.default.createElement("a",{className:"bf-icon bf-file",title:t.url,href:t.url},o,a.default.createElement("i",{className:"braft-icon-file-text"}),a.default.createElement("span",null,t.name||t.url));break}var i=["bf-item"];return t.selected&&i.push("active"),t.uploading&&i.push("uploading"),t.error&&i.push("error"),a.default.createElement("li",{key:n,title:t.name,"data-id":t.id,className:i.join(" "),onClick:e.toggleSelectItem},r,a.default.createElement("span",{"data-id":t.id,onClick:e.removeItem,className:"bf-item-remove braft-icon-close"}),a.default.createElement("span",{className:"bf-item-title"},t.name))})))}}]),t}(a.default.Component);p.defaultProps={accepts:d,externals:{image:!0,video:!0,audio:!0,embed:!0}},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(1),i=n(0);function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){return!0},s=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(this,e),u.call(this),this.items=t.items||[],this.uploadFn=t.uploader,this.validateFn=t.validator||c,this.changeListeners=[]},u=function(){var e=this;this.setProps=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.items=t.items||e.items||[],e.uploadFn=t.uploader,e.validateFn=t.validator||c},this.getMediaItem=function(t){return e.items.find((function(e){return e.id===t}))},this.getSelectedItems=function(){return e.items.filter((function(e){return e.selected}))},this.getItems=function(){return e.items},this.setItems=function(t){e.items=t.map((function(e){return r({},e,{id:e.id.toString()})}))||[],e.applyChange(),e.uploadItems()},this.addMediaItem=function(t){e.addItems([t])},this.addItems=function(t){e.items=[].concat(a(e.items),a(t.map((function(e){return r({},e,{id:e.id.toString()})})))),e.applyChange(),e.uploadItems()},this.selectMediaItem=function(t){var n=e.getMediaItem(t);if(n&&(n.uploading||n.error))return!1;e.setMediaItemState(t,{selected:!0})},this.selectAllItems=function(){e.items=e.items.filter((function(e){return!e.error&&!e.uploading})).map((function(e){return r({},e,{selected:!0})})),e.applyChange()},this.deselectMediaItem=function(t){e.setMediaItemState(t,{selected:!1})},this.deselectAllItems=function(){e.items=e.items.map((function(e){return r({},e,{selected:!1})})),e.applyChange()},this.removeMediaItem=function(t){e.items=e.items.filter((function(e){return e.id!==t})),e.applyChange()},this.removeItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.items=e.items.filter((function(e){return!t.includes(e.id)})),e.applyChange()},this.removeSelectedItems=function(){e.items=e.items.filter((function(e){return!e.selected})),e.applyChange()},this.removeErrorItems=function(){e.items=e.items.filter((function(e){return!e.error})),e.applyChange()},this.removeAllItems=function(){e.items=[],e.applyChange()},this.setMediaItemState=function(t,n){e.items=e.items.map((function(e){return e.id===t?r({},e,n):e})),e.applyChange()},this.reuploadErrorItems=function(){e.uploadItems(!0)},this.uploadItems=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e.items.forEach((function(n,r){if(n.uploading||n.url)return!1;if(!t&&n.error)return!1;if("IMAGE"===n.type)e.createThumbnail(n),e.uploadFn=e.uploadFn||e.createInlineImage;else if(!e.uploadFn)return e.setMediaItemState(n.id,{error:1}),!1;e.setMediaItemState(n.id,{uploading:!0,uploadProgress:0,error:0}),e.uploadFn({id:n.id,file:n.file,success:function(t){e.handleUploadSuccess(n.id,t)},progress:function(t){e.setMediaItemState(n.id,{uploading:!0,uploadProgress:t})},error:function(t){e.setMediaItemState(n.id,{uploading:!1,error:2})}})}))},this.createThumbnail=function(t){var n=t.id,r=t.file;(0,i.compressImage)(URL.createObjectURL(r),226,226).then((function(t){e.setMediaItemState(n,{thumbnail:t.url})}))},this.createInlineImage=function(e){(0,i.compressImage)(URL.createObjectURL(e.file),1280,800).then((function(t){e.success({url:t.url})})).catch((function(t){e.error(t)}))},this.handleUploadSuccess=function(t,n){e.setMediaItemState(t,r({},n,{file:null,uploadProgress:1,uploading:!1,selected:!1}));var o=e.getMediaItem(n.id||t);o.onReady&&o.onReady(o)},this.applyChange=function(){e.changeListeners.forEach((function(t){var n=t.callback;return n(e.items)}))},this.uploadImage=function(t,n){var r=(new Date).getTime()+"_"+(0,o.UniqueIndex)();e.addMediaItem({type:"IMAGE",id:r,file:t,name:r,size:t.size,uploadProgress:0,uploading:!1,selected:!1,error:0,onReady:n})},this.uploadImageRecursively=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[r]&&t[r].type.indexOf("image")>-1?e.uploadImage(t[r],(function(o){n&&n(o),r<t.length-1&&e.uploadImageRecursively(t,n,r+1)})):r<t.length-1&&e.uploadImageRecursively(t,n,r+1)},this.addResolvedFiles=function(t,n,r){var i={id:(new Date).getTime()+"_"+(0,o.UniqueIndex)(),file:t.files[n],name:t.files[n].name,size:t.files[n].size,uploadProgress:0,uploading:!1,selected:!1,error:0,onReady:function(e){t.onItemReady&&t.onItemReady(e)}};0===t.files[n].type.indexOf("image/")&&r.image?(i.type="IMAGE",e.addMediaItem(i)):0===t.files[n].type.indexOf("video/")&&r.video?(i.type="VIDEO",e.addMediaItem(i)):0===t.files[n].type.indexOf("audio/")&&r.audio&&(i.type="AUDIO",e.addMediaItem(i)),setTimeout((function(){e.resolveFiles(t,n+1,r)}),60)},this.resolveFiles=function(t,n,r){if(n<t.files.length){var o=e.validateFn(t.files[n]);o instanceof Promise?o.then((function(){e.addResolvedFiles(t,n,r)})):o&&e.addResolvedFiles(t,n,r)}else t.onAllReady&&t.onAllReady()},this.onChange=function(t){var n=(0,o.UniqueIndex)();return e.changeListeners.push({id:n,callback:t}),n},this.offChange=function(t){e.changeListeners=e.changeListeners.filter((function(e){var n=e.id;return n!==t}))}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageUtils=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(2),i=g(o),a=n(19),l=g(a),c=n(18),s=g(c),u=n(10),f=g(u),d=n(0),p=h(d);function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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 y(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 b=function(e){function t(e){m(this,t);var n=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return w.call(n),n.superProps=e,n}return y(t,e),t}(l.default),w=function(){var e=this;this.ReactComponent=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r({},e.superProps,t),o=("function"===typeof n.language?n.language(f.default,"braft-finder"):f.default[n.language])||f.default["zh"];return i.default.createElement(s.default,r({},n,{language:o,controller:e}))}};t.default=b,t.ImageUtils=p}])}))},"6xvX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("V7ic"));function o(e){return e&&e.__esModule?e:{default:e}}var i=r;t.default=i,e.exports=i},"7wDu":function(e,t,n){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},"815F":function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"b",(function(){return g}));var r=n("KQm4"),o=n("VTBJ"),i=n("Ff2n"),a=n("Zm9Q"),l=n("Kwbf"),c=n("OZM5");function s(e,t){return null!==e&&void 0!==e?e:t}function u(e){function t(e){var n=Object(a["a"])(e);return n.map((function(e){if(!Object(c["i"])(e))return Object(l["a"])(!e,"Tree/TreeNode can only accept TreeNode as children."),null;var n=e.key,r=e.props,a=r.children,s=Object(i["a"])(r,["children"]),u=Object(o["a"])({key:n},s),f=t(a);return f.length&&(u.children=f),u})).filter((function(e){return e}))}return t(e)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=new Set(!0===t?[]:t),i=[];function a(e){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.map((function(u,f){var d=Object(c["h"])(l?l.pos:"0",f),p=s(u.key,d),h=Object(o["a"])(Object(o["a"])({},u),{},{parent:l,pos:d,children:null,data:u,isStart:[].concat(Object(r["a"])(l?l.isStart:[]),[0===f]),isEnd:[].concat(Object(r["a"])(l?l.isEnd:[]),[f===e.length-1])});return i.push(h),!0===t||n.has(p)?h.children=a(u.children||[],h):h.children=[],h}))}return a(e),i}function d(e,t,n){var r;function o(n,i,a){var l=n?n.children:e,s=n?Object(c["h"])(a.pos,i):"0";if(n){var u=r(n,s),f={node:n,index:i,pos:s,key:u,parentPos:a.node?a.pos:null,level:a.level+1};t(f)}l&&l.forEach((function(e,t){o(e,t,{node:n,pos:s,level:a?a.level+1:-1})}))}n?"string"===typeof n?r=function(e){return e[n]}:"function"===typeof n&&(r=function(e){return n(e)}):r=function(e,t){return s(e.key,t)},o(null)}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,i=arguments.length>2?arguments[2]:void 0,a={},l={},c={posEntities:a,keyEntities:l};return n&&(c=n(c)||c),d(e,(function(e){var t=e.node,n=e.index,o=e.pos,i=e.key,u=e.parentPos,f=e.level,d={node:t,index:n,key:i,pos:o,level:f},p=s(i,o);a[o]=d,l[p]=d,d.parent=a[u],d.parent&&(d.parent.children=d.parent.children||[],d.parent.children.push(d)),r&&r(d,c)}),i),o&&o(c),c}function h(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,a=t.checkedKeys,l=t.halfCheckedKeys,c=t.dragOverNodeKey,s=t.dropPosition,u=t.keyEntities,f=u[e],d={eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==i.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==l.indexOf(e),pos:String(f?f.pos:""),dragOver:c===e&&0===s,dragOverGapTop:c===e&&-1===s,dragOverGapBottom:c===e&&1===s};return d}function g(e){var t=e.data,n=e.expanded,r=e.selected,i=e.checked,a=e.loaded,c=e.loading,s=e.halfChecked,u=e.dragOver,f=e.dragOverGapTop,d=e.dragOverGapBottom,p=e.pos,h=e.active,g=Object(o["a"])(Object(o["a"])({},t),{},{expanded:n,selected:r,checked:i,loaded:a,loading:c,halfChecked:s,dragOver:u,dragOverGapTop:f,dragOverGapBottom:d,pos:p,active:h});return"props"in g||Object.defineProperty(g,"props",{get:function(){return Object(l["a"])(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}},"81KI":function(e,t,n){"use strict";var r=n("JPcv"),o=n("Zf/v"),i=n("2NuI"),a=r.Repeat;function l(e,t,n,r){t.isCollapsed()||i(!1);var l=n.length;if(!l)return e;var c=e.getBlockMap(),s=t.getStartKey(),u=t.getStartOffset(),f=c.get(s),d=f.getText(),p=f.merge({text:d.slice(0,u)+n+d.slice(u,f.getLength()),characterList:o(f.getCharacterList(),a(r,l).toList(),u)}),h=u+l;return e.merge({blockMap:c.set(s,p),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}e.exports=l},"83KV":function(e,t,n){"use strict";var r="undefined"!==typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;function o(e){return e=e||document,e.scrollingElement?e.scrollingElement:r||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}e.exports=o},"84lc":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("JPcv"),i=o.List,a=".",l=function(){function e(t){r(this,e),this._decorators=t.slice()}return e.prototype.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(r,o){var i=0,l=r.strategy,u=function(e,t){c(n,e,t)&&(s(n,e,t,o+a+i),i++)};l(e,u,t)})),i(n)},e.prototype.getComponentForKey=function(e){var t=parseInt(e.split(a)[0],10);return this._decorators[t].component},e.prototype.getPropsForKey=function(e){var t=parseInt(e.split(a)[0],10);return this._decorators[t].props},e}();function c(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0}function s(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}e.exports=l},"867s":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},o=function(e){if(e=e.replace("color:","").replace(";","").replace(" ",""),/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(e))return e;if(i[e])return i[e];if(0===e.indexOf("rgb")){var t=e.split(","),n=t.length<3?null:"#"+[t[0],t[1],t[2]].map((function(e){var t=parseInt(e.replace(/\D/g,""),10).toString(16);return 1===t.length?"0"+t:t})).join("");return/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(n)?n:null}return null},i=t.namedColors=r,a=t.getHexColor=o;t.detectColorsFromHTMLString=function(e){return"string"!==typeof e?[]:(e.match(/color:[^;]{3,24};/g)||[]).map(a).filter((function(e){return e}))},t.detectColorsFromDraftState=function(e){var t=[];return e&&e.blocks&&e.blocks.length?(e.blocks.forEach((function(e){e&&e.inlineStyleRanges&&e.inlineStyleRanges.length&&e.inlineStyleRanges.forEach((function(e){e.style&&e.style.indexOf("COLOR-")>=0&&t.push("#"+e.style.split("COLOR-")[1])}))})),t.filter((function(e){return e}))):t}},"8d//":function(e,t,n){"use strict";var r=n("fyOY");function o(e,t,n){var o=e.getSelection(),i=e.getCurrentContent(),a=o;if(o.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i}else if(e.isSelectionAtStartOfContent())return i;if(a=t(e),a===o)return i}return r.removeRange(i,a,n)}e.exports=o},"8uQm":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("lFJn"),l=n("JPcv"),c=n("Taje"),s=l.List,u=l.Map,f=l.OrderedSet,d=l.Record,p=l.Repeat,h=f(),g={key:"",type:"unstyled",text:"",characterList:s(),depth:0,data:u()},m=d(g),v=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=s(p(a.EMPTY,n.length))),e},y=function(e){function t(n){return r(this,t),o(this,e.call(this,v(n)))}return i(t,e),t.prototype.getKey=function(){return this.get("key")},t.prototype.getType=function(){return this.get("type")},t.prototype.getText=function(){return this.get("text")},t.prototype.getCharacterList=function(){return this.get("characterList")},t.prototype.getLength=function(){return this.getText().length},t.prototype.getDepth=function(){return this.get("depth")},t.prototype.getData=function(){return this.get("data")},t.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():h},t.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.prototype.findStyleRanges=function(e,t){c(this.getCharacterList(),b,e,t)},t.prototype.findEntityRanges=function(e,t){c(this.getCharacterList(),w,e,t)},t}(m);function b(e,t){return e.getStyle()===t.getStyle()}function w(e,t){return e.getEntity()===t.getEntity()}e.exports=y},"8z0m":function(e,t,n){"use strict";var r=n("lSNA"),o=n.n(r),i=n("RIqP"),a=n.n(i),l=n("pVnL"),c=n.n(l),s=n("J4zp"),u=n.n(s),f=n("q1tI"),d=n.n(f),p=n("1OyB"),h=n("vuIU"),g=n("Ji7U"),m=n("LK+K"),v=n("rePB"),y=n("Ff2n"),b=n("ODXe"),w=n("TSYQ"),E=n.n(w),x=n("bX4T");function k(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function S(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function C(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append("".concat(t,"[]"),e)})):n.append(t,e.data[t])})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(k(e,t),S(t)):e.onSuccess(S(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((function(e){null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort:function(){t.abort()}}}var A=+new Date,O=0;function I(){return"rc-upload-".concat(A,"-").concat(++O)}function _(e,t){return-1!==e.indexOf(t,e.length-t.length)}var T=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?_(r.toLowerCase(),t.toLowerCase()):/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t}))}return!0};function M(e,t){var n=e.createReader(),r=[];function o(){n.readEntries((function(e){var n=Array.prototype.slice.apply(e);r=r.concat(n);var i=!n.length;i?t(r):o()}))}o()}var N=function(e,t,n){var r=function e(r,o){r.path=o||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&M(r,(function(t){t.forEach((function(t){e(t,"".concat(o).concat(r.name,"/"))}))}))};e.forEach((function(e){r(e.webkitGetAsEntry())}))},j=N,D=function(e){Object(g["a"])(n,e);var t=Object(m["a"])(n);function n(){var e;return Object(p["a"])(this,n),e=t.apply(this,arguments),e.state={uid:I()},e.reqs={},e.onChange=function(t){var n=t.target.files;e.uploadFiles(n),e.reset()},e.onClick=function(t){var n=e.fileInput;if(n){var r=e.props,o=r.children,i=r.onClick;if(o&&"button"===o.type){var a=n.parentNode;a.focus(),a.querySelector("button").blur()}n.click(),i&&i(t)}},e.onKeyDown=function(t){"Enter"===t.key&&e.onClick(t)},e.onFileDrop=function(t){var n=e.props.multiple;if(t.preventDefault(),"dragover"!==t.type)if(e.props.directory)j(Array.prototype.slice.call(t.dataTransfer.items),e.uploadFiles,(function(t){return T(t,e.props.accept)}));else{var r=Array.prototype.slice.call(t.dataTransfer.files).filter((function(t){return T(t,e.props.accept)}));!1===n&&(r=r.slice(0,1)),e.uploadFiles(r)}},e.uploadFiles=function(t){var n=Array.prototype.slice.call(t);n.map((function(e){return e.uid=I(),e})).forEach((function(t){e.upload(t,n)}))},e.saveFileInput=function(t){e.fileInput=t},e}return Object(h["a"])(n,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(r.beforeUpload){var o=r.beforeUpload(e,t);o&&"boolean"!==typeof o&&o.then?o.then((function(t){var r=Object.prototype.toString.call(t);"[object File]"!==r&&"[object Blob]"!==r?n.post(e):n.post(t)})).catch((function(e){console.log(e)})):!1!==o&&Promise.resolve().then((function(){n.post(e)}))}else Promise.resolve().then((function(){n.post(e)}))}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.onStart,o=n.onProgress,i=n.transformFile,a=void 0===i?function(e){return e}:i;new Promise((function(t){var r=n.action;return"function"===typeof r&&(r=r(e)),t(r)})).then((function(i){var l=e.uid,c=n.customRequest||C,s=Promise.resolve(a(e)).then((function(e){var t=n.data;return"function"===typeof t&&(t=t(e)),Promise.all([e,t])})).catch((function(e){console.error(e)}));s.then((function(a){var s=Object(b["a"])(a,2),u=s[0],f=s[1],d={action:i,filename:n.name,data:f,file:u,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:o?function(t){o(t,e)}:null,onSuccess:function(r,o){delete t.reqs[l],n.onSuccess(r,e,o)},onError:function(r,o){delete t.reqs[l],n.onError(r,o,e)}};r(e),t.reqs[l]=c(d)}))}))}}},{key:"reset",value:function(){this.setState({uid:I()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,i=t.disabled,a=t.id,l=t.style,c=t.multiple,s=t.accept,u=t.children,f=t.directory,p=t.openFileDialogOnClick,h=t.onMouseEnter,g=t.onMouseLeave,m=Object(y["a"])(t,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),b=E()((e={},Object(v["a"])(e,r,!0),Object(v["a"])(e,"".concat(r,"-disabled"),i),Object(v["a"])(e,o,o),e)),w=f?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},k=i?{}:{onClick:p?this.onClick:function(){},onKeyDown:p?this.onKeyDown:function(){},onMouseEnter:h,onMouseLeave:g,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return d.a.createElement(n,Object.assign({},k,{className:b,role:"button",style:l}),d.a.createElement("input",Object.assign({},Object(x["a"])(m,{aria:!0,data:!0}),{id:a,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:s},w,{multiple:c,onChange:this.onChange})),u)}}]),n}(f["Component"]),R=D;function L(){}var B=function(e){Object(g["a"])(n,e);var t=Object(m["a"])(n);function n(){var e;return Object(p["a"])(this,n),e=t.apply(this,arguments),e.saveUploader=function(t){e.uploader=t},e}return Object(h["a"])(n,[{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){return d.a.createElement(R,Object.assign({},this.props,{ref:this.saveUploader}))}}]),n}(f["Component"]);B.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:L,onError:L,onSuccess:L,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var P=B,K=P,F=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},z=function(e,t){var n=e.style,r=e.height,o=F(e,["style","height"]);return f["createElement"](Te,c()({ref:t},o,{type:"drag",style:c()(c()({},n),{height:r})}))},U=f["forwardRef"](z);U.displayName="Dragger";var H=U,V=n("UmKh"),W=n("gZBC"),q=n.n(W),Q=n("+d4F"),Y=n.n(Q),J=n("XAae"),G=n.n(J),X=n("6xvX"),Z=n.n(X),$=n("qPY4"),ee=n.n($),te=n("QB+1"),ne=n.n(te),re=n("Qs3X"),oe=n.n(re),ie=n("0n0R");function ae(){return!0}function le(e){return c()(c()({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function ce(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}function se(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}var ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},fe=function(e){return 0===e.indexOf("image/")},de=function(e){if(e.type&&!e.thumbUrl)return fe(e.type);var t=e.thumbUrl||e.url,n=ue(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n},pe=200;function he(e){return new Promise((function(t){if(e.type&&fe(e.type)){var n=document.createElement("canvas");n.width=pe,n.height=pe,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(pe,"px; height: ").concat(pe,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),o=new Image;o.onload=function(){var e=o.width,i=o.height,a=pe,l=pe,c=0,s=0;e>i?(l=i*(pe/e),s=-(l-a)/2):(a=e*(pe/i),c=-(a-l)/2),r.drawImage(o,c,s,a,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}var ge=n("3S7+"),me=n("CFYs"),ve=n("H84U"),ye=n("2/Rp"),be=n("hkKa"),we=function(e,t){var n,r=e.listType,i=e.previewFile,a=e.onPreview,l=e.onDownload,s=e.onRemove,u=e.locale,d=e.iconRender,p=e.isImageUrl,h=e.prefixCls,g=e.items,m=void 0===g?[]:g,v=e.showPreviewIcon,y=e.showRemoveIcon,b=e.showDownloadIcon,w=e.removeIcon,x=e.downloadIcon,k=e.progress,S=e.appendAction,C=e.itemRender,A=Object(be["a"])();f["useEffect"]((function(){"picture"!==r&&"picture-card"!==r||(m||[]).forEach((function(e){"undefined"!==typeof document&&"undefined"!==typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",i&&i(e.originFileObj).then((function(t){e.thumbUrl=t||"",A()})))}))}),[r,m,i]);var O=function(e,t){if(a)return t.preventDefault(),a(e)},I=function(e){"function"===typeof l?l(e):e.url&&window.open(e.url)},_=function(e){s&&s(e)},T=function(e){if(d)return d(e,r);var t="uploading"===e.status,n=p&&p(e)?f["createElement"](G.a,null):f["createElement"](Z.a,null),o=t?f["createElement"](q.a,null):f["createElement"](Y.a,null);return"picture"===r?o=t?f["createElement"](q.a,null):n:"picture-card"===r&&(o=t?u.uploading:n),o},M=function(e,t,n,r){var o={type:"text",size:"small",title:r,onClick:function(n){t(),Object(ie["b"])(e)&&e.props.onClick&&e.props.onClick(n)},className:"".concat(n,"-list-item-card-actions-btn")};if(Object(ie["b"])(e)){var i=Object(ie["a"])(e,c()(c()({},e.props),{onClick:function(){}}));return f["createElement"](ye["a"],c()({},o,{icon:i}))}return f["createElement"](ye["a"],o,f["createElement"]("span",null,e))};f["useImperativeHandle"](t,(function(){return{handlePreview:O,handleDownload:I}}));var N=f["useContext"](ve["b"]),j=N.getPrefixCls,D=N.direction,R=j("upload",h),L=m.map((function(e){var t,n,i,a=T(e),l=f["createElement"]("div",{className:"".concat(R,"-text-icon")},a);if("picture"===r||"picture-card"===r)if("uploading"===e.status||!e.thumbUrl&&!e.url){var s,d=E()((s={},o()(s,"".concat(R,"-list-item-thumbnail"),!0),o()(s,"".concat(R,"-list-item-file"),"uploading"!==e.status),s));l=f["createElement"]("div",{className:d},a)}else{var h,g=p&&p(e)?f["createElement"]("img",{src:e.thumbUrl||e.url,alt:e.name,className:"".concat(R,"-list-item-image")}):a,S=E()((h={},o()(h,"".concat(R,"-list-item-thumbnail"),!0),o()(h,"".concat(R,"-list-item-file"),p&&!p(e)),h));l=f["createElement"]("a",{className:S,onClick:function(t){return O(e,t)},href:e.url||e.thumbUrl,target:"_blank",rel:"noopener noreferrer"},g)}if("uploading"===e.status){var A="percent"in e?f["createElement"](me["a"],c()({},k,{type:"line",percent:e.percent})):null;i=f["createElement"]("div",{className:"".concat(R,"-list-item-progress"),key:"progress"},A)}var N,j=E()((t={},o()(t,"".concat(R,"-list-item"),!0),o()(t,"".concat(R,"-list-item-").concat(e.status),!0),o()(t,"".concat(R,"-list-item-list-type-").concat(r),!0),t)),D="string"===typeof e.linkProps?JSON.parse(e.linkProps):e.linkProps,L=y?M(("function"===typeof w?w(e):w)||f["createElement"](ne.a,null),(function(){return _(e)}),R,u.removeFile):null,B=b&&"done"===e.status?M(("function"===typeof x?x(e):x)||f["createElement"](oe.a,null),(function(){return I(e)}),R,u.downloadFile):null,P="picture-card"!==r&&f["createElement"]("span",{key:"download-delete",className:"".concat(R,"-list-item-card-actions ").concat("picture"===r?"picture":"")},B,L),K=E()((n={},o()(n,"".concat(R,"-list-item-name"),!0),o()(n,"".concat(R,"-list-item-name-icon-count-").concat([B,L].filter((function(e){return e})).length),!0),n)),F=e.url?[f["createElement"]("a",c()({key:"view",target:"_blank",rel:"noopener noreferrer",className:K,title:e.name},D,{href:e.url,onClick:function(t){return O(e,t)}}),e.name),P]:[f["createElement"]("span",{key:"view",className:K,onClick:function(t){return O(e,t)},title:e.name},e.name),P],z={pointerEvents:"none",opacity:.5},U=v?f["createElement"]("a",{href:e.url||e.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:e.url||e.thumbUrl?void 0:z,onClick:function(t){return O(e,t)},title:u.previewFile},f["createElement"](ee.a,null)):null,H="picture-card"===r&&"uploading"!==e.status&&f["createElement"]("span",{className:"".concat(R,"-list-item-actions")},U,"done"===e.status&&B,L);N=e.response&&"string"===typeof e.response?e.response:e.error&&e.error.statusText||u.uploadError;var W=f["createElement"]("span",null,l,F),q=f["createElement"]("div",{className:j},f["createElement"]("div",{className:"".concat(R,"-list-item-info")},W),H,f["createElement"](V["a"],{transitionName:"fade",component:""},i)),Q=E()(o()({},"".concat(R,"-list-picture-card-container"),"picture-card"===r)),Y="error"===e.status?f["createElement"](ge["a"],{title:N,getPopupContainer:function(e){return e.parentNode}},q):f["createElement"]("span",null,q);return f["createElement"]("div",{key:e.uid,className:Q},C?C(Y,e,m):Y)})),B=E()((n={},o()(n,"".concat(R,"-list"),!0),o()(n,"".concat(R,"-list-").concat(r),!0),o()(n,"".concat(R,"-list-rtl"),"rtl"===D),n)),P="picture-card"===r?"animate-inline":"animate",K=0===L.length?"":"".concat(R,"-").concat(P);return f["createElement"](V["a"],{transitionName:K,component:"div",className:B},L,f["isValidElement"](S)?f["cloneElement"](S,{key:"appendAction"}):S)},Ee=f["forwardRef"](we);Ee.displayName="UploadList",Ee.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:he,isImageUrl:de};var xe=Ee,ke=n("YMnH"),Se=n("ZvpZ"),Ce=n("uaoM"),Ae=n("wgJM");function Oe(e,t){var n=Object(f["useRef"])(e),r=Object(be["a"])(),o=Object(f["useRef"])();function i(e){n.current=e,r()}function a(){Ae["a"].cancel(o.current)}function l(e){a(),o.current=Object(Ae["a"])((function(){i(e)}))}function c(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&t||n.current}return Object(f["useEffect"])((function(){t&&l(t)}),[t]),Object(f["useEffect"])((function(){return function(){a()}}),[]),[c,i]}var Ie=function(e,t){var n,r=e.fileList,i=e.defaultFileList,l=e.onRemove,s=e.showUploadList,d=e.listType,p=e.onPreview,h=e.onDownload,g=e.previewFile,m=e.disabled,v=e.locale,y=e.iconRender,b=e.isImageUrl,w=e.progress,x=e.prefixCls,k=e.className,S=e.type,C=e.children,A=e.style,O=e.itemRender,I=f["useState"]("drop"),_=u()(I,2),T=_[0],M=_[1],N=Object(be["a"])(),j=Oe(r||i||[],r),D=u()(j,2),R=D[0],L=D[1],B=f["useRef"]();f["useEffect"]((function(){Object(Ce["a"])("fileList"in e||!("value"in e),"Upload","`value` is not a valid prop, do you mean `fileList`?")}),[]);var P=function(t){L(t.fileList);var n=e.onChange;n&&n(c()(c()({},t),{fileList:a()(t.fileList)}))},F=function(e){var t=le(e);t.status="uploading";var n=R().concat(),r=n.findIndex((function(e){var n=e.uid;return n===t.uid}));-1===r?n.push(t):n[r]=t,P({file:t,fileList:n})},z=function(e,t,n){try{"string"===typeof e&&(e=JSON.parse(e))}catch(o){}var r=ce(t,R());r&&(r.status="done",r.response=e,r.xhr=n,P({file:c()({},r),fileList:R().concat()}))},U=function(e,t){var n=ce(t,R());n&&(n.percent=e.percent,P({event:e,file:c()({},n),fileList:R().concat()}))},H=function(e,t,n){var r=ce(n,R());r&&(r.error=e,r.response=t,r.status="error",P({file:c()({},r),fileList:R().concat()}))},V=function(e){Promise.resolve("function"===typeof l?l(e):l).then((function(t){if(!1!==t){var n=se(e,R());n&&(e.status="removed",B.current&&B.current.abort(e),P({file:e,fileList:n}))}}))},W=function(e){M(e.type)},q=function(t,n){var r=e.beforeUpload;if(!r)return!0;var o=r(t,n);if(!1===o){var i=[];return R().concat(n.map(le)).forEach((function(e){i.every((function(t){return t.uid!==e.uid}))&&i.push(e)})),P({file:t,fileList:i}),!1}return!o||!o.then||o};f["useImperativeHandle"](t,(function(){return{onStart:F,onSuccess:z,onProgress:U,onError:H,fileList:R(),upload:B.current,forceUpdate:N}}));var Q=f["useContext"](ve["b"]),Y=Q.getPrefixCls,J=Q.direction,G=Y("upload",x),X=c()(c()({onStart:F,onError:H,onProgress:U,onSuccess:z},e),{prefixCls:G,beforeUpload:q});delete X.className,delete X.style,C&&!m||delete X.id;var Z=function(e){return s?f["createElement"](ke["a"],{componentName:"Upload",defaultLocale:Se["a"].Upload},(function(t){var n="boolean"===typeof s?{}:s,r=n.showRemoveIcon,o=n.showPreviewIcon,i=n.showDownloadIcon,a=n.removeIcon,l=n.downloadIcon;return f["createElement"](xe,{listType:d,items:R(!0),previewFile:g,onPreview:p,onDownload:h,onRemove:V,showRemoveIcon:!m&&r,showPreviewIcon:o,showDownloadIcon:i,removeIcon:a,downloadIcon:l,iconRender:y,locale:c()(c()({},t),v),isImageUrl:b,progress:w,appendAction:e,itemRender:O})})):e};if("drag"===S){var $,ee=E()(G,($={},o()($,"".concat(G,"-drag"),!0),o()($,"".concat(G,"-drag-uploading"),R().some((function(e){return"uploading"===e.status}))),o()($,"".concat(G,"-drag-hover"),"dragover"===T),o()($,"".concat(G,"-disabled"),m),o()($,"".concat(G,"-rtl"),"rtl"===J),$),k);return f["createElement"]("span",null,f["createElement"]("div",{className:ee,onDrop:W,onDragOver:W,onDragLeave:W,style:A},f["createElement"](K,c()({},X,{ref:B,className:"".concat(G,"-btn")}),f["createElement"]("div",{className:"".concat(G,"-drag-container")},C))),Z())}var te=E()(G,(n={},o()(n,"".concat(G,"-select"),!0),o()(n,"".concat(G,"-select-").concat(d),!0),o()(n,"".concat(G,"-disabled"),m),o()(n,"".concat(G,"-rtl"),"rtl"===J),n)),ne=f["createElement"]("div",{className:te,style:C?void 0:{display:"none"}},f["createElement"](K,c()({},X,{ref:B})));return"picture-card"===d?f["createElement"]("span",{className:E()("".concat(G,"-picture-card-wrapper"),k)},Z(ne)):f["createElement"]("span",{className:k},ne,Z())},_e=f["forwardRef"](Ie);_e.Dragger=H,_e.displayName="Upload",_e.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:ae,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Te=_e;Te.Dragger=H;t["a"]=Te},"94Z+":function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"===typeof n.Node?e instanceof n.Node:"object"===typeof e&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName))}e.exports=r},ABKa:function(e,t,n){"use strict";var r=n("TqRt"),o=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n("q1tI")),a=r(n("Qs9O")),l=r(n("KQxl")),c=function(e,t){return i.createElement(l.default,Object.assign({},e,{ref:t,icon:a.default}))};c.displayName="FolderOutlined";var s=i.forwardRef(c);t.default=s},AKPT:function(e,t,n){"use strict";function r(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),l=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat([[i,a.get(i)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return a=a.merge(l),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}e.exports=r},AyB5:function(e,t,n){"use strict";var r=n("s8ra"),o=n("7wDu"),i=n("CYTE"),a=i.isPlatform("Mac OS X"),l=i.isPlatform("Windows"),c=a&&i.isBrowser("Firefox < 29"),s=r.hasCommandModifier,u=r.isCtrlKeyCommand;function f(e){return a&&e.altKey||u(e)}function d(e){return s(e)?e.shiftKey?"redo":"undo":null}function p(e){return l&&e.shiftKey?null:f(e)?"delete-word":"delete"}function h(e){return s(e)&&a?"backspace-to-start-of-line":f(e)?"backspace-word":"backspace"}function g(e){switch(e.keyCode){case 66:return s(e)?"bold":null;case 68:return u(e)?"delete":null;case 72:return u(e)?"backspace":null;case 73:return s(e)?"italic":null;case 74:return s(e)?"code":null;case 75:return!l&&u(e)?"secondary-cut":null;case 77:return u(e)?"split-block":null;case 79:return u(e)?"split-block":null;case 84:return a&&u(e)?"transpose-characters":null;case 85:return s(e)?"underline":null;case 87:return a&&u(e)?"backspace-word":null;case 89:return u(e)?l?"redo":"secondary-paste":null;case 90:return d(e)||null;case o.RETURN:return"split-block";case o.DELETE:return p(e);case o.BACKSPACE:return h(e);case o.LEFT:return c&&s(e)?"move-selection-to-start-of-block":null;case o.RIGHT:return c&&s(e)?"move-selection-to-end-of-block":null;default:return null}}e.exports=g},B0ab:function(e,t,n){"use strict";var r=n("JL7T"),o=n("JPcv"),i=n("rJY1"),a=n("2NuI"),l=o.List,c=o.Map,s=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},u=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),o=n.getKey();s(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:l(i)})})),s(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:o})})),s(r,e,(function(e){return e.merge({nextSibling:o})})),s(o,e,(function(e){return e.merge({prevSibling:r})}))}))},f=function(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),o=t.getAnchorOffset(),l=e.getBlockMap(),s=l.get(n),f=s.getText(),d=s.getCharacterList(),p=i(),h=s instanceof r,g=s.merge({text:f.slice(0,o),characterList:d.slice(0,o)}),m=g.merge({key:p,text:f.slice(o),characterList:d.slice(o),data:c()}),v=l.toSeq().takeUntil((function(e){return e===s})),y=l.toSeq().skipUntil((function(e){return e===s})).rest(),b=v.concat([[n,g],[p,m]],y).toOrderedMap();return h&&(s.getChildKeys().isEmpty()||a(!1),b=u(b,g,m)),e.merge({blockMap:b,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:0,focusKey:p,focusOffset:0,isBackward:!1})})};e.exports=f},Bqw1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};t.default=r},C9ER:function(e,t,n){"use strict";var r=n("fyOY"),o=n("3sOJ"),i=n("s8ra"),a=n("7wDu"),l=n("Wkzk"),c=n("CYTE"),s=n("T401"),u=n("HEBY"),f=n("vcNX"),d=n("YUem"),p=n("MPKC"),h=n("0RQb"),g=n("ujuU"),m=n("3Br+"),v=n("tuJh"),y=n("ocgx"),b=n("SYhp"),w=i.isOptionKeyCommand,E=c.isBrowser("Chrome");function x(e,t){switch(e){case"redo":return o.redo(t);case"delete":return v(t);case"delete-word":return d(t);case"backspace":return m(t);case"backspace-word":return f(t);case"backspace-to-start-of-line":return u(t);case"split-block":return p(t);case"transpose-characters":return y(t);case"move-selection-to-start-of-block":return g(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return l.cut(t);case"secondary-paste":return l.paste(t);default:return t}}function k(e,t){var n=t.which,i=e._latestEditorState;switch(n){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&s(e.props.handleReturn(t,i)))return;break;case a.ESC:return t.preventDefault(),void(e.props.onEscape&&e.props.onEscape(t));case a.TAB:return void(e.props.onTab&&e.props.onTab(t));case a.UP:return void(e.props.onUpArrow&&e.props.onUpArrow(t));case a.RIGHT:return void(e.props.onRightArrow&&e.props.onRightArrow(t));case a.DOWN:return void(e.props.onDownArrow&&e.props.onDownArrow(t));case a.LEFT:return void(e.props.onLeftArrow&&e.props.onLeftArrow(t));case a.SPACE:if(E&&w(t)){t.preventDefault();var l=r.replaceText(i.getCurrentContent(),i.getSelection(),"\xa0");return void e.update(o.push(i,l,"insert-characters"))}}var c=e.props.keyBindingFn(t);if(c)if("undo"!==c){if(t.preventDefault(),!e.props.handleKeyCommand||!s(e.props.handleKeyCommand(c,i))){var u=x(c,i);u!==i&&e.update(u)}}else b(t,i,e.update)}e.exports=k},CFYs:function(e,t,n){"use strict";var r=n("lSNA"),o=n.n(r),i=n("pVnL"),a=n.n(i),l=n("lwsE"),c=n.n(l),s=n("W8MJ"),u=n.n(s),f=n("PJYZ"),d=n.n(f),p=n("7W2i"),h=n.n(p),g=n("LQ03"),m=n.n(g),v=n("q1tI"),y=n("TSYQ"),b=n.n(y),w=n("6UMo"),E=n("V/uB"),x=n.n(E),k=n("NAnI"),S=n.n(k),C=n("J84W"),A=n.n(C),O=n("kbBi"),I=n.n(O),_=n("H84U"),T=n("CWQg"),M=n("uaoM"),N=n("Zss7"),j=n.n(N),D=2,R=.16,L=.05,B=.05,P=.15,K=5,F=4,z=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function U(e,t,n){var r;return r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-D*t:Math.round(e.h)+D*t:n?Math.round(e.h)+D*t:Math.round(e.h)-D*t,r<0?r+=360:r>=360&&(r-=360),r}function H(e,t,n){return 0===e.h&&0===e.s?e.s:(r=n?e.s-R*t:t===F?e.s+R:e.s+L*t,r>1&&(r=1),n&&t===K&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function V(e,t,n){var r;return r=n?e.v+B*t:e.v-P*t,r>1&&(r=1),Number(r.toFixed(2))}function W(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=j()(e),o=K;o>0;o-=1){var i=r.toHsv(),a=j()({h:U(i,o,!0),s:H(i,o,!0),v:V(i,o,!0)}).toHexString();n.push(a)}n.push(r.toHexString());for(var l=1;l<=F;l+=1){var c=r.toHsv(),s=j()({h:U(c,l),s:H(c,l),v:V(c,l)}).toHexString();n.push(s)}return"dark"===t.theme?z.map((function(e){var r=e.index,o=e.opacity,i=j.a.mix(t.backgroundColor||"#141414",n[r],100*o).toHexString();return i})):n}var q={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Q={},Y={};Object.keys(q).forEach((function(e){Q[e]=W(q[e]),Q[e].primary=Q[e][5],Y[e]=W(q[e],{theme:"dark",backgroundColor:"#141414"}),Y[e].primary=Y[e][5]}));Q.red,Q.volcano,Q.gold,Q.orange,Q.yellow,Q.lime,Q.green,Q.cyan,Q.blue,Q.geekblue,Q.purple,Q.magenta,Q.grey;function J(e){return!e||e<0?0:e>100?100:e}function G(e){var t=e.success,n=e.successPercent,r=n;return t&&"progress"in t&&(Object(M["a"])(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),r=t.progress),t&&"percent"in t&&(r=t.percent),r}var X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Z=function(e){var t=[];return Object.keys(e).forEach((function(n){var r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})})),t=t.sort((function(e,t){return e.key-t.key})),t.map((function(e){var t=e.key,n=e.value;return"".concat(n," ").concat(t,"%")})).join(", ")},$=function(e){var t=e.from,n=void 0===t?q.blue:t,r=e.to,o=void 0===r?q.blue:r,i=e.direction,a=void 0===i?"to right":i,l=X(e,["from","to","direction"]);if(0!==Object.keys(l).length){var c=Z(l);return{backgroundImage:"linear-gradient(".concat(a,", ").concat(c,")")}}return{backgroundImage:"linear-gradient(".concat(a,", ").concat(n,", ").concat(o,")")}},ee=function(e){var t=e.prefixCls,n=e.percent,r=e.strokeWidth,o=e.size,i=e.strokeColor,l=e.strokeLinecap,c=e.children,s=e.trailColor,u=e.success,f=i&&"string"!==typeof i?$(i):{background:i},d=s?{backgroundColor:s}:void 0,p=a()({width:"".concat(J(n),"%"),height:r||("small"===o?6:8),borderRadius:"square"===l?0:""},f),h=G(e),g={width:"".concat(J(h),"%"),height:r||("small"===o?6:8),borderRadius:"square"===l?0:"",backgroundColor:null===u||void 0===u?void 0:u.strokeColor},m=void 0!==h?v["createElement"]("div",{className:"".concat(t,"-success-bg"),style:g}):null;return v["createElement"](v["Fragment"],null,v["createElement"]("div",{className:"".concat(t,"-outer")},v["createElement"]("div",{className:"".concat(t,"-inner"),style:d},v["createElement"]("div",{className:"".concat(t,"-bg"),style:p}),m)),c)},te=ee,ne=n("ODXe"),re=n("Ff2n"),oe={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ie=function(e){var t=e.map((function(){return Object(v["useRef"])()})),n=Object(v["useRef"])(null);return Object(v["useEffect"])((function(){var e=Date.now(),r=!1;Object.keys(t).forEach((function(o){var i=t[o].current;if(i){r=!0;var a=i.style;a.transitionDuration=".3s, .3s, .3s, .06s",n.current&&e-n.current<100&&(a.transitionDuration="0s, 0s")}})),r&&(n.current=Date.now())})),[t]},ae=function(e){var t=e.className,n=e.percent,r=e.prefixCls,o=e.strokeColor,i=e.strokeLinecap,a=e.strokeWidth,l=e.style,c=e.trailColor,s=e.trailWidth,u=e.transition,f=Object(re["a"])(e,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete f.gapPosition;var d=Array.isArray(n)?n:[n],p=Array.isArray(o)?o:[o],h=ie(d),g=Object(ne["a"])(h,1),m=g[0],y=a/2,w=100-a/2,E="M ".concat("round"===i?y:0,",").concat(y,"\n         L ").concat("round"===i?w:100,",").concat(y),x="0 0 100 ".concat(a),k=0;return v["createElement"]("svg",Object.assign({className:b()("".concat(r,"-line"),t),viewBox:x,preserveAspectRatio:"none",style:l},f),v["createElement"]("path",{className:"".concat(r,"-line-trail"),d:E,strokeLinecap:i,stroke:c,strokeWidth:s||a,fillOpacity:"0"}),d.map((function(e,t){var n={strokeDasharray:"".concat(e,"px, 100px"),strokeDashoffset:"-".concat(k,"px"),transition:u||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},o=p[t]||p[p.length-1];return k+=e,v["createElement"]("path",{key:t,className:"".concat(r,"-line-path"),d:E,strokeLinecap:i,stroke:o,strokeWidth:a,fillOpacity:"0",ref:m[t],style:n})})))};ae.defaultProps=oe,ae.displayName="Line";var le=0;function ce(e){return+e.replace("%","")}function se(e){return Array.isArray(e)?e:[e]}function ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5?arguments[5]:void 0,a=50-r/2,l=0,c=-a,s=0,u=-2*a;switch(i){case"left":l=-a,c=0,s=2*a,u=0;break;case"right":l=a,c=0,s=-2*a,u=0;break;case"bottom":c=a,u=2*a;break;default:}var f="M 50,50 m ".concat(l,",").concat(c,"\n   a ").concat(a,",").concat(a," 0 1 1 ").concat(s,",").concat(-u,"\n   a ").concat(a,",").concat(a," 0 1 1 ").concat(-s,",").concat(u),d=2*Math.PI*a,p={stroke:n,strokeDasharray:"".concat(t/100*(d-o),"px ").concat(d,"px"),strokeDashoffset:"-".concat(o/2+e/100*(d-o),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:f,pathStyle:p}}var fe=function(e){var t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,o=e.gapDegree,i=e.gapPosition,a=e.trailColor,l=e.strokeLinecap,c=e.style,s=e.className,u=e.strokeColor,f=e.percent,d=Object(re["a"])(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),p=v["useMemo"]((function(){return le+=1,le}),[]),h=ue(0,100,a,n,o,i),g=h.pathString,m=h.pathStyle,y=se(f),w=se(u),E=w.find((function(e){return"[object Object]"===Object.prototype.toString.call(e)})),x=ie(y),k=Object(ne["a"])(x,1),S=k[0],C=function(){var e=0;return y.map((function(r,a){var c=w[a]||w[w.length-1],s="[object Object]"===Object.prototype.toString.call(c)?"url(#".concat(t,"-gradient-").concat(p,")"):"",u=ue(e,r,c,n,o,i);return e+=r,v["createElement"]("path",{key:a,className:"".concat(t,"-circle-path"),d:u.pathString,stroke:s,strokeLinecap:l,strokeWidth:n,opacity:0===r?0:1,fillOpacity:"0",style:u.pathStyle,ref:S[a]})}))};return v["createElement"]("svg",Object.assign({className:b()("".concat(t,"-circle"),s),viewBox:"0 0 100 100",style:c},d),E&&v["createElement"]("defs",null,v["createElement"]("linearGradient",{id:"".concat(t,"-gradient-").concat(p),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(E).sort((function(e,t){return ce(e)-ce(t)})).map((function(e,t){return v["createElement"]("stop",{key:t,offset:e,stopColor:E[e]})})))),v["createElement"]("path",{className:"".concat(t,"-circle-trail"),d:g,stroke:a,strokeLinecap:l,strokeWidth:r||n,fillOpacity:"0",style:m}),C().reverse())};fe.defaultProps=oe,fe.displayName="Circle";var de=fe;function pe(e){var t=e.percent,n=e.success,r=e.successPercent,o=J(t),i=G({success:n,successPercent:r});return i?[J(i),J(o-J(i))]:o}function he(e){var t=e.success,n=e.strokeColor,r=e.successPercent,o=n||null,i=G({success:t,successPercent:r});return i?[q.green,o]:o}var ge=function(e){var t=e.prefixCls,n=e.width,r=e.strokeWidth,i=e.trailColor,a=e.strokeLinecap,l=e.gapPosition,c=e.gapDegree,s=e.type,u=e.children,f=n||120,d={width:f,height:f,fontSize:.15*f+6},p=r||6,h=l||"dashboard"===s&&"bottom"||"top",g=function(){return c||0===c?c:"dashboard"===s?75:void 0},m=he(e),y="[object Object]"===Object.prototype.toString.call(m),w=b()("".concat(t,"-inner"),o()({},"".concat(t,"-circle-gradient"),y));return v["createElement"]("div",{className:w,style:d},v["createElement"](de,{percent:pe(e),strokeWidth:p,trailWidth:p,strokeColor:m,strokeLinecap:a,trailColor:i,prefixCls:t,gapDegree:g(),gapPosition:h}),u)},me=ge,ve=function(e){for(var t=e.size,n=e.steps,r=e.percent,i=void 0===r?0:r,a=e.strokeWidth,l=void 0===a?8:a,c=e.strokeColor,s=e.trailColor,u=e.prefixCls,f=e.children,d=Math.floor(n*(i/100)),p="small"===t?2:14,h=[],g=0;g<n;g+=1)h.push(v["createElement"]("div",{key:g,className:b()("".concat(u,"-steps-item"),o()({},"".concat(u,"-steps-item-active"),g<=d-1)),style:{backgroundColor:g<=d-1?c:s,width:p,height:l}}));return v["createElement"]("div",{className:"".concat(u,"-steps-outer")},h,f)},ye=ve,be=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},we=(Object(T["a"])("line","circle","dashboard"),Object(T["a"])("normal","exception","active","success")),Ee=function(e){h()(n,e);var t=m()(n);function n(){var e;return c()(this,n),e=t.apply(this,arguments),e.renderProgress=function(t){var n,r,i=t.getPrefixCls,l=t.direction,c=d()(e),s=c.props,u=s.prefixCls,f=s.className,p=s.size,h=s.type,g=s.steps,m=s.showInfo,y=s.strokeColor,E=be(s,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),x=i("progress",u),k=e.getProgressStatus(),S=e.renderProcessInfo(x,k);Object(M["a"])(!("successPercent"in s),"Progress","`successPercent` is deprecated. Please use `success.percent` instead."),"line"===h?r=g?v["createElement"](ye,a()({},e.props,{strokeColor:"string"===typeof y?y:void 0,prefixCls:x,steps:g}),S):v["createElement"](te,a()({},e.props,{prefixCls:x}),S):"circle"!==h&&"dashboard"!==h||(r=v["createElement"](me,a()({},e.props,{prefixCls:x,progressStatus:k}),S));var C=b()(x,(n={},o()(n,"".concat(x,"-").concat(("dashboard"===h?"circle":g&&"steps")||h),!0),o()(n,"".concat(x,"-status-").concat(k),!0),o()(n,"".concat(x,"-show-info"),m),o()(n,"".concat(x,"-").concat(p),p),o()(n,"".concat(x,"-rtl"),"rtl"===l),n),f);return v["createElement"]("div",a()({},Object(w["default"])(E,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:C}),r)},e}return u()(n,[{key:"getPercentNumber",value:function(){var e=this.props.percent,t=void 0===e?0:e,n=G(this.props);return parseInt(void 0!==n?n.toString():t.toString(),10)}},{key:"getProgressStatus",value:function(){var e=this.props.status;return we.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,r=this.props,o=r.showInfo,i=r.format,a=r.type,l=r.percent,c=G(this.props);if(!o)return null;var s=i||function(e){return"".concat(e,"%")},u="line"===a;return i||"exception"!==t&&"success"!==t?n=s(J(l),J(c)):"exception"===t?n=u?v["createElement"](I.a,null):v["createElement"](x.a,null):"success"===t&&(n=u?v["createElement"](A.a,null):v["createElement"](S.a,null)),v["createElement"]("span",{className:"".concat(e,"-text"),title:"string"===typeof n?n:void 0},n)}},{key:"render",value:function(){return v["createElement"](_["a"],null,this.renderProgress)}}]),n}(v["Component"]);Ee.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};t["a"]=Ee},CJXx:function(e,t,n){"use strict";var r=n("MgzW");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)}var l=n("WLG0"),c=n("q1tI"),s=n("i8i4"),u=n("2NuI"),f=n("O4zn"),d=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,o=t.text,i=n.getKey(),a=r+o.length;if(e.hasEdgeWithin(i,r,a)){var l=s.findDOMNode(this);l||u(!1);var c=l.firstChild;c||u(!1);var d=void 0;c.nodeType===Node.TEXT_NODE?d=c:"BR"===c.tagName?d=l:(d=c.firstChild,d||u(!1)),f(e,d,i,r,a)}}},t.prototype.shouldComponentUpdate=function(e){var t=s.findDOMNode(this.leaf);return t||u(!1),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},t.prototype.componentDidUpdate=function(){this._setSelection()},t.prototype.componentDidMount=function(){this._setSelection()},t.prototype.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var o=this.props,i=o.customStyleMap,a=o.customStyleFn,s=o.offsetKey,u=o.styleSet,f=u.reduce((function(e,t){var n={},o=i[t];return void 0!==o&&e.textDecoration!==o.textDecoration&&(n.textDecoration=[e.textDecoration,o.textDecoration].join(" ").trim()),r(e,o,n)}),{});if(a){var d=a(u,t);f=r(f,d)}return c.createElement("span",{"data-offset-key":s,ref:function(t){return e.leaf=t},style:f},c.createElement(l,null,n))},t}(c.Component);e.exports=d},CP8R:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};t.default=r},CYTE:function(e,t,n){"use strict";var r=n("KL9H"),o=n("QfTi"),i=n("bd9B"),a=n("rWXM");function l(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,o.contains(i,t))}function c(e){return"Windows"===r.platformName?e.replace(/^\s*NT/,""):e}var s={isBrowser:function(e){return l(r.browserName,r.browserFullVersion,e)},isBrowserArchitecture:function(e){return l(r.browserArchitecture,null,e)},isDevice:function(e){return l(r.deviceName,null,e)},isEngine:function(e){return l(r.engineName,r.engineVersion,e)},isPlatform:function(e){return l(r.platformName,r.platformFullVersion,e,c)},isPlatformArchitecture:function(e){return l(r.platformArchitecture,null,e)}};e.exports=i(s,a)},Csr3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("4vCz"));function o(e){return e&&e.__esModule?e:{default:e}}var i=r;t.default=i,e.exports=i},DEWG:function(e,t,n){"use strict";function r(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),l=o,c=a.getBlockForKey(o);return t>c.getText().length-i?(l=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:l,focusOffset:n})}e.exports=r},DL4k:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};t.default=r},DO2E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};t.default=r},DYKh:function(e,t,n){"use strict";var r=n("V8dp"),o=n("bu5B"),i=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),l=t.getEndOffset(),c=o(e,t),s=c.getBlockMap(),u=s.keySeq(),f=u.indexOf(n),d=u.indexOf(a)+1;return r(s.slice(f,d).map((function(e,t){var r=e.getText(),o=e.getCharacterList();return n===a?e.merge({text:r.slice(i,l),characterList:o.slice(i,l)}):t===n?e.merge({text:r.slice(i),characterList:o.slice(i)}):t===a?e.merge({text:r.slice(0,l),characterList:o.slice(0,l)}):e})))};e.exports=i},DZo9:function(e,t,n){"use strict";n("cIOH"),n("JGo8"),n("+L6B"),n("MXD1"),n("5Dmo")},DeIs:function(e,t,n){"use strict";var r=n("83KV"),o=n("MxAa");function i(e){var t=r(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=o(e),i=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-i.clientWidth,l=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,l)),n}e.exports=i},DthY:function(e,t,n){"use strict";var r=n("MgzW"),o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 l(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 c=n("CJXx"),s=n("Iq8E"),u=n("q1tI"),f=n("i8i4"),d=n("prOm"),p=n("6Xrj"),h=n("fZAc"),g=n("mjHj"),m=n("YVIB"),v=n("p1kU"),y=n("DeIs"),b=n("tKWh"),w=n("2NuI"),E=n("gWRK"),x=10,k=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},S=function(e){function t(){return i(this,t),a(this,e.apply(this,arguments))}return l(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||k(e.selection,e.block.getKey())&&e.forceSelection},t.prototype.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=f.findDOMNode(this),r=p.getScrollParent(n),o=y(r),i=void 0;if(r===window){var a=v(n),l=a.y+a.height,c=b().height;i=l-c,i>0&&window.scrollTo(o.x,o.y+i+x)}else{n instanceof HTMLElement||w(!1);var s=n.offsetHeight+n.offsetTop,u=r.offsetHeight+o.y;i=s-u,i>0&&d.setTop(r,d.getTop(r)+i+x)}}},t.prototype._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),i=this.props.tree.size-1,a=k(this.props.selection,n);return this.props.tree.map((function(l,f){var d=l.get("leaves"),p=d.size-1,m=d.map((function(o,l){var d=s.encode(n,f,l),h=o.get("start"),g=o.get("end");return u.createElement(c,{key:d,offsetKey:d,block:t,start:h,selection:a?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(h,g),styleSet:t.getInlineStyleAt(h),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:f===i&&l===p})})).toArray(),v=l.get("decoratorKey");if(null==v)return m;if(!e.props.decorator)return m;var y=E(e.props.decorator),b=y.getComponentForKey(v);if(!b)return m;var w=y.getPropsForKey(v),x=s.encode(n,f,0),k=r.slice(d.first().get("start"),d.last().get("end")),S=g.getHTMLDirIfDifferent(h.getDirection(k),e.props.direction);return u.createElement(b,o({},w,{contentState:e.props.contentState,decoratedText:k,dir:S,key:x,entityKey:t.getEntityAt(l.get("start")),offsetKey:x}),m)})).toArray()},t.prototype.render=function(){var e=this.props,t=e.direction,n=e.offsetKey,r=m({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===t,"public/DraftStyleDefault/rtl":"RTL"===t});return u.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},t}(u.Component);e.exports=S},FcOR:function(e,t,n){"use strict";e.exports={logSelectionStateFailure:function(){return null}}},"Fm1+":function(e,t,n){"use strict";var r=n("TqRt"),o=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n("q1tI")),a=r(n("a7Wl")),l=r(n("KQxl")),c=function(e,t){return i.createElement(l.default,Object.assign({},e,{ref:t,icon:a.default}))};c.displayName="CaretUpOutlined";var s=i.forwardRef(c);t.default=s},H7ev:function(e,t,n){!function(t,r){e.exports=r(n("v83y"),n("JPcv"))}("undefined"!=typeof self&&self,(function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(t,n){t.exports=e},function(e,t,n){"use strict";function r(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getStartKey(),o=t.getEndKey(),i=n.getBlockMap();return i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,i.get(o)]])}function o(e){return r(e).toList()}function i(e){if(e)return o(e).get(0)}function a(e){if(e){var t=i(e),n=e.getCurrentContent(),r=n.getBlockMap().toSeq().toList(),o=0;if(r.forEach((function(e,n){e.get("key")===t.get("key")&&(o=n-1)})),o>-1)return r.get(o)}}function l(e){return e?e.getCurrentContent().getBlockMap().toList():new v.List}function c(e){var t=o(e);if(!t.some((function(e){return e.type!==t.get(0).type})))return t.get(0).type}function s(e){var t=m.RichUtils.tryToRemoveBlockStyle(e);return t?m.EditorState.push(e,t,"change-block-type"):e}function u(e){var t="",n=e.getSelection(),r=n.getAnchorOffset(),i=n.getFocusOffset(),a=o(e);if(a.size>0){if(n.getIsBackward()){var l=r;r=i,i=l}for(var c=0;c<a.size;c+=1){var s=0===c?r:0,u=c===a.size-1?i:a.get(c).getText().length;t+=a.get(c).getText().slice(s,u)}}return t}function f(e){var t=e.getCurrentContent(),n=e.getSelection(),r=m.Modifier.removeRange(t,n,"forward"),o=r.getSelectionAfter(),i=r.getBlockForKey(o.getStartKey());return r=m.Modifier.insertText(r,o,"\n",i.getInlineStyleAt(o.getStartOffset()),null),m.EditorState.push(e,r,"insert-fragment")}function d(e){var t=m.Modifier.splitBlock(e.getCurrentContent(),e.getSelection());return s(m.EditorState.push(e,t,"split-block"))}function p(e){var t=e.getCurrentContent().getBlockMap().toList(),n=e.getSelection().merge({anchorKey:t.first().get("key"),anchorOffset:0,focusKey:t.last().get("key"),focusOffset:t.last().getLength()}),r=m.Modifier.removeRange(e.getCurrentContent(),n,"forward");return m.EditorState.push(e,r,"remove-range")}function h(e,t){var n=m.Modifier.setBlockData(e.getCurrentContent(),e.getSelection(),t);return m.EditorState.push(e,n,"change-block-data")}function g(e){var t=new v.Map({}),n=o(e);if(n&&n.size>0)for(var r=0;r<n.size;r+=1){var i=function(e){var r=n.get(e).getData();if(!r||0===r.size)return t=t.clear(),"break";if(0===e)t=r;else if(t.forEach((function(e,n){r.get(n)&&r.get(n)===e||(t=t.delete(n))})),0===t.size)return t=t.clear(),"break"}(r);if("break"===i)break}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.blockRenderMap=void 0,t.getSelectedBlocksMap=r,t.getSelectedBlocksList=o,t.getSelectedBlock=i,t.getBlockBeforeSelectedBlock=a,t.getAllBlocks=l,t.getSelectedBlocksType=c,t.removeSelectedBlocksStyle=s,t.getSelectionText=u,t.addLineBreakRemovingSelection=f,t.insertNewUnstyledBlock=d,t.clearEditorContent=p,t.setBlockData=h,t.getSelectedBlocksMetadata=g;var m=n(0),v=n(6),y=(0,v.Map)({code:{element:"pre"}});t.blockRenderMap=m.DefaultDraftBlockRenderMap.merge(y)},function(e,t,n){"use strict";function r(e){if(e){var t=e.getType();return"unordered-list-item"===t||"ordered-list-item"===t}return!1}function o(e,t,n){var r=e.getSelection(),o=e.getCurrentContent(),i=o.getBlockMap(),a=(0,l.getSelectedBlocksMap)(e).map((function(e){var r=e.getDepth()+t;return r=Math.max(0,Math.min(r,n)),e.set("depth",r)}));return i=i.merge(a),o.merge({blockMap:i,selectionBefore:r,selectionAfter:r})}function i(e,t,n){var r=e.getSelection(),i=void 0;i=r.getIsBackward()?r.getFocusKey():r.getAnchorKey();var l=e.getCurrentContent(),c=l.getBlockForKey(i),s=c.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return e;var u=l.getBlockBefore(i);if(!u)return e;if(u.getType()!==s)return e;var f=c.getDepth();if(1===t&&f===n)return e;var d=Math.min(u.getDepth()+1,n),p=o(e,t,d);return a.EditorState.push(e,p,"adjust-depth")}Object.defineProperty(t,"__esModule",{value:!0}),t.isListBlock=r,t.changeDepth=i;var a=n(0),l=n(1)},function(e,t,n){e.exports=n(4)},function(e,t,n){"use strict";var r=n(5),o=n(1),i=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(i),l=n(2);e.exports={getSelectedBlocksMap:o.getSelectedBlocksMap,getSelectedBlocksList:o.getSelectedBlocksList,getSelectedBlock:o.getSelectedBlock,getBlockBeforeSelectedBlock:o.getBlockBeforeSelectedBlock,getAllBlocks:o.getAllBlocks,getSelectedBlocksType:o.getSelectedBlocksType,removeSelectedBlocksStyle:o.removeSelectedBlocksStyle,getSelectionText:o.getSelectionText,addLineBreakRemovingSelection:o.addLineBreakRemovingSelection,insertNewUnstyledBlock:o.insertNewUnstyledBlock,clearEditorContent:o.clearEditorContent,setBlockData:o.setBlockData,getSelectedBlocksMetadata:o.getSelectedBlocksMetadata,blockRenderMap:o.blockRenderMap,getEntityRange:r.getEntityRange,getCustomStyleMap:r.getCustomStyleMap,toggleCustomInlineStyle:r.toggleCustomInlineStyle,getSelectionEntity:r.getSelectionEntity,extractInlineStyle:r.extractInlineStyle,removeAllInlineStyles:r.removeAllInlineStyles,getSelectionInlineStyle:r.getSelectionInlineStyle,getSelectionCustomInlineStyle:r.getSelectionCustomInlineStyle,handleNewLine:a.default,isListBlock:l.isListBlock,changeDepth:l.changeDepth}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=e.getSelection();if(t.isCollapsed()){var n={},r=e.getCurrentInlineStyle().toList().toJS();if(r)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(e){n[e]=r.indexOf(e)>=0})),n}var o=t.getStartOffset(),i=t.getEndOffset(),a=(0,m.getSelectedBlocksList)(e);if(a.size>0){var l=function(){for(var e={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},t=0;t<a.size;t+=1){var n=0===t?o:0,r=t===a.size-1?i:a.get(t).getText().length;n===r&&0===n?(n=1,r=2):n===r&&(n-=1);for(var l=n;l<r;l+=1)!function(n){var r=a.get(t).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(t){e[t]=e[t]&&r.get(t)===t}))}(l)}return{v:e}}();if("object"===(void 0===l?"undefined":h(l)))return l.v}return{}}function i(e){var t=void 0,n=e.getSelection(),r=n.getStartOffset(),o=n.getEndOffset();r===o&&0===r?o=1:r===o&&(r-=1);for(var i=(0,m.getSelectedBlock)(e),a=r;a<o;a+=1){var l=i.getEntityAt(a);if(!l){t=void 0;break}if(a===r)t=l;else if(t!==l){t=void 0;break}}return t}function a(e,t){var n=(0,m.getSelectedBlock)(e),r=void 0;return n.findEntityRanges((function(e){return e.get("entity")===t}),(function(e,t){r={start:e,end:t,text:n.get("text").slice(e,t)}})),r}function l(e,t,n){var r=e.getSelection(),o=Object.keys(v[t]).reduce((function(e,t){return g.Modifier.removeInlineStyle(e,r,t)}),e.getCurrentContent()),i=g.EditorState.push(e,o,"changeinline-style"),a=e.getCurrentInlineStyle();if(r.isCollapsed()&&(i=a.reduce((function(e,t){return g.RichUtils.toggleInlineStyle(e,t)}),i)),"SUPERSCRIPT"===t||"SUBSCRIPT"==t)a.has(n)||(i=g.RichUtils.toggleInlineStyle(i,n));else{var l="bgcolor"===t?"backgroundColor":t;a.has(l+"-"+n)||(i=g.RichUtils.toggleInlineStyle(i,t.toLowerCase()+"-"+n),y(t,l,n))}return i}function c(e){e&&e.getCurrentContent().getBlockMap().map((function(e){return e.get("characterList")})).toList().flatten().forEach((function(e){e&&0===e.indexOf("color-")?y("color","color",e.substr(6)):e&&0===e.indexOf("bgcolor-")?y("bgcolor","backgroundColor",e.substr(8)):e&&0===e.indexOf("fontsize-")?y("fontSize","fontSize",+e.substr(9)):e&&0===e.indexOf("fontfamily-")&&y("fontFamily","fontFamily",e.substr(11))}))}function s(e,t,n){var r=e.getInlineStyleAt(n).toList(),o=r.filter((function(e){return e.startsWith(t.toLowerCase())}));if(o&&o.size>0)return o.get(0)}function u(e,t){var n=e.getCurrentInlineStyle().toList(),r=n.filter((function(e){return e.startsWith(t.toLowerCase())}));if(r&&r.size>0)return r.get(0)}function f(e,t){if(e&&t&&t.length>0){var n=function(){var n=e.getSelection(),r={};if(n.isCollapsed())return t.forEach((function(t){r[t]=u(e,t)})),{v:r};var o=n.getStartOffset(),i=n.getEndOffset(),a=(0,m.getSelectedBlocksList)(e);if(a.size>0){for(var l=0;l<a.size;l+=1)!function(e){var n=0===e?o:0,l=e===a.size-1?i:a.get(e).getText().length;n===l&&0===n?(n=1,l=2):n===l&&(n-=1);for(var c=n;c<l;c+=1)!function(o){o===n?t.forEach((function(t){r[t]=s(a.get(e),t,o)})):t.forEach((function(t){r[t]&&r[t]!==s(a.get(e),t,o)&&(r[t]=void 0)}))}(c)}(l);return{v:r}}}();if("object"===(void 0===n?"undefined":h(n)))return n.v}return{}}function d(e){var t=e.getCurrentInlineStyle(),n=e.getCurrentContent();return t.forEach((function(t){n=g.Modifier.removeInlineStyle(n,e.getSelection(),t)})),g.EditorState.push(e,n,"change-inline-style")}Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomStyleMap=void 0;var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.getSelectionInlineStyle=o,t.getSelectionEntity=i,t.getEntityRange=a,t.toggleCustomInlineStyle=l,t.extractInlineStyle=c,t.getSelectionCustomInlineStyle=f,t.removeAllInlineStyles=d;var g=n(0),m=n(1),v={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}},y=function(e,t,n){v[e][e.toLowerCase()+"-"+n]=r({},""+t,n)};t.getCustomStyleMap=function(){return p({},v.color,v.bgcolor,v.fontSize,v.fontFamily,{CODE:v.CODE,SUPERSCRIPT:v.SUPERSCRIPT,SUBSCRIPT:v.SUBSCRIPT})}},function(e,n){e.exports=t},function(e,t,n){"use strict";function r(e){var t=e.getSelection();if(t.isCollapsed()){var n=e.getCurrentContent(),r=t.getStartKey(),o=n.getBlockForKey(r);if(!(0,c.isListBlock)(o)&&"unstyled"!==o.getType()&&o.getLength()===t.getStartOffset())return(0,l.insertNewUnstyledBlock)(e);if((0,c.isListBlock)(o)&&0===o.getLength()){var i=o.getDepth();if(0===i)return(0,l.removeSelectedBlocksStyle)(e);if(i>0)return(0,c.changeDepth)(e,-1,i)}}}function o(e){return 13===e.which&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))}function i(e,t){return o(t)?e.getSelection().isCollapsed()?a.RichUtils.insertSoftNewline(e):(0,l.addLineBreakRemovingSelection)(e):r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(0),l=n(1),c=n(2)}])}))},HBhm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};t.default=r},HEBY:function(e,t,n){"use strict";(function(t){var r=n("3sOJ"),o=n("HezI"),i=n("ISee"),a=n("kWjT"),l=n("8d//");function c(e){var n=l(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(e,1);var r=t.getSelection(),l=r.getRangeAt(0);return l=o(l),i(e,null,l.endContainer,l.endOffset,l.startContainer,l.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:r.push(e,n,"remove-range")}e.exports=c}).call(this,n("yLpj"))},HKS5:function(e,t,n){"use strict";(function(t){var r=n("2NuI"),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0},a=5e3;function l(e,t){var n=0,r=[];e.forEach((function(o){c(o,(function(o){n++,o&&r.push(o.slice(0,a)),n==e.length&&t(r.join("\r"))}))}))}function c(e,n){if(!t.FileReader||e.type&&!(e.type in i))n("");else{if(""===e.type){var a="";return o.test(e.name)&&(a=e.name.replace(o,"")),void n(a)}var l=new FileReader;l.onload=function(){var e=l.result;"string"!==typeof e&&r(!1),n(e)},l.onerror=function(){n("")},l.readAsText(e)}}e.exports=l}).call(this,n("yLpj"))},Hdlu: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("q1tI"),l=n("YVIB"),c=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},t.prototype.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=l({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e}),n={whiteSpace:"pre-wrap"};return a.createElement("div",{className:t},a.createElement("div",{className:l("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:n},this.props.text))},t}(a.Component);e.exports=c},HezI:function(e,t,n){"use strict";var r=n("jLRO"),o=n("158f"),i=n("2NuI");function a(e){var t=getComputedStyle(e),n=document.createElement("div");n.style.fontFamily=t.fontFamily,n.style.fontSize=t.fontSize,n.style.fontStyle=t.fontStyle,n.style.fontWeight=t.fontWeight,n.style.lineHeight=t.lineHeight,n.style.position="absolute",n.textContent="M";var r=document.body;r||i(!1),r.appendChild(n);var o=n.getBoundingClientRect();return r.removeChild(n),o.height}function l(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<e.length;a++){var l=e[a];0!==l.width&&1!==l.width&&(n=Math.min(n,l.top),r=Math.min(r,l.bottom),o=Math.max(o,l.top),i=Math.max(i,l.bottom))}return o<=r&&o-n<t&&i-r<t}function c(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}function s(e){e.collapsed||i(!1),e=e.cloneRange();var t=e.startContainer;1!==t.nodeType&&(t=t.parentNode);var n=a(t),s=e.endContainer,u=e.endOffset;e.setStart(e.startContainer,0);while(l(o(e),n))if(s=e.startContainer,u=e.startOffset,s.parentNode||i(!1),e.setStartBefore(s),1===s.nodeType&&"inline"!==getComputedStyle(s).display)break;var f=s,d=u-1;do{for(var p=f.nodeValue,h=d;h>=0;h--)if(!(null!=p&&h>0&&r.isSurrogatePair(p,h-1))){if(e.setStart(f,h),!l(o(e),n))break;s=f,u=h}if(-1===h||0===f.childNodes.length)break;f=f.childNodes[h],d=c(f)}while(1);return e.setStart(s,u),e}e.exports=s},HriT:function(e,t,n){"use strict";var r=new RegExp("\r","g");function o(e){return e.replace(r,"")}e.exports=o},I2Ug:function(e,t,n){"use strict";var r=n("JL7T"),o=n("JPcv"),i=n("VTBg"),a=n("2NuI"),l=o.OrderedMap,c=o.List,s=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},u=function(e,t,n,r,o){if(!o)return e;var i="after"===r,a=t.getKey(),l=n.getKey(),u=t.getParentKey(),f=t.getNextSiblingKey(),d=t.getPrevSiblingKey(),p=n.getParentKey(),h=i?n.getNextSiblingKey():l,g=i?l:n.getPrevSiblingKey();return e.withMutations((function(e){s(u,e,(function(e){var t=e.getChildKeys();return e.merge({children:t["delete"](t.indexOf(a))})})),s(d,e,(function(e){return e.merge({nextSibling:f})})),s(f,e,(function(e){return e.merge({prevSibling:d})})),s(h,e,(function(e){return e.merge({prevSibling:a})})),s(g,e,(function(e){return e.merge({nextSibling:a})})),s(p,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(l),r=i?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,a),e.merge({children:c(o)})})),s(a,e,(function(e){return e.merge({nextSibling:h,prevSibling:g,parent:p})}))}))},f=function(e,t,n,o){"replace"===o&&a(!1);var c=n.getKey(),s=t.getKey();s===c&&a(!1);var f=e.getBlockMap(),d=t instanceof r,p=[t],h=f["delete"](s);d&&(p=[],h=f.withMutations((function(e){var n=t.getNextSiblingKey(),r=i(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===s})).takeWhile((function(e){var t=e.getKey(),o=t===s,i=n&&t!==n,a=!n&&e.getParentKey()&&(!r||t!==r);return!!(o||i||a)})).forEach((function(t){p.push(t),e["delete"](t.getKey())}))})));var g=h.toSeq().takeUntil((function(e){return e===n})),m=h.toSeq().skipUntil((function(e){return e===n})).skip(1),v=p.map((function(e){return[e.getKey(),e]})),y=l();if("before"===o){var b=e.getBlockBefore(c);b&&b.getKey()===t.getKey()&&a(!1),y=g.concat([].concat(v,[[c,n]]),m).toOrderedMap()}else if("after"===o){var w=e.getBlockAfter(c);w&&w.getKey()===s&&a(!1),y=g.concat([[c,n]].concat(v),m).toOrderedMap()}return e.merge({blockMap:u(y,t,n,o,d),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:s,focusKey:s})})};e.exports=f},I8OZ: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("fZAc"),i=n("mjHj"),a=n("2NuI"),l=function(){function e(t){r(this,e),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}return e.prototype.reset=function(){this._lastDir=this._defaultDir},e.prototype.getDirection=function(e){return this._lastDir=o.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=l},IDhZ:function(e,t,n){"use strict";var r=n("MgzW"),o=n("q1tI");function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a="function"===typeof Symbol&&Symbol.for,l=a?Symbol.for("react.portal"):60106,c=a?Symbol.for("react.fragment"):60107,s=a?Symbol.for("react.strict_mode"):60108,u=a?Symbol.for("react.profiler"):60114,f=a?Symbol.for("react.provider"):60109,d=a?Symbol.for("react.context"):60110,p=a?Symbol.for("react.concurrent_mode"):60111,h=a?Symbol.for("react.forward_ref"):60112,g=a?Symbol.for("react.suspense"):60113,m=a?Symbol.for("react.suspense_list"):60120,v=a?Symbol.for("react.memo"):60115,y=a?Symbol.for("react.lazy"):60116,b=a?Symbol.for("react.block"):60121,w=a?Symbol.for("react.fundamental"):60117,E=a?Symbol.for("react.scope"):60119;function x(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}function k(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case c:return"Fragment";case l:return"Portal";case u:return"Profiler";case s:return"StrictMode";case g:return"Suspense";case m:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case d:return"Context.Consumer";case f:return"Context.Provider";case h:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case v:return k(e.type);case b:return k(e.render);case y:if(e=1===e._status?e._result:null)return k(e)}return null}var S=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;S.hasOwnProperty("ReactCurrentDispatcher")||(S.ReactCurrentDispatcher={current:null}),S.hasOwnProperty("ReactCurrentBatchConfig")||(S.ReactCurrentBatchConfig={suspense:null});var C={};function A(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}function O(e,t,n,r){if(r&&(r=e.contextType,"object"===typeof r&&null!==r))return A(r,n),r[n];if(e=e.contextTypes){for(var o in n={},e)n[o]=t[o];t=n}else t=C;return t}for(var I=new Uint16Array(16),_=0;15>_;_++)I[_]=_+1;I[15]=0;var T=/^[: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]*$/,M=Object.prototype.hasOwnProperty,N={},j={};function D(e){return!!M.call(j,e)||!M.call(N,e)&&(T.test(e)?j[e]=!0:(N[e]=!0,!1))}function R(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),"data-"!==e&&"aria-"!==e));default:return!1}}function L(e,t,n,r){if(null===t||"undefined"===typeof t||R(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function B(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){P[e]=new B(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];P[t]=new B(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){P[e]=new B(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){P[e]=new B(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){P[e]=new B(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){P[e]=new B(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){P[e]=new B(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){P[e]=new B(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){P[e]=new B(e,5,!1,e.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function F(e){return e[1].toUpperCase()}"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(K,F);P[t]=new B(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(K,F);P[t]=new B(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(K,F);P[t]=new B(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){P[e]=new B(e,1,!1,e.toLowerCase(),null,!1)})),P.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){P[e]=new B(e,1,!1,e.toLowerCase(),null,!0)}));var z=/["'&<>]/;function U(e){if("boolean"===typeof e||"number"===typeof e)return""+e;e=""+e;var t=z.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}function H(e,t){var n,r=P.hasOwnProperty(e)?P[e]:null;return(n="style"!==e)&&(n=null!==r?0===r.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),n||L(e,t,r,!1)?"":null!==r?(e=r.attributeName,n=r.type,3===n||4===n&&!0===t?e+'=""':(r.sanitizeURL&&(t=""+t),e+'="'+U(t)+'"')):D(e)?e+'="'+U(t)+'"':""}function V(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t}var W="function"===typeof Object.is?Object.is:V,q=null,Q=null,Y=null,J=!1,G=!1,X=null,Z=0;function $(){if(null===q)throw Error(i(321));return q}function ee(){if(0<Z)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function te(){return null===Y?null===Q?(J=!1,Q=Y=ee()):(J=!0,Y=Q):null===Y.next?(J=!1,Y=Y.next=ee()):(J=!0,Y=Y.next),Y}function ne(e,t,n,r){for(;G;)G=!1,Z+=1,Y=null,n=e(t,r);return Q=q=null,Z=0,Y=X=null,n}function re(e,t){return"function"===typeof t?t(e):t}function oe(e,t,n){if(q=$(),Y=te(),J){var r=Y.queue;if(t=r.dispatch,null!==X&&(n=X.get(r),void 0!==n)){X.delete(r),r=Y.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Y.memoizedState=r,[r,t]}return[Y.memoizedState,t]}return e=e===re?"function"===typeof t?t():t:void 0!==n?n(t):t,Y.memoizedState=e,e=Y.queue={last:null,dispatch:null},e=e.dispatch=ie.bind(null,q,e),[Y.memoizedState,e]}function ie(e,t,n){if(!(25>Z))throw Error(i(301));if(e===q)if(G=!0,e={action:n,next:null},null===X&&(X=new Map),n=X.get(t),void 0===n)X.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function ae(){}var le=0,ce={readContext:function(e){var t=le;return A(e,t),e[t]},useContext:function(e){$();var t=le;return A(e,t),e[t]},useMemo:function(e,t){if(q=$(),Y=te(),t=void 0===t?null:t,null!==Y){var n=Y.memoizedState;if(null!==n&&null!==t){e:{var r=n[1];if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!W(t[o],r[o])){r=!1;break e}r=!0}}if(r)return n[0]}}return e=e(),Y.memoizedState=[e,t],e},useReducer:oe,useRef:function(e){q=$(),Y=te();var t=Y.memoizedState;return null===t?(e={current:e},Y.memoizedState=e):t},useState:function(e){return oe(re,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:ae,useEffect:ae,useDebugValue:ae,useResponder:function(e,t){return{props:t,responder:e}},useDeferredValue:function(e){return $(),e},useTransition:function(){return $(),[function(e){e()},!1]}},se={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ue(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"}}var fe={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},de=r({menuitem:!0},fe),pe={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,gridArea:!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},he=["Webkit","ms","Moz","O"];Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=/([A-Z])/g,me=/^ms-/,ve=o.Children.toArray,ye=S.ReactCurrentDispatcher,be={listing:!0,pre:!0,textarea:!0},we=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ee={},xe={};function ke(e){if(void 0===e||null===e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}var Se=Object.prototype.hasOwnProperty,Ce={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Ae(e,t){if(void 0===e)throw Error(i(152,k(t)||"Component"))}function Oe(e,t,n){function a(o,a){var l=a.prototype&&a.prototype.isReactComponent,c=O(a,t,n,l),s=[],u=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===s)return null},enqueueReplaceState:function(e,t){u=!0,s=[t]},enqueueSetState:function(e,t){if(null===s)return null;s.push(t)}};if(l){if(l=new a(o.props,c,f),"function"===typeof a.getDerivedStateFromProps){var d=a.getDerivedStateFromProps.call(null,o.props,l.state);null!=d&&(l.state=r({},l.state,d))}}else if(q={},l=a(o.props,c,f),l=ne(a,o.props,l,c),null==l||null==l.render)return e=l,void Ae(e,a);if(l.props=o.props,l.context=c,l.updater=f,f=l.state,void 0===f&&(l.state=f=null),"function"===typeof l.UNSAFE_componentWillMount||"function"===typeof l.componentWillMount)if("function"===typeof l.componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&l.UNSAFE_componentWillMount(),s.length){f=s;var p=u;if(s=null,u=!1,p&&1===f.length)l.state=f[0];else{d=p?f[0]:l.state;var h=!0;for(p=p?1:0;p<f.length;p++){var g=f[p];g="function"===typeof g?g.call(l,d,o.props,c):g,null!=g&&(h?(h=!1,d=r({},d,g)):r(d,g))}l.state=d}}else s=null;if(e=l.render(),Ae(e,a),"function"===typeof l.getChildContext&&(o=a.childContextTypes,"object"===typeof o)){var m=l.getChildContext();for(var v in m)if(!(v in o))throw Error(i(108,k(a)||"Unknown",v))}m&&(t=r({},t,m))}for(;o.isValidElement(e);){var l=e,c=l.type;if("function"!==typeof c)break;a(l,c)}return{child:e,context:t}}var Ie=function(){function e(e,t){o.isValidElement(e)?e.type!==c?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:ve(e)):e=ve(e),e={type:null,domNamespace:se.html,children:e,childIndex:0,context:C,footer:""};var n=I[0];if(0===n){var r=I;n=r.length;var a=2*n;if(!(65536>=a))throw Error(i(304));var l=new Uint16Array(a);for(l.set(r),I=l,I[0]=n+1,r=n;r<a-1;r++)I[r]=r+1;I[a-1]=0}else I[0]=I[n];this.threadID=n,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;I[e]=I[0],I[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;A(n,r);var o=n[r];this.contextStack[t]=n,this.contextValueStack[t]=o,n[r]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=le;le=this.threadID;var n=ye.current;ye.current=ce;try{for(var r=[""],o=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;I[a]=I[0],I[0]=a;break}var l=this.stack[this.stack.length-1];if(o||l.childIndex>=l.children.length){var c=l.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===l.type)this.currentSelectValue=null;else if(null!=l.type&&null!=l.type.type&&l.type.type.$$typeof===f)this.popProvider(l.type);else if(l.type===g){this.suspenseDepth--;var s=r.pop();if(o){o=!1;var u=l.fallbackFrame;if(!u)throw Error(i(303));this.stack.push(u),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=s}r[this.suspenseDepth]+=c}else{var d=l.children[l.childIndex++],p="";try{p+=this.render(d,l.context,l.domNamespace)}catch(h){if(null!=h&&"function"===typeof h.then)throw Error(i(294));throw h}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=p}}return r[0]}finally{ye.current=n,le=t}},t.render=function(e,t,n){if("string"===typeof e||"number"===typeof e)return n=""+e,""===n?"":this.makeStaticMarkup?U(n):this.previousWasTextNode?"\x3c!-- --\x3e"+U(n):(this.previousWasTextNode=!0,U(n));if(t=Oe(e,t,this.threadID),e=t.child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if(n=e.$$typeof,n===l)throw Error(i(257));throw Error(i(258,n.toString()))}return e=ve(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}var a=e.type;if("string"===typeof a)return this.renderDOM(e,t,n);switch(a){case s:case p:case u:case m:case c:return e=ve(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case g:throw Error(i(294))}if("object"===typeof a&&null!==a)switch(a.$$typeof){case h:q={};var b=a.render(e.props,e.ref);return b=ne(a.render,e.props,b,e.ref),b=ve(b),this.stack.push({type:null,domNamespace:n,children:b,childIndex:0,context:t,footer:""}),"";case v:return e=[o.createElement(a.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case f:return a=ve(e.props.children),n={type:e,domNamespace:n,children:a,childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case d:a=e.type,b=e.props;var k=this.threadID;return A(a,k),a=ve(b.children(a[k])),this.stack.push({type:e,domNamespace:n,children:a,childIndex:0,context:t,footer:""}),"";case w:throw Error(i(338));case y:switch(a=e.type,x(a),a._status){case 1:return e=[o.createElement(a._result,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case 2:throw a._result;default:throw Error(i(295))}case E:throw Error(i(343))}throw Error(i(130,null==a?a:typeof a,""))},t.renderDOM=function(e,t,n){var o=e.type.toLowerCase();if(n===se.html&&ue(o),!Ee.hasOwnProperty(o)){if(!we.test(o))throw Error(i(65,o));Ee[o]=!0}var a=e.props;if("input"===o)a=r({type:void 0},a,{defaultChecked:void 0,defaultValue:void 0,value:null!=a.value?a.value:a.defaultValue,checked:null!=a.checked?a.checked:a.defaultChecked});else if("textarea"===o){var l=a.value;if(null==l){l=a.defaultValue;var c=a.children;if(null!=c){if(null!=l)throw Error(i(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(i(93));c=c[0]}l=""+c}null==l&&(l="")}a=r({},a,{value:void 0,children:""+l})}else if("select"===o)this.currentSelectValue=null!=a.value?a.value:a.defaultValue,a=r({},a,{value:void 0});else if("option"===o){c=this.currentSelectValue;var s=ke(a.children);if(null!=c){var u=null!=a.value?a.value+"":s;if(l=!1,Array.isArray(c)){for(var f=0;f<c.length;f++)if(""+c[f]===u){l=!0;break}}else l=""+c===u;a=r({selected:void 0,children:void 0},a,{selected:l,children:s})}}if(l=a){if(de[o]&&(null!=l.children||null!=l.dangerouslySetInnerHTML))throw Error(i(137,o,""));if(null!=l.dangerouslySetInnerHTML){if(null!=l.children)throw Error(i(60));if("object"!==typeof l.dangerouslySetInnerHTML||!("__html"in l.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=l.style&&"object"!==typeof l.style)throw Error(i(62,""))}for(b in l=a,c=this.makeStaticMarkup,s=1===this.stack.length,u="<"+e.type,l)if(Se.call(l,b)){var d=l[b];if(null!=d){if("style"===b){f=void 0;var p="",h="";for(f in d)if(d.hasOwnProperty(f)){var g=0===f.indexOf("--"),m=d[f];if(null!=m){if(g)var v=f;else if(v=f,xe.hasOwnProperty(v))v=xe[v];else{var y=v.replace(ge,"-$1").toLowerCase().replace(me,"-ms-");v=xe[v]=y}p+=h+v+":",h=f,g=null==m||"boolean"===typeof m||""===m?"":g||"number"!==typeof m||0===m||pe.hasOwnProperty(h)&&pe[h]?(""+m).trim():m+"px",p+=g,h=";"}}d=p||null}f=null;e:if(g=o,m=l,-1===g.indexOf("-"))g="string"===typeof m.is;else switch(g){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":g=!1;break e;default:g=!0}g?Ce.hasOwnProperty(b)||(f=b,f=D(f)&&null!=d?f+'="'+U(d)+'"':""):f=H(b,d),f&&(u+=" "+f)}}c||s&&(u+=' data-reactroot=""');var b=u;l="",fe.hasOwnProperty(o)?b+="/>":(b+=">",l="</"+e.type+">");e:{if(c=a.dangerouslySetInnerHTML,null!=c){if(null!=c.__html){c=c.__html;break e}}else if(c=a.children,"string"===typeof c||"number"===typeof c){c=U(c);break e}c=null}return null!=c?(a=[],be.hasOwnProperty(o)&&"\n"===c.charAt(0)&&(b+="\n"),b+=c):a=ve(a.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?ue(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:o,children:a,childIndex:0,context:t,footer:l}),this.previousWasTextNode=!1,b},e}(),_e={renderToString:function(e){e=new Ie(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new Ie(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(i(207))},renderToStaticNodeStream:function(){throw Error(i(208))},version:"16.14.0"};e.exports=_e.default||_e},ISR0:function(e,t,n){"use strict";var r=n("QvxS"),o=n("fyOY"),i=n("3sOJ"),a=n("kc9Y"),l=n("HKS5"),c=n("5RSi"),s=n("T401"),u=n("gWRK");function f(e,t){var n=null,r=null;if("function"===typeof document.caretRangeFromPoint){var o=document.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=u(n),r=u(r);var i=u(a(n));return c(t,i,r,i,r)}var d={onDragEnd:function(e){e.exitCurrentMode()},onDrop:function(e,t){var n=new r(t.nativeEvent.dataTransfer),o=e._latestEditorState,i=f(t.nativeEvent,o);if(t.preventDefault(),e.exitCurrentMode(),null!=i){var a=n.getFiles();if(a.length>0){if(e.props.handleDroppedFiles&&s(e.props.handleDroppedFiles(i,a)))return;l(a,(function(t){t&&e.update(h(o,i,t))}))}else{var c=e._internalDrag?"internal":"external";e.props.handleDrop&&s(e.props.handleDrop(i,n,c))||(e._internalDrag?e.update(p(o,i)):e.update(h(o,i,n.getText())))}}}};function p(e,t){var n=o.moveText(e.getCurrentContent(),e.getSelection(),t);return i.push(e,n,"insert-fragment")}function h(e,t,n){var r=o.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return i.push(e,r,"insert-fragment")}e.exports=d},ISee:function(e,t,n){"use strict";var r=n("kc9Y"),o=n("zORg"),i=n("5RSi"),a=n("2NuI"),l=n("gWRK");function c(e,t,n,o,a,c){var s=n.nodeType===Node.TEXT_NODE,u=a.nodeType===Node.TEXT_NODE;if(s&&u)return{selectionState:i(e,l(r(n)),o,l(r(a)),c),needsRecovery:!1};var d=null,p=null,h=!0;return s?(d={key:l(r(n)),offset:o},p=f(t,a,c)):u?(p={key:l(r(a)),offset:c},d=f(t,n,o)):(d=f(t,n,o),p=f(t,a,c),n===a&&o===c&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(e,d.key,d.offset,p.key,p.offset),needsRecovery:h}}function s(e){while(e.firstChild&&(e.firstChild instanceof Element&&"true"===e.firstChild.getAttribute("data-blocks")||o(e.firstChild)))e=e.firstChild;return e}function u(e){while(e.lastChild&&(e.lastChild instanceof Element&&"true"===e.lastChild.getAttribute("data-blocks")||o(e.lastChild)))e=e.lastChild;return e}function f(e,t,n){var i=t,c=r(i);if(null!=c||e&&(e===i||e.firstChild===i)||a(!1),e===i&&(i=i.firstChild,i instanceof Element&&"true"===i.getAttribute("data-contents")||a(!1),n>0&&(n=i.childNodes.length)),0===n){var f=null;if(null!=c)f=c;else{var p=s(i);f=l(o(p))}return{key:f,offset:0}}var h=i.childNodes[n-1],g=null,m=null;if(o(h)){var v=u(h);g=l(o(v)),m=d(v)}else g=l(c),m=d(h);return{key:g,offset:m}}function d(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=c},Idtq:function(e,t,n){"use strict";var r=n("Y3PQ");e.exports=r},Iq8E:function(e,t,n){"use strict";var r="-",o={encode:function(e,t,n){return e+r+t+r+n},decode:function(e){var t=e.split(r),n=t[0],o=t[1],i=t[2];return{blockKey:n,decoratorKey:parseInt(o,10),leafKey:parseInt(i,10)}}};e.exports=o},JGo8:function(e,t,n){},"JI+E":function(e,t,n){"use strict";(function(t){var r=n("3sOJ"),o=n("TWoB"),i=n("jl2H");function a(e,n){if(i()===document.body){var a=t.getSelection(),l=e.editor;1===a.rangeCount&&o(l,a.anchorNode)&&o(l,a.focusNode)&&a.removeAllRanges()}var c=e._latestEditorState,s=c.getSelection();if(s.getHasFocus()){var u=s.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(n),e.update(r.acceptSelection(c,u))}}e.exports=a}).call(this,n("yLpj"))},JL7T: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("lFJn"),l=n("JPcv"),c=n("Taje"),s=l.List,u=l.Map,f=l.OrderedSet,d=l.Record,p=l.Repeat,h=f(),g={parent:null,characterList:s(),data:u(),depth:0,key:"",text:"",type:"unstyled",children:s(),prevSibling:null,nextSibling:null},m=function(e,t){return e.getStyle()===t.getStyle()},v=function(e,t){return e.getEntity()===t.getEntity()},y=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=s(p(a.EMPTY,n.length))),e},b=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;return r(this,t),o(this,e.call(this,y(n)))}return i(t,e),t.prototype.getKey=function(){return this.get("key")},t.prototype.getType=function(){return this.get("type")},t.prototype.getText=function(){return this.get("text")},t.prototype.getCharacterList=function(){return this.get("characterList")},t.prototype.getLength=function(){return this.getText().length},t.prototype.getDepth=function(){return this.get("depth")},t.prototype.getData=function(){return this.get("data")},t.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():h},t.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.prototype.getChildKeys=function(){return this.get("children")},t.prototype.getParentKey=function(){return this.get("parent")},t.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},t.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},t.prototype.findStyleRanges=function(e,t){c(this.getCharacterList(),m,e,t)},t.prototype.findEntityRanges=function(e,t){c(this.getCharacterList(),v,e,t)},t}(d(g));e.exports=b},JPcv:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:Q(e)}function r(e){return l(e)?e:Y(e)}function o(e){return c(e)?e:J(e)}function i(e){return a(e)&&!s(e)?e:G(e)}function a(e){return!(!e||!e[f])}function l(e){return!(!e||!e[d])}function c(e){return!(!e||!e[p])}function s(e){return l(e)||c(e)}function u(e){return!(!e||!e[h])}t(r,n),t(o,n),t(i,n),n.isIterable=a,n.isKeyed=l,n.isIndexed=c,n.isAssociative=s,n.isOrdered=u,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,y=v-1,b={},w={value:!1},E={value:!1};function x(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function S(){}function C(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function A(e){return void 0===e.size&&(e.size=e.__iterate(I)),e.size}function O(e,t){if("number"!==typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?A(e)+t:t}function I(){return!0}function _(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return N(e,t,0)}function M(e,t){return N(e,t,t)}function N(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var j=0,D=1,R=2,L="function"===typeof Symbol&&Symbol.iterator,B="@@iterator",P=L||B;function K(e){this.next=e}function F(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function z(){return{value:void 0,done:!0}}function U(e){return!!W(e)}function H(e){return e&&"function"===typeof e.next}function V(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(L&&e[L]||e[B]);if("function"===typeof t)return t}function q(e){return e&&"number"===typeof e.length}function Q(e){return null===e||void 0===e?ae():a(e)?e.toSeq():se(e)}function Y(e){return null===e||void 0===e?ae().toKeyedSeq():a(e)?l(e)?e.toSeq():e.fromEntrySeq():le(e)}function J(e){return null===e||void 0===e?ae():a(e)?l(e)?e.entrySeq():e.toIndexedSeq():ce(e)}function G(e){return(null===e||void 0===e?ae():a(e)?l(e)?e.entrySeq():e:ce(e)).toSetSeq()}K.prototype.toString=function(){return"[Iterator]"},K.KEYS=j,K.VALUES=D,K.ENTRIES=R,K.prototype.inspect=K.prototype.toSource=function(){return this.toString()},K.prototype[P]=function(){return this},t(Q,n),Q.of=function(){return Q(arguments)},Q.prototype.toSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq {","}")},Q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Q.prototype.__iterate=function(e,t){return fe(this,e,t,!0)},Q.prototype.__iterator=function(e,t){return de(this,e,t,!0)},t(Y,Q),Y.prototype.toKeyedSeq=function(){return this},t(J,Q),J.of=function(){return J(arguments)},J.prototype.toIndexedSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq [","]")},J.prototype.__iterate=function(e,t){return fe(this,e,t,!1)},J.prototype.__iterator=function(e,t){return de(this,e,t,!1)},t(G,Q),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},Q.isSeq=ie,Q.Keyed=Y,Q.Set=G,Q.Indexed=J;var X,Z,$,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function oe(e){this._iterator=e,this._iteratorCache=[]}function ie(e){return!(!e||!e[ee])}function ae(){return X||(X=new te([]))}function le(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():H(e)?new oe(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():"object"===typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ce(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function se(e){var t=ue(e)||"object"===typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return q(e)?new te(e):H(e)?new oe(e):U(e)?new re(e):void 0}function fe(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var l=o[n?i-a:a];if(!1===t(l[1],r?l[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function de(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new K((function(){var e=o[n?i-a:a];return a++>i?z():F(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,J(t).map((function(n,r){return he(e,n,r,t)}))):me(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):t}function ge(e){return Array.isArray(e)?J(e).map(ge).toList():me(e)?Y(e).map(ge).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"===typeof e.valueOf&&"function"===typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!==typeof e.equals||"function"!==typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||l(e)!==l(t)||c(e)!==c(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!s(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&ve(o[1],e)&&(n||ve(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"===typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var f=!0,d=t.__iterate((function(t,r){if(n?!e.has(t):o?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return f=!1,!1}));return f&&e.size===d}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function Ee(e,t,n){if(!(this instanceof Ee))return new Ee(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if($)return $;$=this}}function xe(){throw TypeError("Abstract")}function ke(){}function Se(){}function Ce(){}Q.prototype[ee]=!0,t(te,J),te.prototype.get=function(e,t){return this.has(e)?this._array[O(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new K((function(){return o>r?z():F(e,o,n[t?r-o++:o++])}))},t(ne,Y),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new K((function(){var a=r[t?o-i:i];return i++>o?z():F(e,a,n[a])}))},ne.prototype[h]=!0,t(re,J),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n,r=this._iterable,o=V(r),i=0;if(H(o))while(!(n=o.next()).done)if(!1===e(n.value,i++,this))break;return i},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=V(n);if(!H(r))return new K(z);var o=0;return new K((function(){var t=r.next();return t.done?t:F(e,o++,t.value)}))},t(oe,J),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n,r=this._iterator,o=this._iteratorCache,i=0;while(i<o.length)if(!1===e(o[i],i++,this))return i;while(!(n=r.next()).done){var a=n.value;if(o[i]=a,!1===e(a,i++,this))break}return i},oe.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new K((function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return F(e,o,r[o++])}))},t(be,J),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return _(e,t,n)?this:new be(this._value,M(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,r=0;return new K((function(){return r<n.size?F(e,r++,n._value):z()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(Ee,J),Ee.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Ee.prototype.get=function(e,t){return this.has(e)?this._start+O(this,e)*this._step:t},Ee.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Ee.prototype.slice=function(e,t){return _(e,t,this.size)?this:(e=T(e,this.size),t=M(t,this.size),t<=e?new Ee(0,0):new Ee(this.get(e,this._end),this.get(t,this._end),this._step))},Ee.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},Ee.prototype.lastIndexOf=function(e){return this.indexOf(e)},Ee.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},Ee.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new K((function(){var a=o;return o+=t?-r:r,i>n?z():F(e,i++,a)}))},Ee.prototype.equals=function(e){return e instanceof Ee?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(xe,n),t(ke,xe),t(Se,xe),t(Ce,xe),xe.Keyed=ke,xe.Indexed=Se,xe.Set=Ce;var Ae="function"===typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Oe(e){return e>>>1&1073741824|3221225471&e}function Ie(e){if(!1===e||null===e||void 0===e)return 0;if("function"===typeof e.valueOf&&(e=e.valueOf(),!1===e||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;n!==e&&(n^=4294967295*e);while(e>4294967295)e/=4294967295,n^=e;return Oe(n)}if("string"===t)return e.length>Ke?_e(e):Te(e);if("function"===typeof e.hashCode)return e.hashCode();if("object"===t)return Me(e);if("function"===typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function _e(e){var t=Ue[e];return void 0===t&&(t=Te(e),ze===Fe&&(ze=0,Ue={}),ze++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Oe(t)}function Me(e){var t;if(Le&&(t=Re.get(e),void 0!==t))return t;if(t=e[Pe],void 0!==t)return t;if(!je){if(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Pe],void 0!==t)return t;if(t=De(e),void 0!==t)return t}if(t=++Be,1073741824&Be&&(Be=0),Le)Re.set(e,t);else{if(void 0!==Ne&&!1===Ne(e))throw new Error("Non-extensible objects are not allowed as keys.");if(je)Object.defineProperty(e,Pe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Pe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Pe]=t}}return t}var Ne=Object.isExtensible,je=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function De(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,Le="function"===typeof WeakMap;Le&&(Re=new WeakMap);var Be=0,Pe="__immutablehash__";"function"===typeof Symbol&&(Pe=Symbol(Pe));var Ke=16,Fe=255,ze=0,Ue={};function He(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ve(e){return null===e||void 0===e?ot():We(e)&&!u(e)?e:ot().withMutations((function(t){var n=r(e);He(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Qe])}t(Ve,ke),Ve.prototype.toString=function(){return this.__toString("Map {","}")},Ve.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ve.prototype.set=function(e,t){return it(this,e,t)},Ve.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ve.prototype.remove=function(e){return it(this,e,b)},Ve.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ve.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ve.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=mt(this,xn(e),t,n);return r===b?void 0:r},Ve.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},Ve.prototype.merge=function(){return dt(this,void 0,arguments)},Ve.prototype.mergeWith=function(t){var n=e.call(arguments,1);return dt(this,t,n)},Ve.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"===typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ve.prototype.mergeDeep=function(){return dt(this,pt,arguments)},Ve.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return dt(this,ht(t),n)},Ve.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"===typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ve.prototype.sort=function(e){return Ut(fn(this,e))},Ve.prototype.sortBy=function(e,t){return Ut(fn(this,t,e))},Ve.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ve.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Ve.prototype.asImmutable=function(){return this.__ensureOwner()},Ve.prototype.wasAltered=function(){return this.__altered},Ve.prototype.__iterator=function(e,t){return new et(this,e,t)},Ve.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ve.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ve.isMap=We;var qe,Qe="@@__IMMUTABLE_MAP__@@",Ye=Ve.prototype;function Je(e,t){this.ownerID=e,this.entries=t}function Ge(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function $e(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return F(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ye);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return qe||(qe=rt(0))}function it(e,t,n){var r,o;if(e._root){var i=x(w),a=x(E);if(r=at(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===b?-1:1:0)}else{if(n===b)return e;o=1,r=new Je(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function at(e,t,n,r,o,i,a,l){return e?e.update(t,n,r,o,i,a,l):i===b?e:(k(l),k(a),new $e(t,r,[o,i]))}function lt(e){return e.constructor===$e||e.constructor===Ze}function ct(e,t,n,r,o){if(e.keyHash===r)return new Ze(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&y,l=(0===n?r:r>>>n)&y,c=a===l?[ct(e,t,n+m,r,o)]:(i=new $e(t,r,o),a<l?[e,i]:[i,e]);return new Ge(t,1<<a|1<<l,c)}function st(e,t,n,r){e||(e=new S);for(var o=new $e(e,Ie(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}function ut(e,t,n,r){for(var o=0,i=0,a=new Array(n),l=0,c=1,s=t.length;l<s;l++,c<<=1){var u=t[l];void 0!==u&&l!==r&&(o|=c,a[i++]=u)}return new Ge(e,o,a)}function ft(e,t,n,r,o){for(var i=0,a=new Array(v),l=0;0!==n;l++,n>>>=1)a[l]=1&n?t[i++]:void 0;return a[r]=o,new Xe(e,i+1,a)}function dt(e,t,n){for(var o=[],i=0;i<n.length;i++){var l=n[i],c=r(l);a(l)||(c=c.map((function(e){return pe(e)}))),o.push(c)}return gt(e,t,o)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return ve(t,o)?t:o}}function gt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)})):e.constructor(n[0])}function mt(e,t,n,r){var o=e===b,i=t.next();if(i.done){var a=o?n:e,l=r(a);return l===a?e:l}we(o||e&&e.set,"invalid keyPath");var c=i.value,s=o?b:e.get(c,b),u=mt(s,t,n,r);return u===s?e:u===b?e.remove(c):(o?ot():e).set(c,u)}function vt(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,e+=e>>16,127&e}function yt(e,t,n,r){var o=r?e:C(e);return o[t]=n,o}function bt(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,l=0;l<o;l++)l===t?(i[l]=n,a=-1):i[l]=e[l+a];return i}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}Ye[Qe]=!0,Ye[g]=Ye.remove,Ye.removeIn=Ye.deleteIn,Je.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ve(n,o[i][0]))return o[i][1];return r},Je.prototype.update=function(e,t,n,r,o,i,a){for(var l=o===b,c=this.entries,s=0,u=c.length;s<u;s++)if(ve(r,c[s][0]))break;var f=s<u;if(f?c[s][1]===o:l)return this;if(k(a),(l||!f)&&k(i),!l||1!==c.length){if(!f&&!l&&c.length>=Et)return st(e,c,r,o);var d=e&&e===this.ownerID,p=d?c:C(c);return f?l?s===u-1?p.pop():p[s]=p.pop():p[s]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Je(e,p)}},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var o=1<<((0===e?t:t>>>e)&y),i=this.bitmap;return 0===(i&o)?r:this.nodes[vt(i&o-1)].get(e+m,t,n,r)},Ge.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Ie(r));var l=(0===t?n:n>>>t)&y,c=1<<l,s=this.bitmap,u=0!==(s&c);if(!u&&o===b)return this;var f=vt(s&c-1),d=this.nodes,p=u?d[f]:void 0,h=at(p,e,t+m,n,r,o,i,a);if(h===p)return this;if(!u&&h&&d.length>=xt)return ft(e,d,s,l,h);if(u&&!h&&2===d.length&&lt(d[1^f]))return d[1^f];if(u&&h&&1===d.length&&lt(h))return h;var g=e&&e===this.ownerID,v=u?h?s:s^c:s|c,w=u?h?yt(d,f,h,g):wt(d,f,g):bt(d,f,h,g);return g?(this.bitmap=v,this.nodes=w,this):new Ge(e,v,w)},Xe.prototype.get=function(e,t,n,r){void 0===t&&(t=Ie(n));var o=(0===e?t:t>>>e)&y,i=this.nodes[o];return i?i.get(e+m,t,n,r):r},Xe.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Ie(r));var l=(0===t?n:n>>>t)&y,c=o===b,s=this.nodes,u=s[l];if(c&&!u)return this;var f=at(u,e,t+m,n,r,o,i,a);if(f===u)return this;var d=this.count;if(u){if(!f&&(d--,d<kt))return ut(e,s,d,l)}else d++;var p=e&&e===this.ownerID,h=yt(s,l,f,p);return p?(this.count=d,this.nodes=h,this):new Xe(e,d,h)},Ze.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ve(n,o[i][0]))return o[i][1];return r},Ze.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Ie(r));var l=o===b;if(n!==this.keyHash)return l?this:(k(a),k(i),ct(this,e,t,n,[r,o]));for(var c=this.entries,s=0,u=c.length;s<u;s++)if(ve(r,c[s][0]))break;var f=s<u;if(f?c[s][1]===o:l)return this;if(k(a),(l||!f)&&k(i),l&&2===u)return new $e(e,this.keyHash,c[1^s]);var d=e&&e===this.ownerID,p=d?c:C(c);return f?l?s===u-1?p.pop():p[s]=p.pop():p[s]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Ze(e,this.keyHash,p)},$e.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},$e.prototype.update=function(e,t,n,r,o,i,a){var l=o===b,c=ve(r,this.entry[0]);return(c?o===this.entry[1]:l)?this:(k(a),l?void k(i):c?e&&e===this.ownerID?(this.entry[1]=o,this):new $e(e,this.keyHash,[r,o]):(k(i),ct(this,e,t,Ie(r),[r,o])))},Je.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},Ge.prototype.iterate=Xe.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},$e.prototype.iterate=function(e,t){return e(this.entry)},t(et,K),et.prototype.next=function(){var e=this._type,t=this._stack;while(t){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return tt(e,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return tt(e,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return tt(e,i.entry);t=this._stack=nt(i,t)}continue}t=this._stack=this._stack.__prev}return z()};var Et=v/4,xt=v/2,kt=v/4;function St(e){var t=Dt();if(null===e||void 0===e)return t;if(Ct(e))return e;var n=o(e),r=n.size;return 0===r?t:(He(r),r>0&&r<v?jt(0,r,m,null,new It(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ct(e){return!(!e||!e[At])}t(St,Se),St.of=function(){return this(arguments)},St.prototype.toString=function(){return this.__toString("List [","]")},St.prototype.get=function(e,t){if(e=O(this,e),e>=0&&e<this.size){e+=this._origin;var n=Pt(this,e);return n&&n.array[e&y]}return t},St.prototype.set=function(e,t){return Rt(this,e,t)},St.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},St.prototype.insert=function(e,t){return this.splice(e,0,t)},St.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Dt()},St.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Kt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},St.prototype.pop=function(){return Kt(this,0,-1)},St.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Kt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},St.prototype.shift=function(){return Kt(this,1)},St.prototype.merge=function(){return Ft(this,void 0,arguments)},St.prototype.mergeWith=function(t){var n=e.call(arguments,1);return Ft(this,t,n)},St.prototype.mergeDeep=function(){return Ft(this,pt,arguments)},St.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ft(this,ht(t),n)},St.prototype.setSize=function(e){return Kt(this,0,e)},St.prototype.slice=function(e,t){var n=this.size;return _(e,t,n)?this:Kt(this,T(e,n),M(t,n))},St.prototype.__iterator=function(e,t){var n=0,r=Nt(this,t);return new K((function(){var t=r();return t===Mt?z():F(e,n++,t)}))},St.prototype.__iterate=function(e,t){var n,r=0,o=Nt(this,t);while((n=o())!==Mt)if(!1===e(n,r++,this))break;return r},St.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?jt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},St.isList=Ct;var At="@@__IMMUTABLE_LIST__@@",Ot=St.prototype;function It(e,t){this.array=e,this.ownerID=t}Ot[At]=!0,Ot[g]=Ot.remove,Ot.setIn=Ye.setIn,Ot.deleteIn=Ot.removeIn=Ye.removeIn,Ot.update=Ye.update,Ot.updateIn=Ye.updateIn,Ot.mergeIn=Ye.mergeIn,Ot.mergeDeepIn=Ye.mergeDeepIn,Ot.withMutations=Ye.withMutations,Ot.asMutable=Ye.asMutable,Ot.asImmutable=Ye.asImmutable,Ot.wasAltered=Ye.wasAltered,It.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new It([],e);var o,i=0===r;if(t>0){var a=this.array[r];if(o=a&&a.removeBefore(e,t-m,n),o===a&&i)return this}if(i&&!o)return this;var l=Bt(this,e);if(!i)for(var c=0;c<r;c++)l.array[c]=void 0;return o&&(l.array[r]=o),l},It.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&y;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if(r=i&&i.removeAfter(e,t-m,n),r===i&&o===this.array.length-1)return this}var a=Bt(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var _t,Tt,Mt={};function Nt(e,t){var n=e._origin,r=e._capacity,o=zt(r),i=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?l(e,n):c(e,t,n)}function l(e,a){var l=a===o?i&&i.array:e&&e.array,c=a>n?0:n-a,s=r-a;return s>v&&(s=v),function(){if(c===s)return Mt;var e=t?--s:c++;return l&&l[e]}}function c(e,o,i){var l,c=e&&e.array,s=i>n?0:n-i>>o,u=1+(r-i>>o);return u>v&&(u=v),function(){do{if(l){var e=l();if(e!==Mt)return e;l=null}if(s===u)return Mt;var n=t?--u:s++;l=a(c&&c[n],o-m,i+(n<<o))}while(1)}}}function jt(e,t,n,r,o,i,a){var l=Object.create(Ot);return l.size=t-e,l._origin=e,l._capacity=t,l._level=n,l._root=r,l._tail=o,l.__ownerID=i,l.__hash=a,l.__altered=!1,l}function Dt(){return _t||(_t=jt(0,0,m))}function Rt(e,t,n){if(t=O(e,t),t!==t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Kt(e,t).set(0,n):Kt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,i=x(E);return t>=zt(e._capacity)?r=Lt(r,e.__ownerID,0,t,n,i):o=Lt(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):jt(e._origin,e._capacity,e._level,o,r):e}function Lt(e,t,n,r,o,i){var a,l=r>>>n&y,c=e&&l<e.array.length;if(!c&&void 0===o)return e;if(n>0){var s=e&&e.array[l],u=Lt(s,t,n-m,r,o,i);return u===s?e:(a=Bt(e,t),a.array[l]=u,a)}return c&&e.array[l]===o?e:(k(i),a=Bt(e,t),void 0===o&&l===a.array.length-1?a.array.pop():a.array[l]=o,a)}function Bt(e,t){return t&&e&&t===e.ownerID?e:new It(e?e.array.slice():[],t)}function Pt(e,t){if(t>=zt(e._capacity))return e._tail;if(t<1<<e._level+m){var n=e._root,r=e._level;while(n&&r>0)n=n.array[t>>>r&y],r-=m;return n}}function Kt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,o=e._origin,i=e._capacity,a=o+t,l=void 0===n?i:n<0?i+n:o+n;if(a===o&&l===i)return e;if(a>=l)return e.clear();var c=e._level,s=e._root,u=0;while(a+u<0)s=new It(s&&s.array.length?[void 0,s]:[],r),c+=m,u+=1<<c;u&&(a+=u,o+=u,l+=u,i+=u);var f=zt(i),d=zt(l);while(d>=1<<c+m)s=new It(s&&s.array.length?[s]:[],r),c+=m;var p=e._tail,h=d<f?Pt(e,l-1):d>f?new It([],r):p;if(p&&d>f&&a<i&&p.array.length){s=Bt(s,r);for(var g=s,v=c;v>m;v-=m){var b=f>>>v&y;g=g.array[b]=Bt(g.array[b],r)}g.array[f>>>m&y]=p}if(l<i&&(h=h&&h.removeAfter(r,0,l)),a>=d)a-=d,l-=d,c=m,s=null,h=h&&h.removeBefore(r,0,a);else if(a>o||d<f){u=0;while(s){var w=a>>>c&y;if(w!==d>>>c&y)break;w&&(u+=(1<<c)*w),c-=m,s=s.array[w]}s&&a>o&&(s=s.removeBefore(r,c,a-u)),s&&d<f&&(s=s.removeAfter(r,c,d-u)),u&&(a-=u,l-=u)}return e.__ownerID?(e.size=l-a,e._origin=a,e._capacity=l,e._level=c,e._root=s,e._tail=h,e.__hash=void 0,e.__altered=!0,e):jt(a,l,c,s,h)}function Ft(e,t,n){for(var r=[],i=0,l=0;l<n.length;l++){var c=n[l],s=o(c);s.size>i&&(i=s.size),a(c)||(s=s.map((function(e){return pe(e)}))),r.push(s)}return i>e.size&&(e=e.setSize(i)),gt(e,t,r)}function zt(e){return e<v?0:e-1>>>m<<m}function Ut(e){return null===e||void 0===e?Wt():Ht(e)?e:Wt().withMutations((function(t){var n=r(e);He(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ht(e){return We(e)&&u(e)}function Vt(e,t,n,r){var o=Object.create(Ut.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function Wt(){return Tt||(Tt=Vt(ot(),Dt()))}function qt(e,t,n){var r,o,i=e._map,a=e._list,l=i.get(t),c=void 0!==l;if(n===b){if(!c)return e;a.size>=v&&a.size>=2*i.size?(o=a.filter((function(e,t){return void 0!==e&&l!==t})),r=o.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=l===a.size-1?a.pop():a.set(l,void 0))}else if(c){if(n===a.get(l)[1])return e;r=i,o=a.set(l,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Vt(r,o)}function Qt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Jt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Xt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new K((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===D?j:D,n)},t}function Zt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,b);return i===b?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate((function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(R,o);return new K((function(){var o=i.next();if(o.done)return o;var a=o.value,l=a[0];return F(r,l,t.call(n,a[1],l,e),o)}))},r}function $t(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Xt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var o=bn(e);return r&&(o.has=function(r){var o=e.get(r,b);return o!==b&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,b);return i!==b&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,l=0;return e.__iterate((function(e,i,c){if(t.call(n,e,i,c))return l++,o(e,r?i:l-1,a)}),i),l},o.__iteratorUncached=function(o,i){var a=e.__iterator(R,i),l=0;return new K((function(){while(1){var i=a.next();if(i.done)return i;var c=i.value,s=c[0],u=c[1];if(t.call(n,u,s,e))return F(o,r?s:l++,u,i)}}))},o}function tn(e,t,n){var r=Ve().asMutable();return e.__iterate((function(o,i){r.update(t.call(n,o,i,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=l(e),o=(u(e)?Ut():Ve()).asMutable();e.__iterate((function(i,a){o.update(t.call(n,i,a,e),(function(e){return e=e||[],e.push(r?[a,i]:i),e}))}));var i=yn(e);return o.map((function(t){return gn(e,i(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),_(t,n,o))return e;var i=T(t,o),a=M(n,o);if(i!==i||a!==a)return rn(e.toSeq().cacheResult(),t,n,r);var l,c=a-i;c===c&&(l=c<0?0:c);var s=bn(e);return s.size=0===l?l:e.size&&l||void 0,!r&&ie(e)&&l>=0&&(s.get=function(t,n){return t=O(this,t),t>=0&&t<l?e.get(t+i,n):n}),s.__iterateUncached=function(t,n){var o=this;if(0===l)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,c=!0,s=0;return e.__iterate((function(e,n){if(!c||!(c=a++<i))return s++,!1!==t(e,r?n:s-1,o)&&s!==l})),s},s.__iteratorUncached=function(t,n){if(0!==l&&n)return this.cacheResult().__iterator(t,n);var o=0!==l&&e.__iterator(t,n),a=0,c=0;return new K((function(){while(a++<i)o.next();if(++c>l)return z();var e=o.next();return r||t===D?e:F(t,c-1,t===j?void 0:e.value[1],e)}))},s}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate((function(e,o,l){return t.call(n,e,o,l)&&++a&&r(e,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(R,o),l=!0;return new K((function(){if(!l)return z();var e=a.next();if(e.done)return e;var o=e.value,c=o[0],s=o[1];return t.call(n,s,c,i)?r===R?e:F(r,c,s,e):(l=!1,z())}))},r}function an(e,t,n,r){var o=bn(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var l=!0,c=0;return e.__iterate((function(e,i,s){if(!l||!(l=t.call(n,e,i,s)))return c++,o(e,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var l=e.__iterator(R,i),c=!0,s=0;return new K((function(){var e,i,u;do{if(e=l.next(),e.done)return r||o===D?e:F(o,s++,o===j?void 0:e.value[1],e);var f=e.value;i=f[0],u=f[1],c&&(c=t.call(n,u,i,a))}while(c);return o===R?e:F(o,i,u,e)}))},o}function ln(e,t){var n=l(e),o=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?le(e):ce(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&l(i)||c(e)&&c(i))retur