1(self.webpackChunkearly_menopause_app=self.webpackChunkearly_menopause_app||[]).push([[7008],{488:function(t,e,n){"use strict";var r=n(62276),i=n(58398),o=n(67629).NM;t.exports=function(t){for(var e,n=0,a="";!e;)a+=o(r.get(),1,i)(),e=t<Math.pow(16,n+1),n++;return a}},675:function(t,e,n){"use strict";var r=n(76876),i=n(60866),o=function(t,e){return t===e},a=function(t){return!!t},u=[];t.exports=function(t){var e=t.getCharacterList().map(function(t){return t.getStyle()}).toList(),n=e.flatten().toSet().map(function(n){return function(t,e,n){var u=[],s=e.map(function(t){return t.has(n)}).toList();return i(s,o,a,function(e,i){var o=t.getText();u.push({offset:r.strlen(o.slice(0,e)),length:r.strlen(o.slice(e,i)),style:n})}),u}(t,e,n)});return Array.prototype.concat.apply(u,n.toJS())}},1895:function(t,e,n){"use strict";var r=n(52483);function i(){return i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}var o=n(89354),a=n(96540),u=n(31163),s=n(50534),c=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.render=function(){var t=this.props,e=t.block,n=t.children,r=t.contentState,c=t.decorator,l=t.decoratorKey,f=t.direction,p=t.leafSet,h=t.text,d=e.getKey(),g=p.get("leaves"),y=c.getComponentForKey(l),v=c.getPropsForKey(l),m=o.encode(d,parseInt(l,10),0),b=h.slice(g.first().get("start"),g.last().get("end")),_=s.getHTMLDirIfDifferent(u.getDirection(b),f);return a.createElement(y,i({},v,{contentState:r,decoratedText:b,dir:_,key:m,entityKey:e.getEntityAt(p.get("start")),offsetKey:m}),n)},r}(a.Component);t.exports=c},1928:function(t){"use strict";var e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},1955:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(91544),i=n(91590);function o(t,e){(0,i.A)(2,arguments);var n=(0,r.A)(t),o=(0,r.A)(e);return n.getTime()===o.getTime()}},1957:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(33438),o=n(45817),a=n(39822),u=n(92066),s=(0,o.Map)(),c=u();function l(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var f={getLastCreatedEntityKey:function(){return l("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),f.__getLastCreatedEntityKey()},create:function(t,e,n){return l("DraftEntity.create","contentState.createEntity"),f.__create(t,e,n)},add:function(t){return l("DraftEntity.add","contentState.addEntity"),f.__add(t)},get:function(t){return l("DraftEntity.get","contentState.getEntity"),f.__get(t)},__getAll:function(){return s},__loadWithEntities:function(t){s=t,c=u()},mergeData:function(t,e){return l("DraftEntity.mergeData","contentState.mergeEntityData"),f.__mergeData(t,e)},replaceData:function(t,e){return l("DraftEntity.replaceData","contentState.replaceEntityData"),f.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return c},__create:function(t,e,n){return f.__add(new i({type:t,mutability:e,data:n||{}}))},__add:function(t){return c=u(),s=s.set(c,t),c},__get:function(t){var e=s.get(t);return e||a(!1),e},__mergeData:function(t,e){var n=f.__get(t),i=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){r(t,e,n[e])})}return t}({},n.getData(),e),o=n.set("data",i);return s=s.set(t,o),o},__replaceData:function(t,e){var n=f.__get(t).set("data",e);return s=s.set(t,n),n}};t.exports=f},2267:function(t,e,n){"use strict";var r=n(92237);t.exports=function(t){return!(!t||!t.ownerDocument)&&(r(t)&&"IMG"===t.nodeName)}},2302:function(t,e,n){"use strict";
vendor: 4,386 bytes, line 1
1var r=n(24934),i=n(83917),o=n(59267),a=n(26234),u=n(23663),s=n(51559),c=n(92236),l=n(71467),f=n(40926),p=n(75595),h=n(1957),d=n(53743),g=n(33438),y=n(49455),v=n(49185),m=n(36482),b=n(19709),_=n(5558),w=n(3617),S=n(2859),x=n(79014),k=n(12728),E=n(37495),C={Editor:f,EditorBlock:p,EditorState:y,CompositeDecorator:a,Entity:h,EntityInstance:g,BlockMapBuilder:i,CharacterMetadata:o,ContentBlock:u,ContentState:s,RawDraftContentState:m,SelectionState:_,AtomicBlockUtils:r,KeyBindingUtil:v,Modifier:d,RichUtils:b,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:n(21831),convertFromRaw:S,convertToRaw:w,genKey:x,getDefaultKeyBinding:k,getVisibleSelectionRect:E};t.exports=C},2859:function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){i(t,e,n[e])})}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(23663),a=n(79347),u=n(51559),s=n(1957),c=n(10091),l=(n(34107),n(5558)),f=n(16162),p=n(20266),h=n(88319),d=n(79014),g=n(44631),y=n(45817),v=n(39822),m=g("draft_tree_data_support"),b=y.List,_=y.Map,w=y.OrderedMap,S=function(t,e){var n=t.key,r=t.type,i=t.data;return{text:t.text,depth:t.depth||0,type:r||"unstyled",key:n||d(),data:_(i),characterList:x(t,e)}},x=function(t,e){var n=t.text,i=t.entityRanges,o=t.inlineStyleRanges,a=i||[];return f(h(n,o||[]),p(n,a.filter(function(t){return e.hasOwnProperty(t.key)}).map(function(t){return r({},t,{key:e[t.key]})})))},k=function(t){return r({},t,{key:t.key||d()})},E=function(t,e,n){var i=e.map(function(t){return r({},t,{parentRef:n})});return t.concat(i.reverse())},C=function(t,e){var n=t.blocks.find(function(t){return Array.isArray(t.children)&&t.children.length>0}),i=m&&!n?c.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!m)return function(t,e){return w(t.map(function(t){var n=new o(S(t,e));return[n.getKey(),n]}))}(n?c.fromRawTreeStateToRawState(t).blocks:i,e);var u=function(t,e){return t.map(k).reduce(function(n,i,o){Array.isArray(i.children)||v(!1);var u=i.children.map(k),s=new a(r({},S(i,e),{prevSibling:0===o?null:t[o-1].key,nextSibling:o===t.length-1?null:t[o+1].key,children:b(u.map(function(t){return t.key}))}));n=n.set(s.getKey(),s);for(var c=E([],u,s);c.length>0;){var l=c.pop(),f=l.parentRef,p=f.getChildKeys(),h=p.indexOf(l.key),d=Array.isArray(l.children);if(!d){d||v(!1);break}var g=l.children.map(k),y=new a(r({},S(l,e),{parent:f.getKey(),children:b(g.map(function(t){return t.key})),prevSibling:0===h?null:p.get(h-1),nextSibling:h===p.size-1?null:p.get(h+1)}));n=n.set(y.getKey(),y),c=E(c,g,y)}return n},w())}(i,e);return u};t.exports=function(t){Array.isArray(t.blocks)||v(!1);var e=function(t){var e=t.entityMap,n={};return Object.keys(e).forEach(function(t){var r=e[t],i=r.type,o=r.mutability,a=r.data;n[t]=s.__create(i,o,a||{})}),n}(t),n=C(t,e),r=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new u({blockMap:n,entityMap:e,selectionBefore:r,selectionAfter:r})}},2878:function(t){"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},2932:function(t){"use strict";var e=function(){function t(t){var e,n,r;r=void 0,(n="_uri")in(e=this)?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},3617:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(23663),o=n(79347),a=n(47188),u=n(93662),s=n(675),c=n(39822),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:s(t),entityRanges:u(t,e),data:t.getData().toObject()}},f=function(t,e,n,a){if(t instanceof i)n.push(l(t,e));else{t instanceof o||c(!1);var u=t.getParentKey(),s=a[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}
1))),i.forEach(function(e){r(t,e,n[e])})}return t}({},l(t,e),{children:[]});u?a[u].children.push(s):n.push(s)}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var n=e.entityMap,r=[],i={},o={},u=0;return t.getBlockMap().forEach(function(t){t.findEntityRanges(function(t){return null!==t.getEntity()},function(e){var r=t.getEntityAt(e),i=a.stringify(r);o[i]||(o[i]=r,n[i]="".concat(u),u++)}),f(t,n,r,i)}),{blocks:r,entityMap:n}}(t,e),e=function(t,e){var n=e.blocks,r=e.entityMap,i={};return Object.keys(r).forEach(function(e,n){var r=t.getEntity(a.unstringify(e));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}}),{blocks:n,entityMap:i}}(t,e),e}},3634:function(t){"use strict";t.exports=function(t,e,n){var r=t;if(n===r.count())e.forEach(function(t){r=r.push(t)});else if(0===n)e.reverse().forEach(function(t){r=r.unshift(t)});else{var i=r.slice(0,n),o=r.slice(n);r=i.concat(e,o).toList()}return r}},3675:function(t,e,n){"use strict";var r,i,o=n(488);n(62276);t.exports=function(t){var e="",n=Math.floor(.001*(Date.now()-1567752802062));return n===i?r++:(r=0,i=n),e+=o(7),e+=o(t),r>0&&(e+=o(r)),e+=o(n)}},4273:function(t){"use strict";function e(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function n(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function r(){return{width:window.innerWidth||e(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:e(),height:n()}},t.exports=r},4785:function(t,e,n){"use strict";var r=n(81914),i=n(53878);t.exports=function(t){for(var e=t;e&&e!==r(t).documentElement;){var n=i(e);if(null!=n)return n;e=e.parentNode}return null}},4848:function(t){"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},5558:function(t,e,n){"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),i=this.getFocusKey();if(r===i&&r===t){var o=this.getStartOffset(),a=this.getEndOffset();return e<=o&&o<=n||e<=a&&a<=n}if(t!==r&&t!==i)return!1;var u=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=u&&n>=u},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(t){return new r({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(45817).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},6145:function(t,e,n){"use strict";var r=n(92237);t.exports=function(t){return!(!t||!t.ownerDocument)&&(r(t)&&"A"===t.nodeName)}},8473:function(t,e,n){"use strict";var r=n(89354),i=n(8752);t.exports=function(t,e,n,o,a){var u=i(t.getSelection());if(!e||!o)return u;var s=r.decode(e),c=s.blockKey,l=t.getBlockTree(c),f=l&&l.getIn([s.decoratorKey,"leaves",s.leafKey]),p=r.decode(o),h=p.blockKey,d=t.getBlockTree(h),g=d&&d.getIn([p.decoratorKey,"leaves",p.leafKey]);if(!f||!g)return u;var y=f.get("start"),v=g.get("start"),m=f?y+n:null,b=g?v+a:null;if(u.getAnchorKey()===c&&u.getAnchorOffset()===m&&u.getFocusKey()===h&&u.getFocusOffset()===b)return u;var _=!1;if(c===h){var w=f.get("end"),S=g.get("end");_=v===y&&S===w?a<n:v<y}else{_=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(t){return t===c||t===h}).first()===h}return u.merge({anchorKey:c,anchorOffset:m,focusKey:h,focusOffset:b,isBackward:_})}},8634:function(t){"use strict";
1t.exports={notEmptyKey:function(t){return null!=t&&""!=t}}},8752:function(t){"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},8914:function(t,e,n){"use strict";var r=n(18229),i=n(49455),o=n(33037),a=n(22155);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return o(t,1);var i=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(i).getText().slice(0,n),u=r.getBackward(a);return o(t,u.length||1)},"backward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},9110:function(t){"use strict";t.exports=function(t){var e=t||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var i=arguments[r];i&&(e=(e?e+" ":"")+i)}return e}},9354:function(t,e,n){"use strict";var r=n(20603);t.exports=r},9377:function(t,e,n){"use strict";var r=n(45817).Map;t.exports=function(t,e,n){var i=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),u=a.toSeq().skipUntil(function(t,e){return e===i}).takeUntil(function(t,e){return e===o}).concat(r([[o,a.get(o)]])).map(n);return t.merge({blockMap:a.merge(u),selectionBefore:e,selectionAfter:e})}},9922:function(t,e,n){var r=n(96540);function i(t){return r.createElement("svg",t,r.createElement("g",{opacity:"0.25"},[r.createElement("path",{d:"M18 6L6 18",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",key:0}),r.createElement("path",{d:"M6 6L18 18",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",key:1})]))}i.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.exports=i,i.default=i},10091:function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){i(t,e,n[e])})}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(79014),a=n(39822),u=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},s={fromRawTreeStateToRawState:function(t){var e=t.blocks,n=[];return Array.isArray(e)||a(!1),Array.isArray(e)&&e.length?(function(t,e){for(var n=[].concat(t).reverse();n.length;){var r=n.pop();e(r);var i=r.children;Array.isArray(i)||a(!1),n=n.concat([].concat(i.reverse()))}}(e,function(t){var e=r({},t);u(t)&&(e.depth=e.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map(function(e){return e.type===t.type?r({},e,{depth:(t.depth||0)+1}):e}))}(t),null!=t.children&&t.children.length>0)||(delete e.children,n.push(e))}),t.blocks=n,r({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e=[],n=[];return t.blocks.forEach(function(t){var i=u(t),a=t.depth||0,s=r({},t,{children:[]});if(i){var c=n[0];if(null==c&&0===a)e.push(s);else if(null==c||c.depth<a-1){var l={key:o(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(l),1===a?e.push(l):null!=c&&c.children.push(l),l.children.push(s)}else if(c.depth===a-1)c.children.push(s);else{for(;null!=c&&c.depth>=a;)n.shift(),c=n[0];a>0?c.children.push(s):e.push(s)}}else e.push(s)}),r({},t,{blocks:e})}};t.exports=s},11437:function(t,e,n){"use strict";var r=n(40020);t.exports=function(t){var e=r(t),n=0,i=0,o=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var u=e[1];n=u.top,i=u.right,o=u.bottom,a=u.left}else{var s=e[0];n=s.top,i=s.right,o=s.bottom,a=s.left}for(var c=1;c<e.length;c++){var l=e[c];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),i=Math.max(i,l.right),o=Math.max(o,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:i,bottom:o,left:a,width:i-a,height:o-n}}},11522:function(t,e,n){"use strict";var r=n(79347),i=n(31563),o=n(45817),a=(o.List,o.Map),u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},s=function(t,e){var n=[];if(!t)return n;for(var r=e.get(t);r&&r.getParentKey();){var i=r.getParentKey();i&&n.push(i),r=i?e.get(i):null}return n},c=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getNextSiblingKey();r&&!e.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getPrevSiblingKey();r&&!e.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r}
vendor: 5,277 bytes, line 1
1,f=function(t,e,n,r){return t.withMutations(function(o){if(u(e.getKey(),o,function(t){return t.merge({nextSibling:c(t,o,r),prevSibling:l(t,o,r)})}),u(n.getKey(),o,function(t){return t.merge({nextSibling:c(t,o,r),prevSibling:l(t,o,r)})}),s(e.getKey(),r).forEach(function(t){return u(t,o,function(t){return t.merge({children:t.getChildKeys().filter(function(t){return o.get(t)}),nextSibling:c(t,o,r),prevSibling:l(t,o,r)})})}),u(e.getNextSiblingKey(),o,function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})}),u(e.getPrevSiblingKey(),o,function(t){return t.merge({nextSibling:c(t,o,r)})}),u(n.getNextSiblingKey(),o,function(t){return t.merge({prevSibling:l(t,o,r)})}),u(n.getPrevSiblingKey(),o,function(t){return t.merge({nextSibling:n.getNextSiblingKey()})}),s(n.getKey(),r).forEach(function(t){u(t,o,function(t){return t.merge({children:t.getChildKeys().filter(function(t){return o.get(t)}),nextSibling:c(t,o,r),prevSibling:l(t,o,r)})})}),function(t,e){var n=[];if(!t)return n;for(var r=i(t,e);r&&e.get(r);){var o=e.get(r);n.push(r),r=o.getParentKey()?i(o,e):null}return n}(n,r).forEach(function(t){return u(t,o,function(t){return t.merge({nextSibling:c(t,o,r),prevSibling:l(t,o,r)})})}),null==t.get(e.getKey())&&null!=t.get(n.getKey())&&n.getParentKey()===e.getKey()&&null==n.getPrevSiblingKey()){var a=e.getPrevSiblingKey();u(n.getKey(),o,function(t){return t.merge({prevSibling:a})}),u(a,o,function(t){return t.merge({nextSibling:n.getKey()})});var f=a?t.get(a):null,p=f?f.getParentKey():null;if(e.getChildKeys().forEach(function(t){u(t,o,function(t){return t.merge({parent:p})})}),null!=p){var h=t.get(p);u(p,o,function(t){return t.merge({children:h.getChildKeys().concat(e.getChildKeys())})})}u(e.getChildKeys().find(function(e){return null===t.get(e).getNextSiblingKey()}),o,function(t){return t.merge({nextSibling:e.getNextSiblingKey()})})}})},p=function(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var r=t.slice(0,e),i=t.slice(n);t=r.concat(i).toList()}return t};t.exports=function(t,e){if(e.isCollapsed())return t;var n,o=t.getBlockMap(),u=e.getStartKey(),c=e.getStartOffset(),l=e.getEndKey(),h=e.getEndOffset(),d=o.get(u),g=o.get(l),y=d instanceof r,v=[];if(y){var m=g.getChildKeys(),b=s(l,o);g.getNextSiblingKey()&&(v=v.concat(b)),m.isEmpty()||(v=v.concat(b.concat([l]))),v=v.concat(s(i(g,o),o))}n=d===g?p(d.getCharacterList(),c,h):d.getCharacterList().slice(0,c).concat(g.getCharacterList().slice(h));var _=d.merge({text:d.getText().slice(0,c)+g.getText().slice(h),characterList:n}),w=y&&0===c&&0===h&&g.getParentKey()===u&&null==g.getPrevSiblingKey()?a([[u,null]]):o.toSeq().skipUntil(function(t,e){return e===u}).takeUntil(function(t,e){return e===l}).filter(function(t,e){return-1===v.indexOf(e)}).concat(a([[l,null]])).map(function(t,e){return e===u?_:null}),S=o.merge(w).filter(function(t){return!!t});return y&&d!==g&&(S=f(S,d,g,o)),t.merge({blockMap:S,selectionBefore:e,selectionAfter:e.merge({anchorKey:u,anchorOffset:c,focusKey:u,focusOffset:c,isBackward:!1})})}},11754:function(t){"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},11764:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(31163),o=n(50534),a=n(39822),u=function(){function t(t){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),t?o.isStrong(t)||a(!1):t=o.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=i.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=u},11912:function(t){"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},12728:function(t,e,n){"use strict";var r=n(49185),i=n(63716),o=n(61086),a=o.isPlatform("Mac OS X"),u=a&&o.isBrowser("Firefox < 29"),s=r.hasCommandModifier,c=r.isCtrlKeyCommand;function l(t){return a&&t.altKey||c(t)}t.exports=function(t){switch(t.keyCode){case 66:return s(t)?"bold":null;case 68:return c(t)?"delete":null;case 72:return c(t)?"backspace":null;case 73:return s(t)?"italic":null;case 74:return s(t)?"code":null;case 75:return a&&c(t)?"secondary-cut":null;case 77:case 79:return c(t)?"split-block":null;case 84:return a&&c(t)?"transpose-characters":null;case 85:return s(t)?"underline":null;case 87:return a&&c(t)?"backspace-word":null;case 89:return c(t)?a?"secondary-paste":"redo":null;case 90:return function(t){return s(t)?t.shiftKey?"redo":"undo":null}(t)||null;case i.RETURN:return"split-block";case i.DELETE:return function(t){return!a&&t.shiftKey?null:l(t)?"delete-word":"delete"}(t);case i.BACKSPACE:return function(t){return s(t)&&a?"backspace-to-start-of-line":l(t)?"backspace-word":"backspace"}(t);case i.LEFT:return u&&s(t)?"move-selection-to-start-of-block":null;case i.RIGHT:return u&&s(t)?"move-selection-to-end-of-block":null;default:return null}}},13536:function(t){"use strict";
1t.exports=function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),i=e.getStartOffset(),o=!1;return r.some(function(t){return i===t.get("start")?(o=!0,!0):i<t.get("end")&&t.get("leaves").some(function(t){var e=t.get("start");return i===e&&(o=!0,!0)})}),o}},13768:function(t,e,n){"use strict";var r,i,o,a,u,s=n(75276),c=n(96540),l=n(83498),f=n(75289),p=n(48023),h=l.Ay.div(r||(r=(0,s.A)(["\n margin-top: 12px;\n display: flex;\n align-items: center;\n"]))),d=(0,l.Ay)(f.Ay)(i||(i=(0,s.A)(["\n border-radius: 100%;\n width: 36px;\n margin: 0;\n margin-right: 10px;\n"]))),g=l.Ay.div(o||(o=(0,s.A)(["\n font-family: Open Sans;\n font-style: normal;\n font-weight: normal;\n"]))),y=(0,l.Ay)(g)(a||(a=(0,s.A)(["\n font-size: 14px;\n color: #333;\n"]))),v=(0,l.Ay)(g)(u||(u=(0,s.A)(["\n font-size: 12px;\n color: #666;\n"])));e.A=function(t){return c.createElement(h,{className:t.className},c.createElement(d,{name:t.name,size:36,color:p.A.colors.primary}),c.createElement("div",null,c.createElement(y,null,t.title),c.createElement(v,null,t.subtitle)))}},15311:function(t,e,n){"use strict";function r(t,e){var n=i.get(t,e);return"auto"===n||"scroll"===n}var i={get:n(33364),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=i},15946:function(t,e,n){"use strict";var r=n(1895),i=n(34486),o=n(89354),a=n(45817),u=n(96540),s=n(73995),c=(a.List,function(t){var e,n;function a(){return t.apply(this,arguments)||this}return n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,a.prototype.render=function(){var t=this.props,e=t.block,n=t.contentState,a=t.customStyleFn,c=t.customStyleMap,l=t.decorator,f=t.direction,p=t.forceSelection,h=t.hasSelection,d=t.selection,g=t.tree,y=e.getKey(),v=e.getText(),m=g.size-1,b=this.props.children||g.map(function(t,s){var g=t.get("decoratorKey"),b=t.get("leaves"),_=b.size-1,w=b.map(function(t,n){var r=o.encode(y,s,n),l=t.get("start"),f=t.get("end");return u.createElement(i,{key:r,offsetKey:r,block:e,start:l,selection:h?d:null,forceSelection:p,text:v.slice(l,f),styleSet:e.getInlineStyleAt(l),customStyleMap:c,customStyleFn:a,isLast:g===m&&n===_})}).toArray();return g&&l?u.createElement(r,{block:e,children:w,contentState:n,decorator:l,decoratorKey:g,direction:f,leafSet:t,text:v,key:s}):w}).toArray();return u.createElement("div",{"data-offset-key":o.encode(y,0,0),className:s({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},b)},a}(u.Component));t.exports=c},16162:function(t,e,n){"use strict";var r=n(59267),i=n(45817).List;t.exports=function(t,e){var n=t.map(function(t,n){var i=e[n];return r.create({style:t,entity:i})});return i(n)}},16949:function(t){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;ã»ããã-ãã-ãï¼-ï¼ï¼-ï¼ï¼»-ï½ï½-・⸮ØÙª-Ù¬ØØØï´¾ï´¿á ।ááâ-â§â°-â¡-±´-¸º»¿]"}}},17489:function(t){"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}var n={getTop:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollTop=r.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:t.scrollLeft=n}};t.exports=n},17937:function(t,e,n){"use strict";var r=n(59267),i=n(45817).Map,o={add:function(t,e,n){return a(t,e,n,!0)},remove:function(t,e,n){return a(t,e,n,!1)}};function a(t,e,n,o){var a=t.getBlockMap(),u=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),f=a.skipUntil(function(t,e){return e===u}).takeUntil(function(t,e){return e===c}).concat(i([[c,a.get(c)]])).map(function(t,e){var i,a;u===c?(i=s,a=l):(i=e===u?s:0,a=e===c?l:t.getLength());for(var f,p=t.getCharacterList();i<a;)f=p.get(i),p=p.set(i,o?r.applyStyle(f,n):r.removeStyle(f,n)),i++;return t.set("characterList",p)});return t.merge({blockMap:a.merge(f),selectionBefore:e,selectionAfter:e})}t.exports=o},18056:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return Se}});var r=n(19705),i=n(34806),o=n(96540),a=(n(26910),n(45458)),u=n(10467),s=n(75276),c=n(87612),l=n.n(c),f=n(44826),p=n.n(f),h=n(88055),d=n.n(h),g=n(54756),y=n.n(g),v=n(74207),m=n(9748),b=n(54581),_=n(13519),w=n(83498),S=n(55927),x=n(21163),k=n(10992),E=n(34276),C=n(55086),A=n(13768),O=n(34341),D=n(1955),K=n(35263),T=n(60920),M=n(91590);function I(t,e){return(0,M.A)(2,arguments),function(t,e){(0,M.A)(2,arguments);var n=(0,T.A)(t),r=(0,K.A)(e);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}(t,-(0,K.A)(e))}var B,L,R,N,P,F,z,j,U,q,H,W,V,J,G,X,$,Y,Z,Q,tt,et,nt,rt,it,ot,at,ut,st,ct,lt,ft,pt,ht,dt,gt,yt,vt,mt,bt,_t,wt,St=n(66717),xt=n(54339),kt=n(34833),Et=n(49929),Ct=n(48103),At=w.Ay.div(B||(B=(0,s.A)(["\n cursor: pointer;
1\n color: ",";\n font-size: 12px;\n font-family: Open Sans;\n display: flex;\n flex-direction: column;\n margin-right: 16px;\n position: relative;\n .remove-file-btn {\n display: none;\n }\n &:hover {\n .remove-file-btn {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n }\n"])),function(t){return t.theme.colors.primary}),Ot=(0,w.Ay)(St.kl1)(L||(L=(0,s.A)(["\n height: 42px;\n stroke: white;\n fill: ",";\n"])),function(t){return t.theme.colors.primary}),Dt=(0,w.Ay)(xt.gpD)(R||(R=(0,s.A)(["\n height: 42px;\n stroke: white;\n fill: ",";\n"])),function(t){return t.theme.colors.primary}),Kt=w.Ay.img(N||(N=(0,s.A)(["\n height: 40px;\n object-fit: cover;\n margin-bottom: 0;\n"]))),Tt=w.Ay.div(P||(P=(0,s.A)(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: 100px;\n"]))),Mt=w.Ay.div(F||(F=(0,s.A)(["\n position: absolute;\n font-size: 12px;\n top: -6px;\n right: -6px;\n padding: 4px;\n color: white;\n background: black;\n border-radius: 50%;\n z-index: 100;\n height: 16px;\n width: 16px;\n"]))),It=function(t){var e=(0,o.useState)(null),n=e[0],r=e[1],i=t.data,a=(0,o.useState)(!1),u=a[0],s=a[1],c=(0,o.useState)(""),l=c[0],f=c[1];return(0,o.useEffect)(function(){var t,e,n,a;null!==(t=i.type)&&void 0!==t&&t.match("pdf")?r(o.createElement(Ot,null)):null!==(e=i.type)&&void 0!==e&&e.match("doc")?r(o.createElement(Dt,null)):null!==(n=i.type)&&void 0!==n&&n.match("image")?r(o.createElement(Kt,{src:i.previewImage})):null!==(a=i.type)&&void 0!==a&&a.match("video")&&(0,Ct.O$)(i.previewImage,function(t){r(o.createElement(Et.A,{customStyle:{width:"120px",height:"76px"},size:"small",onClick:function(){return function(t){s(!0),f(decodeURIComponent(t))}(i.previewImage)},imageUrl:t}))})},[i]),o.createElement(At,{title:i.filename},n,o.createElement(Tt,null,i.filename),t.removable&&o.createElement(Mt,{className:"remove-file-btn",onClick:t.onRemove},"x"),o.createElement(kt.A,{url:l,channel:"custom",autoplay:!1,isOpen:u,onClose:function(){return s(!1)}}))},Bt=w.Ay.div(z||(z=(0,s.A)(["\n border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n padding-bottom: 16px;\n margin-bottom: 16px;\n"]))),Lt=w.Ay.div(j||(j=(0,s.A)(["\n margin-left: 46px;\n"]))),Rt=w.Ay.div(U||(U=(0,s.A)(["\n display: flex;\n justify-content: flex-end;\n align-items: center;
1\n"]))),Nt=w.Ay.div(q||(q=(0,s.A)(["\n display: flex;\n align-items: center;\n"]))),Pt=(w.Ay.div(H||(H=(0,s.A)(["\n font-family: Open Sans;\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n line-height: 20px;\n color: ",";\n margin-left: 6px;\n margin-right: 16px;\n cursor: pointer;\n"])),function(t){return t.theme.colors.secondary}),w.Ay.div(W||(W=(0,s.A)(["\n font-family: Open Sans;\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n line-height: 20px;\n color: #ec4d7b;\n cursor: pointer;\n margin-left: 8px;\n"]))),(0,w.Ay)(A.A)(V||(V=(0,s.A)(["\n margin-bottom: 7px;\n"])))),Ft=w.Ay.div(J||(J=(0,s.A)(["\n margin-bottom: 12px;\n font-family: Open Sans;\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n line-height: 20px;\n color: ",";\n white-space: pre-wrap;\n"])),function(t){return t.theme.colors.secondary}),zt=(0,w.AH)(G||(G=(0,s.A)(["\n cursor: pointer;\n stroke: #666666;\n ","\n"])),function(t){if(t.highlight)return(0,w.AH)(X||(X=(0,s.A)(["\n fill: ",";\n stroke: ",";\n "])),t.theme.colors.primary,t.theme.colors.primary)}),jt=((0,w.Ay)(St.U2A)($||($=(0,s.A)(["\n ",";\n"])),zt),(0,w.Ay)(St.rYl)(Y||(Y=(0,s.A)(["\n ",";\n"])),zt),w.Ay.div(Z||(Z=(0,s.A)(["\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n"])))),Ut=(0,w.AH)(Q||(Q=(0,s.A)(["\n stroke: #666;\n cursor: pointer;\n"]))),qt=(0,w.Ay)(St.wwX)(tt||(tt=(0,s.A)(["\n ","\n"])),Ut),Ht=(0,w.Ay)(St.H8h)(et||(et=(0,s.A)(["\n ",";\n margin-left: 12px;\n"])),Ut),Wt=(w.Ay.div(nt||(nt=(0,s.A)(["\n display: flex;\n align-items: center;\n user-select: none;\n"]))),function(t){var e=new Date(t),n=", h:m a";return function(t){return(0,M.A)(1,arguments),(0,D.A)(t,I(Date.now(),1))}(e)?"Yesterday, "+(0,O.A)(e,n):(n="MMM d yyyy"+n,(0,O.A)(e,n))}),Vt=function(t){var e,n,r,i=null!=t&&t.lastUpdatedOn?Wt(null==t?void 0:t.lastUpdatedOn):"",a=null===(e=t.author)||void 0===e?void 0:e.name;return t.createdByLoggedInUser&&(a+=" (You)"),(0,o.useEffect)(function(){m.HA.configure(b.r)},[]),o.createElement(Bt,null,o.createElement(Pt,{imageStyle:{border:"1.5px solid #00B7A2"},name:null===(n=t.author)||void 0===n?void 0:n.name,title:a,subtitle:i}),o.createElement(Lt,null,o.createElement(Ft,null,t.text),t.attachments&&t.attachments.length?o.createElement(jt,null,null===(r=t.attachments)||void 0===r?void 0:r.map(function(t,e){return o.createElement(It,{key:e.toString(),data:t})})):null,o.createElement(Rt,null,o.createElement(Nt,null,t.editable&&o.createElement(qt,{onClick:function(){return t.onEdit(t.id)}}),t.deletable&&o.createElement(Ht,{onClick:function(){return t.onDelete(t.id)}})))))},Jt=(n(37487),n(2302)),Gt=n(58889),Xt=n(82357),$t=n(73989),Yt=n.n($t),Zt=n(48023),Qt=w.Ay.div(rt||(rt=(0,s.A)(["\n background: rgba(0, 0, 0, 0.03);\n border-radius: 5px;\n margin-bottom: 24px;\n padding: 16px;\n font-family: Open Sans;\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n line-height: 20px;\n & > .DraftEditor-root {\n height: 100px;\n overflow: auto;\n }\n"]))),te=w.Ay.div(it||(it=(0,s.A)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"]))),ee=(w.Ay.div(ot||(ot=(0,s.A)(["\n position: relative;\n cursor: pointer;\n"]))),(0,w.Ay)(Gt.tAF)(at||(at=(0,s.A)(["\n margin-right: 24px;\n width: 20px;\n height: 20px;\n cursor: pointer;\n color: ",";\n"])),Zt.A.colors.primary),w.Ay.input(ut||(ut=(0,s.A)(["\n opacity: 0;\n position: absolute;\n width: 20px;\n height: 20px;\n z-index: 99;\n cursor: pointer;\n"]))),w.Ay.div(st||(st=(0,s.A)(["\n display: flex;\n align-items: center;
1\n"])))),ne=w.Ay.div(ct||(ct=(0,s.A)(["\n display: flex;\n align-items: center;\n @media (max-width: ","px) {\n justify-content: space-between;\n width: 100%;\n }\n"])),Ct.fi.phone),re=(w.Ay.div(lt||(lt=(0,s.A)(["\n display: flex;\n"]))),(0,w.Ay)(Xt.$n)(ft||(ft=(0,s.A)(["\n display: flex;\n align-items: center;\n div {\n margin-right: 4px;\n }\n"])))),ie=function(t){var e=(0,o.useState)([]),n=e[0],r=e[1],i=(0,o.useState)(function(){return Jt.EditorState.createEmpty()}),a=i[0],u=i[1],s=(0,o.useState)([]),c=s[0],l=(s[1],function(t){u(function(t,e){var n=e.getCurrentContent(),r=e.getSelection(),i=Jt.Modifier.replaceText(n,r,t),o=Jt.EditorState.push(e,i,"insert-characters");return Jt.EditorState.forceSelection(o,i.getSelectionAfter())}(t,a))});return(0,o.useEffect)(function(){m.HA.configure(b.r)},[]),(0,o.useEffect)(function(){t.posted&&(u(function(){return Jt.EditorState.createEmpty()}),r([]))},[t.posted]),(0,o.useEffect)(function(){t.reply&&(l(t.reply.text),r(t.reply.attachments))},[t.reply]),(0,o.useEffect)(function(){return function(){c.forEach(function(t){URL.revokeObjectURL(t)})}},[]),o.createElement(Qt,null,o.createElement(Jt.Editor,{editorState:a,style:{height:"100px"},onChange:u,placeholder:"Type your response here"}),o.createElement(te,null,o.createElement(ee,null,n.map(function(t){return o.createElement(It,{key:t.id,data:t,removable:!0,onRemove:function(){return e=t.id,void r(n.filter(function(t){return t.id!==e}));var e}})})),o.createElement(ne,null,t.loading?o.createElement(re,null,o.createElement(Yt(),{size:16,color:"white",loading:!0}),o.createElement("span",null,"Post")):o.createElement(Xt.$n,{onClick:function(){var e=a.getCurrentContent().getPlainText();t.onSubmit&&t.onSubmit(e,n,t.reply?t.reply.id:void 0)}},"Post"))))},oe=n(69222),ae=n(25422),ue=n(27852),se=n(6669),ce=n(74553),le=n(31075),fe=n(9745),pe=w.Ay.div(pt||(pt=(0,s.A)([""]))),he=function(t){(0,o.useEffect)(function(){m.HA.configure(b.r)},[]);var e=function(){return o.createElement(fe.A,{title:"Edit your Reply",subtitle:"",footer:null,onClose:t.onClose,bodyStyle:{paddingTop:0},containerStyle:{padding:"0 10px"}},o.createElement(ie,{posted:t.posted,loading:t.loading,onSubmit:t.onReplySubmit,reply:t.reply}))};return"undefined"!=typeof window&&window.innerWidth<=Ct.fi.phone?o.createElement(ce.A,{show:t.show},e()):o.createElement(pe,null,o.createElement(le.A,{show:t.show,onClose:t.onClose},e()))},de=n(9130),ge=w.Ay.div(ht||(ht=(0,s.A)(["\n margin-top: 27px;\n @media (max-width: ","px) {\n padding: 0 16px;\n }\n"])),Ct.fi.desktop),ye=(0,w.Ay)(x.H2)(dt||(dt=(0,s.A)(["\n margin-top: 15px;\n"]))),ve=((0,w.Ay)(x.H3)(gt||(gt=(0,s.A)(["\n margin-bottom: 12px;\n"]))),w.Ay.p(yt||(yt=(0,s.A)(["\n margin-bottom: 36px;\n color: Gray;\n font-size: 14px;\n"])))),me=(w.Ay.div(vt||(vt=(0,s.A)(["\n font-family: Open Sans;\n font-style: italic;\n font-size: 14px;\n color: ",";\n"])),function(t){return t.theme.colors.secondary}),(0,w.Ay)(E.A)(mt||(mt=(0,s.A)([""])))),be=(0,w.Ay)(C.A)(bt||(bt=(0,s.A)([""]))),_e=((0,w.Ay)(C.A)(_t||(_t=(0,s.A)([""]))),w.Ay.div(wt||(wt=(0,s.A)(["\n display: flex;\n align-items: center;
1\n"]))),function(t){var e,n=t.threadId;if(!n)return o.createElement("p",null,"No thread id was provided");console.log("Thread id id id",n);var r=(0,o.useState)(),i=r[0],s=r[1],c=(0,de.A)(),f=c?JSON.parse(c):null,h=(0,o.useState)(!1),g=h[0],w=h[1],x=(0,o.useState)(!1),E=x[0],C=x[1],A=(0,o.useState)(!1),O=A[0],D=A[1],K=(0,o.useState)(!1),T=K[0],M=K[1],I=(0,o.useState)(),B=I[0],L=I[1],R=(0,o.useState)(null),N=R[0],P=R[1],F="undefined"!=typeof window?window.sessionStorage.getItem("UserRole"):"",z=function(){var t=(0,u.A)(y().mark(function t(e,r,o){var a;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===o&&(o=void 0),t.prev=1,!i||!i.id){t.next=4;break}return M(!0),t.next=2,(0,ae.kl)(i.id,{text:e,postId:o,threadTitle:null==i?void 0:i.title,parentId:i.id,attachments:r});case 2:return t.next=3,V(n);case 3:D(!0),M(!1),H(),t.next=5;break;case 4:throw new Error("Thread id not available");case 5:M(!1),t.next=7;break;case 6:t.prev=6,a=t.catch(1),(0,se.A)(ue.oR,"Something went wrong. "+a),D(!1),M(!1);case 7:case"end":return t.stop()}},t,null,[[1,6]])}));return function(e,n,r){return t.apply(this,arguments)}}(),j=function(){var t=(0,u.A)(y().mark(function t(e,n,r){var o,a;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===r&&(r=void 0),o=d()(i),e&&p()(e)){t.next=1;break}return t.abrupt("return");case 1:if(o){t.next=2;break}return alert("Thread is empty. Please try reloading the page"),t.abrupt("return");case 2:if(f&&f.id){t.next=3;break}return alert("Only logged in users can create posts. Please log in and start discussing with other women."),t.abrupt("return");case 3:a=n.map(function(t){return{mimeType:t.type,attachmentLocation:{bucket:b.r.Storage.AWSS3.bucket,region:b.r.Storage.AWSS3.region,key:t.key}}}),z(p()(e),a,r);case 4:case"end":return t.stop()}},t)}));return function(e,n,r){return t.apply(this,arguments)}}(),U=function(){var t=(0,u.A)(y().mark(function t(){var e,n;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=d()(i),i&&e){t.next=1;break}return alert("Thread is empty. Please try reloading the page"),t.abrupt("return");case 1:if(f&&f.id){t.next=2;break}return alert("Only logged in users can delete posts. Please log in."),t.abrupt("return");case 2:return e.posts=l()(i.posts,function(t){return(null==t?void 0:t.id)!==B}),t.prev=3,t.next=4,(0,ae.w_)(B);case 4:t.sent&&(w(!1),s(e)),t.next=6;break;case 5:t.prev=5,n=t.catch(3),console.error(n);case 6:case"end":return t.stop()}},t,null,[[3,5]])}));return function(){return t.apply(this,arguments)}}(),q=function(t){L(t),w(!0)},H=function(){P(null),C(!1)},W=function(){var t=(0,u.A)(y().mark(function t(e){var n,r;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.key,t.prev=1,t.next=2,v.wc.get(n);case 2:return r=t.sent,t.abrupt("return",r);case 3:return t.prev=3,t.catch(1),t.abrupt("return","");case 4:case"end":return t.stop()}},t,null,[[1,3]])}));return function(e){return t.apply(this,arguments)}}(),V=function(){var t=(0,u.A)(y().mark(function t(e){var n,r,i,o,a;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,(0,ae.KB)(e,f?_.T.AMAZON_COGNITO_USER_POOLS:_.T.API_KEY);case 1:if(n=t.sent,t.prev=2,!n.posts||!n.posts.length){t.next=4;break}return r=null==n?void 0:n.posts.map(function(){var t=(0,u.A)(y().mark(function t(e){var n,r,i,o,a;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null==e||!e.attachments||!e.attachments.length){t.next=2;break}return n=e.attachments.map(function(){var t=(0,u.A)(y().mark(function t(e){var n,r,i,o,a,u;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=null==e||null===(n=e.attachmentLocation)||void 0===n?void 0:n.key,o=null==e?void 0:e.mimeType,t.next=1,W(null==e?void 0:e.attachmentLocation);case 1:return a=t.sent,u=null==e||null===(r=e.attachmentLocation)||void 0===r?void 0:r.key,t.abrupt("return",{filename:i,type:o,previewImage:a,key:u});case 2:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()),r=Object,i={},o=e,t.next=1,Promise.all(n);case 1:return a=t.sent,t.abrupt("return",r.assign.call(r,i,o,{attachments:a}));case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()),t.next=3,Promise.all(r);case 3:i=t.sent,o=i.sort(function(t,e){return t.createdOn<e.createdOn?1:t.createdOn>e.createdOn?-1:0}),s(Object.assign({},n,{posts:o})),t.next=5;break;case 4:s(n);case 5:t.next=7;break;case 6:t.prev=6,a=t.catch(2),console.log(a);case 7:case"end":return t.stop()}},t,null,[[2,6]])}));return function(e){return t.apply(this,arguments)}}();(0,o.useEffect)(function(){try{m.HA.configure(b.r),V(n)}
1catch(t){(0,se.A)(ue.oR,"Something went wrong.")}},[]);var J,G=i&&i.posts&&f?null===(e=i.posts)||void 0===e?void 0:e.filter(function(t){return t.author.id===f.id&&t.attachments&&t.attachments.length}):null;return G&&G.length&&G.reduce(function(t,e){return t.push.apply(t,(0,a.A)(null==e?void 0:e.attachments)),t},[]),i?o.createElement(ge,null,o.createElement(S.A,{items:[{text:"Discussion Forum",link:"/discuss"}],activeItem:{text:null==i?void 0:i.title}}),o.createElement(ye,null,null==i?void 0:i.title),o.createElement(ve,null,i.text),o.createElement(me,null,o.createElement(be,null,o.createElement(ie,{posted:O,loading:T,onSubmit:j}),i?null===(J=i.posts)||void 0===J?void 0:J.map(function(t,e){var n,r;return o.createElement(Vt,Object.assign({},t,{key:e.toString(),editable:f&&"admin"===(null==F?void 0:F.toLowerCase())||(null==t||null===(n=t.author)||void 0===n?void 0:n.id)===(null==f?void 0:f.id),deletable:f&&"admin"===(null==F?void 0:F.toLowerCase()),onDelete:q,onEdit:function(){return function(t){P(t),C(!0)}(t)},createdByLoggedInUser:f&&(null==f?void 0:f.id)===(null==t||null===(r=t.author)||void 0===r?void 0:r.id)}))}):null)),o.createElement(oe.A,{title:"Delete Reply",show:g,onClose:function(){return w(!1)},onConfirm:U},"Are you sure you want to delete this reply?"),o.createElement(he,{posted:O,loading:T,show:E,onClose:H,onReplySubmit:j,reply:N})):o.createElement(ge,null,o.createElement(k.A,null))}),we=n(89756),Se=function(){var t=(0,we.pE)("id",we.fr),e=t[0];t[1];return o.createElement(r.A,null,o.createElement(i.A,{title:"Discussion Forum"}),o.createElement(_e,{threadId:e}))}},18229:function(t,e,n){"use strict";var r="['ââ]",i="\\s|(?![_])"+n(16949).getPunctuation(),o=new RegExp("^(?:"+i+")*(?:"+r+"|(?!"+i+").)*(?:(?!"+i+").)"),a=new RegExp("(?:(?!"+i+").)(?:"+r+"|(?!"+i+").)*(?:"+i+")*$");function u(t,e){var n=e?a.exec(t):o.exec(t);return n?n[0]:t}var s={getBackward:function(t){return u(t,!0)},getForward:function(t){return u(t,!1)}};t.exports=s},18834:function(t,e,n){"use strict";var r=n(76876),i=n(81914),o=n(40020),a=n(39822);function u(t,e){for(var n=1/0,r=1/0,i=-1/0,o=-1/0,a=0;a<t.length;a++){var u=t[a];0!==u.width&&1!==u.width&&(n=Math.min(n,u.top),r=Math.min(r,u.bottom),i=Math.max(i,u.top),o=Math.max(o,u.bottom))}return i<=r&&i-n<e&&o-r<e}function s(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}t.exports=function(t){t.collapsed||a(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var n=function(t){var e=getComputedStyle(t),n=i(t),r=n.createElement("div");r.style.fontFamily=e.fontFamily,r.style.fontSize=e.fontSize,r.style.fontStyle=e.fontStyle,r.style.fontWeight=e.fontWeight,r.style.lineHeight=e.lineHeight,r.style.position="absolute",r.textContent="M";var o=n.body;o||a(!1),o.appendChild(r);var u=r.getBoundingClientRect();return o.removeChild(r),u.height}(e),c=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);u(o(t),n)&&(c=t.startContainer,l=t.startOffset,c.parentNode||a(!1),t.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var f=c,p=l-1;;){for(var h=f.nodeValue,d=p;d>=0;d--)if(!(null!=h&&d>0&&r.isSurrogatePair(h,d-1))){if(t.setStart(f,d),!u(o(t),n))break;c=f,l=d}if(-1===d||0===f.childNodes.length)break;p=s(f=f.childNodes[d])}return t.setStart(c,l),t}},18866:function(t,e,n){"use strict";var r=n(43802).end,i=n(60706);t.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},18883:function(t,e,n){"use strict";var r=n(52483);function i(){return i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){a(t,e,n[e])})}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=n(15946),s=n(89354),c=n(96540),l=n(17489),f=n(15311),p=n(98375),h=n(74472),d=n(4273),g=n(45817),y=n(39822),v=n(99522),m=(g.List,function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}),b=function(t,e){var n=e.get(t.getType())||e.get("unstyled"),r=n.wrapper;return{Element:n.element||e.get("unstyled").element,wrapperTemplate:r}},_=function(t,e){var n=e(t);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},w=function(t,e,n,r,i,a){var u={"data-block":!0,"data-editor":e,"data-offset-key":n,key:t.getKey(),ref:a},s=r(t);return s&&(u.className=s),void 0!==i.customEditable&&(u=o({},u,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),u},S=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return a(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(r))||this),"wrapperRef",c.createRef()),e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var g=r.prototype;return g.shouldComponentUpdate=function(t){var e=this.props,n=e.block,r=e.direction,i=e.tree,o=!n.getChildKeys().isEmpty(),a=n!==t.block||i!==t.tree||r!==t.direction||m(t.selection,t.block.getKey())&&t.forceSelection;return o||a},g.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,i=f.getScrollParent(n),o=h(i);if(i===window){var a=p(n);(r=a.y+a.height-d().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{v(n)||y(!1);var u=n;(r=u.offsetHeight+u.offsetTop-(i.offsetHeight+o.y))>0&&l.setTop(i,l.getTop(i)+r+10)}}}},g.render=function(){var t=this,e=this.props,n=e.block,a=e.blockRenderMap,l=e.blockRendererFn,f=e.blockStyleFn,p=e.contentState,h=e.decorator,d=e.editorKey,g=e.editorState,y=e.customStyleFn,v=e.customStyleMap,S=e.direction,x=e.forceSelection,k=e.selection,E=e.tree,C=null;n.children.size&&(C=n.children.reduce(function(e,n){var i=s.encode(n,0,0),u=p.getBlockForKey(n),h=_(u,l),y=h.CustomComponent||r,v=b(u,a),m=v.Element,S=v.wrapperTemplate,x=w(u,d,i,f,h,null),k=o({},t.props,{tree:g.getBlockTree(n),blockProps:h.customProps,offsetKey:i,block:u});return e.push(c.createElement(m,x,c.createElement(y,k))),!S||function(t,e){var n=t.getNextSiblingKey();return!!n&&e.getBlockForKey(n).getType()===t.getType()}(u,p)||function(t,e,n){var r=[],i=!0,o=!1,a=void 0;try{for(var u,l=n.reverse()[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var f=u.value;if(f.type!==e)break;r.push(f)}}catch(d){o=!0,a=d}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var p=r.reverse(),h=p[0].key;n.push(c.cloneElement(t,{key:"".concat(h,"-wrap"),"data-offset-key":s.encode(h,0,0)},p))}(S,m,e),e},[]));var A=n.getKey(),O=s.encode(A,0,0),D=_(n,l),K=D.CustomComponent,T=null!=K?c.createElement(K,i({},this.props,{tree:g.getBlockTree(A),blockProps:D.customProps,offsetKey:O,block:n})):c.createElement(u,{block:n,children:C,contentState:p,customStyleFn:y,customStyleMap:v,decorator:h,direction:S,forceSelection:x,hasSelection:m(k,A),selection:k,tree:E});if(n.getParentKey())return T;var M=b(n,a).Element,I=w(n,d,O,f,D,this.wrapperRef);return c.createElement(M,I,T)},r}(c.Component);t.exports=S},19709:function(t,e,n){"use strict";var r=n(53743),i=n(49455),o=n(51295),a=n(8752),u={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntity
vendor: 28,060 bytes, line 1
1Map();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some(function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()})},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,n){switch(e){case"bold":return u.toggleInlineStyle(t,"BOLD");case"italic":return u.toggleInlineStyle(t,"ITALIC");case"underline":return u.toggleInlineStyle(t,"UNDERLINE");case"code":return u.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return u.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return u.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=i.push(t,e,"insert-characters");return i.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),o=n.getBlockBefore(r);if(o&&"atomic"===o.getType()){var a=n.getBlockMap().delete(o.getKey()),s=n.merge({blockMap:a,selectionAfter:e});if(s!==n)return i.push(t,s,"remove-range")}var c=u.tryToRemoveBlockStyle(t);return c?i.push(t,c,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),o=e.getStartKey(),a=n.getBlockForKey(o).getLength();if(e.getStartOffset()<a)return null;var u=n.getBlockAfter(o);if(!u||"atomic"!==u.getType())return null;var s=e.merge({focusKey:u.getKey(),focusOffset:u.getLength()}),c=r.removeRange(n,s,"forward");return c!==n?i.push(t,c,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return e;var u=e.getCurrentContent(),s=u.getBlockForKey(a),c=s.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;t.preventDefault();var l=s.getDepth();if(!t.shiftKey&&l===n)return e;var f=o(u,r,t.shiftKey?-1:1,n);return i.push(e,f,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),o=n.getStartKey(),u=n.getEndKey(),s=t.getCurrentContent(),c=n;if(o!==u&&0===n.getEndOffset()){var l=a(s.getBlockBefore(u));u=l.getKey(),c=c.merge({anchorKey:o,anchorOffset:n.getStartOffset(),focusKey:u,focusOffset:l.getLength(),isBackward:!1})}if(s.getBlockMap().skipWhile(function(t,e){return e!==o}).reverse().skipWhile(function(t,e){return e!==u}).some(function(t){return"atomic"===t.getType()}))return t;var f=s.getBlockForKey(o).getType()===e?"unstyled":e;return i.push(t,r.setBlockType(s,c,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?u.toggleBlockType(t,"code-block"):u.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),o=t.getCurrentInlineStyle();if(n.isCollapsed())return i.setInlineStyleOverride(t,o.has(e)?o.remove(e):o.add(e));var a,u=t.getCurrentContent();return a=o.has(e)?r.removeInlineStyle(u,n,e):r.applyInlineStyle(u,n,e),i.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var o=r.applyEntity(t.getCurrentContent(),e,n);return i.push(t,o,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var i=e.getAnchorKey(),o=t.getCurrentContent(),a=o.getBlockForKey(i).getType(),u=o.getBlockBefore(i);if("code-block"===a&&u&&"code-block"===u.getType()&&0!==u.getLength())return null;if("unstyled"!==a)return r.setBlockType(o,e,"unstyled")}return null}};t.exports=u},20266:function(t,e,n){"use strict";var r=n(76876).substr;t.exports=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach(function(e){for(var i=r(t,0,e.offset).length,o=i+r(t,e.offset,e.length).length,a=i;a<o;a++)n[a]=e.key}),n}},20573:function(t,e,n){"use strict";n(63448),t.exports=n.g.setImmediate},20603:function(t){"use strict";function e(t){return function(){return t}}var n=function(){};n.thatReturns=e,n.thatReturnsFalse=e(!1),n.thatReturnsTrue=e(!0),n.thatReturnsNull=e(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},t.exports=n},20775:function(t){"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,function(t,e){return e.toUpperCase()})}},21230:function(t,e,n){"use strict";var r=n(39822);t.exports=function(t,e){var n=[];return t.findEntityRanges(function(t){return t.getEntity()===e},function(t,e){n.push({start:t,end:e})}),n.length||r(!1),n}},21831:function(t,e,n){"use strict";var r;function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){o(t,e,n[e])})}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n(78350),n(30237),n(39202),n(43359);var a=n(59267),u=n(23663),s=n(79347),c=n(92236),l=n(1957),f=n(2932),p=n(73995),h=n(79014),d=n(30201),g=n(44631),y=n(45817),v=y.List,m=y.Map,b=y.OrderedSet,_=n(6145),w=n(53266),S=n(99522),x=n(2267),k=g("draft_tree_data_support"),E=new RegExp("\r","g"),C=new RegExp("\n","g"),A=new RegExp("^\n","g"),O=new RegExp(" ","g"),D=new RegExp(" ?","g"),K=new RegExp("​?","g"),T=["bold","bolder","500","600","700","800","900"],M=["light","lighter","normal","100","200","300","400"],I=["className","href","rel","target","title"],B=["alt","className","height","src","width"],L=(o(r={},p("public/DraftStyleDefault/depth0"),0),o(r,p("public/DraftStyleDefault/depth1"),1),o(r,p("public/DraftStyleDefault/depth2"),2),o(r,p("public/DraftStyleDefault/depth3"),3),o(r,p("public/DraftStyleDefault/depth4"),4),r),R=m({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),N=function(t){if(S(t)&&t.style.fontFamily.includes("monospace"))return"CODE";return null},P=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(L).some(function(n){t.classList.contains(n)&&(e=L[n])}),e},F=function(t){if(!_(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{new f(e.href);return!0}catch(n){return!1}},z=function(t){if(!x(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},j=function(t,e){if(!S(t))return e;var n=t,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return e.withMutations(function(t){T.indexOf(r)>=0?t.add("BOLD"):M.indexOf(r)>=0&&t.remove("BOLD"),"italic"===i?t.add("ITALIC"):"normal"===i&&t.remove("ITALIC"),"underline"===o&&t.add("UNDERLINE"),"line-through"===o&&t.add("STRIKETHROUGH"),"none"===o&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))})},U=function(t){return"ul"===t||"ol"===t},q=function(){function t(t,e){o(this,"characterList",v()),o(this,"currentBlockType","unstyled"),o(this,"currentDepth",0),o(this,"currentEntity",null),o(this,"currentText",""),o(this,"wrapper",null),o(this,"blockConfigs",[]),o(this,"contentBlocks",[]),o(this,"entityMap",l),o(this,"blockTypeMap",void 0),o(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=v(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=l,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(k?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=i({key:t.key||h(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:v(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=v(),this.currentBlockType="unstyled",this.currentText="",e},e._toBlockConfigs=function(t,e){for(var n=[],r=0;r<t.length;r++){var i=t[r],o=i.nodeName.toLowerCase();if("body"===o||U(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,u=this.wrapper;U(o)&&(this.wrapper=o,U(u)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),e)),this.currentDepth=a,this.wrapper=u}else{var s=this.blockTypeMap.get(o);if(void 0===s)if("#text"!==o)if("br"!==o)if(z(i))this._addImgNode(i,e);else if(F(i))this._addAnchorNode(i,n,e);else{var c=e;R.has(o)&&(c=c.add(R.get(o))),c=j(i,c);var l=N(i);null!=l&&(c=c.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,e);else this._addTextNode(i,e);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var f=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof s&&(s=this.disambiguate(o,this.wrapper)||s[0]||"unstyled"),!k&&S(i)&&("unordered-list-item"===s||"ordered-list-item"===s)){var d=i;this.currentDepth=P(d,this.currentDepth)}var g=h(),y=this._toBlockConfigs(Array.from(i.childNodes),e);this._trimCurrentText(),n.push(this._makeBlockConfig({key:g,childConfigs:y,type:s})),this.currentDepth=f,this.wrapper=p}}}return n},e._appendText=function(t,e){var n;this.currentText+=t;var r=a.create({style:e,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(t.length).fill(r))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry(function(t){return null!==t.getEntity()});(e=void 0!==r?Math.min(e,r[0]):e)>(n=void 0!==(r=this.characterList.reverse().findEntry(function(t){return null!==t.getEntity()}))?Math.max(n,t-r[0]):n)?(this.currentText="",this.characterList=v()):(this.currentText=this.currentText.slice(e,n),this.characterList=this.characterList.slice(e,n))},e._addTextNode=function(t,e){var n=t.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(A,"")).replace(C," ")),this._appendText(n,e)},e._addBreakNode=function(t,e){w(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(x(t)){var n=t,r={};B.forEach(function(t){var e=n.getAttribute(t);e&&(r[t]=e)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),g("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("ð·",e):this._appendText("ð·",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,n){if(_(t)){var r=t,i={};I.forEach(function(t){var e=r.getAttribute(t);e&&(i[t]=e)}),i.url=new f(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),n)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.length-1,r=0;r<=n;r++){var o=t[r];o.parent=e,o.prevSibling=r>0?t[r-1].key:null,o.nextSibling=r<n?t[r+1].key:null,o.children=v(o.childConfigs.map(function(t){return t.key})),this.contentBlocks.push(new s(i({},o))),this._toContentBlocks(o.childConfigs,o.key)}},e._hoistContainersInBlockConfigs=function(t){var e=this;return v(t).flatMap(function(t){return"unstyled"!==t.type||""!==t.text?[t]:e._hoistContainersInBlockConfigs(t.childConfigs)})},e._toFlatContentBlocks=function(t){var e=this;this._hoistContainersInBlockConfigs(t).forEach(function(t){var n=e._extractTextFromBlockConfigs(t.childConfigs),r=n.text,o=n.characterList;e.contentBlocks.push(new u(i({},t,{text:t.text+r,characterList:t.characterList.concat(o)})))})},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,n="",r=v(),i=0;i<=e;i++){var o=t[i];n+=o.text,r=r.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},t}();t.exports=function(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:d)(t=t.trim().replace(E,"").replace(O," ").replace(D,"").replace(K,""));if(!n)return null;var r=function(t){var e={};return t.mapKeys(function(t,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach(function(n){void 0===e[n]?e[n]=t:"string"==typeof e[n]?e[n]=[e[n],t]:e[n].push(t)})}),m(e)}(e);return new q(r,function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null}).addDOMNode(n).getContentBlocks()}},21928:function(t,e,n){"use strict";var r=n(44631)("draft_tree_data_support");t.exports=n(r?45222:36188)},22155:function(t,e,n){"use strict";var r=n(53743),i=n(44631)("draft_tree_data_support");t.exports=function(t,e,n){var o=t.getSelection(),a=t.getCurrentContent(),u=o,s=o.getAnchorKey(),c=o.getFocusKey(),l=a.getBlockForKey(s);if(i&&"forward"===n&&s!==c)return a;if(o.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return a;if(i)if(o.getAnchorOffset()===a.getBlockForKey(s).getLength()){var f=a.getBlockForKey(l.nextSibling);if(!f||0===f.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((u=e(t))===o)return a}return r.removeRange(a,u,n)}},23663:function(t,e,n){"use strict";var r=n(59267),i=n(60866),o=n(45817),a=o.List,u=o.Map,s=o.OrderedSet,c=o.Record,l=o.Repeat,f=s(),p=c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:u()}),h=function(t){var e,n;function o(e){return t.call(this,function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t}(e))||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=o.prototype;return u.getKey=function(){return this.get("key")},u.getType=function(){return this.get("type")},u.getText=function(){return this.get("text")},u.getCharacterList=function(){return this.get("characterList")},u.getLength=function(){return this.getText().length},u.getDepth=function(){return this.get("depth")},u.getData=function(){return this.get("data")},u.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},u.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},u.findStyleRanges=function(t,e){i(this.getCharacterList(),d,t,e)},u.findEntityRanges=function(t,e){i(this.getCharacterList(),g,t,e)},o}(p);function d(t,e){return t.getStyle()===e.getStyle()}function g(t,e){return t.getEntity()===e.getEntity()}t.exports=h},23875:function(t,e,n){var r=n(96131);t.exports=function(t,e){for(var n=t.length;n--&&r(e,t[n],0)>-1;);return n}},24114:function(t,e,n){"use strict";var r=n(38935);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(r(t._latestEditorState))}},24206:function(t,e,n){"use strict";var r=n(37688),i="Unknown",o={"Mac OS":"Mac OS X"};var a,u=(new r).getResult(),s=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(u.browser.version),c={browserArchitecture:u.cpu.architecture||i,browserFullVersion:u.browser.version||i,browserMinorVersion:s.minor||i,browserName:u.browser.name||i,browserVersion:u.browser.major||i,deviceName:u.device.model||i,engineName:u.engine.name||i,engineVersion:u.engine.version||i,platformArchitecture:u.cpu.architecture||i,platformName:(a=u.os.name,o[a]||a||i),platformVersion:u.os.version||i,platformFullVersion:u.os.version||i};t.exports=c},24468:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(60866),o=n(28628),a=n(45817),u=a.List,s=a.Repeat,c=a.Record,l=function(){return!0},f=c({start:null,end:null}),p=c({start:null,end:null,decoratorKey:null,leaves:null}),h={generate:function(t,e,n){var r=e.getLength();if(!r)return u.of(new p({start:0,end:0,decoratorKey:null,leaves:u.of(new f({start:0,end:0}))}));var o=[],a=n?n.getDecorations(e,t):u(s(null,r)),c=e.getCharacterList();return i(a,g,l,function(t,e){o.push(new p({start:t,end:e,decoratorKey:a.get(t),leaves:d(c.slice(t,e).toList(),t)}))}),u(o)},fromJS:function(t){var e=t.leaves,n=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,["leaves"]);return new p(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){r(t,e,n[e])})}return t}({},n,{leaves:null!=e?u(Array.isArray(e)?e:o(e)).map(function(t){return f(t)}):null}))}};function d(t,e){var n=[],r=t.map(function(t){return t.getStyle()}).toList();return i(r,g,l,function(t,r){n.push(new f({start:t+e,end:r+e}))}),u(n)}function g(t,e){return t===e}t.exports=h},24934:function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){i(t,e,n[e])})}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(83917),a=n(59267),u=n(23663),s=n(79347),c=n(53743),l=n(49455),f=n(79014),p=n(44631),h=n(45817),d=n(34306),g=p("draft_tree_data_support"),y=g?s:u,v=h.List,m=h.Repeat,b={insertAtomicBlock:function(t,e,n){var i=t.getCurrentContent(),u=t.getSelection(),s=c.removeRange(i,u,"backward"),p=s.getSelectionAfter(),h=c.splitBlock(s,p),d=h.getSelectionAfter(),b=c.setBlockType(h,d,"atomic"),_=a.create({entity:e}),w={key:f(),type:"atomic",text:n,characterList:v(m(_,n.length))},S={key:f(),type:"unstyled"};g&&(w=r({},w,{nextSibling:S.key}),S=r({},S,{prevSibling:w.key}));var x=[new y(w),new y(S)],k=o.createFromArray(x),E=c.replaceWithFragment(b,d,k),C=E.merge({selectionBefore:u,selectionAfter:E.getSelectionAfter().set("hasFocus",!0)});return l.push(t,C,"insert-fragment")},moveAtomicBlock:function(t,e,n,r){var i,o=t.getCurrentContent(),a=t.getSelection();if("before"===r||"after"===r){var u=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=d(o,e,u,r)}else{var s=c.removeRange(o,n,"backward"),f=s.getSelectionAfter(),p=s.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())i=d(s,e,p,"before");else if(f.getEndOffset()===p.getLength())i=d(s,e,p,"after");else{var h=c.splitBlock(s,f),g=h.getSelectionAfter(),y=h.getBlockForKey(g.getFocusKey());i=d(h,e,y,"before")}}var v=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return l.push(t,v,"move-block")}};t.exports=b},25293:function(t,e,n){"use strict";var r=n(34353),i=n(45817);t.exports=function(t,e,n){var o=t.getBlockMap(),a=e.getStartKey(),u=e.getStartOffset(),s=e.getEndKey(),c=e.getEndOffset(),l=o.skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===s}).toOrderedMap().merge(i.OrderedMap([[s,o.get(s)]])).map(function(t,e){var i=e===a?u:0,o=e===s?c:t.getLength();return r(t,i,o,n)});return t.merge({blockMap:o.merge(l),selectionBefore:e,selectionAfter:e})}},25413:function(t,e,n){"use strict";var r=n(53743),i=n(49455),o=n(49185),a=n(63716),u=n(39265),s=n(61086),c=n(30891),l=n(63452),f=n(8914),p=n(80654),h=n(95402),d=n(81912),g=n(70239),y=n(32862),v=n(56306),m=n(81174),b=n(44527),_=o.isOptionKeyCommand,w=s.isBrowser("Chrome");t.exports=function(t,e){var n=e.which,o=t._latestEditorState;function s(n){var r=t.props[n];return!!r&&(r(e),!0)}switch(n){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&c(t.props.handleReturn(e,o)))return;break;case a.ESC:if(e.preventDefault(),s("onEscape"))return;break;case a.TAB:if(s("onTab"))return;break;case a.UP:if(s("onUpArrow"))return;break;case a.RIGHT:if(s("onRightArrow"))return;break;case a.DOWN:if(s("onDownArrow"))return;break;case a.LEFT:if(s("onLeftArrow"))return;break;case a.SPACE:w&&_(e)&&e.preventDefault()}var S=t.props.keyBindingFn(e);if(null!=S&&""!==S)if("undo"!==S){if(e.preventDefault(),!t.props.handleKeyCommand||!c(t.props.handleKeyCommand(S,o,e.timeStamp))){var x=function(t,e,n){switch(t){case"redo":return i.redo(e);case"delete":return v(e);case"delete-word":return p(e);case"backspace":return y(e);case"backspace-word":return f(e);case"backspace-to-start-of-line":return l(e,n);case"split-block":return h(e);case"transpose-characters":return m(e);case"move-selection-to-start-of-block":return g(e);case"move-selection-to-end-of-block":return d(e);case"secondary-cut":return u.cut(e);case"secondary-paste":return u.paste(e);default:return e}}(S,o,e);x!==o&&t.update(x)}}else b(e,o,t.update);else if(n===a.SPACE&&w&&_(e)){var k=r.replaceText(o.getCurrentContent(),o.getSelection(),"Â ");t.update(i.push(o,k,"insert-characters"))}}},26211:function(t,e,n){"use strict";var r=n(95201),i=n(40256),o=n(20603),a=new RegExp("\r\n","g"),u={"text/rtf":1,"text/html":1};function s(t){if("file"==t.kind)return t.getAsFile()}var c=function(){function t(t){this.data=t,this.types=t.types?i(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(t){return u[t]})},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some(function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")})},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some(function(t){return-1!=t.indexOf("application/x-moz-file")});if(t)return!0;for(var e=this.getFiles(),n=0;n<e.length;n++){var i=e[n].type;if(!r.isImage(i))return!1}return!0},e.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(s).filter(o.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=c},26234:function(t,e,n){"use strict";var r=n(45817).List,i=function(){function t(t){var e,n,r;r=void 0,(n="_decorators")in(e=this)?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var n=Array(t.getText().length).fill(null);return this._decorators.forEach(function(r,i){var o=0;(0,r.strategy)(t,function(t,e){(function(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0})(n,t,e)&&(!function(t,e,n,r){for(var i=e;i<n;i++)t[i]=r}(n,t,e,i+"."+o),o++)},e)}),r(n)},e.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},e.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=i},27330:function(t){"use strict";t.exports=0},27629:function(t,e,n){"use strict";var r=n(28435),i=n(53743),o=n(89354),a=n(49455),u=n(63716),s=n(61086),c=n(68504),l=n(65649),f=n(65421),p=n(28256),h=n(8752),d=s.isBrowser("IE"),g=!1,y=!1,v=null;var m={onCompositionStart:function(t){y=!0,function(t){v||(v=new r(l(t))).start()}(t)},onCompositionEnd:function(t){g=!1,y=!1,setTimeout(function(){g||m.resolveComposition(t)},20)},onSelect:c,onKeyDown:function(t,e){if(!y)return m.resolveComposition(t),void t._onKeyDown(e);e.which!==u.RIGHT&&e.which!==u.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===u.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!y){var e=h(v).stopAndFlushMutations();v=null,g=!0;var n=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var r=n.getCurrentContent();e.forEach(function(t,e){var u=o.decode(e),s=u.blockKey,c=u.decoratorKey,l=u.leafKey,f=n.getBlockTree(s).getIn([c,"leaves",l]),h=f.start,d=f.end,g=n.getSelection().merge({anchorKey:s,focusKey:s,anchorOffset:h,focusOffset:d,isBackward:!1}),y=p(r,g),v=r.getBlockForKey(s).getInlineStyleAt(h);r=i.replaceText(r,g,t,v,y),n=a.set(n,{currentContent:r})});var u=f(n,l(t)).selectionState;t.restoreEditorDOM();var s=d?a.forceSelection(n,u):a.acceptSelection(n,u);t.update(a.push(s,r,"insert-characters"))}else t.update(n)}}};t.exports=m},28256:function(t,e,n){"use strict";var r=n(8634).notEmptyKey;function i(t,e){return r(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),o=e.getAnchorOffset();return o>0?(n=t.getBlockForKey(r).getEntityAt(o-1))!==t.getBlockForKey(r).getEntityAt(o)?null:i(t.getEntityMap(),n):null}var a=e.getStartKey(),u=e.getStartOffset(),s=t.getBlockForKey(a);return n=u===s.getLength()?null:s.getEntityAt(u),i(t.getEntityMap(),n)}},28380:function(t,e,n){var r=n(96131);t.exports=function(t,e){for(var n=-1,i=t.length;++n<i&&r(e,t[n],0)>-1;);return n}},28435:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(61086),o=n(4785),a=n(74678),u=n(45817),s=n(39822),c=n(8752),l=u.Map,f={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},p=i.isBrowser("IE <= 11"),h=function(){function t(t){var e=this;r(this,"observer",void 0),r(this,"container",void 0),r(this,"mutations",void 0),r(this,"onCharData",void 0),this.container=t,this.mutations=l();var n=a(t);n.MutationObserver&&!p?this.observer=new n.MutationObserver(function(t){return e.registerMutations(t)}):this.onCharData=function(t){t.target instanceof Node||s(!1),e.registerMutation({type:"characterData",target:t.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,f):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var t=this.observer;t?(this.registerMutations(t.takeRecords()),t.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var e=this.mutations;return this.mutations=l(),e},e.registerMutations=function(t){for(var e=0;e<t.length;e++)this.registerMutation(t[e])},e.getMutationTextContent=function(t){var e=t.type,n=t.target,r=t.removedNodes;if("characterData"===e){if(""!==n.textContent)return p?n.textContent.replace("\n",""):n.textContent}else if("childList"===e){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var n=c(o(t.target));this.mutations=this.mutations.set(n,e)}},t}();t.exports=h},28628:function(t){"use strict";
1t.exports=function(t){return Object.keys(t).map(function(e){return t[e]})}},28754:function(t,e,n){var r=n(25160);t.exports=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:r(t,e,n)}},30201:function(t,e,n){"use strict";var r=n(61086),i=n(39822),o=r.isBrowser("IE <= 9");t.exports=function(t){var e,n=null;return!o&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||i(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}},30289:function(t,e,n){"use strict";var r=n(79347),i=n(79014),o=n(45817),a=n(39822),u=n(9377),s=o.List,c=o.Map,l=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),o=t.getBlockMap(),f=o.get(n),p=f.getText();if(!p){var h=f.getType();if("unordered-list-item"===h||"ordered-list-item"===h)return u(t,e,function(t){return t.merge({type:"unstyled",depth:0})})}var d=e.getAnchorOffset(),g=f.getCharacterList(),y=i(),v=f instanceof r,m=f.merge({text:p.slice(0,d),characterList:g.slice(0,d)}),b=m.merge({key:y,text:p.slice(d),characterList:g.slice(d),data:c()}),_=o.toSeq().takeUntil(function(t){return t===f}),w=o.toSeq().skipUntil(function(t){return t===f}).rest(),S=_.concat([[n,m],[y,b]],w).toOrderedMap();return v&&(f.getChildKeys().isEmpty()||a(!1),S=function(t,e,n){return t.withMutations(function(t){var r=e.getKey(),i=n.getKey();l(e.getParentKey(),t,function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,o=e.toArray();return o.splice(n,0,i),t.merge({children:s(o)})}),l(e.getNextSiblingKey(),t,function(t){return t.merge({prevSibling:i})}),l(r,t,function(t){return t.merge({nextSibling:i})}),l(i,t,function(t){return t.merge({prevSibling:r})})})}(S,m,b)),t.merge({blockMap:S,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:0,focusKey:y,focusOffset:0,isBackward:!1})})}},30891:function(t){"use strict";t.exports=function(t){return"handled"===t||!0===t}},31163:function(t,e,n){"use strict";var r=n(50534),i=n(39822),o="ÖÖ¾××××-××-ת׫-ׯװ-ײ׳-×´×µ-׿ß-ßß-ߪߴ-ߵߺ߻-ß¿à -à à à ¤à ¨à ®-à ¯à °-à ¾à ¿à¡-à¡à¡-à¡à¡à¡-à¢âï¬ï¬-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿ï-ïïï-ïï
ï-ï",a="ØØØØØØØ-ØØ -Ø¿ÙÙ-ÙÙÙ®-ٯٱ-ÛÛÛÛ¥-Û¦Û®-Û¯Ûº-Û¼Û½-Û¾Û¿Ü-ÜÜÜÜÜ-ܯÝ-ÝÝ-Þ¥Þ±Þ²-޿ࢠ-ࢲࢳ-ࣣï-ﮱ﮲-ï¯ï¯-ï¯ï¯-ï´½ïµ-ïµïµ-ï¶ï¶-ï¶ï¶-ï·ï·-ï·ï·°-ﷻ﷼﷾-ï·¿ï¹°-ﹴ﹵ﹶ-ﻼ﻽-﻾",u=new RegExp("["+"A-Za-zªµºÃ-ÃÃ-öø-ƺƻƼ-Æ¿Ç-ÇÇ-ÊÊÊ-ʯʰ-ʸʻ-ËË-ËË -ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒÒ-Ô¯Ô±-ÕÕÕ-ÕÕ¡-ÖÖà¤à¤-हऻऽा-à¥à¥-à¥à¥-à¥à¥à¥-ॡ।-॥०-९॰ॱॲ-à¦à¦-à¦à¦
-à¦à¦-à¦à¦-নপ-রলশ-হঽা-à§à§-à§à§-à§à§à§à§-à§à§-ৡ০-৯ৰ-ৱ৴-৹৺à¨à¨
-à¨à¨-à¨à¨-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-à©à©-à©à©à©¦-੯ੲ-à©´àªàª
-àªàª-àªàª-નપ-રલ-ળવ-હઽા-à«à«à«-à«à«à« -ૡ૦-૯૰à¬-à¬à¬
-à¬à¬-à¬à¬-ନପ-ରଲ-ଳଵ-ହଽାàà-àà-ààà-àà-à¡à¦-à¯à°à±à²-à·à®à®
-à®à®-à®à®-à®à®-à®à®à®-à®à®£-தந-பம-ஹா-ிà¯-à¯à¯-à¯à¯-à¯à¯à¯à¯¦-௯௰-௲à°-à°à°
-à°à°-à°à°-నప-హఽà±-à±à±-à±à± -ౡ౦-౯౿à²-à²à²
-à²à²-à²à²-ನಪ-ಳವ-ಹಽಾಿà³-à³à³à³-à³à³-à³à³-à³à³à³ -ೡ೦-೯ೱ-à³²à´-à´à´
-à´à´-à´à´-ഺഽാ-àµàµ-àµàµ-àµàµàµàµ -ൡ൦-൯൰-൵൹ൺ-ൿà¶-à¶à¶
-à¶à¶-නඳ-රලà·-à·à·-à·à·-à·à·¦-෯ෲ-ෳ෴à¸-ะา-ำà¹-à¹
à¹à¹à¹-à¹à¹-à¹àº-àºàºàº-àºàºàºàº-àºàº-àºàº¡-ຣລວສ-ຫàº-ະາ-ຳຽà»-à»à»à»-à»à»-à»à¼à¼-à¼à¼-à¼à¼à¼à¼-à¼à¼-à¼à¼ -༩༪-༳༴༶༸༾-༿à½-à½à½-ཬཿà¾
à¾-à¾à¾¾-à¿
à¿-à¿à¿-à¿à¿-à¿à¿-à¿à¿-à¿á-áªá«-á¬á±á¸á»-á¼á¿á-áá-áá-áá-áá-áá¡á¢-á¤á¥-á¦á§-áá®-á°áµ-áá-áá-áááá-áá-áá-áá -á
ááá-áºá»á¼á½-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á
á-áá-áá-áá-áá -á¨á©-á¼á-áá -á´á-á¬á-á®á¯-á¿á-áá -áªá«-áá®-á°á±-á¸á-áá-áá -á±áµ-á¶á
1-áá -á¬á®-á°á-á³á¶á¾-á
á-áá-ááá-ááá -á©á -á á -á¡á¡á¡-á¡·á¢-ᢨᢪᢰ-ᣵá¤-á¤á¤£-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸá¥-á¥á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á§-á§á§-á§á§-á§á§á¨-á¨á¨-á¨á¨-á¨á¨ -á©á©á©á©¡á©£-ᩤá©-ᩲáª-áªáª-áªáª -᪦ᪧ᪨-áªá¬á¬
-ᬳᬵᬻᬽ-áá-áá
-áá-áá-á á¡-áªá´-á¼á®á®-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿á°-ᰣᰤ-á°«á°´-ᰵ᰻-á°¿á±-á±á±-á±á±-á±á±-ᱷᱸ-ᱽ᱾-᱿á³-á³á³á³¡á³©-ᳬᳮ-ᳱᳲ-ᳳᳵ-á³¶á´-á´«á´¬-ᵪᵫ-ᵷᵸᵹ-á¶á¶-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼââ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-ââ¯-â´âµ-â¸â¹â¼-â¿â
-â
â
â
â
-ââ-ââ
-ââ¶-âºââ-â©â¬â -⣿â°-Ⱞⰰ-â±â± -ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-â³³â´-ⴥⴧâ´â´°-ⵧⵯ⵰â¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
ããã¡-ã©ã®-ã¯ã±-ãµã¸-ãºã»ã¼ã-ãã-ããã¡-ãºã¼-ã¾ã¿ã
-ãã±-ãã-ãã-ãã-ãã -ãºã°-ã¿ã-ãã -ã©ãª-ãã-ãã -ã»ã¿ã-ãã-ã°ã-ãã-ã¾ã-ã¶ã»-ãã -ã¾ã-ä¶µä¸-é¿ê-êêê-êê-ê·ê¸-ê½ê¾-ê¿ê-êêê-êê -ê©êª-ê«ê-êê®ê-êê-êê -ê¥ê¦-ê¯ê²-ê·ê¢-ê¯ê°ê±-êê-êê-êê-êê°-ê±ê·ê¸-ê¹êºê»-ê ê -ê
ê -ê ê -ê ¢ê £-ê ¤ê §ê °-ê µê ¶-ê ·ê¡-ꡳê¢-ê¢ê¢-ꢳꢴ-ê£ê£-ê£ê£-ê£ê£²-ꣷ꣸-꣺ꣻê¤-ê¤ê¤-ꤥ꤮-꤯ꤰ-ê¥ê¥-ê¥ê¥ê¥ -ꥼê¦ê¦-ꦲꦴ-ꦵꦺ-ꦻꦽ-ê§ê§-ê§ê§ê§-ê§ê§-ê§ê§ -ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ê§¾ê¨-ꨨꨯ-ꨰꨳ-ꨴê©-ê©ê©-ê©ê©ê©-ê©ê©-ê©ê© -ꩯꩰꩱ-ê©¶ê©·-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽê«ê«ê«-ê«ê«ê«-ê«ê« -ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êêê-êê¤-ê¥ê¯-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹ê°-í£í°-íí-í»î-ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¼¡-Zï½-ï½ï½¦-ッーア-ï¾ï¾-ï¾ï¾ -ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿"+o+a+"]"),s=new RegExp("["+o+a+"]");function c(t){var e=u.exec(t);return null==e?null:e[0]}function l(t){var e=c(t);return null==e?r.NEUTRAL:s.exec(e)?r.RTL:r.LTR}function f(t,e){if(e=e||r.NEUTRAL,!t.length)return e;var n=l(t);return n===r.NEUTRAL?e:n}function p(t,e){return e||(e=r.getGlobalDir()),r.isStrong(e)||i(!1),f(t,e)}var h={firstStrongChar:c,firstStrongCharDir:l,resolveBlockDir:f,getDirection:p,isDirectionLTR:function(t,e){return p(t,e)===r.LTR},isDirectionRTL:function(t,e){return p(t,e)===r.RTL}};t.exports=h},31563:function(t,e,n){"use strict";var r=n(79347);t.exports=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var i=t.getParentKey();if(!i)return null;for(var o=e.get(i);o&&!o.getNextSiblingKey();){var a=o.getParentKey();o=a?e.get(a):null}return o?o.getNextSiblingKey():null}},32862:function(t,e,n){"use strict";var r=n(49455),i=n(76876),o=n(33037),a=n(22155);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),u=n.getBlockForKey(r).getText()[a-1];return o(t,u?i.getUTF16Length(u,0):1)},"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},33037:function(t,e,n){"use strict";n(9354);t.exports=function(t,e){var n=t.getSelection(),r=t.getCurrentContent(),i=n.getStartKey(),o=n.getStartOffset(),a=i,u=0;if(e>o){var s=r.getKeyBefore(i);if(null==s)a=i;else a=s,u=r.getBlockForKey(s).getText().length}else u=o-e;return n.merge({focusKey:a,focusOffset:u,isBackward:!0})}},33313:function(t,e,n){"use strict";var r=n(46518),i=n(18866);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},33364:function(t,e,n){"use strict";var r=n(20775),i=n(38054);function o(t){return null==t?t:String(t)}t.exports=function(t,e){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return o(n.getPropertyValue(i(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return o(n.getPropertyValue(i(e)));if("display"===e)return"none"}return t.currentStyle?o("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[r(e)]):o(t.style&&t.style[r(e)])}},33438:function(t,e,n){"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}((0,n(45817).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=r},34107:function(t,e,n){"use strict";n(9354);t.exports={isValidBlock:function(t,e){var n=t.getKey(),r=t.getParentKey();if(null!=r&&!e.get(r).getChildKeys().includes(n))return!1;if(!t.getChildKeys().map(function(t){return e.get(t)}).every(function(t){return t.getParentKey()===n}))return!1;var i=t.getPrevSiblingKey();if(null!=i&&e.get(i).getNextSiblingKey()!==n)return!1;var o=t.getNextSiblingKey();if(null!=o&&e.get(o).getPrevSiblingKey()!==n)return!1;return(null===o||null===i||i!==o)&&!(""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter(function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()});if(1!==e.length)return!1;for(var n=0,r=e.shift().getKey(),i=[];null!=r;){var o=t.get(r),a=o.getChildKeys(),u=o.getNextSiblingKey();if(a.size>0){null!=u&&i.unshift(u);var s=a.map(function(e){return t.get(e)}).find(function(t){return null==t.getPrevSiblingKey()});if(null==s)return!1;r=s.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every(function(n){return e.isValidBlock(n,t)})&&this.isConnectedTree(t)}}},34127:function(t,e,n){"use strict";var r=n(53743),i=n(49455),o=n(61086),a=n(28256),u=n(30891),s=n(13536),c=n(8752),l=n(20573),f=o.isBrowser("Firefox");function p(t,e,n,o,a){var u=r.replaceText(t.getCurrentContent(),t.getSelection(),e,n,o);return i.push(t,u,"insert-characters",a)}t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t._latestEditorState,r=e.data;if(r)if(t.props.handleBeforeInput&&u(t.props.handleBeforeInput(r,n,e.timeStamp)))e.preventDefault();
vendor: 9,696 bytes, line 1
1else{var o=n.getSelection(),h=o.getStartOffset(),d=o.getAnchorKey();if(!o.isCollapsed())return e.preventDefault(),void t.update(p(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!0));var g,y=p(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!1),v=!1;if(v||(v=s(t._latestCommittedEditorState)),!v){var m=n.getBlockTree(d),b=y.getBlockTree(d);v=m.size!==b.size||m.zip(b).some(function(t){var e=t[0],n=t[1],i=e.get("start"),o=i+(i>=h?r.length:0),a=e.get("end"),u=a+(a>=h?r.length:0),s=n.get("start"),c=n.get("end"),l=n.get("decoratorKey");return e.get("decoratorKey")!==l||e.get("leaves").size!==n.get("leaves").size||o!==s||u!==c||null!=l&&c-s!==a-i})}if(v||(g=r,v=f&&("'"==g||"/"==g)),v||(v=c(y.getDirectionMap()).get(d)!==c(n.getDirectionMap()).get(d)),v)return e.preventDefault(),y=i.set(y,{forceSelection:!0}),void t.update(y);y=i.set(y,{nativelyRenderedContent:y.getCurrentContent()}),t._pendingStateFromBeforeInput=y,l(function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}},34306:function(t,e,n){"use strict";var r=n(79347),i=n(31563),o=n(45817),a=n(39822),u=o.OrderedMap,s=o.List,c=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},l=function(t,e,n,r,i){if(!i)return t;var o="after"===r,a=e.getKey(),u=n.getKey(),l=e.getParentKey(),f=e.getNextSiblingKey(),p=e.getPrevSiblingKey(),h=n.getParentKey(),d=o?n.getNextSiblingKey():u,g=o?u:n.getPrevSiblingKey();return t.withMutations(function(t){c(l,t,function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})}),c(p,t,function(t){return t.merge({nextSibling:f})}),c(f,t,function(t){return t.merge({prevSibling:p})}),c(d,t,function(t){return t.merge({prevSibling:a})}),c(g,t,function(t){return t.merge({nextSibling:a})}),c(h,t,function(t){var e=t.getChildKeys(),n=e.indexOf(u),r=o?n+1:0!==n?n-1:0,i=e.toArray();return i.splice(r,0,a),t.merge({children:s(i)})}),c(a,t,function(t){return t.merge({nextSibling:d,prevSibling:g,parent:h})})})};t.exports=function(t,e,n,o){"replace"===o&&a(!1);var s=n.getKey(),c=e.getKey();c===s&&a(!1);var f=t.getBlockMap(),p=e instanceof r,h=[e],d=f.delete(c);p&&(h=[],d=f.withMutations(function(t){var n=e.getNextSiblingKey(),r=i(e,t);t.toSeq().skipUntil(function(t){return t.getKey()===c}).takeWhile(function(t){var e=t.getKey(),i=e===c,o=n&&e!==n,a=!n&&t.getParentKey()&&(!r||e!==r);return!!(i||o||a)}).forEach(function(e){h.push(e),t.delete(e.getKey())})}));var g=d.toSeq().takeUntil(function(t){return t===n}),y=d.toSeq().skipUntil(function(t){return t===n}).skip(1),v=h.map(function(t){return[t.getKey(),t]}),m=u();if("before"===o){var b=t.getBlockBefore(s);b&&b.getKey()===e.getKey()&&a(!1),m=g.concat([].concat(v,[[s,n]]),y).toOrderedMap()}else if("after"===o){var _=t.getBlockAfter(s);_&&_.getKey()===c&&a(!1),m=g.concat([[s,n]].concat(v),y).toOrderedMap()}return t.merge({blockMap:l(m,e,n,o,p),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:c,focusKey:c})})}},34353:function(t,e,n){"use strict";var r=n(59267);t.exports=function(t,e,n,i){for(var o=e,a=t.getCharacterList();o<n;)a=a.set(o,r.applyEntity(a.get(o),i)),o++;return t.set("characterList",a)}},34486:function(t,e,n){"use strict";var r=n(52483);var i=n(86529),o=n(96540),a=n(39822),u=n(53266),s=n(52497).setDraftEditorSelection,c=function(t){var e,n;function c(){for(var e,n,r,i,o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return e=t.call.apply(t,[this].concat(a))||this,n=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e),i=void 0,(r="leaf")in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,e}n=t,(e=c).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var l=c.prototype;return l._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.block,r=e.start,i=e.text,o=n.getKey(),c=r+i.length;if(t.hasEdgeWithin(o,r,c)){var l=this.leaf;l||a(!1);var f,p=l.firstChild;p||a(!1),p.nodeType===Node.TEXT_NODE?f=p:u(p)?f=l:(f=p.firstChild)||a(!1),s(t,f,o,r,c)}}},l.shouldComponentUpdate=function(t){var e=this.leaf;return e||a(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},l.componentDidUpdate=function(){this._setSelection()},l.componentDidMount=function(){this._setSelection()},l.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var a=this.props,u=a.customStyleMap,s=a.customStyleFn,c=a.offsetKey,l=a.styleSet,f=l.reduce(function(t,e){var n={},i=u[e];return void 0!==i&&t.textDecoration!==i.textDecoration&&(n.textDecoration=[t.textDecoration,i.textDecoration].join(" ").trim()),r(t,i,n)},{});if(s){var p=s(l,e);f=r(f,p)}return o.createElement("span",{"data-offset-key":c,ref:function(e){return t.leaf=e},style:f},o.createElement(i,null,n))},c}(o.Component);t.exports=c},36188:function(t,e,n){"use strict";var r=n(52483);function i(){return i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){a(t,e,n[e])})}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=n(75595),s=n(89354),c=n(96540),l=n(73995),f=n(9110),p=n(8752),h=function(t,e,n,r){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":e>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},d=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=e.getCurrentContent(),u=n.getCurrentContent(),s=e.getDecorator(),c=n.getDecorator();return i!==o||a!==u||s!==c||n.mustForceSelection()},a.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleMap,l=t.customStyleFn,d=t.editorState,g=t.editorKey,y=t.preventScroll,v=t.textDirectionality,m=d.getCurrentContent(),b=d.getSelection(),_=d.mustForceSelection(),w=d.getDecorator(),S=p(d.getDirectionMap()),x=m.getBlocksAsArray(),k=[],E=null,C=null,A=0;A<x.length;A++){var O=x[A],D=O.getKey(),K=O.getType(),T=n(O),M=void 0,I=void 0,B=void 0;T&&(M=T.component,I=T.props,B=T.editable);var L=v||S.get(D),R=s.encode(D,0,0),N={contentState:m,block:O,blockProps:I,blockStyleFn:r,customStyleMap:a,customStyleFn:l,decorator:w,direction:L,forceSelection:_,offsetKey:R,preventScroll:y,selection:b,tree:d.getBlockTree(D)},P=e.get(K)||e.get("unstyled"),F=P.wrapper,z=P.element||e.get("unstyled").element,j=O.getDepth(),U="";if(r&&(U=r(O)),"li"===z)U=f(U,h(K,j,C!==F||null===E||j>E,L));var q=M||u,H={className:U,"data-block":!0,"data-editor":g,"data-offset-key":R,key:D};void 0!==B&&(H=o({},H,{contentEditable:B,suppressContentEditableWarning:!0}));var W=c.createElement(z,H,c.createElement(q,i({},N,{key:D})));k.push({block:W,wrapperTemplate:F,key:D,offsetKey:R}),E=F?O.getDepth():null,C=F}for(var V=[],J=0;J<k.length;){var G=k[J];if(G.wrapperTemplate){var X=[];do{X.push(k[J].block),J++}while(J<k.length&&k[J].wrapperTemplate===G.wrapperTemplate);var $=c.cloneElement(G.wrapperTemplate,{key:G.key+"-wrap","data-offset-key":G.offsetKey},X);V.push($)}else V.push(G.block),J++}return c.createElement("div",{"data-contents":"true"},V)},r}(c.Component);t.exports=d},36482:function(){},36926:function(t,e,n){"use strict";var r=n(39822),i=/\.textClipping$/,o={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,e){var a=0,u=[];t.forEach(function(s){!function(t,e){if(!n.g.FileReader||t.type&&!(t.type in o))return void e("");if(""===t.type){var a="";return i.test(t.name)&&(a=t.name.replace(i,"")),void e(a)}var u=new FileReader;u.onload=function(){var t=u.result;"string"!=typeof t&&r(!1),e(t)},u.onerror=function(){e("")},u.readAsText(t)}(s,function(n){a++,n&&u.push(n.slice(0,5e3)),a==t.length&&e(u.join("\r"))})})}},37101:function(t,e,n){"use strict";var r=n(59267),i=n(60866),o=n(39822);function a(t,e,n){var a=e.getCharacterList(),u=n>0?a.get(n-1):void 0,s=n<a.count()?a.get(n):void 0,c=u?u.getEntity():void 0,l=s?s.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==t.__get(l).getMutability()){for(var f,p=function(t,e,n){var r;return i(t,function(t,e){return t.getEntity()===e.getEntity()},function(t){return t.getEntity()===e},function(t,e){t<=n&&e>=n&&(r={start:t,end:e})}),"object"!=typeof r&&o(!1),r}(a,l,n),h=p.start,d=p.end;h<d;)f=a.get(h),a=a.set(h,r.applyEntity(f,null)),h++;return e.set("characterList",a)}return e}
1t.exports=function(t,e){var n=t.getBlockMap(),r=t.getEntityMap(),i={},o=e.getStartKey(),u=e.getStartOffset(),s=n.get(o),c=a(r,s,u);c!==s&&(i[o]=c);var l=e.getEndKey(),f=e.getEndOffset(),p=n.get(l);o===l&&(p=c);var h=a(r,p,f);return h!==p&&(i[l]=h),Object.keys(i).length?t.merge({blockMap:n.merge(i),selectionAfter:e}):t.set("selectionAfter",e)}},37487:function(t,e,n){"use strict";t.exports=n(67663)},37495:function(t,e,n){"use strict";var r=n(11437);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),i=r(n),o=i.top,a=i.right,u=i.bottom,s=i.left;return 0===o&&0===a&&0===u&&0===s?null:i}},37688:function(t,e,n){var r;!function(i,o){"use strict";var a="function",u="undefined",s="object",c="string",l="major",f="model",p="name",h="type",d="vendor",g="version",y="architecture",v="console",m="mobile",b="tablet",_="smarttv",w="wearable",S="embedded",x="Amazon",k="Apple",E="ASUS",C="BlackBerry",A="Browser",O="Chrome",D="Firefox",K="Google",T="Honor",M="Huawei",I="LG",B="Microsoft",L="Motorola",R="Nvidia",N="OnePlus",P="Opera",F="OPPO",z="Samsung",j="Sharp",U="Sony",q="Xiaomi",H="Zebra",W="Facebook",V="Chromium OS",J="Mac OS",G=" Browser",X=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},$=function(t,e){return typeof t===c&&-1!==Y(e).indexOf(Y(t))},Y=function(t){return t.toLowerCase()},Z=function(t,e){if(typeof t===c)return t=t.replace(/^\s\s*/,""),typeof e===u?t:t.substring(0,500)},Q=function(t,e){for(var n,r,i,u,c,l,f=0;f<e.length&&!c;){var p=e[f],h=e[f+1];for(n=r=0;n<p.length&&!c&&p[n];)if(c=p[n++].exec(t))for(i=0;i<h.length;i++)l=c[++r],typeof(u=h[i])===s&&u.length>0?2===u.length?typeof u[1]==a?this[u[0]]=u[1].call(this,l):this[u[0]]=u[1]:3===u.length?typeof u[1]!==a||u[1].exec&&u[1].test?this[u[0]]=l?l.replace(u[1],u[2]):o:this[u[0]]=l?u[1].call(this,l,u[2]):o:4===u.length&&(this[u[0]]=l?u[3].call(this,l.replace(u[1],u[2])):o):this[u]=l||o;f+=2}},tt=function(t,e){for(var n in e)if(typeof e[n]===s&&e[n].length>0){for(var r=0;r<e[n].length;r++)if($(e[n][r],t))return"?"===n?o:n}else if($(e[n],t))return"?"===n?o:n;return e.hasOwnProperty("*")?e["*"]:t},et={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},nt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,g],[/opios[\/ ]+([\w\.]+)/i],[g,[p,P+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[p,P+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[p,P]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[p,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[g,[p,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,g],[/quark(?:pc)?\/([-\w\.]+)/i],[g,[p,"Quark"]],[/\bddg\/([\w\.]+)/i],[g,[p,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[p,"UC"+A]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[p,"Smart Lenovo "+A]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+A],g],[/\bfocus\/([\w\.]+)/i],[g,[p,D+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[p,P+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[p,P+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[p,"MIUI"+G]],[/fxios\/([\w\.-]+)/i],[g,[p,D]],[/\bqihoobrowser\/?([\w\.]*)/i],[g,[p,"360"]],[/\b(qq)\/([\w\.]+)/i],[[p,/(.+)/,"$1Browser"],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1"+G],g],[/samsungbrowser\/([\w\.]+)/i],[g,[p,z+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[g,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[p,g],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[p],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[g,p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,W],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[p,"GSA"]],[/musical_ly(?:.
1+app_?version\/|_)([\w\.]+)/i],[g,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[p,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,O+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[p,"Android "+A]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[g,tt,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],g],[/(wolvic|librewolf)\/([\w\.]+)/i],[p,g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[p,D+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[p,[g,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[p,[g,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[y,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[y,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[y,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[y,/ower/,"",Y]],[/ sun4\w[;\)]/i],[[y,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[y,Y]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[d,z],[h,b]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[f,[d,z],[h,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[d,k],[h,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[d,k],[h,b]],[/(macintosh);/i],[f,[d,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[d,j],[h,m]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[f,[d,T],[h,b]],[/honor([-\w ]+)[;\)]/i],[f,[d,T],[h,m]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[f,[d,M],[h,b]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[d,M],[h,m]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[f,/_/g," "],[d,q],[h,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[f,/_/g," "],[d,q],[h,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[d,F],[h,m]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[f,[d,tt,{OnePlus:["304","403","203"],"*":F}],[h,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[d,"Vivo"],[h,m]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[d,"Realme"],[h,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[d,L],[h,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[d,L],[h,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[d,I],[h,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[d,I],[h,m]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
1(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[f,[d,"Lenovo"],[h,b]],[/(nokia) (t[12][01])/i],[d,f,[h,b]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[f,/_/g," "],[h,m],[d,"Nokia"]],[/(pixel (c|tablet))\b/i],[f,[d,K],[h,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[d,K],[h,m]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[d,U],[h,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[d,U],[h,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[d,N],[h,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[d,x],[h,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[d,x],[h,m]],[/(playbook);[-\w\),; ]+(rim)/i],[f,d,[h,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[d,C],[h,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[d,E],[h,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[d,E],[h,m]],[/(nexus 9)/i],[f,[d,"HTC"],[h,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[f,/_/g," "],[h,m]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[f,[d,"TCL"],[h,b]],[/(itel) ((\w+))/i],[[d,Y],f,[h,tt,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[d,"Acer"],[h,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[d,"Meizu"],[h,m]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[d,"Ulefone"],[h,m]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[f,[d,"Energizer"],[h,m]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[f,[d,"Cat"],[h,m]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[f,[d,"Smartfren"],[h,m]],[/droid.+; (a(?:015|06[35]|142p?))/i],[f,[d,"Nothing"],[h,m]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[f,[d,"Archos"],[h,b]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[f,[d,"Archos"],[h,m]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[d,f,[h,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[d,f,[h,m]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,f,[h,b]],[/(surface duo)/i],[f,[d,B],[h,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[d,"Fairphone"],[h,m]],[/(u304aa)/i],[f,[d,"AT&T"],[h,m]],[/\bsie-(\w*)/i],[f,[d,"Siemens"],[h,m]],[/\b(rct\w+) b/i],[f,[d,"RCA"],[h,b]],[/\b(venue[\d ]{2,7}) b/i],[f,[d,"Dell"],[h,b]],[/\b(q(?:mv|ta)\w+) b/i],[f,[d,"Verizon"],[h,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[d,"Barnes & Noble"],[h,b]],[/\b(tm\d{3}\w+) b/i],[f,[d,"NuVision"],[h,b]],[/\b(k88) b/i],[f,[d,"ZTE"],[h,b]],[/\b(nx\d{3}j) b/i],[f,[d,"ZTE"],[h,m]],[/\b(gen\d{3}) b.+49h/i],[f,[d,"Swiss"],[h,m]],[/\b(zur\d{3}) b/i],[f,[d,"Swiss"],[h,b]],[/\b((zeki)?tb.*\b) b/i],[f,[d,"Zeki"],[h,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],f,[h,b]],[/\b(ns-?\w{0,9}) b/i],[f,[d,"Insignia"],[h,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[d,"NextBook"],[h,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],f,[h,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],f,[h,m]],[/\b(ph-1) /i],[f,[d,"Essential"],[h,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[d,"Envizen"],[h,b]],[/\b(trio[-\w\. ]+) b/i],[f,[d,"MachSpeed"],[h,b]],[/\btu_(1491) b/i],[f,[d,"Rotor"],[h,b]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[f,[d,R],[h,b]],[/(sprint) (\w+)/i],[d,f,[h,m]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[d,B],[h,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[d,H],[h,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[d,H],[h,m]],[/smart-tv.+(samsung)/i],[d,[h,_]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[d,z],[h,_]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,I],[h,_]],[/(apple) ?tv/i],[d,[f,k+" TV"],[h,_]],[/crkey/i],[[f,O+"cast"],[d,K],[h,_]],[/droid.+aft(\w+)( bui|\))/i],[f,[d,x],[h,_]],[/(shield \w+ tv)/i],[f,[d,R],[h,_]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[d,j],[h,_]],[/(bravia[\w ]+)( bui|\))/i],[f,[d,U],[h,_]],[/(mi(tv|box)-?\w+) bui/i],[f,[d,q],[h,_]],[/Hbbtv.*(technisat) (.*);/i],[d,f,[h,_]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,Z],[f,Z],[h,_]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[f,[h,_]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,_]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,f,[h,v]],[/droid.+; (shield)( bui|\))/i],[f,[d,R],[h,v]],[/(playstation \w+)/i],[f,[d,U],[h,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[d,B],[h,v]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[f,[d,z],[h,w]],[/((pebble))app/i,/(asu
vendor: 4,189 bytes, line 1
1s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[d,f,[h,w]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[f,[d,F],[h,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[d,k],[h,w]],[/(opwwe\d{3})/i],[f,[d,N],[h,w]],[/(moto 360)/i],[f,[d,L],[h,w]],[/(smartwatch 3)/i],[f,[d,U],[h,w]],[/(g watch r)/i],[f,[d,I],[h,w]],[/droid.+; (wt63?0{2,3})\)/i],[f,[d,H],[h,w]],[/droid.+; (glass) \d/i],[f,[d,K],[h,w]],[/(pico) (4|neo3(?: link|pro)?)/i],[d,f,[h,w]],[/; (quest( \d| pro)?)/i],[f,[d,W],[h,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[h,S]],[/(aeobc)\b/i],[f,[d,x],[h,S]],[/(homepod).+mac os/i],[f,[d,k],[h,S]],[/windows iot/i],[[h,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[h,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[h,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,m]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[f,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[p,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[p,g],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,g],[/ladybird\//i],[[p,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,g],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[p,[g,tt,et]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,tt,et],[p,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,J],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,p],[/(ubuntu) ([\w\.]+) like android/i],[[p,/(.+)/,"$1 Touch"],g],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[p,g],[/\(bb(10);/i],[g,[p,C]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[g,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[p,D+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[p,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,V],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,g],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,g]]},rt=function(t,e){if(typeof t===s&&(e=t,t=o),!(this instanceof rt))return new rt(t,e).getResult();var n=typeof i!==u&&i.navigator?i.navigator:o,r=t||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:o,_=e?function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n}(nt,e):nt,w=n&&n.userAgent==r;return this.getBrowser=function(){var t,e={};return e[p]=o,e[g]=o,Q.call(e,r,_.browser),e[l]=typeof(t=e[g])===c?t.replace(/[^\d\.]/g,"").split(".")[0]:o,w&&n&&n.brave&&typeof n.brave.isBrave==a&&(e[p]="Brave"),e},this.getCPU=function(){var t={};return t[y]=o,Q.call(t,r,_.cpu),t},this.getDevice=function(){var t={};
vendor: 14,913 bytes, line 1
1return t[d]=o,t[f]=o,t[h]=o,Q.call(t,r,_.device),w&&!t[h]&&v&&v.mobile&&(t[h]=m),w&&"Macintosh"==t[f]&&n&&typeof n.standalone!==u&&n.maxTouchPoints&&n.maxTouchPoints>2&&(t[f]="iPad",t[h]=b),t},this.getEngine=function(){var t={};return t[p]=o,t[g]=o,Q.call(t,r,_.engine),t},this.getOS=function(){var t={};return t[p]=o,t[g]=o,Q.call(t,r,_.os),w&&!t[p]&&v&&v.platform&&"Unknown"!=v.platform&&(t[p]=v.platform.replace(/chrome os/i,V).replace(/macos/i,J)),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(t){return r=typeof t===c&&t.length>500?Z(t,500):t,this},this.setUA(r),this};rt.VERSION="0.7.41",rt.BROWSER=X([p,g,l]),rt.CPU=X([y]),rt.DEVICE=X([f,d,h,v,m,_,b,w,S]),rt.ENGINE=rt.OS=X([p,g]),typeof e!==u?(t.exports&&(e=t.exports=rt),e.UAParser=rt):n.amdO?(r=function(){return rt}.call(e,n,e,t))===o||(t.exports=r):typeof i!==u&&(i.UAParser=rt);var it=typeof i!==u&&(i.jQuery||i.Zepto);if(it&&!it.ua){var ot=new rt;it.ua=ot.getResult(),it.ua.get=function(){return ot.getUA()},it.ua.set=function(t){ot.setUA(t);var e=ot.getResult();for(var n in e)it.ua[n]=e[n]}}}("object"==typeof window?window:this)},38054:function(t){"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},38935:function(t,e,n){"use strict";var r=n(93443);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:r(t.getCurrentContent(),e)}},39202:function(t,e,n){"use strict";n(33313);var r=n(46518),i=n(18866);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},39265:function(t,e,n){"use strict";var r=n(53743),i=n(49455),o=n(93443),a=n(8752),u=null,s={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),s=null;if(n.isCollapsed()){var c=n.getAnchorKey(),l=e.getBlockForKey(c).getLength();if(l===n.getAnchorOffset()){var f=e.getKeyAfter(c);if(null==f)return t;s=n.set("focusKey",f).set("focusOffset",0)}else s=n.set("focusOffset",l)}else s=n;s=a(s),u=o(e,s);var p=r.removeRange(e,s,"forward");return p===e?t:i.push(t,p,"remove-range")},paste:function(t){if(!u)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),u);return i.push(t,e,"insert-fragment")}};t.exports=s},39492:function(t,e,n){"use strict";var r=n(83917),i=n(79347),o=n(45817),a=n(3634),u=n(39822),s=n(69051),c=o.List,l=function(t,e,n,o,a,u){var s=n.first()instanceof i,l=[],f=o.size,p=n.get(a),h=o.first(),d=o.last(),g=d.getLength(),y=d.getKey(),v=s&&(!p.getChildKeys().isEmpty()||!h.getChildKeys().isEmpty());n.forEach(function(t,e){e===a?(v?l.push(t):l.push(function(t,e,n){var r=t.getText(),i=t.getCharacterList(),o=r.slice(0,e),a=i.slice(0,e),u=n.first();return t.merge({text:o+u.getText(),characterList:a.concat(u.getCharacterList()),type:o?t.getType():u.getType(),data:u.getData()})}(t,u,o)),o.slice(v?0:1,f-1).forEach(function(t){return l.push(t)}),l.push(function(t,e,n){var r=t.getText(),i=t.getCharacterList(),o=r.length,a=r.slice(e,o),u=i.slice(e,o),s=n.last();return s.merge({text:s.getText()+a,characterList:s.getCharacterList().concat(u),data:s.getData()})}(t,u,o))):l.push(t)});var m=r.createFromArray(l);return s&&(m=function(t,e,n,r){return t.withMutations(function(e){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),u=n.getParentKey(),s=function(t,e){var n=t.getKey(),r=t,i=[];for(e.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=e.get(o)}return i}(r,t),l=s[s.length-1];if(e.get(o)?(e.setIn([i,"nextSibling"],o),e.setIn([o,"prevSibling"],i)):(e.setIn([i,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],i)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),s.forEach(function(t){return e.setIn([t,"parent"],u)}),u){var f=t.get(u).getChildKeys(),p=f.indexOf(i)+1,h=f.toArray();h.splice.apply(h,[p,0].concat(s)),e.setIn([u,"children"],c(h))}})}(m,0,p,h)),t.merge({blockMap:m,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:g,focusKey:y,focusOffset:g,isBackward:!1})})};t.exports=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||u(!1);var o=t.getBlockMap(),c=s(n),f=e.getStartKey(),p=e.getStartOffset(),h=o.get(f);return h instanceof i&&(h.getChildKeys().isEmpty()||u(!1)),1===c.size?function(t,e,n,r,i,o){var u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(i),c=s.getText(),l=s.getCharacterList(),f=i,p=o+r.getText().length,h=null;switch(u){case"MERGE_OLD_DATA_TO_NEW_DATA":h=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":h=r.getData()}var d=s.getType();c&&"unstyled"===d&&(d=r.getType());var g=s.merge({text:c.slice(0,o)+r.getText()+c.slice(o),characterList:a(l,r.getCharacterList(),o),type:d,data:h});return t.merge({blockMap:n.set(i,g),selectionBefore:e,selectionAfter:e.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})}(t,e,o,c.first(),f,p,r):l(t,e,o,c,f,p)}},39822:function(t){"use strict";var e=function(t){};t.exports=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(e(n),!t){var a;if(void 0===n)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=0;(a=new Error(n.replace(/%s/g,function(){return String(i[u++])}))).name="Invariant Violation"}throw a.framesToPop=1,a}}},40020:function(t,e,n){"use strict";var r=n(61086),i=n(39822);var o=r.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var o=r===t.commonAncestorContainer;o?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a,u=Array.from(e.getClientRects());if(n.push(u),o)return n.reverse(),(a=[]).concat.apply(a,n);e.setEndBefore(r)}i(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=o},40256:function(t,e,n){"use strict";var r=n(39822);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&r(!1),"number"!=typeof e&&r(!1),0===e||e-1 in t||r(!1),"function"==typeof t.callee&&r(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(o){}for(var n=Array(e),i=0;i<e;i++)n[i]=t[i];return n}(t):[t]}},40926:function(t,e,n){"use strict";var r=n(52483);function i(){return i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){u(t,e,n[e])})}return t}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var c=n(92236),l=n(71467),f=n(27629),p=n(21928),h=n(97061),d=n(82663),g=n(89299),y=n(77359),v=n(2878),m=n(49455),b=n(96540),_=n(17489),w=n(15311),S=n(61086),x=n(73995),k=n(79014),E=n(12728),C=n(74472),A=n(44631),O=n(39822),D=n(99522),K=n(8752),T=S.isBrowser("IE"),M=!T,I={edit:d,composite:f,drag:h,cut:null,render:null},B=!1,L=function(t){function e(){return t.apply(this,arguments)||this}s(e,t);var n=e.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var t=this.props.editor;t._latestEditorState=this.props.editorState,t._blockSelectEvents=!0},e}(b.Component),R=function(t){function e(e){var n;return u(a(n=t.call(this,e)||this),"_blockSelectEvents",void 0),u(a(n),"_clipboard",void 0),u(a(n),"_handler",void 0),u(a(n),"_dragCount",void 0),u(a(n),"_internalDrag",void 0),u(a(n),"_editorKey",void 0),u(a(n),"_placeholderAccessibilityID",void 0),u(a(n),"_latestEditorState",void 0),u(a(n),"_latestCommittedEditorState",void 0),u(a(n),"_pendingStateFromBeforeInput",void 0),u(a(n),"_onBeforeInput",void 0),u(a(n),"_onBlur",void 0),u(a(n),"_onCharacterData",void 0),u(a(n),"_onCompositionEnd",void 0),u(a(n),"_onCompositionStart",void 0),u(a(n),"_onCopy",void 0),u(a(n),"_onCut",void 0),u(a(n),"_onDragEnd",void 0),u(a(n),"_onDragOver",void 0),u(a(n),"_onDragStart",void 0),u(a(n),"_onDrop",void 0),u(a(n),"_onInput",void 0),u(a(n),"_onFocus",void 0),u(a(n),"_onKeyDown",void 0),u(a(n),"_onKeyPress",void 0),u(a(n),"_onKeyUp",void 0),u(a(n),"_onMouseDown",void 0),u(a(n),"_onMouseUp",void 0),u(a(n),"_onPaste",void 0),u(a(n),"_onSelect",void 0),u(a(n),"editor",void 0),u(a(n),"editorContainer",void 0),u(a(n),"focus",void 0),u(a(n),"blur",void 0),u(a(n),"setMode",void 0),u(a(n),"exitCurrentMode",void 0),u(a(n),"restoreEditorDOM",void 0),u(a(n),"setClipboard",void 0),u(a(n),"getClipboard",void 0),u(a(n),"getEditorKey",void 0),u(a(n),"update",void 0),u(a(n),"onDragEnter",void 0),u(a(n),"onDragLeave",void 0),u(a(n),"_handleEditorContainerRef",function(t){n.editorContainer=t,n.editor=null!==t?t.firstChild:null}),u(a(n),"focus",function(t){var e=n.props.editorState,r=e.getSelection().getHasFocus(),i=n.editor;if(i){var o=w.getScrollParent(i),a=t||C(o),u=a.x,s=a.y;D(i)||O(!1),i.focus(),o===window?window.scrollTo(u,s):_.setTop(o,s),r||n.update(m.forceSelection(e,e.getSelection()))}}),u(a(n),"blur",function(){var t=n.editor;t&&(D(t)||O(!1),t.blur())}),u(a(n),"setMode",function(t){var e=n.props,r=e.onPaste,i=e.onCut,a=e.onCopy,u=o({},I.edit);r&&(u.onPaste=r),i&&(u.onCut=i),a&&(u.onCopy=a);var s=o({},I,{edit:u});n._handler=s[t]}),u(a(n),"exitCurrentMode",function(){n.setMode("edit")}),u(a(n),"restoreEditorDOM",function(t){n.setState({contentsKey:n.state.contentsKey+1},function(){n.focus(t)})}),u(a(n),"setClipboard",function(t){n._clipboard=t}),u(a(n),"getClipboard",function(){return n._clipboard}),u(a(n),"update",function(t){n._latestEditorState=t,n.props.onChange(t)}),u(a(n),"onDragEnter",function(){n._dragCount++}),u(a(n),"onDragLeave",function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()}),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=e.editorKey||k(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=e.editorState,n._latestCommittedEditorState=e.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},n.state={contentsKey:0},n}s(e,t);var r=e.prototype;return r._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var r=e._handler&&e._handler[t];r&&(g?g(function(){return r(e,n)}):r(e,n))}}},r._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},r._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:K(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return b.createElement(y,t)}return null},r._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},r.render=function(){var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleFn,u=t.customStyleMap,s=t.editorState,c=t.preventScroll,f=t.readOnly,h=t.textAlignment,d=t.textDirectionality,g=x({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===h,"DraftEditor/alignRight":"right"===h,"DraftEditor/alignCenter":"center"===h}),y=this.props.role||"textbox",v="combobox"===y?!!this.props.ariaExpanded:null,m={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,customStyleMap:o({},l,u),customStyleFn:a,editorKey:this._editorKey,editorState:s,preventScroll:c,textDirectionality:d};return b.createElement("div",{className:g},this._renderPlaceholder(),b.createElement("div",{className:x("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},b.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":f?null:v,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":f?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:x({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"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:this.props.editorRef,role:f?null:y,spellCheck:M&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},b.createElement(L,{editor:this,editorState:s}),b.createElement(p,i({}
1,m,{key:"contents"+this.state.contentsKey})))))},r.componentDidMount=function(){this._blockSelectEvents=!1,!B&&A("draft_ods_enabled")&&(B=!0,v.initODS()),this.setMode("edit"),T&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):n.g.execCommand("AutoUrlDetect",!1,!1))},r.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},e}(b.Component);u(R,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:c,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:E,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),t.exports=R},42054:function(t){var e="\\ud800-\\udfff",n="["+e+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+r+"|"+i+")"+"?",c="[\\ufe0e\\ufe0f]?",l=c+s+("(?:\\u200d(?:"+[o,a,u].join("|")+")"+c+s+")*"),f="(?:"+[o+r+"?",r,a,u,n].join("|")+")",p=RegExp(i+"(?="+i+")|"+f+l,"g");t.exports=function(t){return t.match(p)||[]}},43359:function(t,e,n){"use strict";n(58934);var r=n(46518),i=n(53487);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==i},{trimStart:i})},43802:function(t,e,n){"use strict";var r=n(79504),i=n(67750),o=n(655),a=n(47452),u=r("".replace),s=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(t){return function(e){var n=o(i(e));return 1&t&&(n=u(n,s,"")),2&t&&(n=u(n,c,"$1")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},44527:function(t,e,n){"use strict";var r=n(49455);t.exports=function(t,e,n){var i=r.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(n(r.set(e,{nativelyRenderedContent:null})),setTimeout(function(){n(i)},0)):n(i);else{var o=i.getCurrentContent();n(r.set(i,{nativelyRenderedContent:o}))}}},44631:function(t){"use strict";t.exports=function(t){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[t]}},44826:function(t,e,n){var r=n(77556),i=n(54128),o=n(28754),a=n(23875),u=n(28380),s=n(63912),c=n(13222);t.exports=function(t,e,n){if((t=c(t))&&(n||void 0===e))return i(t);if(!t||!(e=r(e)))return t;var l=s(t),f=s(e),p=u(l,f),h=a(l,f)+1;return o(l,p,h).join("")}},45222:function(t,e,n){"use strict";var r=n(52483);function i(){return i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}var o=n(18883),a=n(89354),u=n(96540),s=n(8752),c=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var c=r.prototype;return c.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=e.getCurrentContent(),u=n.getCurrentContent(),s=e.getDecorator(),c=n.getDecorator();return i!==o||a!==u||s!==c||n.mustForceSelection()},c.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,c=t.customStyleMap,l=t.customStyleFn,f=t.editorState,p=t.editorKey,h=t.textDirectionality,d=f.getCurrentContent(),g=f.getSelection(),y=f.mustForceSelection(),v=f.getDecorator(),m=s(f.getDirectionMap()),b=[],_=d.getBlocksAsArray()[0];_;){var w=_.getKey(),S={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,contentState:d,customStyleFn:l,customStyleMap:c,decorator:v,editorKey:p,editorState:f,forceSelection:y,selection:g,block:_,direction:h||m.get(w),tree:f.getBlockTree(w)},x=(e.get(_.getType())||e.get("unstyled")).wrapper;b.push({block:u.createElement(o,i({key:w},S)),wrapperTemplate:x,key:w,offsetKey:a.encode(w,0,0)});var k=_.getNextSiblingKey();_=k?d.getBlockForKey(k):null}for(var E=[],C=0;C<b.length;){var A=b[C];if(A.wrapperTemplate){var O=[];do{O.push(b[C].block),C++}while(C<b.length&&b[C].wrapperTemplate===A.wrapperTemplate);var D=u.cloneElement(A.wrapperTemplate,{key:A.key+"-wrap","data-offset-key":A.offsetKey},O);E.push(D)}else E.push(A.block),C++}return u.createElement("div",{"data-contents":"true"},E)},r}(u.Component);t.exports=c},45817:function(t,e,n){n(78350),n(26910),n(30237),t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:J(t)}function r(t){return u(t)?t:G(t)}function i(t){return s(t)?t:X(t)}function o(t){return a(t)&&!c(t)?t:$(t)}function a(t){return!(!t||!t[f])}function u(t){return!(!t||!t[p])}function s(t){return!(!t||!t[h])}function c(t){return u(t)||s(t)}function l(t){return!(!t||!t[d])}e(r,n),e(i,n),e(o,n),n.isIterable=a,n.isKeyed=u,n.isIndexed=s,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;
vendor: 44,878 bytes, line 1
1var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",g="delete",y=5,v=1<<y,m=v-1,b={},_={value:!1},w={value:!1};function S(t){return t.value=!1,t}function x(t){t&&(t.value=!0)}function k(){}function E(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function C(t){return void 0===t.size&&(t.size=t.__iterate(O)),t.size}function A(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?C(t)+e:e}function O(){return!0}function D(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function K(t,e){return M(t,e,0)}function T(t,e){return M(t,e,e)}function M(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var I=0,B=1,L=2,R="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",P=R||N;function F(t){this.next=t}function z(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function j(){return{value:void 0,done:!0}}function U(t){return!!W(t)}function q(t){return t&&"function"==typeof t.next}function H(t){var e=W(t);return e&&e.call(t)}function W(t){var e=t&&(R&&t[R]||t[N]);if("function"==typeof e)return e}function V(t){return t&&"number"==typeof t.length}function J(t){return null==t?at():a(t)?t.toSeq():ct(t)}function G(t){return null==t?at().toKeyedSeq():a(t)?u(t)?t.toSeq():t.fromEntrySeq():ut(t)}function X(t){return null==t?at():a(t)?u(t)?t.entrySeq():t.toIndexedSeq():st(t)}function $(t){return(null==t?at():a(t)?u(t)?t.entrySeq():t:st(t)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=I,F.VALUES=B,F.ENTRIES=L,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[P]=function(){return this},e(J,n),J.of=function(){return J(arguments)},J.prototype.toSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq {","}")},J.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},J.prototype.__iterate=function(t,e){return ft(this,t,e,!0)},J.prototype.__iterator=function(t,e){return pt(this,t,e,!0)},e(G,J),G.prototype.toKeyedSeq=function(){return this},e(X,J),X.of=function(){return X(arguments)},X.prototype.toIndexedSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq [","]")},X.prototype.__iterate=function(t,e){return ft(this,t,e,!1)},X.prototype.__iterator=function(t,e){return pt(this,t,e,!1)},e($,J),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},J.isSeq=ot,J.Keyed=G,J.Set=$,J.Indexed=X;var Y,Z,Q,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function nt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function rt(t){this._iterable=t,this.size=t.length||t.size}function it(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[tt])}function at(){return Y||(Y=new et([]))}function ut(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():q(t)?new it(t).fromEntrySeq():U(t)?new rt(t).fromEntrySeq():"object"==typeof t?new nt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function st(t){var e=lt(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){var e=lt(t)||"object"==typeof t&&new nt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function lt(t){return V(t)?new et(t):q(t)?new it(t):U(t)?new rt(t):void 0}function ft(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var u=i[n?o-a:a];if(!1===e(u[1],r?u[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function pt(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new F(function(){var t=i[n?o-a:a];return a++>o?j():z(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function ht(t,e){return e?dt(e,t,"",{"":t}):gt(t)}function dt(t,e,n,r){return Array.isArray(e)?t.call(r,n,X(e).map(function(n,r){return dt(t,n,r,e)})):yt(e)?t.call(r,n,G(e).map(function(n,r){return dt(t,n,r,e)})):e}function gt(t){return Array.isArray(t)?X(t).map(gt).toList():yt(t)?G(t).map(gt).toMap():t}function yt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function vt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function mt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||u(t)!==u(e)||s(t)!==s(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(l(t)){var r=t.entries();return e.every(function(t,e){var i=r.next().value;return i&&vt(i[1],t)&&(n||vt(i[0],e))})&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var f=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):i?!vt(e,t.get(r,b)):!vt(t.get(r,b),e))return f=!1,!1});return f&&t.size===p}function bt(t,e){if(!(this instanceof bt))return new bt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Z)return Z;Z=this}}function _t(t,e){if(!t)throw new Error(e)}function wt(t,e,n){if(!(this instanceof wt))return new wt(t,e,n);if(_t(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Q)return Q;Q=this}}function St(){throw TypeError("Abstract")}function xt(){}function kt(){}function Et(){}J.prototype[tt]=!0,e(et,X),et.prototype.get=function(t,e){return this.has(t)?this._array[A(this,t)]:e},et.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===t(n[e?r-i:i],i,this))return i+1;return i},et.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,i=0;return new F(function(){return i>r?j():z(t,i,n[e?r-i++:i++])})},e(nt,G),nt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},nt.prototype.has=function(t){return this._object.hasOwnProperty(t)},nt.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[e?i-o:o];if(!1===t(n[a],a,this))return o+1}return o},nt.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new F(function(){var a=r[e?i-o:o];return o++>i?j():z(t,a,n[a])})},nt.prototype[d]=!0,e(rt,X),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=H(this._iterable),r=0;if(q(n))for(var i;!(i=n.next()).done&&!1!==t(i.value,r++,this););return r},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=H(this._iterable);if(!q(n))return new F(j);var r=0;return new F(function(){var e=n.next();return e.done?e:z(t,r++,e.value)})},e(it,X),it.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===t(a,o++,this))break}return o},it.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new F(function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return z(t,i,r[i++])})},e(bt,X),bt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},bt.prototype.get=function(t,e){return this.has(t)?this._value:e},bt.prototype.includes=function(t){return vt(this._value,t)},bt.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:new bt(this._value,T(e,n)-K(t,n))},bt.prototype.reverse=function(){return this},bt.prototype.indexOf=function(t){return vt(this._value,t)?0:-1},bt.prototype.lastIndexOf=function(t){return vt(this._value,t)?this.size:-1},bt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},bt.prototype.__iterator=function(t,e){var n=this,r=0;return new F(function(){return r<n.size?z(t,r++,n._value):j()})},bt.prototype.equals=function(t){return t instanceof bt?vt(this._value,t._value):mt(t)},e(wt,X),wt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},wt.prototype.get=function(t,e){return this.has(t)?this._start+A(this,t)*this._step:e},wt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},wt.prototype.slice=function(t,e){return D(t,e,this.size)?this:(t=K(t,this.size),(e=T(e,this.size))<=t?new wt(0,0):new wt(this.get(t,this._end),this.get(e,this._end),this._step))},wt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step===0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},wt.prototype.lastIndexOf=function(t){return this.indexOf(t)},wt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===t(i,o,this))return o+1;i+=e?-r:r}return o},wt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new F(function(){var a=i;return i+=e?-r:r,o>n?j():z(t,o++,a)})},wt.prototype.equals=function(t){return t instanceof wt?this._start===t._start&&this._end===t._end&&this._step===t._step:mt(this,t)},e(St,n),e(xt,St),e(kt,St),e(Et,St),St.Keyed=xt,St.Indexed=kt,St.Set=Et;var Ct="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function At(t){return t>>>1&1073741824|3221225471&t}function Ot(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return At(n)}if("string"===e)return t.length>Ft?Dt(t):Kt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return Tt(t);if("function"==typeof t.toString)return Kt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Dt(t){var e=Ut[t];return void 0===e&&(e=Kt(t),jt===zt&&(jt=0,Ut={}),jt++,Ut[t]=e),e}function Kt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return At(e)}function Tt(t){var e;if(Rt&&void 0!==(e=Lt.get(t)))return e;if(void 0!==(e=t[Pt]))return e;if(!It){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Pt]))return e;if(void 0!==(e=Bt(t)))return e}if(e=++Nt,1073741824&Nt&&(Nt=0),Rt)Lt.set(t,e);else{if(void 0!==Mt&&!1===Mt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(It)Object.defineProperty(t,Pt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Pt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Pt]=e}}return e}var Mt=Object.isExtensible,It=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function Bt(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}var Lt,Rt="function"==typeof WeakMap;Rt&&(Lt=new WeakMap);var Nt=0,Pt="__immutablehash__";"function"==typeof Symbol&&(Pt=Symbol(Pt));var Ft=16,zt=255,jt=0,Ut={};function qt(t){_t(t!==1/0,"Cannot perform this action with an infinite size.")}function Ht(t){return null==t?ie():Wt(t)&&!l(t)?t:ie().withMutations(function(e){var n=r(t);qt(n.size),n.forEach(function(t,n){return e.set(n,t)})})}function Wt(t){return!(!t||!t[Jt])}e(Ht,xt),Ht.prototype.toString=function(){return this.__toString("Map {","}")},Ht.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Ht.prototype.set=function(t,e){return oe(this,t,e)},Ht.prototype.setIn=function(t,e){return this.updateIn(t,b,function(){return e})},Ht.prototype.remove=function(t){return oe(this,t,b)},Ht.prototype.deleteIn=function(t){return this.updateIn(t,function(){return b})},Ht.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Ht.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=ye(this,Sn(t),e,n);return r===b?void 0:r},Ht.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ie()},Ht.prototype.merge=function(){return pe(this,void 0,arguments)},Ht.prototype.mergeWith=function(e){return pe(this,e,t.call(arguments,1))},Ht.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,ie(),function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]})},Ht.prototype.mergeDeep=function(){return pe(this,he,arguments)},Ht.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return pe(this,de(e),n)},Ht.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,ie(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]})},Ht.prototype.sort=function(t){return Ue(fn(this,t))},Ht.prototype.sortBy=function(t,e){return Ue(fn(this,e,t))},Ht.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Ht.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Ht.prototype.asImmutable=function(){return this.__ensureOwner()},Ht.prototype.wasAltered=function(){return this.__altered},Ht.prototype.__iterator=function(t,e){return new te(this,t,e)},Ht.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},Ht.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?re(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ht.isMap=Wt;var Vt,Jt="@@__IMMUTABLE_MAP__@@",Gt=Ht.prototype;function Xt(t,e){this.ownerID=t,this.entries=e}function $t(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Yt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Zt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Qt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function te(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&ne(t._root)}function ee(t,e){return z(t,e[0],e[1])}function ne(t,e){return{node:t,index:0,__prev:e}}function re(t,e,n,r){var i=Object.create(Gt);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function ie(){return Vt||(Vt=re(0))}function oe(t,e,n){var r,i;if(t._root){var o=S(_),a=S(w);if(r=ae(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===b?-1:1:0)}else{if(n===b)return t;i=1,r=new Xt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?re(i,r):ie()}function ae(t,e,n,r,i,o,a,u){return t?t.update(e,n,r,i,o,a,u):o===b?t:(x(u),x(a),new Qt(e,r,[i,o]))}function ue(t){return t.constructor===Qt||t.constructor===Zt}function se(t,e,n,r,i){if(t.keyHash===r)return new Zt(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&m,u=(0===n?r:r>>>n)&m;return new $t(e,1<<a|1<<u,a===u?[se(t,e,n+y,r,i)]:(o=new Qt(e,r,i),a<u?[t,o]:[o,t]))}function ce(t,e,n,r){t||(t=new k);for(var i=new Qt(t,Ot(n),[n,r]),o=0;o<e.length;o++){var a=e[o];i=i.update(t,0,void 0,a[0],a[1])}return i}function le(t,e,n,r){for(var i=0,o=0,a=new Array(n),u=0,s=1,c=e.length;u<c;u++,s<<=1){var l=e[u];void 0!==l&&u!==r&&(i|=s,a[o++]=l)}return new $t(t,i,a)}function fe(t,e,n,r,i){for(var o=0,a=new Array(v),u=0;0!==n;u++,n>>>=1)a[u]=1&n?e[o++]:void 0;return a[r]=i,new Yt(t,o+1,a)}function pe(t,e,n){for(var i=[],o=0;o<n.length;o++){var u=n[o],s=r(u);a(u)||(s=s.map(function(t){return ht(t)})),i.push(s)}return ge(t,e,i)}function he(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):vt(t,e)?t:e}function de(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var i=t(e,n,r);return vt(e,i)?e:i}}function ge(t,e,n){return 0===(n=n.filter(function(t){return 0!==t.size})).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,b,function(t){return t===b?n:e(t,n,r)})}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)}):t.constructor(n[0])}function ye(t,e,n,r){var i=t===b,o=e.next();if(o.done){var a=i?n:t,u=r(a);return u===a?t:u}_t(i||t&&t.set,"invalid keyPath");var s=o.value,c=i?b:t.get(s,b),l=ye(c,e,n,r);return l===c?t:l===b?t.remove(s):(i?ie():t).set(s,l)}function ve(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function me(t,e,n,r){var i=r?t:E(t);return i[e]=n,i}function be(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),a=0,u=0;u<i;u++)u===e?(o[u]=n,a=-1):o[u]=t[u+a];return o}function _e(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,a=0;a<r;a++)a===e&&(o=1),i[a]=t[a+o];return i}Gt[Jt]=!0,Gt[g]=Gt.remove,Gt.removeIn=Gt.deleteIn,Xt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(vt(n,i[o][0]))return i[o][1];return r},Xt.prototype.update=function(t,e,n,r,i,o,a){for(var u=i===b,s=this.entries,c=0,l=s.length;c<l&&!vt(r,s[c][0]);c++);var f=c<l;if(f?s[c][1]===i:u)return this;if(x(a),(u||!f)&&x(o),!u||1!==s.length){if(!f&&!u&&s.length>=we)return ce(t,s,r,i);var p=t&&t===this.ownerID,h=p?s:E(s);return f?u?c===l-1?h.pop():h[c]=h.pop():h[c]=[r,i]:h.push([r,i]),p?(this.entries=h,this):new Xt(t,h)}},$t.prototype.get=function(t,e,n,r){void 0===e&&(e=Ot(n));var i=1<<((0===t?e:e>>>t)&m),o=this.bitmap;return 0===(o&i)?r:this.nodes[ve(o&i-1)].get(t+y,e,n,r)},$t.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=Ot(r));var u=(0===e?n:n>>>e)&m,s=1<<u,c=this.bitmap,l=0!==(c&s);if(!l&&i===b)return this;var f=ve(c&s-1),p=this.nodes,h=l?p[f]:void 0,d=ae(h,t,e+y,n,r,i,o,a);if(d===h)return this;if(!l&&d&&p.length>=Se)return fe(t,p,c,u,d);if(l&&!d&&2===p.length&&ue(p[1^f]))return p[1^f];if(l&&d&&1===p.length&&ue(d))return d;var g=t&&t===this.ownerID,v=l?d?c:c^s:c|s,_=l?d?me(p,f,d,g):_e(p,f,g):be(p,f,d,g);return g?(this.bitmap=v,this.nodes=_,this):new $t(t,v,_)},Yt.prototype.get=function(t,e,n,r){void 0===e&&(e=Ot(n));var i=(0===t?e:e>>>t)&m,o=this.nodes[i];return o?o.get(t+y,e,n,r):r},Yt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=Ot(r));var u=(0===e?n:n>>>e)&m,s=i===b,c=this.nodes,l=c[u];if(s&&!l)return this;var f=ae(l,t,e+y,n,r,i,o,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<xe)return le(t,c,p,u)}else p++;var h=t&&t===this.ownerID,d=me(c,u,f,h);return h?(this.count=p,this.nodes=d,this):new Yt(t,p,d)},Zt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(vt(n,i[o][0]))return i[o][1];return r},Zt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=Ot(r));var u=i===b;if(n!==this.keyHash)return u?this:(x(a),x(o),se(this,t,e,n,[r,i]));for(var s=this.entries,c=0,l=s.length;c<l&&!vt(r,s[c][0]);c++);var f=c<l;if(f?s[c][1]===i:u)return this;if(x(a),(u||!f)&&x(o),u&&2===l)return new Qt(t,this.keyHash,s[1^c]);var p=t&&t===this.ownerID,h=p?s:E(s);return f?u?c===l-1?h.pop():h[c]=h.pop():h[c]=[r,i]:h.push([r,i]),p?(this.entries=h,this):new Zt(t,this.keyHash,h)},Qt.prototype.get=function(t,e,n,r){return vt(n,this.entry[0])?this.entry[1]:r},Qt.prototype.update=function(t,e,n,r,i,o,a){var u=i===b,s=vt(r,this.entry[0]);return(s?i===this.entry[1]:u)?this:(x(a),u?void x(o):s?t&&t===this.ownerID?(this.entry[1]=i,this):new Qt(t,this.keyHash,[r,i]):(x(o),se(this,t,e,Ot(r),[r,i])))},Xt.prototype.iterate=Zt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===t(n[e?i-r:r]))return!1},$t.prototype.iterate=Yt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[e?i-r:r];if(o&&!1===o.iterate(t,e))return!1}},Qt.prototype.iterate=function(t,e){return t(this.entry)},e(te,F),te.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return ee(t,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return ee(t,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return ee(t,o.entry);e=this._stack=ne(o,e)}continue}e=this._stack=this._stack.__prev}return j()};var we=v/4,Se=v/2,xe=v/4;function ke(t){var e=Be();if(null==t)return e;if(Ee(t))return t;var n=i(t),r=n.size;return 0===r?e:(qt(r),r>0&&r<v?Ie(0,r,y,null,new Oe(n.toArray())):e.withMutations(function(t){t.setSize(r),n.forEach(function(e,n){return t.set(n,e)})}))}function Ee(t){return!(!t||!t[Ce])}e(ke,kt),ke.of=function(){return this(arguments)},ke.prototype.toString=function(){return this.__toString("List [","]")},ke.prototype.get=function(t,e){if((t=A(this,t))>=0&&t<this.size){var n=Pe(this,t+=this._origin);return n&&n.array[t&m]}return e},ke.prototype.set=function(t,e){return Le(this,t,e)},ke.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ke.prototype.insert=function(t,e){return this.splice(t,0,e)},ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Be()},ke.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Fe(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},ke.prototype.pop=function(){return Fe(this,0,-1)},ke.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Fe(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},ke.prototype.shift=function(){return Fe(this,1)},ke.prototype.merge=function(){return ze(this,void 0,arguments)},ke.prototype.mergeWith=function(e){return ze(this,e,t.call(arguments,1))},ke.prototype.mergeDeep=function(){return ze(this,he,arguments)},ke.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return ze(this,de(e),n)},ke.prototype.setSize=function(t){return Fe(this,0,t)},ke.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:Fe(this,K(t,n),T(e,n))},ke.prototype.__iterator=function(t,e){var n=0,r=Me(this,e);return new F(function(){var e=r();return e===Te?j():z(t,n++,e)})},ke.prototype.__iterate=function(t,e){for(var n,r=0,i=Me(this,e);(n=i())!==Te&&!1!==t(n,r++,this););return r},ke.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ie(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ke.isList=Ee;var Ce="@@__IMMUTABLE_LIST__@@",Ae=ke.prototype;function Oe(t,e){this.array=t,this.ownerID=e}Ae[Ce]=!0,Ae[g]=Ae.remove,Ae.setIn=Gt.setIn,Ae.deleteIn=Ae.removeIn=Gt.removeIn,Ae.update=Gt.update,Ae.updateIn=Gt.updateIn,Ae.mergeIn=Gt.mergeIn,Ae.mergeDeepIn=Gt.mergeDeepIn,Ae.withMutations=Gt.withMutations,Ae.asMutable=Gt.asMutable,Ae.asImmutable=Gt.asImmutable,Ae.wasAltered=Gt.wasAltered,Oe.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&m;if(r>=this.array.length)return new Oe([],t);var i,o=0===r;if(e>0){var a=this.array[r];if((i=a&&a.removeBefore(t,e-y,n))===a&&o)return this}if(o&&!i)return this;var u=Ne(this,t);if(!o)for(var s=0;s<r;s++)u.array[s]=void 0;return i&&(u.array[r]=i),u},Oe.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&m;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((r=o&&o.removeAfter(t,e-y,n))===o&&i===this.array.length-1)return this}var a=Ne(this,t);return a.array.splice(i+1),r&&(a.array[i]=r),a};var De,Ke,Te={};function Me(t,e){var n=t._origin,r=t._capacity,i=je(r),o=t._tail;return a(t._root,t._level,0);function a(t,e,n){return 0===e?u(t,n):s(t,e,n)}function u(t,a){var u=a===i?o&&o.array:t&&t.array,s=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(s===c)return Te;var t=e?--c:s++;return u&&u[t]}}function s(t,i,o){var u,s=t&&t.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>v&&(l=v),function(){for(;;){if(u){var t=u();if(t!==Te)return t;u=null}if(c===l)return Te;var n=e?--l:c++;u=a(s&&s[n],i-y,o+(n<<i))}}}}function Ie(t,e,n,r,i,o,a){var u=Object.create(Ae);return u.size=e-t,u._origin=t,u._capacity=e,u._level=n,u._root=r,u._tail=i,u.__ownerID=o,u.__hash=a,u.__altered=!1,u}function Be(){return De||(De=Ie(0,0,y))}function Le(t,e,n){if((e=A(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Fe(t,e).set(0,n):Fe(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,o=S(w);return e>=je(t._capacity)?r=Re(r,t.__ownerID,0,e,n,o):i=Re(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Ie(t._origin,t._capacity,t._level,i,r):t}function Re(t,e,n,r,i,o){var a,u=r>>>n&m,s=t&&u<t.array.length;if(!s&&void 0===i)return t;if(n>0){var c=t&&t.array[u],l=Re(c,e,n-y,r,i,o);return l===c?t:((a=Ne(t,e)).array[u]=l,a)}return s&&t.array[u]===i?t:(x(o),a=Ne(t,e),void 0===i&&u===a.array.length-1?a.array.pop():a.array[u]=i,a)}function Ne(t,e){return e&&t&&e===t.ownerID?t:new Oe(t?t.array.slice():[],e)}function Pe(t,e){if(e>=je(t._capacity))return t._tail;if(e<1<<t._level+y){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&m],r-=y;return n}}function Fe(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new k,i=t._origin,o=t._capacity,a=i+e,u=void 0===n?o:n<0?o+n:i+n;if(a===i&&u===o)return t;if(a>=u)return t.clear();for(var s=t._level,c=t._root,l=0;a+l<0;)c=new Oe(c&&c.array.length?[void 0,c]:[],r),l+=1<<(s+=y);l&&(a+=l,i+=l,u+=l,o+=l);for(var f=je(o),p=je(u);p>=1<<s+y;)c=new Oe(c&&c.array.length?[c]:[],r),s+=y;var h=t._tail,d=p<f?Pe(t,u-1):p>f?new Oe([],r):h;if(h&&p>f&&a<o&&h.array.length){for(var g=c=Ne(c,r),v=s;v>y;v-=y){var b=f>>>v&m;g=g.array[b]=Ne(g.array[b],r)}g.array[f>>>y&m]=h}if(u<o&&(d=d&&d.removeAfter(r,0,u)),a>=p)a-=p,u-=p,s=y,c=null,d=d&&d.removeBefore(r,0,a);else if(a>i||p<f){for(l=0;c;){var _=a>>>s&m;if(_!==p>>>s&m)break;_&&(l+=(1<<s)*_),s-=y,c=c.array[_]}c&&a>i&&(c=c.removeBefore(r,s,a-l)),c&&p<f&&(c=c.removeAfter(r,s,p-l)),l&&(a-=l,u-=l)}return t.__ownerID?(t.size=u-a,t._origin=a,t._capacity=u,t._level=s,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):Ie(a,u,s,c,d)}function ze(t,e,n){for(var r=[],o=0,u=0;u<n.length;u++){var s=n[u],c=i(s);c.size>o&&(o=c.size),a(s)||(c=c.map(function(t){return ht(t)})),r.push(c)}return o>t.size&&(t=t.setSize(o)),ge(t,e,r)}function je(t){return t<v?0:t-1>>>y<<y}function Ue(t){return null==t?We():qe(t)?t:We().withMutations(function(e){var n=r(t);qt(n.size),n.forEach(function(t,n){return e.set(n,t)})})}function qe(t){return Wt(t)&&l(t)}function He(t,e,n,r){var i=Object.create(Ue.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function We(){return Ke||(Ke=He(ie(),Be()))}function Ve(t,e,n){var r,i,o=t._map,a=t._list,u=o.get(e),s=void 0!==u;if(n===b){if(!s)return t;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter(function(t,e){return void 0!==t&&u!==e})).toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=u===a.size-1?a.pop():a.set(u,void 0))}else if(s){if(n===a.get(u)[1])return t;r=o,i=a.set(u,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):He(r,i)}function Je(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Ge(t){this._iter=t,this.size=t.size}function Xe(t){this._iter=t,this.size=t.size}function $e(t){this._iter=t,this.size=t.size}function Ye(t){var e=bn(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=_n,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===L){var r=t.__iterator(e,n);return new F(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===B?I:B,n)},e}function Ze(t,e,n){var r=bn(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,b);return o===b?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,a){return!1!==r(e.call(n,t,i,a),i,o)},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(L,i);return new F(function(){var i=o.next();if(i.done)return i;var a=i.value,u=a[0];return z(r,u,e.call(n,a[1],u,t),i)})},r}function Qe(t,e){var n=bn(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Ye(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=_n,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function tn(t,e,n,r){var i=bn(t);return r&&(i.has=function(r){var i=t.get(r,b);return i!==b&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,b);return o!==b&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,u=0;return t.__iterate(function(t,o,s){if(e.call(n,t,o,s))return u++,i(t,r?o:u-1,a)},o),u},i.__iteratorUncached=function(i,o){var a=t.__iterator(L,o),u=0;return new F(function(){for(;;){var o=a.next();if(o.done)return o;var s=o.value,c=s[0],l=s[1];if(e.call(n,l,c,t))return z(i,r?c:u++,l,o)}})},i}function en(t,e,n){var r=Ht().asMutable();return t.__iterate(function(i,o){r.update(e.call(n,i,o,t),0,function(t){return t+1})}),r.asImmutable()}function nn(t,e,n){var r=u(t),i=(l(t)?Ue():Ht()).asMutable();t.__iterate(function(o,a){i.update(e.call(n,o,a,t),function(t){return(t=t||[]).push(r?[a,o]:o),t})});var o=mn(t);return i.map(function(e){return gn(t,o(e))})}function rn(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),D(e,n,i))return t;var o=K(e,i),a=T(n,i);if(o!=o||a!=a)return rn(t.toSeq().cacheResult(),e,n,r);var u,s=a-o;s==s&&(u=s<0?0:s);var c=bn(t);return c.size=0===u?u:t.size&&u||void 0,!r&&ot(t)&&u>=0&&(c.get=function(e,n){return(e=A(this,e))>=0&&e<u?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var i=this;if(0===u)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,s=!0,c=0;return t.__iterate(function(t,n){if(!s||!(s=a++<o))return c++,!1!==e(t,r?n:c-1,i)&&c!==u}),c},c.__iteratorUncached=function(e,n){if(0!==u&&n)return this.cacheResult().__iterator(e,n);var i=0!==u&&t.__iterator(e,n),a=0,s=0;return new F(function(){for(;a++<o;)i.next();if(++s>u)return j();var t=i.next();return r||e===B?t:z(e,s-1,e===I?void 0:t.value[1],t)})},c}function on(t,e,n){var r=bn(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate(function(t,i,u){return e.call(n,t,i,u)&&++a&&r(t,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(L,i),u=!0;return new F(function(){if(!u)return j();var t=a.next();if(t.done)return t;var i=t.value,s=i[0],c=i[1];return e.call(n,c,s,o)?r===L?t:z(r,s,c,t):(u=!1,j())})},r}function an(t,e,n,r){var i=bn(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var u=!0,s=0;return t.__iterate(function(t,o,c){if(!u||!(u=e.call(n,t,o,c)))return s++,i(t,r?o:s-1,a)}),s},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var u=t.__iterator(L,o),s=!0,c=0;return new F(function(){var t,o,l;do{if((t=u.next()).done)return r||i===B?t:z(i,c++,i===I?void 0:t.value[1],t);var f=t.value;o=f[0],l=f[1],s&&(s=e.call(n,l,o,a))}while(s);return i===L?t:z(i,o,l,t)})},i}function un(t,e){var n=u(t),i=[t].concat(e).map(function(t){return a(t)?n&&(t=r(t)):t=n?ut(t):st(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||n&&u(o)||s(t)&&s(o))return o}var c=new et(i);return n?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function sn(t,e,n){var r=bn(t);return r.__iterateUncached=function(r,i){var o=0,u=!1;function s(t,c){var l=this;t.__iterate(function(t,i){return(!e||c<e)&&a(t)?s(t,c+1):!1===r(t,n?i:o++,l)&&(u=!0),!u},i)}return s(t,0),o},r.__iteratorUncached=function(r,i){var o=t.__iterator(r,i),u=[],s=0;return new F(function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(r===L&&(c=c[1]),e&&!(u.length<e)||!a(c))return n?t:z(r,s++,c,t);u.push(o),o=c.__iterator(r,i)}else o=u.pop()}return j()})},r}function cn(t,e,n){var r=mn(t);return t.toSeq().map(function(i,o){return r(e.call(n,i,o,t))}).flatten(!0)}function ln(t,e){var n=bn(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate(function(t,r){return(!o||!1!==n(e,o++,i))&&!1!==n(t,o++,i)},r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(B,r),a=0;return new F(function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?z(n,a++,e):z(n,a++,i.value,i)})},n}function fn(t,e,n){e||(e=wn);var r=u(t),i=0,o=t.toSeq().map(function(e,r){return[r,e,i++,n?n(e,r,t):e]}).toArray();return o.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?G(o):s(t)?X(o):$(o)}function pn(t,e,n){if(e||(e=wn),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return hn(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return hn(e,t,n)?n:t})}function hn(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function dn(t,e,r){var i=bn(t);return i.size=new et(r).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(B,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map(function(t){return t=n(t),H(i?t.reverse():t)}),a=0,u=!1;return new F(function(){var n;return u||(n=o.map(function(t){return t.next()}),u=n.some(function(t){return t.done})),u?j():z(t,a++,e.apply(null,n.map(function(t){return t.value})))})},i}function gn(t,e){return ot(t)?e:t.constructor(e)}function yn(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function vn(t){return qt(t.size),C(t)}function mn(t){return u(t)?r:s(t)?i:o}function bn(t){return Object.create((u(t)?G:s(t)?X:$).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function wn(t,e){return t>e?1:t<e?-1:0}function Sn(t){var e=H(t);if(!e){if(!V(t))throw new TypeError("Expected iterable or array-like: "+t);e=H(n(t))}return e}function xn(t,e){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(t);An(i,a),i.size=a.length,i._name=e,i._keys=a,i._defaultValues=t}this._map=Ht(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}e(Ue,Ht),Ue.of=function(){return this(arguments)},Ue.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ue.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Ue.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):We()},Ue.prototype.set=function(t,e){return Ve(this,t,e)},Ue.prototype.remove=function(t){return Ve(this,t,b)},Ue.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ue.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Ue.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Ue.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?He(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Ue.isOrderedMap=qe,Ue.prototype[d]=!0,Ue.prototype[g]=Ue.prototype.remove,e(Je,G),Je.prototype.get=function(t,e){return this._iter.get(t,e)},Je.prototype.has=function(t){return this._iter.has(t)},Je.prototype.valueSeq=function(){return this._iter.valueSeq()},Je.prototype.reverse=function(){var t=this,e=Qe(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Je.prototype.map=function(t,e){var n=this,r=Ze(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Je.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?vn(this):0,function(i){return t(i,e?--n:n++,r)}),e)},Je.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(B,e),r=e?vn(this):0;return new F(function(){var i=n.next();return i.done?i:z(t,e?--r:r++,i.value,i)})},Je.prototype[d]=!0,e(Ge,X),Ge.prototype.includes=function(t){return this._iter.includes(t)},Ge.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},Ge.prototype.__iterator=function(t,e){var n=this._iter.__iterator(B,e),r=0;return new F(function(){var e=n.next();return e.done?e:z(t,r++,e.value,e)})},e(Xe,$),Xe.prototype.has=function(t){return this._iter.includes(t)},Xe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},Xe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(B,e);return new F(function(){var e=n.next();return e.done?e:z(t,e.value,e.value,e)})},e($e,G),$e.prototype.entrySeq=function(){return this._iter.toSeq()},$e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){yn(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},$e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(B,e);return new F(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){yn(r);var i=a(r);return z(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},Ge.prototype.cacheResult=Je.prototype.cacheResult=Xe.prototype.cacheResult=$e.prototype.cacheResult=_n,e(xn,xt),xn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},xn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},xn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=En(this,ie()))},xn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Cn(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:En(this,n)},xn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:En(this,e)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterator(t,e)},xn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterate(t,e)},xn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?En(this,e,t):(this.__ownerID=t,this._map=e,this)};var kn=xn.prototype;function En(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Cn(t){return t._name||t.constructor.name||"Record"}function An(t,e){try{e.forEach(On.bind(void 0,t))}catch(n){}}function On(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){_t(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Dn(t){return null==t?Rn():Kn(t)&&!l(t)?t:Rn().withMutations(function(e){var n=o(t);qt(n.size),n.forEach(function(t){return e.add(t)})})}function Kn(t){return!(!t||!t[Mn])}kn[g]=kn.remove,kn.deleteIn=kn.removeIn=Gt.removeIn,kn.merge=Gt.merge,kn.mergeWith=Gt.mergeWith,kn.mergeIn=Gt.mergeIn,kn.mergeDeep=Gt.mergeDeep,kn.mergeDeepWith=Gt.mergeDeepWith,kn.mergeDeepIn=Gt.mergeDeepIn,kn.setIn=Gt.setIn,kn.update=Gt.update,kn.updateIn=Gt.updateIn,kn.withMutations=Gt.withMutations,kn.asMutable=Gt.asMutable,kn.asImmutable=Gt.asImmutable,e(Dn,Et),Dn.of=function(){return this(arguments)},Dn.fromKeys=function(t){return this(r(t).keySeq())},Dn.prototype.toString=function(){return this.__toString("Set {","}")},Dn.prototype.has=function(t){return this._map.has(t)},Dn.prototype.add=function(t){return Bn(this,this._map.set(t,!0))},Dn.prototype.remove=function(t){return Bn(this,this._map.remove(t))},Dn.prototype.clear=function(){return Bn(this,this._map.clear())},Dn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter(function(t){return 0!==t.size})).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},Dn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return o(t)});var n=this;return this.withMutations(function(t){n.forEach(function(n){e.every(function(t){return t.includes(n)})||t.remove(n)})})},Dn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return o(t)});var n=this;return this.withMutations(function(t){n.forEach(function(n){e.some(function(t){return t.includes(n)})&&t.remove(n)})})},Dn.prototype.merge=function(){return this.union.apply(this,arguments)},Dn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},Dn.prototype.sort=function(t){return Nn(fn(this,t))},Dn.prototype.sortBy=function(t,e){return Nn(fn(this,e,t))},Dn.prototype.wasAltered=function(){return this._map.wasAltered()},Dn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Dn.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Dn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},Dn.isSet=Kn;var Tn,Mn="@@__IMMUTABLE_SET__@@",In=Dn.prototype;function Bn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Ln(t,e){var n=Object.create(In);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Rn(){return Tn||(Tn=Ln(ie()))}function Nn(t){return null==t?Un():Pn(t)?t:Un().withMutations(function(e){var n=o(t);qt(n.size),n.forEach(function(t){return e.add(t)})})}function Pn(t){return Kn(t)&&l(t)}In[Mn]=!0,In[g]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Gt.withMutations,In.asMutable=Gt.asMutable,In.asImmutable=Gt.asImmutable,In.__empty=Rn,In.__make=Ln,e(Nn,Dn),Nn.of=function(){return this(arguments)},Nn.fromKeys=function(t){return this(r(t).keySeq())},Nn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Nn.isOrderedSet=Pn;var Fn,zn=Nn.prototype;function jn(t,e){var n=Object.create(zn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Un(){return Fn||(Fn=jn(We()))}function qn(t){return null==t?Xn():Hn(t)?t:Xn().unshiftAll(t)}function Hn(t){return!(!t||!t[Vn])}zn[d]=!0,zn.__empty=Un,zn.__make=jn,e(qn,kt),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(t,e){var n=this._head;for(t=A(this,t);n&&t--;)n=n.next;return n?n.value:e},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Gn(t,e)},qn.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;qt(t.size);var e=this.size,n=this._head;
vendor: 8,237 bytes, line 1
1return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Gn(e,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(t){return this.pushAll(t)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Xn()},qn.prototype.slice=function(t,e){if(D(t,e,this.size))return this;var n=K(t,this.size);if(T(e,this.size)!==this.size)return kt.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Gn(r,i)},qn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Gn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},qn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},qn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new F(function(){if(r){var e=r.value;return r=r.next,z(t,n++,e)}return j()})},qn.isStack=Hn;var Wn,Vn="@@__IMMUTABLE_STACK__@@",Jn=qn.prototype;function Gn(t,e,n,r){var i=Object.create(Jn);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Xn(){return Wn||(Wn=Gn(0))}function $n(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}Jn[Vn]=!0,Jn.withMutations=Gt.withMutations,Jn.asMutable=Gt.asMutable,Jn.asImmutable=Gt.asImmutable,Jn.wasAltered=Gt.wasAltered,n.Iterator=F,$n(n,{toArray:function(){qt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new Ge(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new Je(this,!0)},toMap:function(){return Ht(this.toKeyedSeq())},toObject:function(){qt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Ue(this.toKeyedSeq())},toOrderedSet:function(){return Nn(u(this)?this.valueSeq():this)},toSet:function(){return Dn(u(this)?this.valueSeq():this)},toSetSeq:function(){return new Xe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():u(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(u(this)?this.valueSeq():this)},toList:function(){return ke(u(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return gn(this,un(this,t.call(arguments,0)))},includes:function(t){return this.some(function(e){return vt(e,t)})},entries:function(){return this.__iterator(L)},every:function(t,e){qt(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1}),n},filter:function(t,e){return gn(this,tn(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate(function(r,i,o){if(t.call(e,r,i,o))return n=[i,r],!1}),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return qt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){qt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""}),e},keys:function(){return this.__iterator(I)},map:function(t,e){return gn(this,Ze(this,t,e))},reduce:function(t,e,n){var r,i;return qt(this.size),arguments.length<2?i=!0:r=e,this.__iterate(function(e,o,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return gn(this,Qe(this,!0))},slice:function(t,e){return gn(this,rn(this,t,e,!0))},some:function(t,e){return!this.every(er(t),e)},sort:function(t){return gn(this,fn(this,t))},values:function(){return this.__iterator(B)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return C(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return en(this,t,e)},equals:function(t){return mt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(tr).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(er(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(O)},flatMap:function(t,e){return gn(this,cn(this,t,e))},flatten:function(t){return gn(this,sn(this,t,!0))},fromEntrySeq:function(){return new $e(this)},get:function(t,e){return this.find(function(e,n){return vt(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,i=Sn(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return e}return r},groupBy:function(t,e){return nn(this,t,e)},has:function(t){return this.get(t,b)!==b},hasIn:function(t){return this.getIn(t,b)!==b},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Qn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return pn(this,t)},maxBy:function(t,e){return pn(this,e,t)},min:function(t){return pn(this,t?nr(t):or)},minBy:function(t,e){return pn(this,e?nr(e):or,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return gn(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return gn(this,an(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(er(t),e)},sortBy:function(t,e){return gn(this,fn(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return gn(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return gn(this,on(this,t,e))},takeUntil:function(t,e){return this.takeWhile(er(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Yn=n.prototype;Yn[f]=!0,Yn[P]=Yn.values,Yn.__toJS=Yn.toArray,Yn.__toStringMapper=rr,Yn.inspect=Yn.toSource=function(){return this.toString()},Yn.chain=Yn.flatMap,Yn.contains=Yn.includes,function(){try{Object.defineProperty(Yn,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),$n(r,{flip:function(){return gn(this,Ye(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey(function(e){return vt(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return vt(e,t)})},mapEntries:function(t,e){var n=this,r=0;return gn(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return gn(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var Zn=r.prototype;function Qn(t,e){return e}function tr(t,e){return[e,t]}function er(t){return function(){return!t.apply(this,arguments)}}function nr(t){return function(){return-t.apply(this,arguments)}}function rr(t){return"string"==typeof t?JSON.stringify(t):t}function ir(){return E(arguments)}function or(t,e){return t<e?1:t>e?-1:0}function ar(t){if(t.size===1/0)return 0;
vendor: 20,247 bytes, line 1
1var e=l(t),n=u(t),r=e?1:0;return ur(t.__iterate(n?e?function(t,e){r=31*r+sr(Ot(t),Ot(e))|0}:function(t,e){r=r+sr(Ot(t),Ot(e))|0}:e?function(t){r=31*r+Ot(t)|0}:function(t){r=r+Ot(t)|0}),r)}function ur(t,e){return e=Ct(e,3432918353),e=Ct(e<<15|e>>>-15,461845907),e=Ct(e<<13|e>>>-13,5),e=Ct((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=At((e=Ct(e^e>>>13,3266489909))^e>>>16)}function sr(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Zn[p]=!0,Zn[P]=Yn.entries,Zn.__toJS=Yn.toObject,Zn.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+rr(t)},$n(i,{toKeyedSeq:function(){return new Je(this,!1)},filter:function(t,e){return gn(this,tn(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return gn(this,Qe(this,!1))},slice:function(t,e){return gn(this,rn(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=K(t,t<0?this.count():this.size);var r=this.slice(0,t);return gn(this,1===n?r:r.concat(E(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return gn(this,sn(this,t,!1))},get:function(t,e){return(t=A(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=A(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return gn(this,ln(this,t))},interleave:function(){var t=[this].concat(E(arguments)),e=dn(this.toSeq(),X.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return gn(this,an(this,t,e,!1))},zip:function(){return gn(this,dn(this,ir,[this].concat(E(arguments))))},zipWith:function(t){var e=E(arguments);return e[0]=this,gn(this,dn(this,t,e))}}),i.prototype[h]=!0,i.prototype[d]=!0,$n(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Yn.includes,$n(G,r.prototype),$n(X,i.prototype),$n($,o.prototype),$n(xt,r.prototype),$n(kt,i.prototype),$n(Et,o.prototype),{Iterable:n,Seq:J,Collection:St,Map:Ht,OrderedMap:Ue,List:ke,Stack:qn,Set:Dn,OrderedSet:Nn,Record:xn,Range:wt,Repeat:bt,is:vt,fromJS:ht}}()},45825:function(t,e,n){"use strict";var r=n(83917),i=n(59267),o=n(26211),a=n(53743),u=n(52411),s=n(49455),c=n(19709),l=n(28256),f=n(36926),p=n(30891),h=n(73021);function d(t,e,n){var r=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return s.push(t,r.set("entityMap",n),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var n=new o(e.clipboardData);if(!n.isRichText()){var g=n.getFiles(),y=n.getText();if(g.length>0){if(t.props.handlePastedFiles&&p(t.props.handlePastedFiles(g)))return;return void f(g,function(e){if(e=e||y){var n=t._latestEditorState,o=h(e),f=i.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),p=c.getCurrentBlockType(n),d=u.processText(o,f,p),g=r.createFromArray(d),v=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);t.update(s.push(n,v,"insert-fragment"))}})}}var v=[],m=n.getText(),b=n.getHTML(),_=t._latestEditorState;if(t.props.formatPastedText){var w=t.props.formatPastedText(m,b);m=w.text,b=w.html}if(!t.props.handlePastedText||!p(t.props.handlePastedText(m,b,_))){if(m&&(v=h(m)),!t.props.stripPastedStyles){var S,x=t.getClipboard();if(!t.props.formatPastedText&&n.isRichText()&&x){if(-1!==(null===(S=b)||void 0===S?void 0:S.indexOf(t.getEditorKey()))||1===v.length&&1===x.size&&x.first().getText()===m)return void t.update(d(t._latestEditorState,x))}else if(x&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every(function(e,n){return e.getText()===t[n]})}(v,x))return void t.update(d(t._latestEditorState,x));if(b){var k=u.processHTML(b,t.props.blockRenderMap);if(k){var E=k.contentBlocks,C=k.entityMap;if(E){var A=r.createFromArray(E);return void t.update(d(t._latestEditorState,A,C))}}}t.setClipboard(null)}if(v.length){var O=i.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),D=c.getCurrentBlockType(_),K=u.processText(v,O,D),T=r.createFromArray(K);t.update(d(t._latestEditorState,T))}}}},47188:function(t){"use strict";var e={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=e},47323:function(t){"use strict";var e=Object.prototype.hasOwnProperty;t.exports=function(t,n,r){if(!t)return null;var i={};for(var o in t)e.call(t,o)&&(i[o]=n.call(r,t[o],o,t));return i}},47452:function(t){"use strict";t.exports="\t\n\v\f\r  áââââââ
ââââââ¯âã\u2028\u2029\ufeff"},49185:function(t,e,n){"use strict";var r=n(61086),i=n(63121),o=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return o&&t.altKey},usesMacOSHeuristics:function(){return o},hasCommandModifier:function(t){return o?!!t.metaKey&&!t.altKey:a.isCtrlKeyCommand(t)},isSoftNewlineEvent:i};t.exports=a},49455:function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){i(t,e,n[e])})}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(24468),a=n(51559),u=n(60735),s=n(5558),c=n(45817),l=c.OrderedSet,f=c.Record,p=c.Stack,h=c.OrderedMap,d=c.List,g=f({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()}),y=function(){e.createEmpty=function(t){return this.createWithText("",t)},e.createWithText=function(t,n){return e.createWithContent(a.createFromText(t),n)},e.createWithContent=function(t,n){if(0===t.getBlockMap().count())return e.createEmpty(n);var r=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:p(),redoStack:p(),decorator:n||null,selection:s.createEmpty(r)})},e.create=function(t){var n=t.currentContent,i=r({},t,{treeMap:m(n,t.decorator),directionMap:u.getDirectionMap(n)});return new e(new g(i))},e.fromJS=function(t){return new e(new g(r({},t,{directionMap:null!=t.directionMap?h(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?l(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?a.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?p(t.redoStack.map(function(t){return a.fromJS(t)})):t.redoStack,selection:null!=t.selection?new s(t.selection):t.selection,treeMap:null!=t.treeMap?h(t.treeMap).map(function(t){return d(t).map(function(t){return o.fromJS(t)})}):t.treeMap,undoStack:null!=t.undoStack?p(t.undoStack.map(function(t){return a.fromJS(t)})):t.undoStack,currentContent:a.fromJS(t.currentContent)})))},e.set=function(t,n){return new e(t.getImmutable().withMutations(function(e){var r=e.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var a=n.currentContent||t.getCurrentContent();if(i!==r){var u,s=e.get("treeMap");return u=i&&r?function(t,e,n,r,i){return n.merge(e.toSeq().filter(function(e){return r.getDecorations(e,t)!==i.getDecorations(e,t)}).map(function(e){return o.generate(t,e,r)}))}(a,a.getBlockMap(),s,i,r):m(a,i),void e.merge({decorator:i,treeMap:u,nativelyRenderedContent:null})}a!==t.getCurrentContent()&&e.set("treeMap",function(t,e,n,r){var i=t.getCurrentContent().set("entityMap",n),a=i.getBlockMap(),u=t.getImmutable().get("treeMap");return u.merge(e.toSeq().filter(function(t,e){return t!==a.get(e)}).map(function(t){return o.generate(i,t,r)}))}(t,a.getBlockMap(),a.getEntityMap(),i)),e.merge(n)}))};var t=e.prototype;function e(t){i(this,"_immutable",void 0),this._immutable=t}return t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},t.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),i=t.getBlockForKey(n);if(r>0)return i.getInlineStyleAt(r-1);if(i.getLength())return i.getInlineStyleAt(0);return b(t,n)}(e,n):function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),i=t.getBlockForKey(n);if(r<i.getLength())return i.getInlineStyleAt(r);if(r>0)return i.getInlineStyleAt(r-1);return b(t,n)}(e,n)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return v(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),v(t,e,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return e.acceptSelection(t,new s({anchorKey:r,anchorOffset:i,focusKey:r,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){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===n)return t;var o=u.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=t.getSelection(),s=t.getCurrentContent(),c=t.getUndoStack(),l=n;a!==s.getSelectionAfter()||function(t,e){var n=t.getLastChangeType();return e!==n||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}(t,r)?(c=c.push(s),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",s.getSelectionBefore()));var f=t.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(f=null);var h={currentContent:l,directionMap:o,undoStack:c,redoStack:p(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,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 i=t.getCurrentContent(),o=u.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:o,undoStack:n.shift(),redoStack:t.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var i=t.getCurrentContent(),o=u.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:o,undoStack:t.getUndoStack().push(i),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function v(t,e,n){return y.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function m(t,e){return t.getBlockMap().map(function(n){return o.generate(t,n,e)}).toOrderedMap()}function b(t,e){var n=t.getBlockMap().reverse().skipUntil(function(t,n){return n===e}).skip(1).skipUntil(function(t,e){return t.getLength()}).first();return n?n.getInlineStyleAt(n.getLength()-1):l()}t.exports=y},49698:function(t){var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},50534:function(t,e,n){"use strict";var r=n(39822),i="LTR",o=null;function a(t){return t===i||"RTL"===t}function u(t){return a(t)||r(!1),t===i?"ltr":"rtl"}function s(t){o=t}var c={NEUTRAL:"NEUTRAL",LTR:i,RTL:"RTL",isStrong:a,getHTMLDir:u,getHTMLDirIfDifferent:function(t,e){return a(t)||r(!1),a(e)||r(!1),t===e?null:u(t)},setGlobalDir:s,initGlobalDir:function(){s(i)},getGlobalDir:function(){return o||this.initGlobalDir(),o||r(!1),o}};t.exports=c},51295:function(t){"use strict";t.exports=function(t,e,n,r){var i=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),u=a.toSeq().skipUntil(function(t,e){return e===i}).takeUntil(function(t,e){return e===o}).concat([[o,a.get(o)]]).map(function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)});return a=a.merge(u),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},51559:function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){i(t,e,n[e])})}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(83917),a=n(59267),u=n(23663),s=n(79347),c=n(1957),l=n(5558),f=n(79014),p=n(28628),h=n(44631),d=n(45817),g=n(62380),y=d.List,v=d.Record,m=d.Repeat,b=d.Map,_=d.OrderedMap,w=v({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),S=h("draft_tree_data_support")?s:u,x=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=i.prototype;return u.getEntityMap=function(){return c},u.getBlockMap=function(){return this.get("blockMap")},u.getSelectionBefore=function(){return this.get("selectionBefore")},u.getSelectionAfter=function(){return this.get("selectionAfter")},u.getBlockForKey=function(t){return this.getBlockMap().get(t)},u.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},u.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},u.getBlockAfter=function(t){return this.getBlockMap().skipUntil(function(e,n){return n===t}).skip(1).first()},u.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil(function(e,n){return n===t}).skip(1).first()},u.getBlocksAsArray=function(){return this.getBlockMap().toArray()},u.getFirstBlock=function(){return this.getBlockMap().first()},u.getLastBlock=function(){return this.getBlockMap().last()},u.getPlainText=function(t){return this.getBlockMap().map(function(t){return t?t.getText():""}).join(t||"\n")},u.getLastCreatedEntityKey=function(){return c.__getLastCreatedEntityKey()},u.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},u.createEntity=function(t,e,n){return c.__create(t,e,n),this},u.mergeEntityData=function(t,e){return c.__mergeData(t,e),this},u.replaceEntityData=function(t,e){return c.__replaceData(t,e),this},u.addEntity=function(t){return c.__add(t),this},u.getEntity=function(t){return c.__get(t)},u.getAllEntities=function(){return c.__getAll()},u.loadWithEntities=function(t){return c.__loadWithEntities(t)},i.createFromBlockArray=function(t,e){var n=Array.isArray(t)?t:t.contentBlocks,r=o.createFromArray(n),a=r.isEmpty()?new l:l.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:e||c,selectionBefore:a,selectionAfter:a})},i.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=t.split(e).map(function(t){return t=g(t),new S({key:f(),text:t,type:"unstyled",characterList:y(m(a.EMPTY,t.length))})});return i.createFromBlockArray(n)},i.fromJS=function(t){return new i(r({},t,{blockMap:_(t.blockMap).map(i.createContentBlockFromJS),selectionBefore:new l(t.selectionBefore),selectionAfter:new l(t.selectionAfter)}))},i.createContentBlockFromJS=function(t){var e=t.characterList;return new S(r({},t,{data:b(t.data),characterList:null!=e?y((Array.isArray(e)?e:p(e)).map(function(t){return a.fromJS(t)})):void 0}))},i}(w);t.exports=x},52411:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(23663),o=n(79347),a=n(21831),u=n(79014),s=n(30201),c=n(44631),l=n(45817),f=n(62380),p=l.List,h=l.Repeat,d=c("draft_tree_data_support"),g=d?o:i,y={processHTML:function(t,e){return a(t,s,e)},processText:function(t,e,n){return t.reduce(function(t,i,o){i=f(i);var a=u(),s={key:a,type:n,text:i,characterList:p(h(e,i.length))};if(d&&0!==o){var c=o-1;s=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){r(t,e,n[e])})}return t}({},s,{prevSibling:(t[c]=t[c].merge({nextSibling:a})).getKey()})}return t.push(new g(s)),t},[])}};t.exports=y},52497:function(t,e,n){"use strict";var r=n(2878),i=n(77113),o=n(61086),a=n(65301),u=n(52966),s=n(81914),c=n(39822),l=n(92237),f=o.isBrowser("IE");function p(t,e){if(!t)return"[empty]";var n=h(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(l(n)||c(!1),n.outerHTML)}function h(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var r=t.textContent.length;return s(t).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=t.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var o=t.childNodes,a=0;a<o.length;a++)i.appendChild(h(o[a],e));return i}function d(t,e){for(var n=t,r=n;n;){if(l(n)&&r.hasAttribute("contenteditable"))return p(n,e);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function g(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function y(t,e,n,r){var o=u();if(t.extend&&null!=e&&a(o,e)){n>g(e)&&i.logSelectionStateFailure({anonymizedDom:d(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var s=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,n)}catch(l){throw i.logSelectionStateFailure({anonymizedDom:d(e,function(e){var n=[];return e===o&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n}),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:s,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focu
1sNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:l?""+l:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),l}}else if(e&&t.rangeCount>0){var c=t.getRangeAt(0);c.setEnd(e,n),t.addRange(c.cloneRange())}}function v(t,e,n,o){var a=s(e).createRange();if(n>g(e)&&(i.logSelectionStateFailure({anonymizedDom:d(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(o.toJS())}),r.handleExtensionCausedError()),a.setStart(e,n),f)try{t.addRange(a)}catch(u){0}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,n,r,i){var o=s(e);if(a(o.documentElement,e)){var u=o.defaultView.getSelection(),c=t.getAnchorKey(),l=t.getAnchorOffset(),f=t.getFocusKey(),p=t.getFocusOffset(),h=t.getIsBackward();if(!u.extend&&h){var d=c,g=l;c=f,l=p,f=d,p=g,h=!1}var m=c===n&&r<=l&&i>=l,b=f===n&&r<=p&&i>=p;if(m&&b)return u.removeAllRanges(),v(u,e,l-r,t),void y(u,e,p-r,t);if(h){if(b&&(u.removeAllRanges(),v(u,e,p-r,t)),m){var _=u.focusNode,w=u.focusOffset;u.removeAllRanges(),v(u,e,l-r,t),y(u,_,w,t)}}else m&&(u.removeAllRanges(),v(u,e,l-r,t)),b&&y(u,e,p-r,t)}},addFocusToSelection:y}},52966:function(t){"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},53266:function(t,e,n){"use strict";var r=n(92237);t.exports=function(t){return!(!t||!t.ownerDocument)&&(r(t)&&"BR"===t.nodeName)}},53487:function(t,e,n){"use strict";var r=n(43802).start,i=n(60706);t.exports=i("trimStart")?function(){return r(this)}:"".trimStart},53743:function(t,e,n){"use strict";var r=n(59267),i=n(17937),o=n(25293),a=n(76944),u=n(93443),s=n(45817),c=n(39492),l=n(78355),f=n(39822),p=n(9377),h=n(37101),d=n(11522),g=n(30289),y=s.OrderedSet,v={replaceText:function(t,e,n,i,o){var a=h(t,e),u=d(a,e),s=r.create({style:i||y(),entity:o||null});return l(u,u.getSelectionAfter(),n,s)},insertText:function(t,e,n,r,i){return e.isCollapsed()||f(!1),v.replaceText(t,e,n,r,i)},moveText:function(t,e,n){var r=u(t,e),i=v.removeRange(t,e,"backward");return v.replaceWithFragment(i,n,r)},replaceWithFragment:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=h(t,e),o=d(i,e);return c(o,o.getSelectionAfter(),n,r)},removeRange:function(t,e,n){var r,i,o,u;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),i=e.getFocusKey(),o=t.getBlockForKey(r),u=t.getBlockForKey(i);var s=e.getStartOffset(),c=e.getEndOffset(),l=o.getEntityAt(s),f=u.getEntityAt(c-1);if(r===i&&l&&l===f){var p=a(t.getEntityMap(),o,u,e,n);return d(t,p)}var g=h(t,e);return d(g,e)},splitBlock:function(t,e){var n=h(t,e),r=d(n,e);return g(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return i.add(t,e,n)},removeInlineStyle:function(t,e,n){return i.remove(t,e,n)},setBlockType:function(t,e,n){return p(t,e,function(t){return t.merge({type:n,depth:0})})},setBlockData:function(t,e,n){return p(t,e,function(t){return t.merge({data:n})})},mergeBlockData:function(t,e,n){return p(t,e,function(t){return t.merge({data:t.getData().merge(n)})})},applyEntity:function(t,e,n){var r=h(t,e);return o(r,e,n)}};t.exports=v},53878:function(t,e,n){"use strict";var r=n(92237);t.exports=function t(e){if(r(e)){var n=e,i=n.getAttribute("data-offset-key");if(i)return i;for(var o=0;o<n.childNodes.length;o++){var a=t(n.childNodes[o]);if(a)return a}}return null}},54857:function(t,e,n){"use strict";var r=n(49455),i=n(65301),o=n(52966);t.exports=function(t,e){var n=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&o(n)===n.body){var a=n.defaultView.getSelection(),u=t.editor;1===a.rangeCount&&i(u,a.anchorNode)&&i(u,a.focusNode)&&a.removeAllRanges()}var s=t._latestEditorState,c=s.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(r.acceptSelection(s,l))}}},55927:function(t,e,n){"use strict";n.d(e,{A:function(){return _}});var r=n(75276),i=n(55268),o=n(96540),a=n(58168),u=n(98587),s=n(40332),c=n.n(s),l=n(80240),f=n(75254),p=["bsPrefix","active","children","className","as","linkAs","linkProps","href","title","target"],h=o.forwardRef(function(t,e){var n=t.bsPrefix,r=t.active,i=t.children,s=t.className,h=t.as,d=void 0===h?"li":h,g=t.linkAs,y=void 0===g?f.A:g,v=t.linkProps,m=t.href,b=t.title,_=t.target,w=(0,u.A)(t,p),S=(0,l.oU)(n,"breadcrumb-item");return o.createElement(d,(0,a.A)({ref:e},w,{className:c()(S,s,{active:r}),"aria-current":r?"page":void 0}),r?i:o.createElement(y,(0,a.A)({},v,{href:m,title:b,target:_}),i))});h.displayName="BreadcrumbItem",h.defaultProps={active:!1,linkProps:{}};var d=h,g=["bsPrefix","className","listProps","children","label","as"],y=o.forwardRef(function(t,e){var n=t.bsPrefix,r=t.className,i=t.listProps,s=t.children,f=t.label,p=t.as,h=void 0===p?"nav":p,d=(0,u.A)(t,g),y=(0,l.oU)(n,"breadcrumb");return o.createElement(h,(0,a.A)({"aria-label":f,className:r,ref:e},d),o.createElement("ol",(0,a.A)({},i,{className:c()(y,null==i?void 0:i.className)}),s))});y.displayName="Breadcrumb",y.defaultProps={label:"breadcrumb",listProps:{}},y.Item=d;var v,m=y,b=(0,n(83498).Ay)(m)(v||(v=(0,r.A)(["\n font-family: Open Sans;\n font-style: normal;\n font-weight: normal;\n font-size: 16px;\n line-height: 19px;\n color: ",";\n & .breadcrumb {\n background: none;\n margin: 0;\n padding: 0;\n flex-wrap: nowrap;\n width: 100%;\n overflow: hidden;\n white-space: nowrap;\n }\n & .breadcrumb-item.active {\n overflow: hidden;\n text-overflow: ellipsis;\n color: ",";\n }\n display: flex;\n"])),function(t){return t.theme.colors.secondary},function(t){return t.theme.colors.secondary}),_=function(t){var e=t.className,n=t.items,r=t.activeItem.text;return o.createElement(b,{className:e},n.map(function(t){return o.createElement(m.Item,{linkAs:i.Link,linkProps:{to:t.link},key:t.text},t.text)}),o.createElement(m.Item,{active:!0},r))}},56306:function(t,e,n){"use strict";
1var r=n(49455),i=n(76876),o=n(98275),a=n(22155);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),u=n.getBlockForKey(r).getText()[a];return o(t,u?i.getUTF16Length(u,0):1)},"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},58193:function(t,e,n){"use strict";var r=n(39822),i=/\./,o=/\|\|/,a=/\s+\-\s+/,u=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,s=/^(\d*)(.*)/;function c(t,e){var n=t.split(o);return n.length>1?n.some(function(t){return _.contains(t,e)}):function(t,e){var n=t.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return l(n[0],e);var i=n[0],o=n[1];return g(i)&&g(o)||r(!1),l(">="+i,e)&&l("<="+o,e)}(t=n[0].trim(),e)}function l(t,e){if(""===(t=t.trim()))return!0;var n,r=e.split(i),o=h(t),a=o.modifier,u=o.rangeComponents;switch(a){case"<":return f(r,u);case"<=":return-1===(n=b(r,u))||0===n;case">=":return p(r,u);case">":return function(t,e){return 1===b(t,e)}(r,u);case"~":case"~>":return function(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var i=r.length-1,o=parseInt(r[i],10);d(o)&&(r[i]=o+1+"");return p(t,n)&&f(t,r)}(r,u);default:return function(t,e){return 0===b(t,e)}(r,u)}}function f(t,e){return-1===b(t,e)}function p(t,e){var n=b(t,e);return 1===n||0===n}function h(t){var e=t.split(i),n=e[0].match(u);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function d(t){return!isNaN(t)&&isFinite(t)}function g(t){return!h(t).modifier}function y(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function v(t,e){var n=t.match(s)[1],r=e.match(s)[1],i=parseInt(n,10),o=parseInt(r,10);return d(i)&&d(o)&&i!==o?m(i,o):m(t,e)}function m(t,e){return typeof t!=typeof e&&r(!1),t>e?1:t<e?-1:0}function b(t,e){for(var n=function(t,e){y(t=t.slice(),(e=e.slice()).length);for(var n=0;n<e.length;n++){var r=e[n].match(/^[x*]$/i);if(r&&(e[n]=t[n]="0","*"===r[0]&&n===e.length-1))for(var i=n;i<t.length;i++)t[i]="0"}return y(e,t.length),[t,e]}(t,e),r=n[0],i=n[1],o=0;o<i.length;o++){var a=v(r[o],i[o]);if(a)return a}return 0}var _={contains:function(t,e){return c(t.trim(),e.trim())}};t.exports=_},58398:function(t,e,n){"use strict";n(28845),n(373);var r,i="object"==typeof window&&(window.crypto||window.msCrypto);r=i&&i.getRandomValues?function(t){return i.getRandomValues(new Uint8Array(t))}:function(t){for(var e=[],n=0;n<t;n++)e.push(Math.floor(256*Math.random()));return e},t.exports=r},58934:function(t,e,n){"use strict";var r=n(46518),i=n(53487);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==i},{trimLeft:i})},59267:function(t,e,n){"use strict";var r=n(45817),i=r.Map,o=r.OrderedSet,a=r.Record,u=o(),s={style:u,entity:null},c=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getStyle=function(){return this.get("style")},a.getEntity=function(){return this.get("entity")},a.hasStyle=function(t){return this.getStyle().includes(t)},r.applyStyle=function(t,e){var n=t.set("style",t.getStyle().add(e));return r.create(n)},r.removeStyle=function(t,e){var n=t.set("style",t.getStyle().remove(e));return r.create(n)},r.applyEntity=function(t,e){var n=t.getEntity()===e?t:t.set("entity",e);return r.create(n)},r.create=function(t){if(!t)return l;var e=i({style:u,entity:null}).merge(t),n=f.get(e);if(n)return n;var o=new r(e);return f=f.set(e,o),o},r.fromJS=function(t){var e=t.style,n=t.entity;return new r({style:Array.isArray(e)?o(e):e,entity:Array.isArray(n)?o(n):n})},r}(a(s)),l=new c,f=i([[i(s),l]]);c.EMPTY=l,t.exports=c},60706:function(t,e,n){"use strict";var r=n(10350).PROPER,i=n(79039),o=n(47452);t.exports=function(t){return i(function(){return!!o[t]()||"âÂ
á "!=="âÂ
á "[t]()||r&&o[t].name!==t})}},60735:function(t,e,n){"use strict";var r,i=n(11764),o=n(45817),a=n(8752),u=o.OrderedMap,s={getDirectionMap:function(t,e){r?r.reset():r=new i;var n=t.getBlockMap(),s=n.valueSeq().map(function(t){return a(r).getDirection(t.getText())}),c=u(n.keySeq().zip(s));return null!=e&&o.is(e,c)?e:c}};t.exports=s},60866:function(t){"use strict";
1t.exports=function(t,e,n,r){if(t.size){var i=0;t.reduce(function(t,o,a){return e(t,o)||(n(t)&&r(i,a),i=a),o}),n(t.last())&&r(i,t.count())}}},61074:function(t){t.exports=function(t){return t.split("")}},61086:function(t,e,n){"use strict";var r=n(24206),i=n(58193),o=n(47323),a=n(61169);function u(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var o=n.slice(t.length);return!!e&&(o=r?r(o):o,i.contains(o,e))}function s(t){return"Windows"===r.platformName?t.replace(/^\s*NT/,""):t}var c={isBrowser:function(t){return u(r.browserName,r.browserFullVersion,t)},isBrowserArchitecture:function(t){return u(r.browserArchitecture,null,t)},isDevice:function(t){return u(r.deviceName,null,t)},isEngine:function(t){return u(r.engineName,r.engineVersion,t)},isPlatform:function(t){return u(r.platformName,r.platformFullVersion,t,s)},isPlatformArchitecture:function(t){return u(r.platformArchitecture,null,t)}};t.exports=o(c,a)},61169:function(t){"use strict";t.exports=function(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}},62276:function(t,e,n){"use strict";var r,i,o,a=n(67095),u="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function s(){o=!1}function c(t){if(t){if(t!==r){if(64!==t.length)throw new Error("Custom alphabet for shortid must be 64 unique characters. You submitted "+t.length+" characters: "+t);var e=t.split("").filter(function(t,e,n){return e!==n.lastIndexOf(t)});if(e.length)throw new Error("Custom alphabet for shortid must be 64 unique characters. These characters were not unique: "+e.join(", "));r=t,s()}}else r!==u&&(r=u,s())}function l(){return o||(o=function(){r||c(u);for(var t,e=r.split(""),n=[],i=a.nextValue();e.length>0;)i=a.nextValue(),t=Math.floor(i*e.length),n.push(e.splice(t,1)[0]);return n.join("")}())}t.exports={get:function(){return r||u},characters:function(t){return c(t),r},seed:function(t){a.seed(t),i!==t&&(s(),i=t)},lookup:function(t){return l()[t]},shuffled:l}},62380:function(t){"use strict";var e=new RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},63121:function(t,e,n){"use strict";var r=n(63716);t.exports=function(t){return t.which===r.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}},63448:function(t,e,n){!function(t){"use strict";if(!t.setImmediate){var e,n,r,i,o,a=1,u={},s=!1,c=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?e=function(t){process.nextTick(function(){p(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((r=new MessageChannel).port1.onmessage=function(t){p(t.data)},e=function(t){r.port2.postMessage(t)}):c&&"onreadystatechange"in c.createElement("script")?(n=c.documentElement,e=function(t){var e=c.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,n.removeChild(e),e=null},n.appendChild(e)}):e=function(t){setTimeout(p,0,t)}:(i="setImmediate$"+Math.random()+"$",o=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&p(+e.data.slice(i.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),e=function(e){t.postMessage(i+e,"*")}),l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var n=new Array(arguments.length-1),r=0;r<n.length;r++)n[r]=arguments[r+1];var i={callback:t,args:n};return u[a]=i,e(a),a++},l.clearImmediate=f}function f(t){delete u[t]}function p(t){if(s)setTimeout(p,0,t);else{var e=u[t];if(e){s=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{f(t),s=!1}}}}}("undefined"==typeof self?void 0===n.g?this:n.g:self)},63452:function(t,e,n){"use strict";var r=n(49455),i=n(18834),o=n(70544),a=n(33037),u=n(22155);t.exports=function(t,e){var n=u(t,function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(t,1);var r=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=i(r),o(t,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState},"backward");return n===t.getCurrentContent()?t:r.push(t,n,"remove-range")}},63716:function(t){"use strict";
1t.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}},63912:function(t,e,n){var r=n(61074),i=n(49698),o=n(42054);t.exports=function(t){return i(t)?o(t):r(t)}},65301:function(t,e,n){"use strict";var r=n(68135);t.exports=function t(e,n){return!(!e||!n)&&(e===n||!r(e)&&(r(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}},65421:function(t,e,n){"use strict";var r=n(70544);t.exports=function(t,e){var n=e.ownerDocument.defaultView.getSelection(),i=n.anchorNode,o=n.anchorOffset,a=n.focusNode,u=n.focusOffset;return 0===n.rangeCount||null==i||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(t,e,i,o,a,u)}},65649:function(t,e,n){"use strict";var r=n(39822),i=n(99522);t.exports=function(t){var e=t.editorContainer;return e||r(!1),i(e.firstChild)||r(!1),e.firstChild}},67095:function(t){"use strict";var e=1;t.exports={nextValue:function(){return(e=(9301*e+49297)%233280)/233280},seed:function(t){e=t}}},67629:function(t,e,n){"use strict";n.d(e,{NM:function(){return r}});n(28845),n(373);var r=function(t,e,n){var r=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*r*e/t.length);return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;if(o<=0)return"";for(var a="";;)for(var u=n(i),s=0|i;s--;)if((a+=t[u[s]&r]||"").length===o)return a}}},67663:function(t,e,n){"use strict";var r=n(62276),i=n(3675),o=n(70220),a=n(27330)||0;function u(){return i(a)}t.exports=u,t.exports.generate=u,t.exports.seed=function(e){return r.seed(e),t.exports},t.exports.worker=function(e){return a=e,t.exports},t.exports.characters=function(t){return void 0!==t&&r.characters(t),r.shuffled()},t.exports.isValid=o},68135:function(t,e,n){"use strict";var r=n(11912);t.exports=function(t){return r(t)&&3==t.nodeType}},68504:function(t,e,n){"use strict";var r=n(77113),i=n(49455),o=n(65649),a=n(65421);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var n=t.props.editorState,u=a(n,o(t)),s=u.selectionState;s!==n.getSelection()&&(n=u.needsRecovery?i.forceSelection(n,s):i.acceptSelection(n,s),t.update(n))}}},69051:function(t,e,n){"use strict";var r=n(79347),i=n(79014),o=n(45817).OrderedMap;t.exports=function(t){return t.first()instanceof r?function(t){var e,n={};return o(t.withMutations(function(t){t.forEach(function(r,o){var a=r.getKey(),u=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),c=r.getChildKeys(),l=r.getParentKey(),f=i();if(n[a]=f,u&&(t.get(u)?t.setIn([u,"prevSibling"],f):t.setIn([a,"nextSibling"],null)),s&&(t.get(s)?t.setIn([s,"nextSibling"],f):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var p=t.get(l).getChildKeys();t.setIn([l,"children"],p.set(p.indexOf(r.getKey()),f))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],f),t.setIn([a,"prevSibling"],n[e.getKey()])),e=t.get(a);c.forEach(function(e){t.get(e)?t.setIn([e,"parent"],f):t.setIn([a,"children"],r.getChildKeys().filter(function(t){return t!==e}))})})}).toArray().map(function(t){return[n[t.getKey()],t.set("key",n[t.getKey()])]}))}(t):function(t){return o(t.toArray().map(function(t){var e=i();return[e,t.set("key",e)]}))}(t)}},69222:function(t,e,n){"use strict";var r,i=n(75276),o=n(96540),a=n(96157),u=n(83498),s=n(82357),c=u.Ay.div(r||(r=(0,i.A)([""])));e.A=function(t){return o.createElement(c,null,o.createElement(a.A,{show:t.show,onHide:t.onClose},o.createElement(a.A.Header,null,t.title),o.createElement(a.A.Body,null,t.children),o.createElement(a.A.Footer,null,o.createElement(s.$n,{onClick:t.onConfirm},t.confirmText||"Confirm"),o.createElement(s.$n,{onClick:t.onClose},t.cancelText||"Cancel"))))}},69791:function(t){"use strict";t.exports={getRemovalRange:function(t,e,n,r,i){var o=n.split(" ");
1o=o.map(function(t,e){if("forward"===i){if(e>0)return" "+t}else if(e<o.length-1)return t+" ";return t});for(var a,u=r,s=null,c=null,l=0;l<o.length;l++){if(t<(a=u+o[l].length)&&u<e)null!==s||(s=u),c=a;else if(null!==s)break;u=a}var f=r+n.length,p=s===r,h=c===f;return(!p&&h||p&&!h)&&("forward"===i?c!==f&&c++:s!==r&&s--),{start:s,end:c}}}},69926:function(t,e,n){"use strict";var r=n(49455),i=n(61086);t.exports=function(t,e){var n=t._latestEditorState,o=n.getSelection();if(!o.getHasFocus()){var a=o.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),i.isBrowser("Chrome < 60.0.3081.0")?t.update(r.forceSelection(n,a)):t.update(r.acceptSelection(n,a))}}},70220:function(t,e,n){"use strict";var r=n(62276);t.exports=function(t){return!(!t||"string"!=typeof t||t.length<6)&&!new RegExp("[^"+r.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(t)}},70239:function(t,e,n){"use strict";var r=n(49455);t.exports=function(t){var e=t.getSelection(),n=e.getStartKey();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0}
vendor: 9,208 bytes, line 1
1)}},70544:function(t,e,n){"use strict";var r=n(4785),i=n(53878),o=n(8473),a=n(39822),u=n(92237),s=n(8752);function c(t,e,n){var o=e,c=r(o);(null!=c||t&&(t===o||t.firstChild===o)||a(!1),t===o)&&(o=o.firstChild,u(o)||a(!1),"true"!==(o=o).getAttribute("data-contents")&&a(!1),n>0&&(n=o.childNodes.length));if(0===n){var f=null;if(null!=c)f=c;else{var p=function(t){for(;t.firstChild&&(u(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||i(t.firstChild));)t=t.firstChild;return t}(o);f=s(i(p))}return{key:f,offset:0}}var h=o.childNodes[n-1],d=null,g=null;if(i(h)){var y=function(t){for(;t.lastChild&&(u(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||i(t.lastChild));)t=t.lastChild;return t}(h);d=s(i(y)),g=l(y)}else d=s(c),g=l(h);return{key:d,offset:g}}function l(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,n,i,a,u){var l=n.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:o(t,s(r(n)),i,s(r(a)),u),needsRecovery:!1};var p=null,h=null,d=!0;return l?(p={key:s(r(n)),offset:i},h=c(e,a,u)):f?(h={key:s(r(a)),offset:u},p=c(e,n,i)):(p=c(e,n,i),h=c(e,a,u),n===a&&i===u&&(d=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:o(t,p.key,p.offset,h.key,h.offset),needsRecovery:d}}},71467:function(t){"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},73021:function(t){"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},73995:function(t){"use strict";function e(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).map(e).join(" "):Array.prototype.map.call(arguments,e).join(" ")}},74472:function(t,e,n){"use strict";var r=n(1928),i=n(11754);t.exports=function(t){var e=r(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=i(t),o=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-o.clientWidth,u=t.scrollHeight-o.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,u)),n}},74678:function(t){"use strict";t.exports=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}},75443:function(t){"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},75595:function(t,e,n){"use strict";var r=n(52483);function i(){return i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}var o=n(34486),a=n(89354),u=n(96540),s=n(17489),c=n(15311),l=n(31163),f=n(50534),p=n(73995),h=n(98375),d=n(74472),g=n(4273),y=n(39822),v=n(99522),m=n(8752),b=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},_=function(t){var e,n;function r(){for(var e,n,r,i,o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return e=t.call.apply(t,[this].concat(a))||this,n=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e),i=void 0,(r="_node")in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var _=r.prototype;return _.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||b(t.selection,t.block.getKey())&&t.forceSelection},_.componentDidMount=function(){if(!this.props.preventScroll){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this._node;if(null!=n){var r,i=c.getScrollParent(n),o=d(i);if(i===window){var a=h(n);(r=a.y+a.height-g().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{v(n)||y(!1),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&s.setTop(i,s.getTop(i)+r+10)}}}}},_._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),s=this.props.tree.size-1,c=b(this.props.selection,n);return this.props.tree.map(function(p,h){var d=p.get("leaves");if(0===d.size)return null;var g=d.size-1,y=d.map(function(i,l){var f=a.encode(n,h,l),p=i.get("start"),d=i.get("end");return u.createElement(o,{key:f,offsetKey:f,block:e,start:p,selection:c?t.props.selection:null,forceSelection:t.props.forceSelection,text:r.slice(p,d),styleSet:e.getInlineStyleAt(p),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:h===s&&l===g})}).toArray(),v=p.get("decoratorKey");if(null==v)return y;if(!t.props.decorator)return y;var b=m(t.props.decorator),_=b.getComponentForKey(v);if(!_)return y;var w=b.getPropsForKey(v),S=a.encode(n,h,0),x=d.first().get("start"),k=d.last().get("end"),E=r.slice(x,k),C=e.getEntityAt(p.get("start")),A=f.getHTMLDirIfDifferent(l.getDirection(E),t.props.direction),O={contentState:t.props.contentState,decoratedText:E,dir:A,start:x,end:k,blockKey:n,entityKey:C,offsetKey:S};return u.createElement(_,i({},w,O,{key:S}),y)}).toArray()},_.render=function(){var t=this,e=this.props,n=e.direction,r=e.offsetKey,i=p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return u.createElement("div",{"data-offset-key":r,className:i,ref:function(e){return t._node=e}},this._renderChildren())},r}(u.Component);t.exports=_},76876:function(t,e,n){"use strict";var r=n(39822),i=/[\uD800-\uDFFF]/;function o(t){return 55296<=t&&t<=57343}function a(t){return i.test(t)}function u(t,e){return 1+o(t.charCodeAt(e))}function s(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!a(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var i=0;if(e>0){for(;e>0&&i<r;e--)i+=u(t,i);if(i>=r)return""}else if(e<0){for(i=r;e<0&&0<i;e++)i-=u(t,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=u(t,o);return t.substring(i,o)}var c={getCodePoints:function(t){for(var e=[],n=0;n<t.length;n+=u(t,n))e.push(t.codePointAt(n));return e},getUTF16Length:u,hasSurrogateUnit:a,isCodeUnitInSurrogateRange:o,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||r(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),i=t.charCodeAt(e+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(t){if(!a(t))return t.length;for(var e=0,n=0;n<t.length;n+=u(t,n))e++;return e},substring:function(t,e,n){(e=e||0)<0&&(e=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-e);return s(t,e=e<n?e:n,r)},substr:s};t.exports=c},76890:function(t,e,n){"use strict";var r=n(53743),i=n(89354),o=n(49455),a=n(61086),u=n(8634).notEmptyKey,s=n(4785),c=n(32862),l=n(8752),f=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,p=n.isCollapsed,h=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!h){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var d=a.parentNode;if(null==d)return;a.nodeValue=d.textContent;for(var g=d.firstChild;null!=g;g=g.nextSibling)g!==a&&d.removeChild(g)}var y=a.textContent,v=t._latestEditorState,m=l(s(a)),b=i.decode(m),_=b.blockKey,w=b.decoratorKey,S=b.leafKey,x=v.getBlockTree(_).getIn([w,"leaves",S]),k=x.start,E=x.end,C=v.getCurrentContent(),A=C.getBlockForKey(_),O=A.getText().slice(k,E);if(y.endsWith("\n\n")&&(y=y.slice(0,-1)),y!==O){var D,K,T,M,I=v.getSelection(),B=I.merge({anchorOffset:k,focusOffset:E,isBackward:!1}),L=A.getEntityAt(k),R=u(L)?C.getEntity(L):null,N="MUTABLE"===(null!=R?R.getMutability():null),P=N?"spellcheck-change":"apply-entity",F=r.replaceText(C,B,y,A.getInlineStyleAt(k),N?A.getEntityAt(k):null);if(f)D=n.anchorOffset,K=n.focusOffset,M=(T=k+Math.min(D,K))+Math.abs(D-K),D=T,K=M;else{var z=y.length-O.length;T=I.getStartOffset(),M=I.getEndOffset(),D=p?M+z:T,K=M+z}var j=F.merge({selectionBefore:C.getSelectionAfter(),selectionAfter:I.merge({anchorOffset:D,focusOffset:K})});t.update(o.push(v,j,P))}else{var U=e.nativeEvent.inputType;if(U){var q=function(t,e){return"deleteContentBackward"===t?c(e):e}(U,v);if(q!==v)return t.restoreEditorDOM(),void t.update(q)}}}}},76944:function(t,e,n){"use strict";var r=n(69791),i=n(21230),o=n(39822);function a(t,e,n,a,u,s,c){var l=n.getStartOffset(),f=n.getEndOffset(),p=t.__get(u).getMutability(),h=c?l:f;if("MUTABLE"===p)return n;var d=i(e,u).filter(function(t){return h<=t.end&&h>=t.start});1!=d.length&&o(!1);var g=d[0];if("IMMUTABLE"===p)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});s||(c?f=g.end:l=g.start);var y=r.getRemovalRange(l,f,e.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}t.exports=function(t,e,n,r,i){var o=r.getStartOffset(),u=r.getEndOffset(),s=e.getEntityAt(o),c=n.getEntityAt(u-1);if(!s&&!c)return r;var l=r;if(s&&s===c)l=a(t,e,l,i,s,!0,!0);
1else if(s&&c){var f=a(t,e,l,i,s,!1,!0),p=a(t,n,l,i,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(s){var h=a(t,e,l,i,s,!1,!0);l=l.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(c){var d=a(t,n,l,i,c,!1,!1);l=l.merge({focusOffset:d.getEndOffset(),isBackward:!1})}return l}},76959:function(t){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}},77113:function(t){"use strict";t.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},77359:function(t,e,n){"use strict";var r=n(96540),i=n(73995),o=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},a.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=i({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/has
1Focus":t});return r.createElement("div",{className:e},r.createElement("div",{className:i("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},o}(r.Component);t.exports=o},78355:function(t,e,n){"use strict";var r=n(45817),i=n(3634),o=n(39822),a=r.Repeat;t.exports=function(t,e,n,r){e.isCollapsed()||o(!1);var u=null;if(null!=n&&(u=n.length),null==u||0===u)return t;var s=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),f=s.get(c),p=f.getText(),h=f.merge({text:p.slice(0,l)+n+p.slice(l,f.getLength()),characterList:i(f.getCharacterList(),a(r,u).toList(),l)}),d=l+u;return t.merge({blockMap:s.set(c,h),selectionAfter:e.merge({anchorOffset:d,focusOffset:d})})}},79014:function(t){"use strict";var e={},n=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||e.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*n).toString(32);return e[t]=!0,t}},79347:function(t,e,n){"use strict";var r=n(59267),i=n(60866),o=n(45817),a=o.List,u=o.Map,s=o.OrderedSet,c=o.Record,l=o.Repeat,f=s(),p={parent:null,characterList:a(),data:u(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},h=function(t,e){return t.getStyle()===e.getStyle()},d=function(t,e){return t.getEntity()===e.getEntity()},g=function(t){var e,n;function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return t.call(this,function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t}(e))||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=o.prototype;return u.getKey=function(){return this.get("key")},u.getType=function(){return this.get("type")},u.getText=function(){return this.get("text")},u.getCharacterList=function(){return this.get("characterList")},u.getLength=function(){return this.getText().length},u.getDepth=function(){return this.get("depth")},u.getData=function(){return this.get("data")},u.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},u.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},u.getChildKeys=function(){return this.get("children")},u.getParentKey=function(){return this.get("parent")},u.getPrevSiblingKey=function(){return this.get("prevSibling")},u.getNextSiblingKey=function(){return this.get("nextSibling")},u.findStyleRanges=function(t,e){i(this.getCharacterList(),h,t,e)},u.findEntityRanges=function(t,e){i(this.getCharacterList(),d,t,e)},o}(c(p));t.exports=g},79754:function(t,e,n){"use strict";var r=n(49455);t.exports=function(t,e){t.setMode("composite"),t.update(r.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},80654:function(t,e,n){"use strict";var r=n(18229),i=n(49455),o=n(98275),a=n(22155);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=e.getStartOffset(),i=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(i).getText().slice(n),u=r.getForward(a);return o(t,u.length||1)},"forward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},80960:function(t){"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},81174:function(t,e,n){"use strict";var r=n(53743),i=n(49455),o=n(93443);t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var a,u,s=e.getAnchorKey(),c=t.getCurrentContent(),l=c.getBlockForKey(s).getLength();if(l<=1)return t;n===l?(a=e.set("anchorOffset",n-1),u=e):u=(a=e.set("focusOffset",n+1)).set("anchorOffset",n+1);var f=o(c,a),p=r.removeRange(c,a,"backward"),h=p.getSelectionAfter(),d=h.getAnchorOffset()-1,g=h.merge({anchorOffset:d,focusOffset:d}),y=r.replaceWithFragment(p,g,f),v=i.push(t,y,"insert-fragment");return i.acceptSelection(v,u)}},81912:function(t,e,n){"use strict";var r=n(49455);t.exports=function(t){var e=t.getSelection(),n=e.getEndKey(),i=t.getCurrentContent().getBlockForKey(n).getLength();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0}
1)}},81914:function(t){"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},82663:function(t,e,n){"use strict";var r=n(61086),i=n(34127),o=n(54857),a=n(79754),u=n(24114),s=n(93874),c=n(4848),l=n(80960),f=n(69926),p=n(76890),h=n(25413),d=n(45825),g=n(68504),y=r.isBrowser("Chrome"),v=r.isBrowser("Firefox"),m=y||v?g:function(t){},b={onBeforeInput:i,onBlur:o,onCompositionStart:a,onCopy:u,onCut:s,onDragOver:c,onDragStart:l,onFocus:f,onInput:p,onKeyDown:h,onPaste:d,onSelect:g,onMouseUp:m,onKeyUp:m};t.exports=b},83917:function(t,e,n){"use strict";var r=n(45817).OrderedMap,i={createFromArray:function(t){return r(t.map(function(t){return[t.getKey(),t]}))}};t.exports=i},85463:function(t){t.exports=function(t){return t!=t}},86529:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(96540),a=n(61086),u=n(39822),s=n(92237),c=a.isBrowser("IE <= 11");var l=function(t){var e,n;function a(e){var n;return i(r(n=t.call(this,e)||this),"_forceFlag",void 0),i(r(n),"_node",void 0),n._forceFlag=!1,n}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var l=a.prototype;return l.shouldComponentUpdate=function(t){var e=this._node,n=""===t.children;s(e)||u(!1);var r=e;return n?!function(t){return c?"\n"===t.textContent:"BR"===t.tagName}(r):r.textContent!==t.children},l.componentDidMount=function(){this._forceFlag=!this._forceFlag},l.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},l.render=function(){var t,e=this;return""===this.props.children?this._forceFlag?(t=function(t){return e._node=t},c?o.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):o.createElement("br",{key:"A","data-text":"true",ref:t})):function(t){return c?o.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):o.createElement("br",{key:"B","data-text":"true",ref:t})}(function(t){return e._node=t}):o.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},a}(o.Component);t.exports=l},88319:function(t,e,n){"use strict";var r=n(76876),i=n(45817).OrderedSet,o=r.substr,a=i();t.exports=function(t,e){var n=Array(t.length).fill(a);return e&&e.forEach(function(e){for(var r=o(t,0,e.offset).length,i=r+o(t,e.offset,e.length).length;r<i;)n[r]=n[r].add(e.style),r++}),n}},89299:function(t,e,n){"use strict";var r=n(40961).unstable_flushControlled;t.exports=r},89354:function(t){"use strict";var e="-",n={encode:function(t,n,r){return t+e+n+e+r},decode:function(t){var n=t.split(e).reverse(),r=n[0],i=n[1];return{blockKey:n.slice(2).reverse().join(e),decoratorKey:parseInt(i,10),leafKey:parseInt(r,10)}}};t.exports=n},91544:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(60920),i=n(91590);function o(t){(0,i.A)(1,arguments);var e=(0,r.A)(t);return e.setHours(0,0,0,0),e}},92066:function(t){"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})}},92236:function(t,e,n){"use strict";var r=n(96540),i=n(73995),o=(0,n(45817).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:r.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:r.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:r.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=o},92237:function(t){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},93443:function(t,e,n){"use strict";var r=n(69051),i=n(37101);t.exports=function(t,e){var n=e.getStartKey(),o=e.getStartOffset(),a=e.getEndKey(),u=e.getEndOffset(),s=i(t,e).getBlockMap(),c=s.keySeq(),l=c.indexOf(n),f=c.indexOf(a)+1;return r(s.slice(l,f).map(function(t,e){var r=t.getText(),i=t.getCharacterList();
vendor: 4,003 bytes, lines 1-2
1return n===a?t.merge({text:r.slice(o,u),characterList:i.slice(o,u)}):e===n?t.merge({text:r.slice(o),characterList:i.slice(o)}):e===a?t.merge({text:r.slice(0,u),characterList:i.slice(0,u)}):t}))}},93662:function(t,e,n){"use strict";var r=n(47188),i=n(76876).strlen;t.exports=function(t,e){var n=[];return t.findEntityRanges(function(t){return!!t.getEntity()},function(o,a){var u=t.getText(),s=t.getEntityAt(o);n.push({offset:i(u.slice(0,o)),length:i(u.slice(o,a)),key:Number(e[r.stringify(s)])})}),n}},93874:function(t,e,n){"use strict";var r=n(53743),i=n(49455),o=n(15311),a=n(38935),u=n(74472),s=n(75443);t.exports=function(t,e){var n,c=t._latestEditorState,l=c.getSelection(),f=e.target;if(l.isCollapsed())e.preventDefault();else{if(s(f)){var p=f;n=u(o.getScrollParent(p))}var h=a(c);t.setClipboard(h),t.setMode("cut"),setTimeout(function(){t.restoreEditorDOM(n),t.exitCurrentMode(),t.update(function(t){var e=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return i.push(t,e,"remove-range")}(c))},0)}}},95201:function(t){"use strict";var e={isImage:function(t){return"image"===n(t)[0]},isJpeg:function(t){var r=n(t);return e.isImage(t)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(t){return t.split("/")}t.exports=e},95402:function(t,e,n){"use strict";var r=n(53743),i=n(49455);t.exports=function(t){var e=r.splitBlock(t.getCurrentContent(),t.getSelection());return i.push(t,e,"split-block")}},96131:function(t,e,n){var r=n(2523),i=n(85463),o=n(76959);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},97061:function(t,e,n){"use strict";var r=n(26211),i=n(53743),o=n(49455),a=n(4785),u=n(81914),s=n(36926),c=n(8473),l=n(74678),f=n(30891),p=n(8752);var h={onDragEnd:function(t){t.exitCurrentMode(),d(t)},onDrop:function(t,e){var n=new r(e.nativeEvent.dataTransfer),l=t._latestEditorState,h=function(t,e){var n=null,r=null,i=u(t.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(t.x,t.y);n=o.startContainer,r=o.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,r=t.rangeOffset}n=p(n),r=p(r);var s=p(a(n));return c(e,s,r,s,r)}(e.nativeEvent,l);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=h){var y=n.getFiles();if(y.length>0){if(t.props.handleDroppedFiles&&f(t.props.handleDroppedFiles(h,y)))return;s(y,function(e){e&&t.update(g(l,h,e))})}else{var v=t._internalDrag?"internal":"external";t.props.handleDrop&&f(t.props.handleDrop(h,n,v))||(t._internalDrag?t.update(function(t,e){var n=i.moveText(t.getCurrentContent(),t.getSelection(),e);return o.push(t,n,"insert-fragment")}(l,h)):t.update(g(l,h,n.getText()))),d(t)}}}};function d(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var n=new MouseEvent("mouseup",{view:l(e),bubbles:!0,cancelable:!0});e.dispatchEvent(n)}}function g(t,e,n){var r=i.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return o.push(t,r,"insert-fragment")}t.exports=h},97262:function(t,e,n){"use strict";var r=n(65301);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!r(e,t))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}},98275:function(t,e,n){"use strict";n(9354);t.exports=function(t,e){var n,r=t.getSelection(),i=r.getStartKey(),o=r.getStartOffset(),a=t.getCurrentContent(),u=i;return e>a.getBlockForKey(i).getText().length-o?(u=a.getKeyAfter(i),n=0):n=o+e,r.merge({focusKey:u,focusOffset:n})}},98375:function(t,e,n){"use strict";var r=n(97262);t.exports=function(t){var e=r(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},99522:function(t){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}}}]); 2//# sourceMappingURL=component---src-pages-thread-index-tsx-1504cf704cff19eaef04.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.