PageSourceSearch

https://www.elevolt.co.ke/_next/static/chunks/3150-6feaf9c50161e51f.js

js elevolt.co.ke collected 2026-10-04 21:45:06 UTC 253,501 bytes, 1 lines download raw bytes

1try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e74e8949-910d-465b-b38c-fc64bb292756",t._sentryDebugIdIdentifier="sentry-dbid-e74e8949-910d-465b-b38c-fc64bb292756")}()}catch(t){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3150,2718,1198],{92012:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}var i=r(21626),o=r(91782),a=r(95160),s=r(31168),u=r(31463),c=r(7114),l=r(64692),f=r(78548),p=r(87614),h=r(9116),d=f("draft_tree_data_support"),g=d?s:a,y=p.List,v=p.Repeat;t.exports={insertAtomicBlock:function(t,e,r){var a=t.getCurrentContent(),s=t.getSelection(),f=u.removeRange(a,s,"backward"),p=f.getSelectionAfter(),h=u.splitBlock(f,p),m=h.getSelectionAfter(),b=u.setBlockType(h,m,"atomic"),_=o.create({entity:e}),S={key:l(),type:"atomic",text:r,characterList:y(v(_,r.length))},w={key:l(),type:"unstyled"};d&&(S=n({},S,{nextSibling:w.key}),w=n({},w,{prevSibling:S.key}));var k=[new g(S),new g(w)],x=i.createFromArray(k),C=u.replaceWithFragment(b,m,x),E=C.merge({selectionBefore:s,selectionAfter:C.getSelectionAfter().set("hasFocus",!0)});return c.push(t,E,"insert-fragment")},moveAtomicBlock:function(t,e,r,n){var i,o=t.getCurrentContent(),a=t.getSelection();if("before"===n||"after"===n){var s=o.getBlockForKey("before"===n?r.getStartKey():r.getEndKey());i=h(o,e,s,n)}else{var l=u.removeRange(o,r,"backward"),f=l.getSelectionAfter(),p=l.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())i=h(l,e,p,"before");else if(f.getEndOffset()===p.getLength())i=h(l,e,p,"after");else{var d=u.splitBlock(l,f),g=d.getSelectionAfter(),y=d.getBlockForKey(g.getFocusKey());i=h(d,e,y,"before")}}var v=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return c.push(t,v,"move-block")}}},21626:function(t,e,r){"use strict";var n=r(87614).OrderedMap;t.exports={createFromArray:function(t){return n(t.map(function(t){return[t.getKey(),t]}))}}},63354:function(t,e,r){"use strict";var n=r(15031),i=r(79846),o=r(87614),a=o.List,s=o.Repeat,u=o.Record,c=function(){return!0},l=u({start:null,end:null}),f=u({start:null,end:null,decoratorKey:null,leaves:null});function p(t,e){return t===e}t.exports={generate:function(t,e,r){var i=e.getLength();if(!i)return a.of(new f({start:0,end:0,decoratorKey:null,leaves:a.of(new l({start:0,end:0}))}));var o=[],u=r?r.getDecorations(e,t):a(s(null,i)),h=e.getCharacterList();return n(u,p,c,function(t,e){var r,i;o.push(new f({start:t,end:e,decoratorKey:u.get(t),leaves:(r=h.slice(t,e).toList(),i=[],n(r.map(function(t){return t.getStyle()}).toList(),p,c,function(e,r){i.push(new l({start:e+t,end:r+t}))}),a(i))}))}),a(o)},fromJS:function(t){var e=t.leaves;return new f(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)e.indexOf(r=o[n])>=0||(i[r]=t[r]);return i}(t,["leaves"]),{leaves:null!=e?a(Array.isArray(e)?e:i(e)).map(function(t){return l(t)}):null}))}}},91782:function(t,e,r){"use strict";var n=r(87614),i=n.Map,o=n.OrderedSet,a=n.Record,s=o(),u={style:s,entity:null},c=function(t){function e(){return t.apply(this,arguments)||this}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")}
1,r.hasStyle=function(t){return this.getStyle().includes(t)},e.applyStyle=function(t,r){var n=t.set("style",t.getStyle().add(r));return e.create(n)},e.removeStyle=function(t,r){var n=t.set("style",t.getStyle().remove(r));return e.create(n)},e.applyEntity=function(t,r){var n=t.getEntity()===r?t:t.set("entity",r);return e.create(n)},e.create=function(t){if(!t)return l;var r=i({style:s,entity:null}).merge(t),n=f.get(r);if(n)return n;var o=new e(r);return f=f.set(r,o),o},e.fromJS=function(t){var r=t.style,n=t.entity;return new e({style:Array.isArray(r)?o(r):r,entity:Array.isArray(n)?o(n):n})},e}(a(u)),l=new c,f=i([[i(u),l]]);c.EMPTY=l,t.exports=c},32886:function(t,e,r){"use strict";var n=r(87614).List,i=function(){function t(t){var e,r;r=void 0,(e="_decorators")in this?Object.defineProperty(this,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[e]=r,this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var r=Array(t.getText().length).fill(null);return this._decorators.forEach(function(n,i){var o=0;(0,n.strategy)(t,function(t,e){(function(t,e,r){for(var n=e;n<r;n++)if(null!=t[n])return!1;return!0})(r,t,e)&&(function(t,e,r,n){for(var i=e;i<r;i++)t[i]=n}(r,t,e,i+"."+o),o++)},e)}),n(r)},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},95160:function(t,e,r){"use strict";var n=r(91782),i=r(15031),o=r(87614),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p=c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}),h=function(t){if(!t)return t;var e=t.characterList,r=t.text;return r&&!e&&(t.characterList=a(l(n.EMPTY,r.length))),t},d=function(t){function e(e){return t.call(this,h(e))||this}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},r.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},r.findStyleRanges=function(t,e){i(this.getCharacterList(),g,t,e)},r.findEntityRanges=function(t,e){i(this.getCharacterList(),y,t,e)},e}(p);function g(t,e){return t.getStyle()===e.getStyle()}function y(t,e){return t.getEntity()===e.getEntity()}t.exports=d},31168:function(t,e,r){"use strict";var n=r(91782),i=r(15031),o=r(87614),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p={parent:null,characterList:a(),data:s(),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){if(!t)return t;var e=t.characterList,r=t.text;return r&&!e&&(t.characterList=a(l(n.EMPTY,r.length))),t},y=function(t){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return t.call(this,g(e))||this}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},r.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(t,e){i(this.getCharacterList(),h,t,e)},r.findEntityRanges=function(t,e){i(this.getCharacterList(),d,t,e)},e}(c(p));t.exports=y},17466:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}
1))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}var i=r(21626),o=r(91782),a=r(95160),s=r(31168),u=r(22823),c=r(89226),l=r(64692),f=r(79846),p=r(78548),h=r(87614),d=r(63423),g=h.List,y=h.Record,v=h.Repeat,m=h.Map,b=h.OrderedMap,_=y({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),S=p("draft_tree_data_support")?s:a,w=function(t){function e(){return t.apply(this,arguments)||this}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.getEntityMap=function(){return u},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(t){return this.getBlockMap().get(t)},r.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},r.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},r.getBlockAfter=function(t){return this.getBlockMap().skipUntil(function(e,r){return r===t}).skip(1).first()},r.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil(function(e,r){return r===t}).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(t){return this.getBlockMap().map(function(t){return t?t.getText():""}).join(t||"\n")},r.getLastCreatedEntityKey=function(){return u.__getLastCreatedEntityKey()},r.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(t,e,r){return u.__create(t,e,r),this},r.mergeEntityData=function(t,e){return u.__mergeData(t,e),this},r.replaceEntityData=function(t,e){return u.__replaceData(t,e),this},r.addEntity=function(t){return u.__add(t),this},r.getEntity=function(t){return u.__get(t)},r.getAllEntities=function(){return u.__getAll()},r.loadWithEntities=function(t){return u.__loadWithEntities(t)},e.createFromBlockArray=function(t,r){var n=Array.isArray(t)?t:t.contentBlocks,o=i.createFromArray(n),a=o.isEmpty()?new c:c.createEmpty(o.first().getKey());return new e({blockMap:o,entityMap:r||u,selectionBefore:a,selectionAfter:a})},e.createFromText=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=t.split(r).map(function(t){return t=d(t),new S({key:l(),text:t,type:"unstyled",characterList:g(v(o.EMPTY,t.length))})});return e.createFromBlockArray(n)},e.fromJS=function(t){return new e(n({},t,{blockMap:b(t.blockMap).map(e.createContentBlockFromJS),selectionBefore:new c(t.selectionBefore),selectionAfter:new c(t.selectionAfter)}))},e.createContentBlockFromJS=function(t){var e=t.characterList;return new S(n({},t,{data:m(t.data),characterList:null!=e?g((Array.isArray(e)?e:f(e)).map(function(t){return o.fromJS(t)})):void 0}))},e}(_);t.exports=w},68171:function(t,e,r){"use strict";var n=r(91782),i=r(87614).Map;function o(t,e,r,o){var a=t.getBlockMap(),s=e.getStartKey(),u=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),f=a.skipUntil(function(t,e){return e===s}).takeUntil(function(t,e){return e===c}).concat(i([[c,a.get(c)]])).map(function(t,e){s===c?(i=u,a=l):(i=e===s?u:0,a=e===c?l:t.getLength());for(var i,a,f,p=t.getCharacterList();i<a;)f=p.get(i),p=p.set(i,o?n.applyStyle(f,r):n.removeStyle(f,r)),i++;return t.set("characterList",p)});return t.merge({blockMap:a.merge(f),selectionBefore:e,selectionAfter:e})}t.exports={add:function(t,e,r){return o(t,e,r,!0)},remove:function(t,e,r){return o(t,e,r,!1)}}},47670:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(39405),o=r(20279),a=r(85775),s=r(87614),u=r(14983),c=r(27951),l=s.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;n(this,"observer",void 0),n(this,"container",void 0),n(this,"mutations",void 0),n(this,"onCharData",void 0),this.container=t,this.mutations=l();var r=a(t);r.MutationObserver&&!p?this.observer=new r.MutationObserver(function(t){return e.registerMutations(t)}):this.onCharData=function(t){t.target instanceof Node||u(!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,r=t.target,n=t.removedNodes;if("characterData"===e){if(""!==r.textContent)return p?r.textContent.replace("\n",""):r.textContent}else if("childList"===e){if(n&&n.length)return"";if(""!==r.textContent)return r.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var r=c(o(t.target));this.mutations=this.mutations.set(r,e)}},t}();t.exports=h},90265:function(t,e,r){"use strict";var n=r(2784),i=r(86061),o=(0,r(87614).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:n.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:n.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:n.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=o},47226:function(t){"use strict";
1t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},1503:function(t,e,r){"use strict";var n=r(92012),i=r(21626),o=r(91782),a=r(32886),s=r(95160),u=r(17466),c=r(90265),l=r(47226),f=r(35611),p=r(83754),h=r(22823),d=r(31463),g=r(70198),y=r(7114),v=r(7781),m=r(30521),b=r(64830),_=r(89226),S=r(96223),w=r(13673),k=r(64692),x=r(64980),C=r(74393),E=r(87729);t.exports={Editor:f,EditorBlock:p,EditorState:y,CompositeDecorator:a,Entity:h,EntityInstance:g,BlockMapBuilder:i,CharacterMetadata:o,ContentBlock:s,ContentState:u,RawDraftContentState:m,SelectionState:_,AtomicBlockUtils:n,KeyBindingUtil:v,Modifier:d,RichUtils:b,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:E,convertFromRaw:w,convertToRaw:S,genKey:k,getDefaultKeyBinding:x,getVisibleSelectionRect:C}},35611:function(t,e,r){"use strict";var n=r(4079);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){s(t,e,r[e])})}return t}function a(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var c=r(90265),l=r(47226),f=r(2999),p=r(4665),h=r(22363),d=r(31240),g=r(35517),y=r(10314),v=r(69346),m=r(7114),b=r(2784),_=r(65929),S=r(51981),w=r(39405),k=r(86061),x=r(64692),C=r(64980),E=r(94839),O=r(78548),D=r(14983),K=r(38532),A=r(27951),T=w.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}u(e,t);var r=e.prototype;return r.render=function(){return null},r.componentDidMount=function(){this._update()},r.componentDidUpdate=function(){this._update()},r._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 r;return s(a(r=t.call(this,e)||this),"_blockSelectEvents",void 0),s(a(r),"_clipboard",void 0),s(a(r),"_handler",void 0),s(a(r),"_dragCount",void 0),s(a(r),"_internalDrag",void 0),s(a(r),"_editorKey",void 0),s(a(r),"_placeholderAccessibilityID",void 0),s(a(r),"_latestEditorState",void 0),s(a(r),"_latestCommittedEditorState",void 0),s(a(r),"_pendingStateFromBeforeInput",void 0),s(a(r),"_onBeforeInput",void 0),s(a(r),"_onBlur",void 0),s(a(r),"_onCharacterData",void 0),s(a(r),"_onCompositionEnd",void 0),s(a(r),"_onCompositionStart",void 0),s(a(r),"_onCopy",void 0),s(a(r),"_onCut",void 0),s(a(r),"_onDragEnd",void 0),s(a(r),"_onDragOver",void 0),s(a(r),"_onDragStart",void 0),s(a(r),"_onDrop",void 0),s(a(r),"_onInput",void 0),s(a(r),"_onFocus",void 0),s(a(r),"_onKeyDown",void 0),s(a(r),"_onKeyPress",void 0),s(a(r),"_onKeyUp",void 0),s(a(r),"_onMouseDown",void 0),s(a(r),"_onMouseUp",void 0),s(a(r),"_onPaste",void 0),s(a(r),"_onSelect",void 0),s(a(r),"editor",void 0),s(a(r),"editorContainer",void 0),s(a(r),"focus",void 0),s(a(r),"blur",void 0),s(a(r),"setMode",void 0),s(a(r),"exitCurrentMode",void 0),s(a(r),"restoreEditorDOM",void 0),s(a(r),"setClipboard",void 0),s(a(r),"getClipboard",void 0),s(a(r),"getEditorKey",void 0),s(a(r),"update",void 0),s(a(r),"onDragEnter",void 0),s(a(r),"onDragLeave",void 0),s(a(r),"_handleEditorContainerRef",function(t){r.editorContainer=t,r.editor=null!==t?t.firstChild:null}),s(a(r),"focus",function(t){var e=r.props.editorState,n=e.getSelection().getHasFocus(),i=r.editor;if(i){var o=S.getScrollParent(i),a=t||E(o),s=a.x,u=a.y;K(i)||D(!1),i.focus(),o===window?window.scrollTo(s,u):_.setTop(o,u),n||r.update(m.forceSelection(e,e.getSelection()))}}),s(a(r),"blur",function(){var t=r.editor;t&&(K(t)||D(!1),t.blur())}),s(a(r),"setMode",function(t){var e=r.props,n=e.onPaste,i=e.onCut,a=e.onCopy,s=o({},I.edit);n&&(s.onPaste=n),i&&(s.onCut=i),a&&(s.onCopy=a);var u=o({},I,{edit:s});r._handler=u[t]}),s(a(r),"exitCurrentMode",function(){r.setMode("edit")}),s(a(r),"restoreEditorDOM",function(t){r.setState({contentsKey:r.state.contentsKey+1},function(){r.focus(t)})}),s(a(r),"setClipboard",function(t){r._clipboard=t}),s(a(r),"getClipboard",function(){return r._clipboard}),s(a(r),"update",function(t){r._latestEditorState=t,r.props.onChange(t)}
vendor: 4,406 bytes, line 1
1),s(a(r),"onDragEnter",function(){r._dragCount++}),s(a(r),"onDragLeave",function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()}),r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=e.editorKey||x(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=e.editorState,r._latestCommittedEditorState=e.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}u(e,t);var n=e.prototype;return n._buildHandler=function(t){var e=this;return function(r){if(!e.props.readOnly){var n=e._handler&&e._handler[t];n&&(g?g(function(){return n(e,r)}):n(e,r))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:A(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return b.createElement(y,t)}return null},n._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},n.render=function(){var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,a=t.customStyleFn,s=t.customStyleMap,u=t.editorState,c=t.preventScroll,f=t.readOnly,h=t.textAlignment,d=t.textDirectionality,g=k({"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:r,blockStyleFn:n,customStyleMap:o({},l,s),customStyleFn:a,editorKey:this._editorKey,editorState:u,preventScroll:c,textDirectionality:d};return b.createElement("div",{className:g},this._renderPlaceholder(),b.createElement("div",{className:k("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:k({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:u}),b.createElement(p,i({}
1,m,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!B&&O("draft_ods_enabled")&&(B=!0,v.initODS()),this.setMode("edit"),T&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):r.g.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},e}(b.Component);s(R,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:c,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:C,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),t.exports=R},83754:function(t,e,r){"use strict";var n=r(4079);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var o=r(37114),a=r(52358),s=r(2784),u=r(65929),c=r(51981),l=r(54389),f=r(50983),p=r(86061),h=r(4105),d=r(94839),g=r(31821),y=r(14983),v=r(38532),m=r(27951),b=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},_=function(t){function e(){for(var e,r,n,i,o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(a))||this),i=void 0,(n="_node")in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,e}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.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},r.componentDidMount=function(){if(!this.props.preventScroll){var t,e=this.props.selection,r=e.getEndKey();if(e.getHasFocus()&&r===this.props.block.getKey()){var n=this._node;if(null!=n){var i=c.getScrollParent(n),o=d(i);if(i===window){var a=h(n);(t=a.y+a.height-g().height)>0&&window.scrollTo(o.x,o.y+t+10)}else v(n)||y(!1),(t=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&u.setTop(i,u.getTop(i)+t+10)}}}},r._renderChildren=function(){var t=this,e=this.props.block,r=e.getKey(),n=e.getText(),u=this.props.tree.size-1,c=b(this.props.selection,r);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(r,h,l),p=i.get("start"),d=i.get("end");return s.createElement(o,{key:f,offsetKey:f,block:e,start:p,selection:c?t.props.selection:null,forceSelection:t.props.forceSelection,text:n.slice(p,d),styleSet:e.getInlineStyleAt(p),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:h===u&&l===g})}).toArray(),v=p.get("decoratorKey");if(null==v||!t.props.decorator)return y;var b=m(t.props.decorator),_=b.getComponentForKey(v);if(!_)return y;var S=b.getPropsForKey(v),w=a.encode(r,h,0),k=d.first().get("start"),x=d.last().get("end"),C=n.slice(k,x),E=e.getEntityAt(p.get("start")),O=f.getHTMLDirIfDifferent(l.getDirection(C),t.props.direction),D={contentState:t.props.contentState,decoratedText:C,dir:O,start:k,end:x,blockKey:r,entityKey:E,offsetKey:w};return s.createElement(_,i({},S,D,{key:w}),y)}).toArray()},r.render=function(){var t=this,e=this.props,r=e.direction,n=e.offsetKey,i=p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===r,"public/DraftStyleDefault/rtl":"RTL"===r});return s.createElement("div",{"data-offset-key":n,className:i,ref:function(e){return t._node=e}},this._renderChildren())},e}(s.Component);t.exports=_},82498:function(t,e,r){"use strict";var n=r(4079);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}
1))),n.forEach(function(e){a(t,e,r[e])})}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(9401),u=r(52358),c=r(2784),l=r(65929),f=r(51981),p=r(4105),h=r(94839),d=r(31821),g=r(87614),y=r(14983),v=r(38532);g.List;var m=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},b=function(t,e){var r=t.getNextSiblingKey();return!!r&&e.getBlockForKey(r).getType()===t.getType()},_=function(t,e,r){var n=[],i=!0,o=!1,a=void 0;try{for(var s,l=r.reverse()[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var f=s.value;if(f.type!==e)break;n.push(f)}}catch(t){o=!0,a=t}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}r.splice(r.indexOf(n[0]),n.length+1);var p=n.reverse(),h=p[0].key;return r.push(c.cloneElement(t,{key:"".concat(h,"-wrap"),"data-offset-key":u.encode(h,0,0)},p)),r},S=function(t,e){var r=e.get(t.getType())||e.get("unstyled"),n=r.wrapper;return{Element:r.element||e.get("unstyled").element,wrapperTemplate:n}},w=function(t,e){var r=e(t);return r?{CustomComponent:r.component,customProps:r.props,customEditable:r.editable}:{}},k=function(t,e,r,n,i,a){var s={"data-block":!0,"data-editor":e,"data-offset-key":r,key:t.getKey(),ref:a},u=n(t);return u&&(s.className=u),void 0!==i.customEditable&&(s=o({},s,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),s},x=function(t){function e(){for(var e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return a(function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(n))||this),"wrapperRef",c.createRef()),e}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.shouldComponentUpdate=function(t){var e=this.props,r=e.block,n=e.direction,i=e.tree,o=!r.getChildKeys().isEmpty(),a=r!==t.block||i!==t.tree||n!==t.direction||m(t.selection,t.block.getKey())&&t.forceSelection;return o||a},r.componentDidMount=function(){var t,e=this.props.selection,r=e.getEndKey();if(e.getHasFocus()&&r===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i=f.getScrollParent(n),o=h(i);if(i===window){var a=p(n);(t=a.y+a.height-d().height)>0&&window.scrollTo(o.x,o.y+t+10)}else v(n)||y(!1),(t=n.offsetHeight+n.offsetTop-(i.offsetHeight+o.y))>0&&l.setTop(i,l.getTop(i)+t+10)}}},r.render=function(){var t=this,r=this.props,n=r.block,a=r.blockRenderMap,l=r.blockRendererFn,f=r.blockStyleFn,p=r.contentState,h=r.decorator,d=r.editorKey,g=r.editorState,y=r.customStyleFn,v=r.customStyleMap,x=r.direction,C=r.forceSelection,E=r.selection,O=r.tree,D=null;n.children.size&&(D=n.children.reduce(function(r,n){var i=u.encode(n,0,0),s=p.getBlockForKey(n),h=w(s,l),y=h.CustomComponent||e,v=S(s,a),m=v.Element,x=v.wrapperTemplate,C=k(s,d,i,f,h,null),E=o({},t.props,{tree:g.getBlockTree(n),blockProps:h.customProps,offsetKey:i,block:s});return r.push(c.createElement(m,C,c.createElement(y,E))),!x||b(s,p)||_(x,m,r),r},[]));var K=n.getKey(),A=u.encode(K,0,0),T=w(n,l),M=T.CustomComponent,I=null!=M?c.createElement(M,i({},this.props,{tree:g.getBlockTree(K),blockProps:T.customProps,offsetKey:A,block:n})):c.createElement(s,{block:n,children:D,contentState:p,customStyleFn:y,customStyleMap:v,decorator:h,direction:x,forceSelection:C,hasSelection:m(E,K),selection:E,tree:O});if(n.getParentKey())return I;var B=S(n,a).Element,L=k(n,d,A,f,T,this.wrapperRef);return c.createElement(B,L,I)},e}(c.Component);t.exports=x},2999:function(t,e,r){"use strict";var n=r(47670),i=r(31463),o=r(52358),a=r(7114),s=r(37324),u=r(39405),c=r(6943),l=r(12054),f=r(36595),p=r(66786),h=r(27951),d=u.isBrowser("IE"),g=!1,y=!1,v=null,m={onCompositionStart:function(t){y=!0,v||(v=new n(l(t))).start()},onCompositionEnd:function(t){g=!1,y=!1,setTimeout(function(){g||m.resolveComposition(t)},20)},onSelect:c,onKeyDown:function(t,e){if(!y){m.resolveComposition(t),t._onKeyDown(e);return}(e.which===s.RIGHT||e.which===s.LEFT)&&e.preventDefault()},onKeyPress:function(t,e){e.which===s.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!y){var e=h(v).stopAndFlushMutations();v=null,g=!0;var r=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),!e.size){t.update(r);return}var n=r.getCurrentContent();e.forEach(function(t,e){var s=o.decode(e),u=s.blockKey,c=s.decoratorKey,l=s.leafKey,f=r.getBlockTree(u).getIn([c,"leaves",l]),h=f.start,d=f.end,g=r.getSelection().merge({anchorKey:u,focu
1sKey:u,anchorOffset:h,focusOffset:d,isBackward:!1}),y=p(n,g),v=n.getBlockForKey(u).getInlineStyleAt(h);n=i.replaceText(n,g,t,v,y),r=a.set(r,{currentContent:n})});var s=f(r,l(t)).selectionState;t.restoreEditorDOM();var u=d?a.forceSelection(r,s):a.acceptSelection(r,s);t.update(a.push(u,n,"insert-characters"))}}};t.exports=m},18296:function(t,e,r){"use strict";var n=r(4079);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var o=r(83754),a=r(52358),s=r(2784),u=r(86061),c=r(28106),l=r(27951),f=function(t){function e(){return t.apply(this,arguments)||this}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.shouldComponentUpdate=function(t){var e=this.props.editorState,r=t.editorState;if(e.getDirectionMap()!==r.getDirectionMap()||e.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=r.isInCompositionMode();if(e===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var a=e.getCurrentContent(),s=r.getCurrentContent(),u=e.getDecorator(),c=r.getDecorator();return i!==o||a!==s||u!==c||r.mustForceSelection()},r.render=function(){for(var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,f=t.customStyleMap,p=t.customStyleFn,h=t.editorState,d=t.editorKey,g=t.preventScroll,y=t.textDirectionality,v=h.getCurrentContent(),m=h.getSelection(),b=h.mustForceSelection(),_=h.getDecorator(),S=l(h.getDirectionMap()),w=v.getBlocksAsArray(),k=[],x=null,C=null,E=0;E<w.length;E++){var O=w[E],D=O.getKey(),K=O.getType(),A=r(O),T=void 0,M=void 0,I=void 0;A&&(T=A.component,M=A.props,I=A.editable);var B=y||S.get(D),L=a.encode(D,0,0),R={contentState:v,block:O,blockProps:M,blockStyleFn:n,customStyleMap:f,customStyleFn:p,decorator:_,direction:B,forceSelection:b,offsetKey:L,preventScroll:g,selection:m,tree:h.getBlockTree(D)},P=e.get(K)||e.get("unstyled"),N=P.wrapper,j=P.element||e.get("unstyled").element,F=O.getDepth(),z="";n&&(z=n(O)),"li"===j&&(z=c(z,u({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===K,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===K,"public/DraftStyleDefault/reset":C!==N||null===x||F>x,"public/DraftStyleDefault/depth0":0===F,"public/DraftStyleDefault/depth1":1===F,"public/DraftStyleDefault/depth2":2===F,"public/DraftStyleDefault/depth3":3===F,"public/DraftStyleDefault/depth4":F>=4,"public/DraftStyleDefault/listLTR":"LTR"===B,"public/DraftStyleDefault/listRTL":"RTL"===B})));var U=T||o,q={className:z,"data-block":!0,"data-editor":d,"data-offset-key":L,key:D};void 0!==I&&(q=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},q,{contentEditable:I,suppressContentEditableWarning:!0}));var H=s.createElement(j,q,s.createElement(U,i({},R,{key:D})));k.push({block:H,wrapperTemplate:N,key:D,offsetKey:L}),x=N?O.getDepth():null,C=N}for(var W=[],V=0;V<k.length;){var J=k[V];if(J.wrapperTemplate){var G=[];do G.push(k[V].block),V++;while(V<k.length&&k[V].wrapperTemplate===J.wrapperTemplate);var Z=s.cloneElement(J.wrapperTemplate,{key:J.key+"-wrap","data-offset-key":J.offsetKey},G);W.push(Z)}else W.push(J.block),V++}return s.createElement("div",{"data-contents":"true"},W)},e}(s.Component);t.exports=f},4665:function(t,e,r){"use strict";var n=r(78548)("draft_tree_data_support");t.exports=r(n?72480:18296)},72480:function(t,e,r){"use strict";var n=r(4079);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var o=r(82498),a=r(52358),s=r(2784),u=r(27951),c=function(t){function e(){return t.apply(this,arguments)||this}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.shouldComponentUpdate=function(t){var e=this.props.editorState,r=t.editorState;if(e.getDirectionMap()!==r.getDirectionMap()||e.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=r.isInCompositionMode();if(e===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var a=e.getCurrentContent(),s=r.getCurrentContent(),u=e.getDecorator(),c=r.getDecorator();return i!==o||a!==s||u!==c||r.mustForceSelection()},r.render=function(){for(var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=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=u(f.getDirectionMap()),b=d.getBlocksAsArray()[0],_=[],S=b;S;){var w=S.getKey(),k={blockRenderMap:e,blockRendererFn:r,blockStyleFn:n,contentState:d,customStyleFn:l,customStyleMap:c,decorator:v,editorKey:p,editorState:f,forceSelection:y,selection:g,block:S,direction:h||m.get(w),tree:f.getBlockTree(w)},x=(e.get(S.getType())||e.get("unstyled")).wrapper;_.push({block:s.createElement(o,i({key:w},k)),wrapperTemplate:x,key:w,offsetKey:a.encode(w,0,0)});var C=S.getNextSiblingKey();S=C?d.getBlockForKey(C):null}for(var E=[],O=0;O<_.length;){var D=_[O];if(D.wrapperTemplate){var K=[];do K.push(_[O].block),O++;while(O<_.length&&_[O].wrapperTemplate===D.wrapperTemplate);var A=s.cloneElement(D.wrapperTemplate,{key:D.key+"-wrap","data-offset-key":D.offsetKey},K);E.push(A)}else E.push(D.block),O++}return s.createElement("div",{"data-contents":"true"},E)},e}(s.Component);t.exports=c},63752:function(t,e,r){"use strict";var n=r(4079);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var o=r(52358),a=r(2784),s=r(54389),u=r(50983),c=function(t){function e(){return t.apply(this,arguments)||this}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t,e.prototype.render=function(){var t=this.props,e=t.block,r=t.children,n=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")),_=u.getHTMLDirIfDifferent(s.getDirection(b),f);return a.createElement(y,i({},v,{contentState:n,decoratedText:b,dir:_,key:m,entityKey:e.getEntityAt(p.get("start")),offsetKey:m}),r)},e}(a.Component);t.exports=c},22363:function(t,e,r){"use strict";var n=r(64463),i=r(31463),o=r(7114),a=r(20279),s=r(86190),u=r(27452),c=r(1769),l=r(85775),f=r(22256),p=r(27951);function h(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var r=new MouseEvent("mouseup",{view:l(e),bubbles:!0,cancelable:!0});e.dispatchEvent(r)}}function d(t,e,r){var n=i.insertText(t.getCurrentContent(),e,r,t.getCurrentInlineStyle());return o.push(t,n,"insert-fragment")}t.exports={onDragEnd:function(t){t.exitCurrentMode(),h(t)},onDrop:function(t,e){var r=new n(e.nativeEvent.dataTransfer),l=t._latestEditorState,g=function(t,e){var r=null,n=null,i=s(t.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(t.x,t.y);r=o.startContainer,n=o.startOffset}else{if(!t.rangeParent)return null;r=t.rangeParent,n=t.rangeOffset}r=p(r),n=p(n);var u=p(a(r));return c(e,u,n,u,n)}(e.nativeEvent,l);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=g){var y,v=r.getFiles();if(v.length>0){if(t.props.handleDroppedFiles&&f(t.props.handleDroppedFiles(g,v)))return;u(v,function(e){e&&t.update(d(l,g,e))});return}var m=t._internalDrag?"internal":"external";t.props.handleDrop&&f(t.props.handleDrop(g,r,m))||(t._internalDrag?t.update((y=i.moveText(l.getCurrentContent(),l.getSelection(),g),o.push(l,y,"insert-fragment"))):t.update(d(l,g,r.getText()))),h(t)}}}},31240:function(t,e,r){"use strict";var n=r(39405),i=r(50186),o=r(85234),a=r(59587),s=r(21589),u=r(73765),c=r(13745),l=r(82524),f=r(16619),p=r(93430),h=r(90161),d=r(22711),g=r(6943),y=n.isBrowser("Chrome"),v=n.isBrowser("Firefox"),m=y||v?g:function(t){};t.exports={onBeforeInput:i,onBlur:o,onCompositionStart:a,onCopy:s,onCut:u,onDragOver:c,onDragStart:l,onFocus:f,onInput:p,onKeyDown:h,onPaste:d,onSelect:g,onMouseUp:m,onKeyUp:m}},35517:function(t,e,r){"use strict";var n=r(28316).unstable_flushControlled;t.exports=n},37114:function(t,e,r){"use strict";var n=r(4079),i=r(31703),o=r(2784),a=r(14983),s=r(58649),u=r(30238).setDraftEditorSelection,c=function(t){function e(){for(var e,r,n,i,o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(a))||this),i=void 0,(n="leaf")in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,e}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r._setSelection=function(){var t,e=this.props.selection;if(null!=e&&e.getHasFocus()){var r=this.props,n=r.block,i=r.start,o=r.text,c=n.getKey(),l=i+o.length;if(e.hasEdgeWithin(c,i,l)){var f=this.leaf;f||a(!1);var p=f.firstChild;p||a(!1),p.nodeType===Node.TEXT_NODE?t=p:s(p)?t=f:(t=p.firstChild)||a(!1),u(e,t,c,i,l)}}},r.shouldComponentUpdate=function(t){var e=this.leaf;return e||a(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var t=this,e=this.props.block,r=this.props.text;r.endsWith("\n")&&this.props.isLast&&(r+="\n");var a=this.props,s=a.customStyleMap,u=a.customStyleFn,c=a.offsetKey,l=a.styleSet,f=l.reduce(function(t,e){var r={},i=s[e];return void 0!==i&&t.textDecoration!==i.textDecoration&&(r.textDecoration=[t.textDecoration,i.textDecoration].join(" ").trim()),n(t,i,r)},{});return u&&(f=n(f,u(l,e))),o.createElement("span",{"data-offset-key":c,ref:function(e){return t.leaf=e},style:f},o.createElement(i,null,r))},e}(o.Component);t.exports=c},9401:function(t,e,r){"use strict";var n=r(63752),i=r(37114),o=r(52358),a=r(87614),s=r(2784),u=r(86061);a.List;var c=function(t){function e(){return t.apply(this,arguments)||this}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t,e.prototype.render=function(){var t=this.props,e=t.block,r=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,u){var g=t.get("decoratorKey"),b=t.get("leaves"),_=b.size-1,S=b.map(function(t,r){var n=o.encode(y,u,r),l=t.get("start"),f=t.get("end");return s.createElement(i,{key:n,offsetKey:n,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&&r===_})}).toArray();return g&&l?s.createElement(n,{block:e,children:S,contentState:r,decorator:l,decoratorKey:g,direction:f,leafSet:t,text:v,key:u}):S}).toArray();return s.createElement("div",{"data-offset-key":o.encode(y,0,0),className:u({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},b)},e}(s.Component);t.exports=c},10314:function(t,e,r){"use strict";var n=r(2784),i=r(86061),o=function(t){function e(){return t.apply(this,arguments)||this}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},r.render=function(){var t=i({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/has
1Focus":this.props.editorState.getSelection().getHasFocus()});return n.createElement("div",{className:t},n.createElement("div",{className:i("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},e}(n.Component);t.exports=o},31703:function(t,e,r){"use strict";function n(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(2784),a=r(39405),s=r(14983),u=r(47791),c=a.isBrowser("IE <= 11"),l=function(t){function e(e){var r;return i(n(r=t.call(this,e)||this),"_forceFlag",void 0),i(n(r),"_node",void 0),r._forceFlag=!1,r}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.shouldComponentUpdate=function(t){var e=this._node,r=""===t.children;return(u(e)||s(!1),r)?c?"\n"!==e.textContent:"BR"!==e.tagName:e.textContent!==t.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var t,e,r=this;return""===this.props.children?this._forceFlag?(t=function(t){return r._node=t},c?o.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):o.createElement("br",{key:"A","data-text":"true",ref:t})):(e=function(t){return r._node=t},c?o.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):o.createElement("br",{key:"B","data-text":"true",ref:e})):o.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return r._node=t}},this.props.children)},e}(o.Component);t.exports=l},69346:function(t){"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},22823:function(t,e,r){"use strict";var n=r(70198),i=r(87614),o=r(14983),a=r(20727),s=(0,i.Map)(),u=a();function c(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var l={getLastCreatedEntityKey:function(){return c("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),l.__getLastCreatedEntityKey()},create:function(t,e,r){return c("DraftEntity.create","contentState.createEntity"),l.__create(t,e,r)},add:function(t){return c("DraftEntity.add","contentState.addEntity"),l.__add(t)},get:function(t){return c("DraftEntity.get","contentState.getEntity"),l.__get(t)},__getAll:function(){return s},__loadWithEntities:function(t){s=t,u=a()},mergeData:function(t,e){return c("DraftEntity.mergeData","contentState.mergeEntityData"),l.__mergeData(t,e)},replaceData:function(t,e){return c("DraftEntity.replaceData","contentState.replaceEntityData"),l.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return u},__create:function(t,e,r){return l.__add(new n({type:t,mutability:e,data:r||{}}))},__add:function(t){return u=a(),s=s.set(u,t),u},__get:function(t){var e=s.get(t);return e||o(!1),e},__mergeData:function(t,e){var r=l.__get(t),n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},r.getData(),e),i=r.set("data",n);return s=s.set(t,i),i},__replaceData:function(t,e){var r=l.__get(t).set("data",e);return s=s.set(t,r),r}};t.exports=l},70198:function(t,e,r){"use strict";var n=function(t){function e(){return t.apply(this,arguments)||this}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},e}((0,r(87614).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=n},98446:function(t){"use strict";t.exports={getRemovalRange:function(t,e,r,n,i){var o,a=r.split(" ");
1a=a.map(function(t,e){if("forward"===i){if(e>0)return" "+t}else if(e<a.length-1)return t+" ";return t});for(var s=n,u=null,c=null,l=0;l<a.length;l++){if(t<(o=s+a[l].length)&&s<e)null!==u||(u=s),c=o;else if(null!==u)break;s=o}var f=n+r.length,p=u===n,h=c===f;return(!p&&h||p&&!h)&&("forward"===i?c!==f&&c++:u!==n&&u--),{start:u,end:c}}}},86268:function(t){"use strict";t.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},31463:function(t,e,r){"use strict";var n=r(91782),i=r(68171),o=r(74420),a=r(40891),s=r(12087),u=r(87614),c=r(83963),l=r(5616),f=r(14983),p=r(4842),h=r(54753),d=r(91249),g=r(59289),y=u.OrderedSet,v={replaceText:function(t,e,r,i,o){var a=d(h(t,e),e),s=n.create({style:i||y(),entity:o||null});return l(a,a.getSelectionAfter(),r,s)},insertText:function(t,e,r,n,i){return e.isCollapsed()||f(!1),v.replaceText(t,e,r,n,i)},moveText:function(t,e,r){var n=s(t,e),i=v.removeRange(t,e,"backward");return v.replaceWithFragment(i,r,n)},replaceWithFragment:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=d(h(t,e),e);return c(i,i.getSelectionAfter(),r,n)},removeRange:function(t,e,r){e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),n=e.getAnchorKey(),i=e.getFocusKey(),o=t.getBlockForKey(n),s=t.getBlockForKey(i);var n,i,o,s,u=e.getStartOffset(),c=e.getEndOffset(),l=o.getEntityAt(u),f=s.getEntityAt(c-1);if(n===i&&l&&l===f){var p=a(t.getEntityMap(),o,s,e,r);return d(t,p)}return d(h(t,e),e)},splitBlock:function(t,e){var r=d(h(t,e),e);return g(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,r){return i.add(t,e,r)},removeInlineStyle:function(t,e,r){return i.remove(t,e,r)},setBlockType:function(t,e,r){return p(t,e,function(t){return t.merge({type:r,depth:0})})},setBlockData:function(t,e,r){return p(t,e,function(t){return t.merge({data:r})})},mergeBlockData:function(t,e,r){return p(t,e,function(t){return t.merge({data:t.getData().merge(r)})})},applyEntity:function(t,e,r){return o(h(t,e),e,r)}};t.exports=v},52358:function(t){"use strict";t.exports={encode:function(t,e,r){return t+"-"+e+"-"+r},decode:function(t){var e=t.split("-").reverse(),r=e[0],n=e[1];return{blockKey:e.slice(2).reverse().join("-"),decoratorKey:parseInt(n,10),leafKey:parseInt(r,10)}}}},34016:function(t,e,r){"use strict";var n=r(95160),i=r(31168),o=r(87729),a=r(64692),s=r(76752),u=r(78548),c=r(87614),l=r(63423),f=c.List,p=c.Repeat,h=u("draft_tree_data_support"),d=h?i:n;t.exports={processHTML:function(t,e){return o(t,s,e)},processText:function(t,e,r){return t.reduce(function(t,n,i){n=l(n);var o=a(),s={key:o,type:r,text:n,characterList:f(p(e,n.length))};if(h&&0!==i){var u=i-1;s=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},s,{prevSibling:(t[u]=t[u].merge({nextSibling:o})).getKey()})}return t.push(new d(s)),t},[])}}}
1,14436:function(t,e,r){"use strict";var n=r(97993).getPunctuation(),i="['‘’]",o="\\s|(?![_])"+n,a=RegExp("^(?:"+o+")*(?:"+i+"|(?!"+o+").)*(?:(?!"+o+").)"),s=RegExp("(?:(?!"+o+").)(?:"+i+"|(?!"+o+").)*(?:"+o+")*$");function u(t,e){var r=e?s.exec(t):a.exec(t);return r?r[0]:t}t.exports={getBackward:function(t){return u(t,!0)},getForward:function(t){return u(t,!1)}}},6364:function(t){"use strict";t.exports={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}}},9962:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}var i=r(64692),o=r(14983),a=function(t,e){for(var r=[].concat(t).reverse();r.length;){var n=r.pop();e(n);var i=n.children;Array.isArray(i)||o(!1),r=r.concat([].concat(i.reverse()))}},s=function(t){if(!(t&&t.type))return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},u=function(t){Array.isArray(t.children)&&(t.children=t.children.map(function(e){return e.type===t.type?n({},e,{depth:(t.depth||0)+1}):e}))};t.exports={fromRawTreeStateToRawState:function(t){var e=t.blocks,r=[];return(Array.isArray(e)||o(!1),Array.isArray(e)&&e.length)?(a(e,function(t){var e=n({},t);s(t)&&(e.depth=e.depth||0,u(t),null!=t.children&&t.children.length>0)||(delete e.children,r.push(e))}),t.blocks=r,n({},t,{blocks:r})):t},fromRawStateToRawTreeState:function(t){var e=[],r=[];return t.blocks.forEach(function(t){var o=s(t),a=t.depth||0,u=n({},t,{children:[]});if(!o){e.push(u);return}var c=r[0];if(null==c&&0===a)e.push(u);else if(null==c||c.depth<a-1){var l={key:i(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};r.unshift(l),1===a?e.push(l):null!=c&&c.children.push(l),l.children.push(u)}else if(c.depth===a-1)c.children.push(u);else{for(;null!=c&&c.depth>=a;)r.shift(),c=r[0];a>0?c.children.push(u):e.push(u)}}),n({},t,{blocks:e})}}},48049:function(t,e,r){"use strict";r(26590),t.exports={isValidBlock:function(t,e){var r=t.getKey(),n=t.getParentKey();if(null!=n&&!e.get(n).getChildKeys().includes(r)||!t.getChildKeys().map(function(t){return e.get(t)}).every(function(t){return t.getParentKey()===r}))return!1;var i=t.getPrevSiblingKey();if(null!=i&&e.get(i).getNextSiblingKey()!==r)return!1;var o=t.getNextSiblingKey();return(null==o||e.get(o).getPrevSiblingKey()===r)&&(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 r=e.shift(),n=0,i=r.getKey(),o=[];null!=i;){var a=t.get(i),s=a.getChildKeys(),u=a.getNextSiblingKey();if(s.size>0){null!=u&&o.unshift(u);var c=s.map(function(e){return t.get(e)}).find(function(t){return null==t.getPrevSiblingKey()});if(null==c)return!1;i=c.getKey()}else i=null!=a.getNextSiblingKey()?a.getNextSiblingKey():o.shift();n++}return n===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every(function(r){return e.isValidBlock(r,t)})&&this.isConnectedTree(t)}}},70313:function(t,e,r){"use strict";var n,i=r(28934),o=r(87614),a=r(27951),s=o.OrderedMap;t.exports={getDirectionMap:function(t,e){n?n.reset():n=new i;var r=t.getBlockMap(),u=r.valueSeq().map(function(t){return a(n).getDirection(t.getText())}),c=s(r.keySeq().zip(u));return null!=e&&o.is(e,c)?e:c}}},7114:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){i(t,e,r[e])})}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}
1var o=r(63354),a=r(17466),s=r(70313),u=r(89226),c=r(87614),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,r){return e.createWithContent(a.createFromText(t),r)},e.createWithContent=function(t,r){if(0===t.getBlockMap().count())return e.createEmpty(r);var n=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:p(),redoStack:p(),decorator:r||null,selection:u.createEmpty(n)})},e.create=function(t){var r=t.currentContent,i=t.decorator;return new e(new g(n({},t,{treeMap:m(r,i),directionMap:s.getDirectionMap(r)})))},e.fromJS=function(t){return new e(new g(n({},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 u(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,r){return new e(t.getImmutable().withMutations(function(e){var n,i,a,s,u,c=e.get("decorator"),l=c;null===r.decorator?l=null:r.decorator&&(l=r.decorator);var f=r.currentContent||t.getCurrentContent();if(l!==c){var p,h,d,g=e.get("treeMap");d=l&&c?(p=f.getBlockMap(),h=l,g.merge(p.toSeq().filter(function(t){return h.getDecorations(t,f)!==c.getDecorations(t,f)}).map(function(t){return o.generate(f,t,h)}))):m(f,l),e.merge({decorator:l,treeMap:d,nativelyRenderedContent:null});return}f!==t.getCurrentContent()&&e.set("treeMap",(n=f.getBlockMap(),i=f.getEntityMap(),a=l,u=(s=t.getCurrentContent().set("entityMap",i)).getBlockMap(),t.getImmutable().get("treeMap").merge(n.toSeq().filter(function(t,e){return t!==u.get(e)}).map(function(t){return o.generate(s,t,a)})))),e.merge(r)}))};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,r){return e.set(t,{inlineStyleOverride:r})},t.getCurrentInlineStyle=function(){var t,e,r,n,i,o,a=this.getInlineStyleOverride();if(null!=a)return a;var s=this.getCurrentContent(),u=this.getSelection();return u.isCollapsed()?(t=u.getStartKey(),e=u.getStartOffset(),r=s.getBlockForKey(t),e>0?r.getInlineStyleAt(e-1):r.getLength()?r.getInlineStyleAt(0):b(s,t)):(n=u.getStartKey(),(i=u.getStartOffset())<(o=s.getBlockForKey(n)).getLength()?o.getInlineStyleAt(i):i>0?o.getInlineStyleAt(i-1):b(s,n))},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();
1return 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 r=t.getCurrentContent().getLastBlock(),n=r.getKey(),i=r.getLength();return e.acceptSelection(t,new u({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}))},e.moveFocusToEnd=function(t){var r=e.moveSelectionToEnd(t);return e.forceSelection(r,r.getSelection())},e.push=function(t,r,n){var i=!(arguments.length>3)||void 0===arguments[3]||arguments[3];if(t.getCurrentContent()===r)return t;var o=s.getDirectionMap(r,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:r,directionMap:o,lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=t.getSelection(),u=t.getCurrentContent(),c=t.getUndoStack(),l=r;a!==u.getSelectionAfter()||n!==t.getLastChangeType()||"insert-characters"!==n&&"backspace-character"!==n&&"delete-character"!==n?(c=c.push(u),l=l.set("selectionBefore",a)):("insert-characters"===n||"backspace-character"===n||"delete-character"===n)&&(l=l.set("selectionBefore",u.getSelectionBefore()));var f=t.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(n)&&(f=null);var h={currentContent:l,directionMap:o,undoStack:c,redoStack:p(),lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:f};return e.set(t,h)},e.undo=function(t){if(!t.getAllowUndo())return t;var r=t.getUndoStack(),n=r.peek();if(!n)return t;var i=t.getCurrentContent(),o=s.getDirectionMap(n,t.getDirectionMap());return e.set(t,{currentContent:n,directionMap:o,undoStack:r.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 r=t.getRedoStack(),n=r.peek();if(!n)return t;var i=t.getCurrentContent(),o=s.getDirectionMap(n,t.getDirectionMap());return e.set(t,{currentContent:n,directionMap:o,undoStack:t.getUndoStack().push(i),redoStack:r.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:n.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function v(t,e,r){return y.set(t,{selection:e,forceSelection:r,nativelyRenderedContent:null,inlineStyleOverride:null})}function m(t,e){return t.getBlockMap().map(function(r){return o.generate(t,r,e)}).toOrderedMap()}function b(t,e){var r=t.getBlockMap().reverse().skipUntil(function(t,r){return r===e}).skip(1).skipUntil(function(t,e){return t.getLength()}).first();return r?r.getInlineStyleAt(r.getLength()-1):l()}t.exports=y},7781:function(t,e,r){"use strict";var n=r(39405),i=r(79299),o=n.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},30521:function(){},64830:function(t,e,r){"use strict";var n=r(31463),i=r(7114),o=r(40500),a=r(27951),s={currentBlockContainsLink:function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=r.getEntity
vendor: 6,215 bytes, line 1
1Map();return r.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some(function(t){var e=t.getEntity();return!!e&&"LINK"===n.__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,r){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=n.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),r=i.push(t,e,"insert-characters");return i.forceSelection(r,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var r=t.getCurrentContent(),n=e.getStartKey(),o=r.getBlockBefore(n);if(o&&"atomic"===o.getType()){var a=r.getBlockMap().delete(o.getKey()),u=r.merge({blockMap:a,selectionAfter:e});if(u!==r)return i.push(t,u,"remove-range")}var c=s.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 r=t.getCurrentContent(),o=e.getStartKey(),a=r.getBlockForKey(o).getLength();if(e.getStartOffset()<a)return null;var s=r.getBlockAfter(o);if(!s||"atomic"!==s.getType())return null;var u=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),c=n.removeRange(r,u,"forward");return c!==r?i.push(t,c,"remove-range"):null},onTab:function(t,e,r){var n=e.getSelection(),a=n.getAnchorKey();if(a!==n.getFocusKey())return e;var s=e.getCurrentContent(),u=s.getBlockForKey(a),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;t.preventDefault();var l=u.getDepth();if(!t.shiftKey&&l===r)return e;var f=o(s,n,t.shiftKey?-1:1,r);return i.push(e,f,"adjust-depth")},toggleBlockType:function(t,e){var r=t.getSelection(),o=r.getStartKey(),s=r.getEndKey(),u=t.getCurrentContent(),c=r;if(o!==s&&0===r.getEndOffset()){var l=a(u.getBlockBefore(s));s=l.getKey(),c=c.merge({anchorKey:o,anchorOffset:r.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile(function(t,e){return e!==o}).reverse().skipWhile(function(t,e){return e!==s}).some(function(t){return"atomic"===t.getType()}))return t;var f=u.getBlockForKey(o).getType()===e?"unstyled":e;return i.push(t,n.setBlockType(u,c,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),r=e.getAnchorKey(),n=e.getFocusKey();return e.isCollapsed()||r!==n?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var r,o=t.getSelection(),a=t.getCurrentInlineStyle();if(o.isCollapsed())return i.setInlineStyleOverride(t,a.has(e)?a.remove(e):a.add(e));var s=t.getCurrentContent();return r=a.has(e)?n.removeInlineStyle(s,o,e):n.applyInlineStyle(s,o,e),i.push(t,r,"change-inline-style")},toggleLink:function(t,e,r){var o=n.applyEntity(t.getCurrentContent(),e,r);return i.push(t,o,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),r=e.getAnchorOffset();if(e.isCollapsed()&&0===r){var i=e.getAnchorKey(),o=t.getCurrentContent(),a=o.getBlockForKey(i).getType(),s=o.getBlockBefore(i);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return n.setBlockType(o,e,"unstyled")}return null}};t.exports=s},66504:function(t,e,r){"use strict";var n=r(31463),i=r(7114),o=r(12087),a=r(27951),s=null;t.exports={cut:function(t){var e=t.getCurrentContent(),r=t.getSelection(),u=null;if(r.isCollapsed()){var c=r.getAnchorKey(),l=e.getBlockForKey(c).getLength();if(l===r.getAnchorOffset()){var f=e.getKeyAfter(c);if(null==f)return t;u=r.set("focusKey",f).set("focusOffset",0)}else u=r.set("focusOffset",l)}else u=r;s=o(e,u=a(u));var p=n.removeRange(e,u,"forward");return p===e?t:i.push(t,p,"remove-range")},paste:function(t){if(!s)return t;var e=n.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return i.push(t,e,"insert-fragment")}}},89226:function(t,e,r){"use strict";var n=function(t){function e(){return t.apply(this,arguments)||this}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(t,e,r){var n=this.getAnchorKey(),i=this.getFocusKey();if(n===i&&n===t){var o=this.getStartOffset(),a=this.getEndOffset();return e<=o&&o<=r||e<=a&&a<=r}if(t!==n&&t!==i)return!1;var s=t===n?this.getAnchorOffset():this.getFocusOffset();return e<=s&&r>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},e.createEmpty=function(t){return new e({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},e}((0,r(87614).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=n},40500:function(t){"use strict";
1t.exports=function(t,e,r,n){var i=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),s=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()+r;return e=Math.max(0,Math.min(e,n)),t.set("depth",e)});return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},62378:function(t,e,r){"use strict";var n=r(91782);t.exports=function(t,e,r,i){for(var o=e,a=t.getCharacterList();o<r;)a=a.set(o,n.applyEntity(a.get(o),i)),o++;return t.set("characterList",a)}},74420:function(t,e,r){"use strict";var n=r(62378),i=r(87614);t.exports=function(t,e,r){var o=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),c=e.getEndOffset(),l=o.skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===u}).toOrderedMap().merge(i.OrderedMap([[u,o.get(u)]])).map(function(t,e){var i=e===a?s:0,o=e===u?c:t.getLength();return n(t,i,o,r)});return t.merge({blockMap:o.merge(l),selectionBefore:e,selectionAfter:e})}},96223:function(t,e,r){"use strict";var n=r(95160),i=r(31168),o=r(6364),a=r(54111),s=r(93826),u=r(14983),c=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:s(t),entityRanges:a(t,e),data:t.getData().toObject()}},l=function(t,e,r,o){if(t instanceof n){r.push(c(t,e));return}t instanceof i||u(!1);var a=t.getParentKey(),s=o[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},c(t,e),{children:[]});if(a){o[a].children.push(s);return}r.push(s)},f=function(t,e){var r=e.entityMap,n=[],i={},a={},s=0;return t.getBlockMap().forEach(function(t){t.findEntityRanges(function(t){return null!==t.getEntity()},function(e){var n=t.getEntityAt(e),i=o.stringify(n);!a[i]&&(a[i]=n,r[i]="".concat(s),s++)}),l(t,r,n,i)}),{blocks:n,entityMap:r}},p=function(t,e){var r=e.blocks,n=e.entityMap,i={};return Object.keys(n).forEach(function(e,r){var n=t.getEntity(o.unstringify(e));i[r]={type:n.getType(),mutability:n.getMutability(),data:n.getData()}}),{blocks:r,entityMap:i}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=f(t,e),e=p(t,e)}},87729:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){i(t,e,r[e])})}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o,a=r(91782),s=r(95160),u=r(31168),c=r(90265),l=r(22823),f=r(60051),p=r(86061),h=r(64692),d=r(76752),g=r(78548),y=r(87614),v=y.List,m=y.Map,b=y.OrderedSet,_=r(26513),S=r(58649),w=r(38532),k=r(33729),x=g("draft_tree_data_support"),C=RegExp("\r","g"),E=RegExp("\n","g"),O=RegExp("^\n","g"),D=RegExp("&nbsp;","g"),K=RegExp("&#13;?","g"),A=RegExp("&#8203;?","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=(i(o={},p("public/DraftStyleDefault/depth0"),0),i(o,p("public/DraftStyleDefault/depth1"),1),i(o,p("public/DraftStyleDefault/depth2"),2),i(o,p("public/DraftStyleDefault/depth3"),3),i(o,p("public/DraftStyleDefault/depth4"),4),o),R=m({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),P=function(t){var e={};return t.mapKeys(function(t,r){var n=[r.element];void 0!==r.aliasedElements&&n.push.apply(n,r.aliasedElements),n.forEach(function(r){void 0===e[r]?e[r]=t:"string"==typeof e[r]?e[r]=[e[r],t]:e[r].push(t)})}),m(e)},N=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(L).some(function(r){t.classList.contains(r)&&(e=L[r])}),e},j=function(t){if(!_(t)||!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)return!1;try{return new f(t.href),!0}catch(t){return!1}},F=function(t,e){if(!w(t))return e;
1var r=t.style.fontWeight,n=t.style.fontStyle,i=t.style.textDecoration;return e.withMutations(function(t){T.indexOf(r)>=0?t.add("BOLD"):M.indexOf(r)>=0&&t.remove("BOLD"),"italic"===n?t.add("ITALIC"):"normal"===n&&t.remove("ITALIC"),"underline"===i&&t.add("UNDERLINE"),"line-through"===i&&t.add("STRIKETHROUGH"),"none"===i&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))})},z=function(t){return"ul"===t||"ol"===t},U=function(){function t(t,e){i(this,"characterList",v()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",l),i(this,"blockTypeMap",void 0),i(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&&(x?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=n({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 r=[],n=0;n<t.length;n++){var i=t[n],o=i.nodeName.toLowerCase();if("body"===o||z(o)){this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;z(o)&&(this.wrapper=o,z(s)&&this.currentDepth++),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),e)),this.currentDepth=a,this.wrapper=s;continue}var u=this.blockTypeMap.get(o);if(void 0!==u){this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var c=this.currentDepth,l=this.wrapper;this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(o,this.wrapper)||u[0]||"unstyled"),!x&&w(i)&&("unordered-list-item"===u||"ordered-list-item"===u)&&(this.currentDepth=N(i,this.currentDepth));var f=h(),p=this._toBlockConfigs(Array.from(i.childNodes),e);this._trimCurrentText(),r.push(this._makeBlockConfig({key:f,childConfigs:p,type:u})),this.currentDepth=c,this.wrapper=l;continue}if("#text"===o){this._addTextNode(i,e);continue}if("br"===o){this._addBreakNode(i,e);continue}if(k(i)&&i.attributes.getNamedItem("src")&&i.attributes.getNamedItem("src").value){this._addImgNode(i,e);continue}if(j(i)){this._addAnchorNode(i,r,e);continue}var d=e;R.has(o)&&(d=d.add(R.get(o))),d=F(i,d);var g=w(i)&&i.style.fontFamily.includes("monospace")?"CODE":null;null!=g&&(d=d.add(g)),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),d))}return r},e._appendText=function(t,e){this.currentText+=t;var r,n=a.create({style:e,entity:this.currentEntity});this.characterList=(r=this.characterList).push.apply(r,Array(t.length).fill(n))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,r=this.currentText.trimRight().length,n=this.characterList.findEntry(function(t){return null!==t.getEntity()});(e=void 0!==n?Math.min(e,n[0]):e)>(r=void 0!==(n=this.characterList.reverse().findEntry(function(t){return null!==t.getEntity()}))?Math.max(r,t-n[0]):r)?(this.currentText="",this.characterList=v()):(this.currentText=this.currentText.slice(e,r),this.characterList=this.characterList.slice(e,r))},e._addTextNode=function(t,e){var r=t.textContent;""===r.trim()&&"pre"!==this.wrapper&&(r=" "),"pre"!==this.wrapper&&(r=(r=r.replace(O,"")).replace(E," ")),this._appendText(r,e)},e._addBreakNode=function(t,e){S(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(k(t)){var r={};B.forEach(function(e){var n=t.getAttribute(e);n&&(r[e]=n)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),g("draftjs_fix_paste_for_img")?"presentation"!==t.getAttribute("role")&&this._appendText("\uD83D\uDCF7",e):this._appendText("\uD83D\uDCF7",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,r){if(_(t)){var n={};I.forEach(function(e){var r=t.getAttribute(e);r&&(n[e]=r)}),n.url=new f(t.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",n||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),r)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=t.length-1,i=0;i<=r;i++){var o=t[i];o.parent=e,o.prevSibling=i>0?t[i-1].key:null,o.nextSibling=i<r?t[i+1].key:null,o.children=v(o.childConfigs.map(function(t){return t.key})),this.contentBlocks.push(new u(n({},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 r=e._extractTextFromBlockConfigs(t.childConfigs),i=r.text,o=r.characterList;e.contentBlocks.push(new s(n({},t,{text:t.text+i,characterList:t.characterList.concat(o)})))})},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,r="",n=v(),i=0;i<=e;i++){var o=t[i];r+=o.text,n=n.concat(o.characterList),""!==r&&"unstyled"!==o.type&&(r+="\n",n=n.push(n.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);r+=a.text,n=n.concat(a.characterList)}return{text:r,characterList:n}},t}();t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,n=e(t=t.trim().replace(C,"").replace(D," ").replace(K,"").replace(A,""));return n?new U(P(r),function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null}).addDOMNode(n).getContentBlocks():null}},13673:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}
1))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}var i=r(95160),o=r(31168),a=r(17466),s=r(22823),u=r(9962);r(48049);var c=r(89226),l=r(82074),f=r(55179),p=r(59685),h=r(64692),d=r(78548),g=r(87614),y=r(14983),v=d("draft_tree_data_support"),m=g.List,b=g.Map,_=g.OrderedMap,S=function(t,e){var r=t.key,n=t.type,i=t.data;return{text:t.text,depth:t.depth||0,type:n||"unstyled",key:r||h(),data:b(i),characterList:w(t,e)}},w=function(t,e){var r=t.text,i=t.entityRanges;return l(p(r,t.inlineStyleRanges||[]),f(r,(i||[]).filter(function(t){return e.hasOwnProperty(t.key)}).map(function(t){return n({},t,{key:e[t.key]})})))},k=function(t){return n({},t,{key:t.key||h()})},x=function(t,e,r){var i=e.map(function(t){return n({},t,{parentRef:r})});return t.concat(i.reverse())},C=function(t,e){var r=t.blocks.find(function(t){return Array.isArray(t.children)&&t.children.length>0}),a=v&&!r?u.fromRawStateToRawTreeState(t).blocks:t.blocks;return v?a.map(k).reduce(function(t,r,i){Array.isArray(r.children)||y(!1);var s=r.children.map(k),u=new o(n({},S(r,e),{prevSibling:0===i?null:a[i-1].key,nextSibling:i===a.length-1?null:a[i+1].key,children:m(s.map(function(t){return t.key}))}));t=t.set(u.getKey(),u);for(var c=x([],s,u);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||y(!1);break}var g=l.children.map(k),v=new o(n({},S(l,e),{parent:f.getKey(),children:m(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)}));t=t.set(v.getKey(),v),c=x(c,g,v)}return t},_()):_((r?u.fromRawTreeStateToRawState(t).blocks:a).map(function(t){var r=new i(S(t,e));return[r.getKey(),r]}))},E=function(t){var e=t.entityMap,r={};return Object.keys(e).forEach(function(t){var n=e[t],i=n.type,o=n.mutability,a=n.data;r[t]=s.__create(i,o,a||{})}),r};t.exports=function(t){Array.isArray(t.blocks)||y(!1);var e=E(t),r=C(t,e),n=r.isEmpty()?new c:c.createEmpty(r.first().getKey());return new a({blockMap:r,entityMap:e,selectionBefore:n,selectionAfter:n})}},82074:function(t,e,r){"use strict";var n=r(91782),i=r(87614).List;t.exports=function(t,e){return i(t.map(function(t,r){var i=e[r];return n.create({style:t,entity:i})}))}},55179:function(t,e,r){"use strict";var n=r(22885).substr;t.exports=function(t,e){var r=Array(t.length).fill(null);return e&&e.forEach(function(e){for(var i=n(t,0,e.offset).length,o=i+n(t,e.offset,e.length).length,a=i;a<o;a++)r[a]=e.key}),r}},59685:function(t,e,r){"use strict";var n=r(22885),i=r(87614).OrderedSet,o=n.substr,a=i();t.exports=function(t,e){var r=Array(t.length).fill(a);return e&&e.forEach(function(e){for(var n=o(t,0,e.offset).length,i=n+o(t,e.offset,e.length).length;n<i;)r[n]=r[n].add(e.style),n++}),r}},79619:function(t){"use strict";t.exports={notEmptyKey:function(t){return null!=t&&""!=t}}},50186:function(t,e,r){"use strict";var n=r(31463),i=r(7114),o=r(39405),a=r(66786),s=r(22256),u=r(38516),c=r(27951),l=r(11916),f=o.isBrowser("Firefox");function p(t,e,r,o,a){var s=n.replaceText(t.getCurrentContent(),t.getSelection(),e,r,o);return i.push(t,s,"insert-characters",a)}t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t._latestEditorState,n=e.data;if(n){if(t.props.handleBeforeInput&&s(t.props.handleBeforeInput(n,r,e.timeStamp))){e.preventDefault();return}var o=r.getSelection(),h=o.getStartOffset(),d=o.getAnchorKey();if(!o.isCollapsed()){e.preventDefault(),t.update(p(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!0));return}var g=p(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!1),y=!1;if(!(y=u(t._latestCommittedEditorState))){var v=r.getBlockTree(d),m=g.getBlockTree(d);y=v.size!==m.size||v.zip(m).some(function(t){var e=t[0],r=t[1],i=e.get("start"),o=i+(i>=h?n.length:0),a=e.get("end"),s=a+(a>=h?n.length:0),u=r.get("start"),c=r.get("end"),l=r.get("decoratorKey");return e.get("decoratorKey")!==l||e.get("leaves").size!==r.get("leaves").size||o!==u||s!==c||null!=l&&c-u!=a-i})}if(y||(y=f&&("'"==n||"/"==n)),y||(y=c(g.getDirectionMap()).get(d)!==c(r.getDirectionMap()).get(d)),y){e.preventDefault(),g=i.set(g,{forceSelection:!0}
1),t.update(g);return}g=i.set(g,{nativelyRenderedContent:g.getCurrentContent()}),t._pendingStateFromBeforeInput=g,l(function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}},85234:function(t,e,r){"use strict";var n=r(7114),i=r(29988),o=r(75744);t.exports=function(t,e){var r=e.currentTarget.ownerDocument;if(!t.props.preserveSelectionOnBlur&&o(r)===r.body){var a=r.defaultView.getSelection(),s=t.editor;1===a.rangeCount&&i(s,a.anchorNode)&&i(s,a.focusNode)&&a.removeAllRanges()}var u=t._latestEditorState,c=u.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(n.acceptSelection(u,l))}}},59587:function(t,e,r){"use strict";var n=r(7114);t.exports=function(t,e){t.setMode("composite"),t.update(n.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},21589:function(t,e,r){"use strict";var n=r(35001);t.exports=function(t,e){if(t._latestEditorState.getSelection().isCollapsed()){e.preventDefault();return}t.setClipboard(n(t._latestEditorState))}},73765:function(t,e,r){"use strict";var n=r(31463),i=r(7114),o=r(51981),a=r(35001),s=r(94839),u=r(80639);t.exports=function(t,e){var r,c=t._latestEditorState,l=c.getSelection(),f=e.target;if(l.isCollapsed()){e.preventDefault();return}u(f)&&(r=s(o.getScrollParent(f)));var p=a(c);t.setClipboard(p),t.setMode("cut"),setTimeout(function(){var e;t.restoreEditorDOM(r),t.exitCurrentMode(),t.update((e=n.removeRange(c.getCurrentContent(),c.getSelection(),"forward"),i.push(c,e,"remove-range")))},0)}},13745:function(t){"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},82524:function(t){"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},16619:function(t,e,r){"use strict";var n=r(7114),i=r(39405);t.exports=function(t,e){var r=t._latestEditorState,o=r.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(n.forceSelection(r,a)):t.update(n.acceptSelection(r,a))}}},93430:function(t,e,r){"use strict";var n=r(31463),i=r(52358),o=r(7114),a=r(39405),s=r(79619).notEmptyKey,u=r(20279),c=r(55117),l=r(27951),f=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r,a,p,h,d=t.editor.ownerDocument.defaultView.getSelection(),g=d.anchorNode,y=d.isCollapsed,v=(null==g?void 0:g.nodeType)!==Node.TEXT_NODE&&(null==g?void 0:g.nodeType)!==Node.ELEMENT_NODE;if(null!=g&&!v){if(g.nodeType===Node.TEXT_NODE&&(null!==g.previousSibling||null!==g.nextSibling)){var m=g.parentNode;if(null==m)return;g.nodeValue=m.textContent;for(var b=m.firstChild;null!=b;b=b.nextSibling)b!==g&&m.removeChild(b)}var _=g.textContent,S=t._latestEditorState,w=l(u(g)),k=i.decode(w),x=k.blockKey,C=k.decoratorKey,E=k.leafKey,O=S.getBlockTree(x).getIn([C,"leaves",E]),D=O.start,K=O.end,A=S.getCurrentContent(),T=A.getBlockForKey(x),M=T.getText().slice(D,K);if(_.endsWith("\n\n")&&(_=_.slice(0,-1)),_===M){var I=e.nativeEvent.inputType;if(I){var B="deleteContentBackward"===I?c(S):S;B!==S&&(t.restoreEditorDOM(),t.update(B))}return}var L=S.getSelection(),R=L.merge({anchorOffset:D,focusOffset:K,isBackward:!1}),P=T.getEntityAt(D),N=s(P)?A.getEntity(P):null,j="MUTABLE"===(null!=N?N.getMutability():null),F=n.replaceText(A,R,_,T.getInlineStyleAt(D),j?T.getEntityAt(D):null);if(f)h=(p=D+Math.min(r=d.anchorOffset,a=d.focusOffset))+Math.abs(r-a),r=p,a=h;else{var z=_.length-M.length;p=L.getStartOffset(),h=L.getEndOffset(),r=y?h+z:p,a=h+z}var U=F.merge({selectionBefore:A.getSelectionAfter(),selectionAfter:L.merge({anchorOffset:r,focusOffset:a})});t.update(o.push(S,U,j?"spellcheck-change":"apply-entity"))}}},90161:function(t,e,r){"use strict";var n=r(31463),i=r(7114),o=r(7781),a=r(37324),s=r(66504),u=r(39405),c=r(22256),l=r(65),f=r(7428),p=r(12488),h=r(18725),d=r(80178),g=r(49936),y=r(55117),v=r(74831),m=r(48484),b=r(8134),_=o.isOptionKeyCommand,S=u.isBrowser("Chrome");t.exports=function(t,e){var r=e.which,o=t._latestEditorState;function u(r){var n=t.props[r];return!!n&&(n(e),!0)}switch(r){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&c(t.props.handleReturn(e,o)))return;break;case a.ESC:if(e.preventDefault(),u("onEscape"))return;break;case a.TAB:if(u("onTab"))return;break;case a.UP:if(u("onUpArrow"))return;break;case a.RIGHT:if(u("onRightArrow"))return;break;case a.DOWN:if(u("onDownArrow"))return;break;case a.LEFT:if(u("onLeftArrow"))return;break;case a.SPACE:S&&_(e)&&e.preventDefault()}var w=t.props.keyBindingFn(e);if(null==w||""===w){if(r===a.SPACE&&S&&_(e)){var k=n.replaceText(o.getCurrentContent(),o.getSelection(),"\xa0");t.update(i.push(o,k,"insert-characters"))}return}if("undo"===w){b(e,o,t.update);return}if(e.preventDefault(),!(t.props.handleKeyCommand&&c(t.props.handleKeyCommand(w,o,e.timeStamp)))){var x=function(t,e,r){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,r);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 s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(w,o,e);x!==o&&t.update(x)}}},22711:function(t,e,r){"use strict";var n=r(21626),i=r(91782),o=r(64463),a=r(31463),s=r(34016),u=r(7114),c=r(64830),l=r(66786),f=r(27452),p=r(22256),h=r(4934);function d(t,e,r){var n=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return u.push(t,n.set("entityMap",r),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var r=new o(e.clipboardData);if(!r.isRichText()){var g=r.getFiles(),y=r.getText();if(g.length>0){if(t.props.handlePastedFiles&&p(t.props.handlePastedFiles(g)))return;
1f(g,function(e){if(e=e||y){var r=t._latestEditorState,o=h(e),f=i.create({style:r.getCurrentInlineStyle(),entity:l(r.getCurrentContent(),r.getSelection())}),p=c.getCurrentBlockType(r),d=s.processText(o,f,p),g=n.createFromArray(d),v=a.replaceWithFragment(r.getCurrentContent(),r.getSelection(),g);t.update(u.push(r,v,"insert-fragment"))}});return}}var v=[],m=r.getText(),b=r.getHTML(),_=t._latestEditorState;if(t.props.formatPastedText){var S=t.props.formatPastedText(m,b),w=S.text,k=S.html;m=w,b=k}if(!(t.props.handlePastedText&&p(t.props.handlePastedText(m,b,_)))){if(m&&(v=h(m)),!t.props.stripPastedStyles){var x,C,E=t.getClipboard();if(!t.props.formatPastedText&&r.isRichText()&&E){if((null===(C=b)||void 0===C?void 0:C.indexOf(t.getEditorKey()))!==-1||1===v.length&&1===E.size&&E.first().getText()===m){t.update(d(t._latestEditorState,E));return}}else if(E&&r.types.includes("com.apple.webarchive")&&!r.types.includes("text/html")&&(x=v).length===E.size&&E.valueSeq().every(function(t,e){return t.getText()===x[e]})){t.update(d(t._latestEditorState,E));return}if(b){var O=s.processHTML(b,t.props.blockRenderMap);if(O){var D=O.contentBlocks,K=O.entityMap;if(D){var A=n.createFromArray(D);t.update(d(t._latestEditorState,A,K));return}}}t.setClipboard(null)}if(v.length){var T=i.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),M=c.getCurrentBlockType(_),I=s.processText(v,T,M),B=n.createFromArray(I);t.update(d(t._latestEditorState,B))}}}},6943:function(t,e,r){"use strict";var n=r(86268),i=r(7114),o=r(12054),a=r(36595);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();n.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:Error().stack}),selectionState:JSON.stringify(e.toJS())})}return}var r=t.props.editorState,s=a(r,o(t)),u=s.selectionState;u!==r.getSelection()&&(r=s.needsRecovery?i.forceSelection(r,u):i.acceptSelection(r,u),t.update(r))}},54111:function(t,e,r){"use strict";var n=r(6364),i=r(22885).strlen;t.exports=function(t,e){var r=[];return t.findEntityRanges(function(t){return!!t.getEntity()},function(o,a){var s=t.getText(),u=t.getEntityAt(o);r.push({offset:i(s.slice(0,o)),length:i(s.slice(o,a)),key:Number(e[n.stringify(u)])})}),r}},93826:function(t,e,r){"use strict";var n=r(22885),i=r(15031),o=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map(function(t){return t.getStyle()}).toList(),r=e.flatten().toSet().map(function(r){var s;return s=[],i(e.map(function(t){return t.has(r)}).toList(),o,a,function(e,i){var o=t.getText();s.push({offset:n.strlen(o.slice(0,e)),length:n.strlen(o.slice(e,i)),style:r})}),s});return Array.prototype.concat.apply(s,r.toJS())}},59425:function(t,e,r){"use strict";var n=r(22885),i=r(86190),o=r(17258),a=r(14983);function s(t,e){for(var r=1/0,n=1/0,i=-1/0,o=-1/0,a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(r=Math.min(r,s.top),n=Math.min(n,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=n&&i-r<e&&o-n<e}t.exports=function(t){t.collapsed||a(!1);var e,r,u,c,l,f,p=(t=t.cloneRange()).startContainer;1!==p.nodeType&&(p=p.parentNode);var h=(r=getComputedStyle(e=p),(c=(u=i(e)).createElement("div")).style.fontFamily=r.fontFamily,c.style.fontSize=r.fontSize,c.style.fontStyle=r.fontStyle,c.style.fontWeight=r.fontWeight,c.style.lineHeight=r.lineHeight,c.style.position="absolute",c.textContent="M",(l=u.body)||a(!1),l.appendChild(c),f=c.getBoundingClientRect(),l.removeChild(c),f.height),d=t.endContainer,g=t.endOffset;for(t.setStart(t.startContainer,0);s(o(t),h)&&(d=t.startContainer,g=t.startOffset,d.parentNode||a(!1),t.setStartBefore(d),1!==d.nodeType||"inline"===getComputedStyle(d).display););for(var y=d,v=g-1;;){for(var m=y.nodeValue,b=v;b>=0;b--)if(!(null!=m&&b>0&&n.isSurrogatePair(m,b-1))){if(t.setStart(y,b),s(o(t),h))d=y,g=b;else break}if(-1===b||0===y.childNodes.length)break;v=function(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}}(y=y.childNodes[b])}return t.setStart(d,g),t}},20279:function(t,e,r){"use strict";var n=r(86190),i=r(92885);t.exports=function(t){for(var e=t;e&&e!==n(t).documentElement;){var r=i(e);if(null!=r)return r;e=e.parentNode}return null}},15031:function(t){"use strict";
1t.exports=function(t,e,r,n){if(t.size){var i=0;t.reduce(function(t,o,a){return e(t,o)||(r(t)&&n(i,a),i=a),o}),r(t.last())&&n(i,t.count())}}},64692:function(t){"use strict";var e={};t.exports=function(){for(var t;void 0===t||e.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(16777216*Math.random()).toString(32);return e[t]=!0,t}},40891:function(t,e,r){"use strict";var n=r(98446),i=r(95613),o=r(14983);function a(t,e,r,a,s,u,c){var l=r.getStartOffset(),f=r.getEndOffset(),p=t.__get(s).getMutability(),h=c?l:f;if("MUTABLE"===p)return r;var d=i(e,s).filter(function(t){return h<=t.end&&h>=t.start});1!=d.length&&o(!1);var g=d[0];if("IMMUTABLE"===p)return r.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});u||(c?f=g.end:l=g.start);var y=n.getRemovalRange(l,f,e.getText().slice(g.start,g.end),g.start,a);return r.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}t.exports=function(t,e,r,n,i){var o=n.getStartOffset(),s=n.getEndOffset(),u=e.getEntityAt(o),c=r.getEntityAt(s-1);if(!u&&!c)return n;var l=n;if(u&&u===c)l=a(t,e,l,i,u,!0,!0);else if(u&&c){var f=a(t,e,l,i,u,!1,!0),p=a(t,r,l,i,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(u){var h=a(t,e,l,i,u,!1,!0);l=l.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(c){var d=a(t,r,l,i,c,!1,!1);l=l.merge({focusOffset:d.getEndOffset(),isBackward:!1})}return l}},12054:function(t,e,r){"use strict";var n=r(14983),i=r(38532);t.exports=function(t){var e=t.editorContainer;return e||n(!1),i(e.firstChild)||n(!1),e.firstChild}},12087:function(t,e,r){"use strict";var n=r(81712),i=r(54753);t.exports=function(t,e){var r=e.getStartKey(),o=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),u=i(t,e).getBlockMap(),c=u.keySeq(),l=c.indexOf(r),f=c.indexOf(a)+1;return n(u.slice(l,f).map(function(t,e){var n=t.getText(),i=t.getCharacterList();return r===a?t.merge({text:n.slice(o,s),characterList:i.slice(o,s)}):e===r?t.merge({text:n.slice(o),characterList:i.slice(o)}):e===a?t.merge({text:n.slice(0,s),characterList:i.slice(0,s)}):t}))}},86190:function(t){"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},64980:function(t,e,r){"use strict";var n=r(7781),i=r(37324),o=r(39405),a=o.isPlatform("Mac OS X"),s=a&&o.isBrowser("Firefox < 29"),u=n.hasCommandModifier,c=n.isCtrlKeyCommand;function l(t){return a&&t.altKey||c(t)}t.exports=function(t){switch(t.keyCode){case 66:return u(t)?"bold":null;case 68:return c(t)?"delete":null;case 72:return c(t)?"backspace":null;case 73:return u(t)?"italic":null;case 74:return u(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 u(t)?"underline":null;case 87:return a&&c(t)?"backspace-word":null;case 89:if(c(t))return a?"secondary-paste":"redo";return null;case 90:return(u(t)?t.shiftKey?"redo":"undo":null)||null;case i.RETURN:return"split-block";case i.DELETE:return!a&&t.shiftKey?null:l(t)?"delete-word":"delete";case i.BACKSPACE:return u(t)&&a?"backspace-to-start-of-line":l(t)?"backspace-word":"backspace";case i.LEFT:return s&&u(t)?"move-selection-to-start-of-block":null;case i.RIGHT:return s&&u(t)?"move-selection-to-end-of-block":null;default:return null}}},36595:function(t,e,r){"use strict";var n=r(23024);t.exports=function(t,e){var r=e.ownerDocument.defaultView.getSelection(),i=r.anchorNode,o=r.anchorOffset,a=r.focusNode,s=r.focusOffset;return 0===r.rangeCount||null==i||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:n(t,e,i,o,a,s)}},23024:function(t,e,r){"use strict";var n=r(20279),i=r(92885),o=r(1769),a=r(14983),s=r(47791),u=r(27951);function c(t,e,r){var o=e,c=n(o);if(null!=c||t&&(t===o||t.firstChild===o)||a(!1),t===o&&(s(o=o.firstChild)||a(!1),"true"!==o.getAttribute("data-contents")&&a(!1),r>0&&(r=o.childNodes.length)),0===r){var f=null;if(null!=c)f=c;else{var p=function(t){for(;t.firstChild&&(s(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||i(t.firstChild));)t=t.firstChild;return t}(o);f=u(i(p))}return{key:f,offset:0}}var h=o.childNodes[r-1],d=null,g=null;if(i(h)){var y=function(t){for(;
1t.lastChild&&(s(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||i(t.lastChild));)t=t.lastChild;return t}(h);d=u(i(y)),g=l(y)}else d=u(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,r,i,a,s){var l=r.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:o(t,u(n(r)),i,u(n(a)),s),needsRecovery:!1};var p=null,h=null,d=!0;return l?(p={key:u(n(r)),offset:i},h=c(e,a,s)):f?(h={key:u(n(a)),offset:s},p=c(e,r,i)):(p=c(e,r,i),h=c(e,a,s),r===a&&i===s&&(d=!!r.firstChild&&"BR"!==r.firstChild.nodeName)),{selectionState:o(t,p.key,p.offset,h.key,h.offset),needsRecovery:d}}},66786:function(t,e,r){"use strict";var n=r(79619).notEmptyKey;function i(t,e){return n(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){if(e.isCollapsed()){var r,n=e.getAnchorKey(),o=e.getAnchorOffset();return o>0?(r=t.getBlockForKey(n).getEntityAt(o-1))!==t.getBlockForKey(n).getEntityAt(o)?null:i(t.getEntityMap(),r):null}var a=e.getStartKey(),s=e.getStartOffset(),u=t.getBlockForKey(a);return r=s===u.getLength()?null:u.getEntityAt(s),i(t.getEntityMap(),r)}},35001:function(t,e,r){"use strict";var n=r(12087);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:n(t.getCurrentContent(),e)}},61965:function(t,e,r){"use strict";var n=r(31168);t.exports=function(t,e){if(!(t instanceof n))return null;var r=t.getNextSiblingKey();if(r)return r;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}},79846:function(t){"use strict";t.exports=function(t){return Object.keys(t).map(function(e){return t[e]})}},67527:function(t,e,r){"use strict";var n=r(17258);t.exports=function(t){var e=n(t),r=0,i=0,o=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];r=s.top,i=s.right,o=s.bottom,a=s.left}else{var u=e[0];r=u.top,i=u.right,o=u.bottom,a=u.left}for(var c=1;c<e.length;c++){var l=e[c];0!==l.height&&0!==l.width&&(r=Math.min(r,l.top),i=Math.max(i,l.right),o=Math.max(o,l.bottom),a=Math.min(a,l.left))}}return{top:r,right:i,bottom:o,left:a,width:i-a,height:o-r}}},17258:function(t,e,r){"use strict";var n=r(39405),i=r(14983),o=n.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),r=[],n=t.endContainer;null!=n;n=n.parentNode){var o,a=n===t.commonAncestorContainer;a?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var s=Array.from(e.getClientRects());if(r.push(s),a)return r.reverse(),(o=[]).concat.apply(o,r);e.setEndBefore(n)}i(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=o},95613:function(t,e,r){"use strict";var n=r(14983);t.exports=function(t,e){var r=[];return t.findEntityRanges(function(t){return t.getEntity()===e},function(t,e){r.push({start:t,end:e})}),r.length||n(!1),r}},76752:function(t,e,r){"use strict";var n=r(39405),i=r(14983),o=n.isBrowser("IE <= 9");t.exports=function(t){var e,r=null;return!o&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||i(!1),e.documentElement.innerHTML=t,r=e.getElementsByTagName("body")[0]),r}},92885:function(t,e,r){"use strict";var n=r(47791);t.exports=function t(e){if(n(e)){var r=e.getAttribute("data-offset-key");if(r)return r;for(var i=0;i<e.childNodes.length;i++){var o=t(e.childNodes[i]);if(o)return o}}return null}},27452:function(t,e,r){"use strict";var n=r(14983),i=/\.textClipping$/,o={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,e){var a=0,s=[];t.forEach(function(u){!function(t,e){if(!r.g.FileReader||t.type&&!(t.type in o)){e("");return}if(""===t.type){var a="";i.test(t.name)&&(a=t.name.replace(i,"")),e(a);return}var s=new FileReader;s.onload=function(){var t=s.result;"string"!=typeof t&&n(!1),e(t)},s.onerror=function(){e("")},s.readAsText(t)}(u,function(r){a++,r&&s.push(r.slice(0,5e3)),a==t.length&&e(s.join("\r"))})})}},1769:function(t,e,r){"use strict";var n=r(52358),i=r(27951);t.exports=function(t,e,r,o,a){var s=i(t.getSelection());if(!e||!o)return s;var u=n.decode(e),c=u.blockKey,l=t.getBlockTree(c),f=l&&l.getIn([u.decoratorKey,"leaves",u.leafKey]),p=n.decode(o),h=p.blockKey,d=t.getBlockTree(h),g=d&&d.getIn([p.decoratorKey,"leaves",p.leafKey]);if(!f||!g)return s;var y=f.get("start"),v=g.get("start"),m=f?y+r:null,b=g?v+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===m&&s.getFocusKey()===h&&s.getFocusOffset()===b)return s;var _=!1;if(c===h){var S=f.get("end"),w=g.get("end");_=v===y&&w===S?a<r:v<y}else _=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(t){return t===c||t===h}).first()===h;return s.merge({anchorKey:c,anchorOffset:m,focusKey:h,focusOffset:b,isBackward:_})}},74393:function(t,e,r){"use strict";var n=r(67527);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var r=n(e.getRangeAt(0)),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r}},85775:function(t){"use strict";
1t.exports=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}},78548:function(t){"use strict";t.exports=function(t){return"undefined"!=typeof window&&!!window.__DRAFT_GKX&&!!window.__DRAFT_GKX[t]}},83963:function(t,e,r){"use strict";var n=r(21626),i=r(31168),o=r(87614),a=r(87710),s=r(14983),u=r(81712),c=o.List,l=function(t,e,r,n,i,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",u=r.get(i),c=u.getText(),l=u.getCharacterList(),f=o+n.getText().length,p=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":p=n.getData().merge(u.getData());break;case"REPLACE_WITH_NEW_DATA":p=n.getData()}var h=u.getType();c&&"unstyled"===h&&(h=n.getType());var d=u.merge({text:c.slice(0,o)+n.getText()+c.slice(o),characterList:a(l,n.getCharacterList(),o),type:h,data:p});return t.merge({blockMap:r.set(i,d),selectionBefore:e,selectionAfter:e.merge({anchorKey:i,anchorOffset:f,focusKey:i,focusOffset:f,isBackward:!1})})},f=function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.slice(0,e),a=i.slice(0,e),s=r.first();return t.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?t.getType():s.getType(),data:s.getData()})},p=function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.length,a=n.slice(e,o),s=i.slice(e,o),u=r.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})},h=function(t,e){var r=t.getKey(),n=t,i=[];for(e.get(r)&&i.push(r);n&&n.getNextSiblingKey();){var o=n.getNextSiblingKey();if(!o)break;i.push(o),n=e.get(o)}return i},d=function(t,e,r,o,a,s){var u,l=r.first() instanceof i,d=[],g=o.size,y=r.get(a),v=o.first(),m=o.last(),b=m.getLength(),_=m.getKey(),S=l&&(!y.getChildKeys().isEmpty()||!v.getChildKeys().isEmpty());r.forEach(function(t,e){if(e!==a){d.push(t);return}S?d.push(t):d.push(f(t,s,o)),o.slice(S?0:1,g-1).forEach(function(t){return d.push(t)}),d.push(p(t,s,o))});var w=n.createFromArray(d);return l&&(w=(u=w).withMutations(function(t){var e=y.getKey(),r=v.getKey(),n=y.getNextSiblingKey(),i=y.getParentKey(),o=h(v,u),a=o[o.length-1];if(t.get(r)?(t.setIn([e,"nextSibling"],r),t.setIn([r,"prevSibling"],e)):(t.setIn([e,"nextSibling"],v.getNextSiblingKey()),t.setIn([v.getNextSiblingKey(),"prevSibling"],e)),t.setIn([a,"nextSibling"],n),n&&t.setIn([n,"prevSibling"],a),o.forEach(function(e){return t.setIn([e,"parent"],i)}),i){var s=u.get(i).getChildKeys(),l=s.indexOf(e),f=s.toArray();f.splice.apply(f,[l+1,0].concat(o)),t.setIn([i,"children"],c(f))}})),t.merge({blockMap:w,selectionBefore:e,selectionAfter:e.merge({anchorKey:_,anchorOffset:b,focusKey:_,focusOffset:b,isBackward:!1})})};t.exports=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var o=t.getBlockMap(),a=u(r),c=e.getStartKey(),f=e.getStartOffset(),p=o.get(c);return(p instanceof i&&(p.getChildKeys().isEmpty()||s(!1)),1===a.size)?l(t,e,o,a.first(),c,f,n):d(t,e,o,a,c,f)}},87710:function(t){"use strict";t.exports=function(t,e,r){var n=t;if(r===n.count())e.forEach(function(t){n=n.push(t)});else if(0===r)e.reverse().forEach(function(t){n=n.unshift(t)});else{var i=n.slice(0,r),o=n.slice(r);n=i.concat(e,o).toList()}return n}},5616:function(t,e,r){"use strict";var n=r(87614),i=r(87710),o=r(14983),a=n.Repeat;t.exports=function(t,e,r,n){e.isCollapsed()||o(!1);var s=null;if(null!=r&&(s=r.length),null==s||0===s)return t;var u=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),f=u.get(c),p=f.getText(),h=f.merge({text:p.slice(0,l)+r+p.slice(l,f.getLength()),characterList:i(f.getCharacterList(),a(n,s).toList(),l)}),d=l+s;return t.merge({blockMap:u.set(c,h),selectionAfter:e.merge({anchorOffset:d,focusOffset:d})})}},47791:function(t){"use strict";t.exports=function(t){return!!t&&!!t.ownerDocument&&t.nodeType===Node.ELEMENT_NODE}},22256:function(t){"use strict";t.exports=function(t){return"handled"===t||!0===t}},26513:function(t,e,r){"use strict";var n=r(47791);t.exports=function(t){return!!t&&!!t.ownerDocument&&n(t)&&"A"===t.nodeName}},58649:function(t,e,r){"use strict";var n=r(47791);t.exports=function(t){return!!t&&!!t.ownerDocument&&n(t)&&"BR"===t.nodeName}},38532:function(t){"use strict";
1t.exports=function(t){return!!t&&!!t.ownerDocument&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},33729:function(t,e,r){"use strict";var n=r(47791);t.exports=function(t){return!!t&&!!t.ownerDocument&&n(t)&&"IMG"===t.nodeName}},80639:function(t){"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1}},38516:function(t){"use strict";t.exports=function(t){var e=t.getSelection(),r=e.getAnchorKey(),n=t.getBlockTree(r),i=e.getStartOffset(),o=!1;return n.some(function(t){return i===t.get("start")?(o=!0,!0):i<t.get("end")&&t.get("leaves").some(function(t){return i===t.get("start")&&(o=!0,!0)})}),o}},79299:function(t,e,r){"use strict";var n=r(37324);t.exports=function(t){return t.which===n.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}},65:function(t,e,r){"use strict";var n=r(7114),i=r(59425),o=r(23024),a=r(22038),s=r(22249);t.exports=function(t,e){var r=s(t,function(t){var r=t.getSelection();if(r.isCollapsed()&&0===r.getAnchorOffset())return a(t,1);var n=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return o(t,null,(n=i(n)).endContainer,n.endOffset,n.startContainer,n.startOffset).selectionState},"backward");return r===t.getCurrentContent()?t:n.push(t,r,"remove-range")}},7428:function(t,e,r){"use strict";var n=r(14436),i=r(7114),o=r(22038),a=r(22249);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),r=e.getStartOffset();if(0===r)return o(t,1);var i=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(i).getText().slice(0,r);return o(t,n.getBackward(a).length||1)},"backward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},12488:function(t,e,r){"use strict";var n=r(14436),i=r(7114),o=r(27762),a=r(22249);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),r=e.getStartOffset(),i=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(i).getText().slice(r);return o(t,n.getForward(a).length||1)},"forward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},18725:function(t,e,r){"use strict";var n=r(31463),i=r(7114);t.exports=function(t){var e=n.splitBlock(t.getCurrentContent(),t.getSelection());return i.push(t,e,"split-block")}},80178:function(t,e,r){"use strict";var n=r(7114);t.exports=function(t){var e=t.getSelection(),r=e.getEndKey(),i=t.getCurrentContent().getBlockForKey(r).getLength();return n.set(t,{selection:e.merge({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}),forceSelection:!0}
1)}},49936:function(t,e,r){"use strict";var n=r(7114);t.exports=function(t){var e=t.getSelection(),r=e.getStartKey();return n.set(t,{selection:e.merge({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1}),forceSelection:!0})}},55117:function(t,e,r){"use strict";var n=r(7114),i=r(22885),o=r(22038),a=r(22249);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=e.getAnchorKey(),a=e.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a-1];return o(t,s?i.getUTF16Length(s,0):1)},"backward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return n.push(t,e.set("selectionBefore",r),r.isCollapsed()?"backspace-character":"remove-range")}},74831:function(t,e,r){"use strict";var n=r(7114),i=r(22885),o=r(27762),a=r(22249);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=e.getAnchorKey(),a=e.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a];return o(t,s?i.getUTF16Length(s,0):1)},"forward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return n.push(t,e.set("selectionBefore",r),r.isCollapsed()?"delete-character":"remove-range")}},48484:function(t,e,r){"use strict";var n=r(31463),i=r(7114),o=r(12087);t.exports=function(t){var e,r,a=t.getSelection();if(!a.isCollapsed())return t;var s=a.getAnchorOffset();if(0===s)return t;var u=a.getAnchorKey(),c=t.getCurrentContent(),l=c.getBlockForKey(u).getLength();if(l<=1)return t;s===l?(e=a.set("anchorOffset",s-1),r=a):r=(e=a.set("focusOffset",s+1)).set("anchorOffset",s+1);var f=o(c,e),p=n.removeRange(c,e,"backward"),h=p.getSelectionAfter(),d=h.getAnchorOffset()-1,g=h.merge({anchorOffset:d,focusOffset:d}),y=n.replaceWithFragment(p,g,f),v=i.push(t,y,"insert-fragment");return i.acceptSelection(v,r)}},8134:function(t,e,r){"use strict";var n=r(7114);t.exports=function(t,e,r){var i=n.undo(e);if("spellcheck-change"===e.getLastChangeType()){var o=i.getCurrentContent();r(n.set(i,{nativelyRenderedContent:o}));return}if(t.preventDefault(),!e.getNativelyRenderedContent()){r(i);return}r(n.set(e,{nativelyRenderedContent:null})),setTimeout(function(){r(i)},0)}},4842:function(t,e,r){"use strict";var n=r(87614).Map;t.exports=function(t,e,r){var i=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===i}).takeUntil(function(t,e){return e===o}).concat(n([[o,a.get(o)]])).map(r);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}},9116:function(t,e,r){"use strict";var n=r(31168),i=r(61965),o=r(87614),a=r(14983),s=o.OrderedMap,u=o.List,c=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}},l=function(t,e,r,n,i){if(!i)return t;var o="after"===n,a=e.getKey(),s=r.getKey(),l=e.getParentKey(),f=e.getNextSiblingKey(),p=e.getPrevSiblingKey(),h=r.getParentKey(),d=o?r.getNextSiblingKey():s,g=o?s:r.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(),r=e.indexOf(s),n=e.toArray();return n.splice(o?r+1:0!==r?r-1:0,0,a),t.merge({children:u(n)})}),c(a,t,function(t){return t.merge({nextSibling:d,prevSibling:g,parent:h})})})};t.exports=function(t,e,r,o){"replace"!==o||a(!1);var u=r.getKey(),c=e.getKey();c!==u||a(!1);var f=t.getBlockMap(),p=e instanceof n,h=[e],d=f.delete(c);p&&(h=[],d=f.withMutations(function(t){var r=e.getNextSiblingKey(),n=i(e,t);t.toSeq().skipUntil(function(t){return t.getKey()===c}).takeWhile(function(t){var e=t.getKey(),i=e===c,o=!r&&t.getParentKey()&&(!n||e!==n);return!!(i||r&&e!==r||o)}).forEach(function(e){h.push(e),t.delete(e.getKey())})}));var g=d.toSeq().takeUntil(function(t){return t===r}),y=d.toSeq().skipUntil(function(t){return t===r}).skip(1),v=h.map(function(t){return[t.getKey(),t]}),m=s();if("before"===o){var b=t.getBlockBefore(u);b&&b.getKey()===e.getKey()&&a(!1),m=g.concat([].concat(v,[[u,r]]),y).toOrderedMap()}else if("after"===o){var _=t.getBlockAfter(u);_&&_.getKey()===c&&a(!1),m=g.concat([[u,r]].concat(v),y).toOrderedMap()}return t.merge({blockMap:l(m,e,r,o,p),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:c,focusKey:c})})}},22038:function(t,e,r){"use strict";r(26590),t.exports=function(t,e){var r=t.getSelection(),n=t.getCurrentContent(),i=r.getStartKey(),o=r.getStartOffset(),a=i,s=0;if(e>o){var u=n.getKeyBefore(i);null==u?a=i:(a=u,s=n.getBlockForKey(u).getText().length)}else s=o-e;return r.merge({focusKey:a,focusOffset:s,isBackward:!0})}},27762:function(t,e,r){"use strict";r(26590),t.exports=function(t,e){var r,n=t.getSelection(),i=n.getStartKey(),o=n.get
1StartOffset(),a=t.getCurrentContent(),s=i;return e>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+e,n.merge({focusKey:s,focusOffset:r})}},81712:function(t,e,r){"use strict";var n=r(31168),i=r(64692),o=r(87614).OrderedMap,a=function(t){var e,r={};return o(t.withMutations(function(t){t.forEach(function(n,o){var a=n.getKey(),s=n.getNextSiblingKey(),u=n.getPrevSiblingKey(),c=n.getChildKeys(),l=n.getParentKey(),f=i();if(r[a]=f,s&&(t.get(s)?t.setIn([s,"prevSibling"],f):t.setIn([a,"nextSibling"],null)),u&&(t.get(u)?t.setIn([u,"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(n.getKey()),f))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],f),t.setIn([a,"prevSibling"],r[e.getKey()])),e=t.get(a);c.forEach(function(e){t.get(e)?t.setIn([e,"parent"],f):t.setIn([a,"children"],n.getChildKeys().filter(function(t){return t!==e}))})})}).toArray().map(function(t){return[r[t.getKey()],t.set("key",r[t.getKey()])]}))};t.exports=function(t){return t.first() instanceof n?a(t):o(t.toArray().map(function(t){var e=i();return[e,t.set("key",e)]}))}},54753:function(t,e,r){"use strict";var n=r(91782),i=r(15031),o=r(14983);function a(t,e,r){var a=e.getCharacterList(),s=r>0?a.get(r-1):void 0,u=r<a.count()?a.get(r):void 0,c=s?s.getEntity():void 0,l=u?u.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==t.__get(l).getMutability()){for(var f,p,h=(i(a,function(t,e){return t.getEntity()===e.getEntity()},function(t){return t.getEntity()===l},function(t,e){t<=r&&e>=r&&(f={start:t,end:e})}),"object"!=typeof f&&o(!1),f),d=h.start,g=h.end;d<g;)p=a.get(d),a=a.set(d,n.applyEntity(p,null)),d++;return e.set("characterList",a)}return e}t.exports=function(t,e){var r=t.getBlockMap(),n=t.getEntityMap(),i={},o=e.getStartKey(),s=e.getStartOffset(),u=r.get(o),c=a(n,u,s);c!==u&&(i[o]=c);var l=e.getEndKey(),f=e.getEndOffset(),p=r.get(l);o===l&&(p=c);var h=a(n,p,f);return(h!==p&&(i[l]=h),Object.keys(i).length)?t.merge({blockMap:r.merge(i),selectionAfter:e}):t.set("selectionAfter",e)}},91249:function(t,e,r){"use strict";var n=r(31168),i=r(61965),o=r(87614);o.List;var a=o.Map,s=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}},u=function(t,e){var r=[];if(!t)return r;for(var n=e.get(t);n&&n.getParentKey();){var i=n.getParentKey();i&&r.push(i),n=i?e.get(i):null}return r},c=function(t,e){var r=[];if(!t)return r;for(var n=i(t,e);n&&e.get(n);){var o=e.get(n);r.push(n),n=o.getParentKey()?i(o,e):null}return r},l=function(t,e,r){if(!t)return null;for(var n=r.get(t.getKey()).getNextSiblingKey();n&&!e.get(n);)n=r.get(n).getNextSiblingKey()||null;return n},f=function(t,e,r){if(!t)return null;for(var n=r.get(t.getKey()).getPrevSiblingKey();n&&!e.get(n);)n=r.get(n).getPrevSiblingKey()||null;return n},p=function(t,e,r){if(0===e)for(;e<r;)t=t.shift(),e++;else if(r===t.count())for(;r>e;)t=t.pop(),r--;else{var n=t.slice(0,e),i=t.slice(r);t=n.concat(i).toList()}return t};t.exports=function(t,e){if(e.isCollapsed())return t;var r,o,h=t.getBlockMap(),d=e.getStartKey(),g=e.getStartOffset(),y=e.getEndKey(),v=e.getEndOffset(),m=h.get(d),b=h.get(y),_=m instanceof n,S=[];if(_){var w=b.getChildKeys(),k=u(y,h);b.getNextSiblingKey()&&(S=S.concat(k)),w.isEmpty()||(S=S.concat(k.concat([y]))),S=S.concat(u(i(b,h),h))}o=m===b?p(m.getCharacterList(),g,v):m.getCharacterList().slice(0,g).concat(b.getCharacterList().slice(v));var x=m.merge({text:m.getText().slice(0,g)+b.getText().slice(v),characterList:o}),C=_&&0===g&&0===v&&b.getParentKey()===d&&null==b.getPrevSiblingKey()?a([[d,null]]):h.toSeq().skipUntil(function(t,e){return e===d}).takeUntil(function(t,e){return e===y}).filter(function(t,e){return -1===S.indexOf(e)}).concat(a([[y,null]])).map(function(t,e){return e===d?x:null}),E=h.merge(C).filter(function(t){return!!t});return _&&m!==b&&(E=(r=E).withMutations(function(t){if(s(m.getKey(),t,function(e){return e.merge({nextSibling:l(e,t,h),prevSibling:f(e,t,h)})}),s(b.getKey(),t,function(e){return e.merge({nextSibling:l(e,t,h),prevSibling:f(e,t,h)})}),u(m.getKey(),h).forEach(function(e){return s(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:l(e,t,h),prevSibling:f(e,t,h)})})}),s(m.getNextSiblingKey(),t,function(t){return t.merge({prevSibling:m.getPrevSiblingKey()})}),s(m.getPrevSiblingKey(),t,function(e){return e.merge({nextSibling:l(e,t,h)})}),s(b.getNextSiblingKey(),t,function(e){return e.merge({prevSibling:f(e,t,h)})}),s(b.getPrevSiblingKey(),t,function(t){return t.merge({nextSibling:b.getNextSiblingKey()})}
1),u(b.getKey(),h).forEach(function(e){s(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:l(e,t,h),prevSibling:f(e,t,h)})})}),c(b,h).forEach(function(e){return s(e,t,function(e){return e.merge({nextSibling:l(e,t,h),prevSibling:f(e,t,h)})})}),null==r.get(m.getKey())&&null!=r.get(b.getKey())&&b.getParentKey()===m.getKey()&&null==b.getPrevSiblingKey()){var e=m.getPrevSiblingKey();s(b.getKey(),t,function(t){return t.merge({prevSibling:e})}),s(e,t,function(t){return t.merge({nextSibling:b.getKey()})});var n=e?r.get(e):null,i=n?n.getParentKey():null;if(m.getChildKeys().forEach(function(e){s(e,t,function(t){return t.merge({parent:i})})}),null!=i){var o=r.get(i);s(i,t,function(t){return t.merge({children:o.getChildKeys().concat(m.getChildKeys())})})}s(m.getChildKeys().find(function(t){return null===r.get(t).getNextSiblingKey()}),t,function(t){return t.merge({nextSibling:m.getNextSiblingKey()})})}})),t.merge({blockMap:E,selectionBefore:e,selectionAfter:e.merge({anchorKey:d,anchorOffset:g,focusKey:d,focusOffset:g,isBackward:!1})})}},22249:function(t,e,r){"use strict";var n=r(31463),i=r(78548)("draft_tree_data_support");t.exports=function(t,e,r){var o=t.getSelection(),a=t.getCurrentContent(),s=o,u=o.getAnchorKey(),c=o.getFocusKey(),l=a.getBlockForKey(u);if(i&&"forward"===r&&u!==c)return a;if(o.isCollapsed()){if("forward"===r){if(t.isSelectionAtEndOfContent())return a;if(i&&o.getAnchorOffset()===a.getBlockForKey(u).getLength()){var f=a.getBlockForKey(l.nextSibling);if(!f||0===f.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((s=e(t))===o)return a}return n.removeRange(a,s,r)}},63423:function(t){"use strict";var e=RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},30238:function(t,e,r){"use strict";var n=r(69346),i=r(86268),o=r(39405),a=r(29988),s=r(75744),u=r(86190),c=r(14983),l=r(47791),f=o.isBrowser("IE");function p(t,e){for(var r=t,n=r;r;){if(l(r)&&n.hasAttribute("contenteditable"))return function(t,e){if(!t)return"[empty]";var r=function t(e,r){var n=void 0!==r?r(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return u(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var o=e.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var a=e.childNodes,s=0;s<a.length;s++)o.appendChild(t(a[s],r));return o}(t,e);return r.nodeType===Node.TEXT_NODE?r.textContent:(l(r)||c(!1),r.outerHTML)}(r,e);n=r=r.parentNode}return"Could not find contentEditable parent of node"}function h(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function d(t,e,r,n){var o=s();if(t.extend&&null!=e&&a(o,e)){r>h(e)&&i.logSelectionStateFailure({anonymizedDom:p(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(n.toJS())});var u=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,r)}catch(a){throw i.logSelectionStateFailure({anonymizedDom:p(e,function(e){var r=[];return e===o&&r.push("active element"),e===t.anchorNode&&r.push("selection anchor node"),e===t.focusNode&&r.push("selection focus node"),r}),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:u,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:r},null,2),selectionState:JSON.stringify(n.toJS(),null,2)}),a}}else if(e&&t.rangeCount>0){var c=t.getRangeAt(0);c.setEnd(e,r),t.addRange(c.cloneRange())}}function g(t,e,r,o){var a=u(e).createRange();if(r>h(e)&&(i.logSelectionStateFailure({anonymizedDom:p(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())}),n.handleExtensionCausedError()),a.setStart(e,r),f)try{t.addRange(a)}catch(t){}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,r,n,i){var o=u(e);if(a(o.documentElement,e)){var s=o.defaultView.getSelection(),c=t.getAnchorKey(),l=t.getAnchorOffset(),f=t.getFocusKey(),p=t.getFocusOffset(),h=t.getIsBackward();if(!s.extend&&h){var y=c,v=l;c=f,l=p,f=y,p=v,h=!1}var m=c===r&&n<=l&&i>=l,b=f===r&&n<=p&&i>=p;if(m&&b){s.removeAllRanges(),g(s,e,l-n,t),d(s,e,p-n,t);return}
1if(h){if(b&&(s.removeAllRanges(),g(s,e,p-n,t)),m){var _=s.focusNode,S=s.focusOffset;s.removeAllRanges(),g(s,e,l-n,t),d(s,_,S,t)}}else m&&(s.removeAllRanges(),g(s,e,l-n,t)),b&&d(s,e,p-n,t)}},addFocusToSelection:d}},59289:function(t,e,r){"use strict";var n=r(31168),i=r(64692),o=r(87614),a=r(14983),s=r(4842),u=o.List,c=o.Map,l=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var r=e.getAnchorKey(),o=t.getBlockMap(),f=o.get(r),p=f.getText();if(!p){var h=f.getType();if("unordered-list-item"===h||"ordered-list-item"===h)return s(t,e,function(t){return t.merge({type:"unstyled",depth:0})})}var d=e.getAnchorOffset(),g=f.getCharacterList(),y=i(),v=f.merge({text:p.slice(0,d),characterList:g.slice(0,d)}),m=v.merge({key:y,text:p.slice(d),characterList:g.slice(d),data:c()}),b=o.toSeq().takeUntil(function(t){return t===f}),_=o.toSeq().skipUntil(function(t){return t===f}).rest(),S=b.concat([[r,v],[y,m]],_).toOrderedMap();return f instanceof n&&(f.getChildKeys().isEmpty()||a(!1),S=S.withMutations(function(t){var e=v.getKey(),r=m.getKey();l(v.getParentKey(),t,function(t){var n=t.getChildKeys(),i=n.indexOf(e)+1,o=n.toArray();return o.splice(i,0,r),t.merge({children:u(o)})}),l(v.getNextSiblingKey(),t,function(t){return t.merge({prevSibling:r})}),l(e,t,function(t){return t.merge({nextSibling:r})}),l(r,t,function(t){return t.merge({prevSibling:e})})})),t.merge({blockMap:S,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:0,focusKey:y,focusOffset:0,isBackward:!1})})}},4934:function(t){"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},20727: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)})}},87614:function(t){var e;e=function(){"use strict";var t,e,r,n,i,o,a,s,u,c,l=Array.prototype.slice;function f(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function p(t){return y(t)?t:G(t)}function h(t){return v(t)?t:Z(t)}function d(t){return m(t)?t:$(t)}function g(t){return y(t)&&!b(t)?t:X(t)}function y(t){return!!(t&&t[S])}function v(t){return!!(t&&t[w])}function m(t){return!!(t&&t[k])}function b(t){return v(t)||m(t)}function _(t){return!!(t&&t[x])}f(h,p),f(d,p),f(g,p),p.isIterable=y,p.isKeyed=v,p.isIndexed=m,p.isAssociative=b,p.isOrdered=_,p.Keyed=h,p.Indexed=d,p.Set=g;var S="@@__IMMUTABLE_ITERABLE__@@",w="@@__IMMUTABLE_KEYED__@@",k="@@__IMMUTABLE_INDEXED__@@",x="@@__IMMUTABLE_ORDERED__@@",C="delete",E={},O={value:!1},D={value:!1};function K(t){return t.value=!1,t}function A(t){t&&(t.value=!0)}function T(){}function M(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=Array(r),i=0;i<r;i++)n[i]=t[i+e];return n}function I(t){return void 0===t.size&&(t.size=t.__iterate(L)),t.size}function B(t,e){if("number"!=typeof e){var r=e>>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?I(t)+e:e}function L(){return!0}function R(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function P(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var N="function"==typeof Symbol&&Symbol.iterator,j="@@iterator",F=N||j;function z(t){this.next=t}function U(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function q(){return{value:void 0,done:!0}}function H(t){return t&&"function"==typeof t.next}function W(t){var e=V(t);return e&&e.call(t)}function V(t){var e=t&&(N&&t[N]||t[j]);if("function"==typeof e)return e}function J(t){return t&&"number"==typeof t.length}function G(t){return null==t?ti():y(t)?t.toSeq():function(t){var e=ts(t)||"object"==typeof t&&new tt(t);if(!e)throw TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function Z(t){return null==t?ti().toKeyedSeq():y(t)?v(t)?t.toSeq():t.fromEntrySeq():to(t)}function $(t){return null==t?ti():y(t)?v(t)?t.entrySeq():t.toIndexedSeq():ta(t)}function X(t){return(null==t?ti():y(t)?v(t)?t.entrySeq():t:ta(t)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=0,z.VALUES=1,z.ENTRIES=2,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[F]=function(){return this},f(G,p),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(t,e){return tu(this,t,e,!0)},G.prototype.__iterator=function(t,e){return tc(this,t,e,!0)},f(Z,G),Z.prototype.toKeyedSeq=function(){return this},f($,G),$.of=function(){return $(arguments)},$.prototype.toIndexedSeq=function(){return this},$.prototype.toString=function(){return this.__toString("Seq [","]")},$.prototype.__iterate=function(t,e){return tu(this,t,e,!1)},$.prototype.__iterator=function(t,e){return tc(this,t,e,!1)},f(X,G),X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},G.isSeq=tn,G.Keyed=Z,G.Set=X,G.Indexed=$;
1var Y="@@__IMMUTABLE_SEQ__@@";function Q(t){this._array=t,this.size=t.length}function tt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function te(t){this._iterable=t,this.size=t.length||t.size}function tr(t){this._iterator=t,this._iteratorCache=[]}function tn(t){return!!(t&&t[Y])}function ti(){return t||(t=new Q([]))}function to(t){var e=Array.isArray(t)?new Q(t).fromEntrySeq():H(t)?new tr(t).fromEntrySeq():V(t)?new te(t).fromEntrySeq():"object"==typeof t?new tt(t):void 0;if(!e)throw TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ta(t){var e=ts(t);if(!e)throw TypeError("Expected Array or iterable object of values: "+t);return e}function ts(t){return J(t)?new Q(t):H(t)?new tr(t):V(t)?new te(t):void 0}function tu(t,e,r,n){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[r?o-a:a];if(!1===e(s[1],n?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,r)}function tc(t,e,r,n){var i=t._cache;if(i){var o=i.length-1,a=0;return new z(function(){var t=i[r?o-a:a];return a++>o?q():U(e,n?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,r)}function tl(t,e){return e?function t(e,r,n,i){return Array.isArray(r)?e.call(i,n,$(r).map(function(n,i){return t(e,n,i,r)})):tf(r)?e.call(i,n,Z(r).map(function(n,i){return t(e,n,i,r)})):r}(e,t,"",{"":t}):function t(e){return Array.isArray(e)?$(e).map(t).toList():tf(e)?Z(e).map(t).toMap():e}(t)}function tf(t){return t&&(t.constructor===Object||void 0===t.constructor)}function tp(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 th(t,e){if(t===e)return!0;if(!y(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||v(t)!==v(e)||m(t)!==m(e)||_(t)!==_(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!b(t);if(_(t)){var n=t.entries();return e.every(function(t,e){var i=n.next().value;return i&&tp(i[1],t)&&(r||tp(i[0],e))})&&n.next().done}var i=!1;
1if(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 a=!0,s=e.__iterate(function(e,n){if(r?!t.has(e):i?!tp(e,t.get(n,E)):!tp(t.get(n,E),e))return a=!1,!1});return a&&t.size===s}function td(t,r){if(!(this instanceof td))return new td(t,r);if(this._value=t,this.size=void 0===r?1/0:Math.max(0,r),0===this.size){if(e)return e;e=this}}function tg(t,e){if(!t)throw Error(e)}function ty(t,e,n){if(!(this instanceof ty))return new ty(t,e,n);if(tg(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(r)return r;r=this}}function tv(){throw TypeError("Abstract")}function tm(){}function tb(){}function t_(){}G.prototype[Y]=!0,f(Q,$),Q.prototype.get=function(t,e){return this.has(t)?this._array[B(this,t)]:e},Q.prototype.__iterate=function(t,e){for(var r=this._array,n=r.length-1,i=0;i<=n;i++)if(!1===t(r[e?n-i:i],i,this))return i+1;return i},Q.prototype.__iterator=function(t,e){var r=this._array,n=r.length-1,i=0;return new z(function(){return i>n?q():U(t,i,r[e?n-i++:i++])})},f(tt,Z),tt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},tt.prototype.has=function(t){return this._object.hasOwnProperty(t)},tt.prototype.__iterate=function(t,e){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var a=n[e?i-o:o];if(!1===t(r[a],a,this))return o+1}return o},tt.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,i=n.length-1,o=0;return new z(function(){var a=n[e?i-o:o];return o++>i?q():U(t,a,r[a])})},tt.prototype[x]=!0,f(te,$),te.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r,n=W(this._iterable),i=0;if(H(n))for(;!(r=n.next()).done&&!1!==t(r.value,i++,this););return i},te.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=W(this._iterable);if(!H(r))return new z(q);var n=0;return new z(function(){var e=r.next();return e.done?e:U(t,n++,e.value)})},f(tr,$),tr.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var r,n=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(r=n.next()).done;){var a=r.value;if(i[o]=a,!1===t(a,o++,this))break}return o},tr.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterator,n=this._iteratorCache,i=0;return new z(function(){if(i>=n.length){var e=r.next();if(e.done)return e;n[i]=e.value}return U(t,i,n[i++])})},f(td,$),td.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},td.prototype.get=function(t,e){return this.has(t)?this._value:e},td.prototype.includes=function(t){return tp(this._value,t)},td.prototype.slice=function(t,e){var r=this.size;return R(t,e,r)?this:new td(this._value,P(e,r,r)-P(t,r,0))},td.prototype.reverse=function(){return this},td.prototype.indexOf=function(t){return tp(this._value,t)?0:-1},td.prototype.lastIndexOf=function(t){return tp(this._value,t)?this.size:-1},td.prototype.__iterate=function(t,e){for(var r=0;r<this.size;r++)if(!1===t(this._value,r,this))return r+1;return r},td.prototype.__iterator=function(t,e){var r=this,n=0;return new z(function(){return n<r.size?U(t,n++,r._value):q()})},td.prototype.equals=function(t){return t instanceof td?tp(this._value,t._value):th(t)},f(ty,$),ty.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},ty.prototype.get=function(t,e){return this.has(t)?this._start+B(this,t)*this._step:e},ty.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},ty.prototype.slice=function(t,e){var r;return R(t,e,this.size)?this:(t=P(t,this.size,0),(e=P(e,r=this.size,r))<=t)?new ty(0,0):new ty(this.get(t,this._end),this.get(e,this._end),this._step)},ty.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var r=e/this._step;if(r>=0&&r<this.size)return r}return -1},ty.prototype.lastIndexOf=function(t){return this.indexOf(t)},ty.prototype.__iterate=function(t,e){for(var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;o<=r;o++){if(!1===t(i,o,this))return o+1;i+=e?-n:n}return o},ty.prototype.__iterator=function(t,e){var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;return new z(function(){var a=i;return i+=e?-n:n,o>r?q():U(t,o++,a)})},ty.prototype.equals=function(t){return t instanceof ty?this._start===t._start&&this._end===t._end&&this._step===t._step:th(this,t)},f(tv,p),f(tm,tv),f(tb,tv),f(t_,tv),tv.Keyed=tm,tv.Indexed=tb,tv.Set=t_;var tS="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var r=65535&(t|=0),n=65535&(e|=0);return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0};function tw(t){return t>>>1&1073741824|3221225471&t}function tk(t){if(!1===t||null==t||"function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e,r,i=typeof t;if("number"===i){var o=0|t;for(o!==t&&(o^=4294967295*t);t>4294967295;)t/=4294967295,o^=t;return tw(o)}if("string"===i)return t.length>tA?(void 0===(r=tI[e=t])&&(r=tx(e),tM===tT&&(tM=0,tI={}),tM++,tI[e]=r),r):tx(t);
1if("function"==typeof t.hashCode)return t.hashCode();if("object"===i)return function(t){var e;if(tO&&void 0!==(e=n.get(t))||void 0!==(e=t[tK])||!tE&&(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[tK])||void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t))))return e;if(e=++tD,1073741824&tD&&(tD=0),tO)n.set(t,e);else if(void 0!==tC&&!1===tC(t))throw Error("Non-extensible objects are not allowed as keys.");else if(tE)Object.defineProperty(t,tK,{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[tK]=e;else if(void 0!==t.nodeType)t[tK]=e;else throw Error("Unable to set a non-enumerable property on object.");return e}(t);if("function"==typeof t.toString)return tx(t.toString());throw Error("Value type "+i+" cannot be hashed.")}function tx(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return tw(e)}var tC=Object.isExtensible,tE=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),tO="function"==typeof WeakMap;tO&&(n=new WeakMap);var tD=0,tK="__immutablehash__";"function"==typeof Symbol&&(tK=Symbol(tK));var tA=16,tT=255,tM=0,tI={};function tB(t){tg(t!==1/0,"Cannot perform this action with an infinite size.")}function tL(t){return null==t?tG():tR(t)&&!_(t)?t:tG().withMutations(function(e){var r=h(t);tB(r.size),r.forEach(function(t,r){return e.set(r,t)})})}function tR(t){return!!(t&&t[tP])}f(tL,tm),tL.prototype.toString=function(){return this.__toString("Map {","}")},tL.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},tL.prototype.set=function(t,e){return tZ(this,t,e)},tL.prototype.setIn=function(t,e){return this.updateIn(t,E,function(){return e})},tL.prototype.remove=function(t){return tZ(this,t,E)},tL.prototype.deleteIn=function(t){return this.updateIn(t,function(){return E})},tL.prototype.update=function(t,e,r){return 1==arguments.length?t(this):this.updateIn([t],e,r)},tL.prototype.updateIn=function(t,e,r){r||(r=e,e=void 0);var n=function t(e,r,n,i){var o=e===E,a=r.next();if(a.done){var s=o?n:e,u=i(s);return u===s?e:u}tg(o||e&&e.set,"invalid keyPath");var c=a.value,l=o?E:e.get(c,E),f=t(l,r,n,i);return f===l?e:f===E?e.remove(c):(o?tG():e).set(c,f)}(this,eF(t),e,r);return n===E?void 0:n},tL.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):tG()},tL.prototype.merge=function(){return tQ(this,void 0,arguments)},tL.prototype.mergeWith=function(t){var e=l.call(arguments,1);return tQ(this,t,e)},tL.prototype.mergeIn=function(t){var e=l.call(arguments,1);return this.updateIn(t,tG(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},tL.prototype.mergeDeep=function(){return tQ(this,t0,arguments)},tL.prototype.mergeDeepWith=function(t){var e=l.call(arguments,1);return tQ(this,t1(t),e)},tL.prototype.mergeDeepIn=function(t){var e=l.call(arguments,1);return this.updateIn(t,tG(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},tL.prototype.sort=function(t){return eh(eK(this,t))},tL.prototype.sortBy=function(t,e){return eh(eK(this,e,t))},tL.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},tL.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new T)},tL.prototype.asImmutable=function(){return this.__ensureOwner()},tL.prototype.wasAltered=function(){return this.__altered},tL.prototype.__iterator=function(t,e){return new tH(this,t,e)},tL.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate(function(e){return n++,t(e[1],e[0],r)},e),n},tL.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?tJ(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},tL.isMap=tR;
1var tP="@@__IMMUTABLE_MAP__@@",tN=tL.prototype;function tj(t,e){this.ownerID=t,this.entries=e}function tF(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r}function tz(t,e,r){this.ownerID=t,this.count=e,this.nodes=r}function tU(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r}function tq(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r}function tH(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&tV(t._root)}function tW(t,e){return U(t,e[0],e[1])}function tV(t,e){return{node:t,index:0,__prev:e}}function tJ(t,e,r,n){var i=Object.create(tN);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function tG(){return i||(i=tJ(0))}function tZ(t,e,r){if(t._root){var n,i,o=K(O),a=K(D);if(n=t$(t._root,t.__ownerID,0,void 0,e,r,o,a),!a.value)return t;i=t.size+(o.value?r===E?-1:1:0)}else{if(r===E)return t;i=1,n=new tj(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?tJ(i,n):tG()}function t$(t,e,r,n,i,o,a,s){return t?t.update(e,r,n,i,o,a,s):o===E?t:(A(s),A(a),new tq(e,n,[i,o]))}function tX(t){return t.constructor===tq||t.constructor===tU}function tY(t,e,r,n,i){if(t.keyHash===n)return new tU(e,n,[t.entry,i]);var o,a=(0===r?t.keyHash:t.keyHash>>>r)&31,s=(0===r?n:n>>>r)&31,u=a===s?[tY(t,e,r+5,n,i)]:(o=new tq(e,n,i),a<s?[t,o]:[o,t]);return new tF(e,1<<a|1<<s,u)}function tQ(t,e,r){for(var n=[],i=0;i<r.length;i++){var o=r[i],a=h(o);y(o)||(a=a.map(function(t){return tl(t)})),n.push(a)}return t2(t,e,n)}function t0(t,e,r){return t&&t.mergeDeep&&y(e)?t.mergeDeep(e):tp(t,e)?t:e}function t1(t){return function(e,r,n){if(e&&e.mergeDeepWith&&y(r))return e.mergeDeepWith(t,r);var i=t(e,r,n);return tp(e,i)?e:i}}function t2(t,e,r){return 0===(r=r.filter(function(t){return 0!==t.size})).length?t:0!==t.size||t.__ownerID||1!==r.length?t.withMutations(function(t){for(var n=e?function(r,n){t.update(n,E,function(t){return t===E?r:e(t,r,n)})}:function(e,r){t.set(r,e)},i=0;i<r.length;i++)r[i].forEach(n)}):t.constructor(r[0])}function t3(t){return t-=t>>1&1431655765,t=(t=(858993459&t)+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function t4(t,e,r,n){var i=n?t:M(t);return i[e]=r,i}tN[tP]=!0,tN[C]=tN.remove,tN.removeIn=tN.deleteIn,tj.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(tp(r,i[o][0]))return i[o][1];return n},tj.prototype.update=function(t,e,r,n,i,o,a){for(var s=i===E,u=this.entries,c=0,l=u.length;c<l&&!tp(n,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(A(a),(s||!f)&&A(o),!s||1!==u.length){if(!f&&!s&&u.length>=t6)return function(t,e,r,n){t||(t=new T);for(var i=new tq(t,tk(r),[r,n]),o=0;o<e.length;o++){var a=e[o];i=i.update(t,0,void 0,a[0],a[1])}return i}(t,u,n,i);var p=t&&t===this.ownerID,h=p?u:M(u);return(f?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),p)?(this.entries=h,this):new tj(t,h)}},tF.prototype.get=function(t,e,r,n){void 0===e&&(e=tk(r));var i=1<<((0===t?e:e>>>t)&31),o=this.bitmap;return(o&i)==0?n:this.nodes[t3(o&i-1)].get(t+5,e,r,n)},tF.prototype.update=function(t,e,r,n,i,o,a){void 0===r&&(r=tk(n));var s=(0===e?r:r>>>e)&31,u=1<<s,c=this.bitmap,l=(c&u)!=0;if(!l&&i===E)return this;var f=t3(c&u-1),p=this.nodes,h=l?p[f]:void 0,d=t$(h,t,e+5,r,n,i,o,a);if(d===h)return this;if(!l&&d&&p.length>=t8)return function(t,e,r,n,i){for(var o=0,a=Array(32),s=0;0!==r;s++,r>>>=1)a[s]=1&r?e[o++]:void 0;return a[n]=i,new tz(t,o+1,a)}(t,p,c,s,d);if(l&&!d&&2===p.length&&tX(p[1^f]))return p[1^f];if(l&&d&&1===p.length&&tX(d))return d;var g=t&&t===this.ownerID,y=l?d?c:c^u:c|u,v=l?d?t4(p,f,d,g):function(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var i=Array(n),o=0,a=0;a<n;a++)a===e&&(o=1),i[a]=t[a+o];return i}(p,f,g):function(t,e,r,n){var i=t.length+1;if(n&&e+1===i)return t[e]=r,t;for(var o=Array(i),a=0,s=0;s<i;s++)s===e?(o[s]=r,a=-1):o[s]=t[s+a];return o}(p,f,d,g);return g?(this.bitmap=y,this.nodes=v,this):new tF(t,y,v)},tz.prototype.get=function(t,e,r,n){void 0===e&&(e=tk(r));var i=(0===t?e:e>>>t)&31,o=this.nodes[i];return o?o.get(t+5,e,r,n):n},tz.prototype.update=function(t,e,r,n,i,o,a){void 0===r&&(r=tk(n));var s=(0===e?r:r>>>e)&31,u=i===E,c=this.nodes,l=c[s];if(u&&!l)return this;var f=t$(l,t,e+5,r,n,i,o,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<t9)return function(t,e,r,n){for(var i=0,o=0,a=Array(r),s=0,u=1,c=e.length;s<c;s++,u<<=1){var l=e[s];void 0!==l&&s!==n&&(i|=u,a[o++]=l)}return new tF(t,i,a)}(t,c,p,s)}else p++;var h=t&&t===this.ownerID,d=t4(c,s,f,h);return h?(this.count=p,this.nodes=d,this):new tz(t,p,d)},tU.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(tp(r,i[o][0]))return i[o][1];return n},tU.prototype.update=function(t,e,r,n,i,o,a){void 0===r&&(r=tk(n));var s=i===E;if(r!==this.keyHash)return s?this:(A(a),A(o),tY(this,t,e,r,[n,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!tp(n,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(A(a),(s||!f)&&A(o),s&&2===l)return new tq(t,this.keyHash,u[1^c]);var p=t&&t===this.ownerID,h=p?u:M(u);return(f?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),p)?(this.entries=h,this):new tU(t,this.keyHash,h)},tq.prototype.get=function(t,e,r,n){return tp(r,this.entry[0])?this.entry[1]:n},tq.prototype.update=function(t,e,r,n,i,o,a){var s=i===E,u=tp(n,this.entry[0]);if(u?i===this.entry[1]:s)return this;if(A(a),s){A(o);return}return u?t&&t===this.ownerID?(this.entry[1]=i,this):new tq(t,this.keyHash,[n,i]):(A(o),tY(this,t,e,tk(n),[n,i]))},tj.prototype.iterate=tU.prototype.iterate=function(t,e){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===t(r[e?i-n:n]))return!1},tF.prototype.iterate=tz.prototype.iterate=function(t,e){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var o=r[e?i-n:n];if(o&&!1===o.iterate(t,e))return!1}},tq.prototype.iterate=function(t,e){return t(this.entry)},f(tH,z),tH.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var r,n=e.node,i=e.index++;if(n.entry){if(0===i)return tW(t,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return tW(t,n.entr
1ies[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return tW(t,o.entry);e=this._stack=tV(o,e)}continue}e=this._stack=this._stack.__prev}return q()};var t6=8,t8=16,t9=8;function t5(t){var e=ea();if(null==t)return e;if(t7(t))return t;var r=d(t),n=r.size;return 0===n?e:(tB(n),n>0&&n<32)?eo(0,n,5,null,new er(r.toArray())):e.withMutations(function(t){t.setSize(n),r.forEach(function(e,r){return t.set(r,e)})})}function t7(t){return!!(t&&t[et])}f(t5,tb),t5.of=function(){return this(arguments)},t5.prototype.toString=function(){return this.__toString("List [","]")},t5.prototype.get=function(t,e){if((t=B(this,t))>=0&&t<this.size){var r=ec(this,t+=this._origin);return r&&r.array[31&t]}return e},t5.prototype.set=function(t,e){return function(t,e,r){if((e=B(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?el(t,e).set(0,r):el(t,0,e+1).set(e,r)});e+=t._origin;var n=t._tail,i=t._root,o=K(D);return(e>=ep(t._capacity)?n=es(n,t.__ownerID,0,e,r,o):i=es(i,t.__ownerID,t._level,e,r,o),o.value)?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):eo(t._origin,t._capacity,t._level,i,n):t}(this,t,e)},t5.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},t5.prototype.insert=function(t,e){return this.splice(t,0,e)},t5.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ea()},t5.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(r){el(r,0,e+t.length);for(var n=0;n<t.length;n++)r.set(e+n,t[n])})},t5.prototype.pop=function(){return el(this,0,-1)},t5.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){el(e,-t.length);for(var r=0;r<t.length;r++)e.set(r,t[r])})},t5.prototype.shift=function(){return el(this,1)},t5.prototype.merge=function(){return ef(this,void 0,arguments)},t5.prototype.mergeWith=function(t){var e=l.call(arguments,1);return ef(this,t,e)},t5.prototype.mergeDeep=function(){return ef(this,t0,arguments)},t5.prototype.mergeDeepWith=function(t){var e=l.call(arguments,1);return ef(this,t1(t),e)},t5.prototype.setSize=function(t){return el(this,0,t)},t5.prototype.slice=function(t,e){var r=this.size;return R(t,e,r)?this:el(this,P(t,r,0),P(e,r,r))},t5.prototype.__iterator=function(t,e){var r=0,n=ei(this,e);return new z(function(){var e=n();return e===en?q():U(t,r++,e)})},t5.prototype.__iterate=function(t,e){for(var r,n=0,i=ei(this,e);(r=i())!==en&&!1!==t(r,n++,this););return n},t5.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?eo(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},t5.isList=t7;
1var et="@@__IMMUTABLE_LIST__@@",ee=t5.prototype;function er(t,e){this.array=t,this.ownerID=e}ee[et]=!0,ee[C]=ee.remove,ee.setIn=tN.setIn,ee.deleteIn=ee.removeIn=tN.removeIn,ee.update=tN.update,ee.updateIn=tN.updateIn,ee.mergeIn=tN.mergeIn,ee.mergeDeepIn=tN.mergeDeepIn,ee.withMutations=tN.withMutations,ee.asMutable=tN.asMutable,ee.asImmutable=tN.asImmutable,ee.wasAltered=tN.wasAltered,er.prototype.removeBefore=function(t,e,r){if(r===e?1<<e:0===this.array.length)return this;var n,i=r>>>e&31;if(i>=this.array.length)return new er([],t);var o=0===i;if(e>0){var a=this.array[i];if((n=a&&a.removeBefore(t,e-5,r))===a&&o)return this}if(o&&!n)return this;var s=eu(this,t);if(!o)for(var u=0;u<i;u++)s.array[u]=void 0;return n&&(s.array[i]=n),s},er.prototype.removeAfter=function(t,e,r){if(r===(e?1<<e:0)||0===this.array.length)return this;var n,i=r-1>>>e&31;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((n=o&&o.removeAfter(t,e-5,r))===o&&i===this.array.length-1)return this}var a=eu(this,t);return a.array.splice(i+1),n&&(a.array[i]=n),a};var en={};function ei(t,e){var r=t._origin,n=t._capacity,i=ep(n),o=t._tail;return function t(a,s,u){var c,l,f,p,h,d,g;return 0===s?(c=u===i?o&&o.array:a&&a.array,l=u>r?0:r-u,(f=n-u)>32&&(f=32),function(){if(l===f)return en;var t=e?--f:l++;return c&&c[t]}):(h=a&&a.array,d=u>r?0:r-u>>s,(g=(n-u>>s)+1)>32&&(g=32),function(){for(;;){if(p){var r=p();if(r!==en)return r;p=null}if(d===g)return en;var n=e?--g:d++;p=t(h&&h[n],s-5,u+(n<<s))}})}(t._root,t._level,0)}function eo(t,e,r,n,i,o,a){var s=Object.create(ee);return s.size=e-t,s._origin=t,s._capacity=e,s._level=r,s._root=n,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function ea(){return o||(o=eo(0,0,5))}function es(t,e,r,n,i,o){var a,s=n>>>r&31,u=t&&s<t.array.length;if(!u&&void 0===i)return t;if(r>0){var c=t&&t.array[s],l=es(c,e,r-5,n,i,o);return l===c?t:((a=eu(t,e)).array[s]=l,a)}return u&&t.array[s]===i?t:(A(o),a=eu(t,e),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function eu(t,e){return e&&t&&e===t.ownerID?t:new er(t?t.array.slice():[],e)}function ec(t,e){if(e>=ep(t._capacity))return t._tail;if(e<1<<t._level+5){for(var r=t._root,n=t._level;r&&n>0;)r=r.array[e>>>n&31],n-=5;return r}}function el(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new T,i=t._origin,o=t._capacity,a=i+e,s=void 0===r?o:r<0?o+r:i+r;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;a+l<0;)c=new er(c&&c.array.length?[void 0,c]:[],n),u+=5,l+=1<<u;l&&(a+=l,i+=l,s+=l,o+=l);for(var f=ep(o),p=ep(s);p>=1<<u+5;)c=new er(c&&c.array.length?[c]:[],n),u+=5;var h=t._tail,d=p<f?ec(t,s-1):p>f?new er([],n):h;if(h&&p>f&&a<o&&h.array.length){for(var g=c=eu(c,n),y=u;y>5;y-=5){var v=f>>>y&31;g=g.array[v]=eu(g.array[v],n)}g.array[f>>>5&31]=h}if(s<o&&(d=d&&d.removeAfter(n,0,s)),a>=p)a-=p,s-=p,u=5,c=null,d=d&&d.removeBefore(n,0,a);else if(a>i||p<f){for(l=0;c;){var m=a>>>u&31;if(m!==p>>>u&31)break;m&&(l+=(1<<u)*m),u-=5,c=c.array[m]}c&&a>i&&(c=c.removeBefore(n,u,a-l)),c&&p<f&&(c=c.removeAfter(n,u,p-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):eo(a,s,u,c,d)}function ef(t,e,r){for(var n=[],i=0,o=0;o<r.length;o++){var a=r[o],s=d(a);s.size>i&&(i=s.size),y(a)||(s=s.map(function(t){return tl(t)})),n.push(s)}return i>t.size&&(t=t.setSize(i)),t2(t,e,n)}function ep(t){return t<32?0:t-1>>>5<<5}function eh(t){return null==t?ey():ed(t)?t:ey().withMutations(function(e){var r=h(t);tB(r.size),r.forEach(function(t,r){return e.set(r,t)})})}function ed(t){return tR(t)&&_(t)}function eg(t,e,r,n){var i=Object.create(eh.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=n,i}function ey(){return a||(a=eg(tG(),ea()))}function ev(t,e,r){var n,i,o=t._map,a=t._list,s=o.get(e),u=void 0!==s;if(r===E){if(!u)return t;a.size>=32&&a.size>=2*o.size?(n=(i=a.filter(function(t,e){return void 0!==t&&s!==e})).toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(r===a.get(s)[1])return t;n=o,i=a.set(s,[e,r])}else n=o.set(e,a.size),i=a.set(a.size,[e,r]);
1return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t):eg(n,i)}function em(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function eb(t){this._iter=t,this.size=t.size}function e_(t){this._iter=t,this.size=t.size}function eS(t){this._iter=t,this.size=t.size}function ew(t){var e=eP(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=eN,e.__iterateUncached=function(e,r){var n=this;return t.__iterate(function(t,r){return!1!==e(r,t,n)},r)},e.__iteratorUncached=function(e,r){if(2===e){var n=t.__iterator(e,r);return new z(function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(1===e?0:1,r)},e}function ek(t,e,r){var n=eP(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,E);return o===E?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate(function(t,i,a){return!1!==n(e.call(r,t,i,a),i,o)},i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(2,i);return new z(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return U(n,s,e.call(r,a[1],s,t),i)})},n}function ex(t,e){var r=eP(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=ew(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=eN,r.__iterate=function(e,r){var n=this;return t.__iterate(function(t,r){return e(t,r,n)},!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function eC(t,e,r,n){var i=eP(t);return n&&(i.has=function(n){var i=t.get(n,E);return i!==E&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,E);return o!==E&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate(function(t,o,u){if(e.call(r,t,o,u))return s++,i(t,n?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(2,o),s=0;return new z(function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(e.call(r,l,c,t))return U(i,n?c:s++,l,o)}})},i}function eE(t,e,r,n){var i,o=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r|=0),R(e,r,o))return t;var a=P(e,o,0),s=P(r,o,o);if(a!=a||s!=s)return eE(t.toSeq().cacheResult(),e,r,n);var u=s-a;u==u&&(i=u<0?0:u);var c=eP(t);return c.size=0===i?i:t.size&&i||void 0,!n&&tn(t)&&i>=0&&(c.get=function(e,r){return(e=B(this,e))>=0&&e<i?t.get(e+a,r):r}),c.__iterateUncached=function(e,r){var o=this;if(0===i)return 0;if(r)return this.cacheResult().__iterate(e,r);var s=0,u=!0,c=0;return t.__iterate(function(t,r){if(!(u&&(u=s++<a)))return c++,!1!==e(t,n?r:c-1,o)&&c!==i}),c},c.__iteratorUncached=function(e,r){if(0!==i&&r)return this.cacheResult().__iterator(e,r);var o=0!==i&&t.__iterator(e,r),s=0,u=0;return new z(function(){for(;s++<a;)o.next();if(++u>i)return q();var t=o.next();return n||1===e?t:0===e?U(e,u-1,void 0,t):U(e,u-1,t.value[1],t)})},c}function eO(t,e,r,n){var i=eP(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return t.__iterate(function(t,o,c){if(!(s&&(s=e.call(r,t,o,c))))return u++,i(t,n?o:u-1,a)}),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(2,o),u=!0,c=0;return new z(function(){var t,o,l;do{if((t=s.next()).done){if(n||1===i)return t;if(0===i)return U(i,c++,void 0,t);return U(i,c++,t.value[1],t)}var f=t.value;o=f[0],l=f[1],u&&(u=e.call(r,l,o,a))}while(u);return 2===i?t:U(i,o,l,t)})},i}function eD(t,e,r){var n=eP(t);return n.__iterateUncached=function(n,i){var o=0,a=!1;return function t(s,u){var c=this;s.__iterate(function(i,s){return(!e||u<e)&&y(i)?t(i,u+1):!1===n(i,r?s:o++,c)&&(a=!0),!a},i)}(t,0),o},n.__iteratorUncached=function(n,i){var o=t.__iterator(n,i),a=[],s=0;return new z(function(){for(;o;){var t=o.next();if(!1!==t.done){o=a.pop();continue}var u=t.value;if(2===n&&(u=u[1]),!((!e||a.length<e)&&y(u)))return r?t:U(n,s++,u,t);a.push(o),o=u.__iterator(n,i)}return q()})},n}function eK(t,e,r){e||(e=ej);var n=v(t),i=0,o=t.toSeq().map(function(e,n){return[n,e,i++,r?r(e,n,t):e]}).toArray();return o.sort(function(t,r){return e(t[3],r[3])||t[2]-r[2]}
vendor: 10,862 bytes, line 1
1).forEach(n?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),n?Z(o):m(t)?$(o):X(o)}function eA(t,e,r){if(e||(e=ej),!r)return t.reduce(function(t,r){return eT(e,t,r)?r:t});var n=t.toSeq().map(function(e,n){return[e,r(e,n,t)]}).reduce(function(t,r){return eT(e,t[1],r[1])?r:t});return n&&n[0]}function eT(t,e,r){var n=t(r,e);return 0===n&&r!==e&&(null==r||r!=r)||n>0}function eM(t,e,r){var n=eP(t);return n.size=new Q(r).map(function(t){return t.size}).min(),n.__iterate=function(t,e){for(var r,n=this.__iterator(1,e),i=0;!(r=n.next()).done&&!1!==t(r.value,i++,this););return i},n.__iteratorUncached=function(t,n){var i=r.map(function(t){return t=p(t),W(n?t.reverse():t)}),o=0,a=!1;return new z(function(){var r;return(a||(a=(r=i.map(function(t){return t.next()})).some(function(t){return t.done})),a)?q():U(t,o++,e.apply(null,r.map(function(t){return t.value})))})},n}function eI(t,e){return tn(t)?e:t.constructor(e)}function eB(t){if(t!==Object(t))throw TypeError("Expected [K, V] tuple: "+t)}function eL(t){return tB(t.size),I(t)}function eR(t){return v(t)?h:m(t)?d:g}function eP(t){return Object.create((v(t)?Z:m(t)?$:X).prototype)}function eN(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function ej(t,e){return t>e?1:t<e?-1:0}function eF(t){var e=W(t);if(!e){if(!J(t))throw TypeError("Expected iterable or array-like: "+t);e=W(p(t))}return e}function ez(t,e){var r,n=function(o){if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!r){r=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(eW.bind(void 0,t))}catch(t){}})(i,a),i.size=a.length,i._name=e,i._keys=a,i._defaultValues=t}this._map=tL(o)},i=n.prototype=Object.create(eU);return i.constructor=n,n}f(eh,tL),eh.of=function(){return this(arguments)},eh.prototype.toString=function(){return this.__toString("OrderedMap {","}")},eh.prototype.get=function(t,e){var r=this._map.get(t);return void 0!==r?this._list.get(r)[1]:e},eh.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ey()},eh.prototype.set=function(t,e){return ev(this,t,e)},eh.prototype.remove=function(t){return ev(this,t,E)},eh.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},eh.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],r)},e)},eh.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},eh.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),r=this._list.__ensureOwner(t);return t?eg(e,r,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=r,this)},eh.isOrderedMap=ed,eh.prototype[x]=!0,eh.prototype[C]=eh.prototype.remove,f(em,Z),em.prototype.get=function(t,e){return this._iter.get(t,e)},em.prototype.has=function(t){return this._iter.has(t)},em.prototype.valueSeq=function(){return this._iter.valueSeq()},em.prototype.reverse=function(){var t=this,e=ex(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},em.prototype.map=function(t,e){var r=this,n=ek(this,t,e);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(t,e)}),n},em.prototype.__iterate=function(t,e){var r,n=this;return this._iter.__iterate(this._useKeys?function(e,r){return t(e,r,n)}:(r=e?eL(this):0,function(i){return t(i,e?--r:r++,n)}),e)},em.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var r=this._iter.__iterator(1,e),n=e?eL(this):0;return new z(function(){var i=r.next();return i.done?i:U(t,e?--n:n++,i.value,i)})},em.prototype[x]=!0,f(eb,$),eb.prototype.includes=function(t){return this._iter.includes(t)},eb.prototype.__iterate=function(t,e){var r=this,n=0;return this._iter.__iterate(function(e){return t(e,n++,r)},e)},eb.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e),n=0;return new z(function(){var e=r.next();return e.done?e:U(t,n++,e.value,e)})},f(e_,X),e_.prototype.has=function(t){return this._iter.includes(t)},e_.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate(function(e){return t(e,e,r)},e)},e_.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e);return new z(function(){var e=r.next();return e.done?e:U(t,e.value,e.value,e)})},f(eS,Z),eS.prototype.entrySeq=function(){return this._iter.toSeq()},eS.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate(function(e){if(e){eB(e);var n=y(e);return t(n?e.get(1):e[1],n?e.get(0):e[0],r)}},e)},eS.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e);return new z(function(){for(;;){var e=r.next();if(e.done)return e;var n=e.value;if(n){eB(n);var i=y(n);return U(t,i?n.get(0):n[0],i?n.get(1):n[1],e)}}})},eb.prototype.cacheResult=em.prototype.cacheResult=e_.prototype.cacheResult=eS.prototype.cacheResult=eN,f(ez,tm),ez.prototype.toString=function(){return this.__toString(eH(this)+" {","}")},ez.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},ez.prototype.get=function(t,e){if(!this.has(t))return e;var r=this._defaultValues[t];return this._map?this._map.get(t,r):r},ez.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=eq(this,tG()))},ez.prototype.set=function(t,e){if(!this.has(t))throw Error('Cannot set unknown key "'+t+'" on '+eH(this));var r=this._map&&this._map.set(t,e);return this.__ownerID||r===this._map?this:eq(this,r)},ez.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:eq(this,e)},ez.prototype.wasAltered=function(){return this._map.wasAltered()},ez.prototype.__iterator=function(t,e){var r=this;return h(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},ez.prototype.__iterate=function(t,e){var r=this;return h(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},ez.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?eq(this,e,t):(this.__ownerID=t,this._map=e,this)};var eU=ez.prototype;function eq(t,e,r){var n=Object.create(Object.getPrototypeOf(t));return n._map=e,n.__ownerID=r,n}function eH(t){return t._name||t.constructor.name||"Record"}function eW(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){tg(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function eV(t){return null==t?eY():eJ(t)&&!_(t)?t:eY().withMutations(function(e){var r=g(t);tB(r.size),r.forEach(function(t){return e.add(t)})})}function eJ(t){return!!(t&&t[eG])}eU[C]=eU.remove,eU.deleteIn=eU.removeIn=tN.removeIn,eU.merge=tN.merge,eU.mergeWith=tN.mergeWith,eU.mergeIn=tN.mergeIn,eU.mergeDeep=tN.mergeDeep,eU.mergeDeepWith=tN.mergeDeepWith,eU.mergeDeepIn=tN.mergeDeepIn,eU.setIn=tN.setIn,eU.update=tN.update,eU.updateIn=tN.updateIn,eU.withMutations=tN.withMutations,eU.asMutable=tN.asMutable,eU.asImmutable=tN.asImmutable,f(eV,t_),eV.of=function(){return this(arguments)},eV.fromKeys=function(t){return this(h(t).keySeq())},eV.prototype.toString=function(){return this.__toString("Set {","}")},eV.prototype.has=function(t){return this._map.has(t)},eV.prototype.add=function(t){return e$(this,this._map.set(t,!0))},eV.prototype.remove=function(t){return e$(this,this._map.remove(t))},eV.prototype.clear=function(){return e$(this,this._map.clear())},eV.prototype.union=function(){var t=l.call(arguments,0);return 0===(t=t.filter(function(t){return 0!==t.size})).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var r=0;r<t.length;r++)g(t[r]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},eV.prototype.intersect=function(){var t=l.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return g(t)});var e=this;return this.withMutations(function(r){e.forEach(function(e){t.every(function(t){return t.includes(e)})||r.remove(e)})})},eV.prototype.subtract=function(){var t=l.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return g(t)});var e=this;return this.withMutations(function(r){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&r.remove(e)})})},eV.prototype.merge=function(){return this.union.apply(this,arguments)},eV.prototype.mergeWith=function(t){var e=l.call(arguments,1);return this.union.apply(this,e)},eV.prototype.sort=function(t){return eQ(eK(this,t))},eV.prototype.sortBy=function(t,e){return eQ(eK(this,e,t))},eV.prototype.wasAltered=function(){return this._map.wasAltered()},eV.prototype.__iterate=function(t,e){var r=this;return this._map.__iterate(function(e,n){return t(n,n,r)},e)},eV.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},eV.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)},eV.isSet=eJ;var eG="@@__IMMUTABLE_SET__@@",eZ=eV.prototype;function e$(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 eX(t,e){var r=Object.create(eZ);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function eY(){return s||(s=eX(tG()))}function eQ(t){return null==t?e3():e0(t)?t:e3().withMutations(function(e){var r=g(t);tB(r.size),r.forEach(function(t){return e.add(t)})})}function e0(t){return eJ(t)&&_(t)}eZ[eG]=!0,eZ[C]=eZ.remove,eZ.mergeDeep=eZ.merge,eZ.mergeDeepWith=eZ.mergeWith,eZ.withMutations=tN.withMutations,eZ.asMutable=tN.asMutable,eZ.asImmutable=tN.asImmutable,eZ.__empty=eY,eZ.__make=eX,f(eQ,eV),eQ.of=function(){return this(arguments)},eQ.fromKeys=function(t){return this(h(t).keySeq())},eQ.prototype.toString=function(){return this.__toString("OrderedSet {","}")},eQ.isOrderedSet=e0;var e1=eQ.prototype;function e2(t,e){var r=Object.create(e1);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function e3(){return u||(u=e2(ey()))}function e4(t){return null==t?e7():e6(t)?t:e7().unshiftAll(t)}function e6(t){return!!(t&&t[e8])}e1[x]=!0,e1.__empty=e3,e1.__make=e2,f(e4,tb),e4.of=function(){return this(arguments)},e4.prototype.toString=function(){return this.__toString("Stack [","]")},e4.prototype.get=function(t,e){var r=this._head;for(t=B(this,t);r&&t--;)r=r.next;return r?r.value:e},e4.prototype.peek=function(){return this._head&&this._head.value},e4.prototype.push=function(){if(0==arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,r=arguments.length-1;r>=0;r--)e={value:arguments[r],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):e5(t,e)},e4.prototype.pushAll=function(t){if(0===(t=d(t)).size)return this;tB(t.size);var e=this.size,r=this._head;
1return(t.reverse().forEach(function(t){e++,r={value:t,next:r}}),this.__ownerID)?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):e5(e,r)},e4.prototype.pop=function(){return this.slice(1)},e4.prototype.unshift=function(){return this.push.apply(this,arguments)},e4.prototype.unshiftAll=function(t){return this.pushAll(t)},e4.prototype.shift=function(){return this.pop.apply(this,arguments)},e4.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):e7()},e4.prototype.slice=function(t,e){if(R(t,e,this.size))return this;var r,n=P(t,this.size,0);if(P(e,r=this.size,r)!==this.size)return tb.prototype.slice.call(this,t,e);for(var i=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):e5(i,o)},e4.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?e5(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},e4.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var r=0,n=this._head;n&&!1!==t(n.value,r++,this);)n=n.next;return r},e4.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new z(function(){if(n){var e=n.value;return n=n.next,U(t,r++,e)}return q()})},e4.isStack=e6;
vendor: 6,852 bytes, line 1
1var e8="@@__IMMUTABLE_STACK__@@",e9=e4.prototype;function e5(t,e,r,n){var i=Object.create(e9);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function e7(){return c||(c=e5(0))}function rt(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}e9[e8]=!0,e9.withMutations=tN.withMutations,e9.asMutable=tN.asMutable,e9.asImmutable=tN.asImmutable,e9.wasAltered=tN.wasAltered,p.Iterator=z,rt(p,{toArray:function(){tB(this.size);var t=Array(this.size||0);return this.valueSeq().__iterate(function(e,r){t[r]=e}),t},toIndexedSeq:function(){return new eb(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 em(this,!0)},toMap:function(){return tL(this.toKeyedSeq())},toObject:function(){tB(this.size);var t={};return this.__iterate(function(e,r){t[r]=e}),t},toOrderedMap:function(){return eh(this.toKeyedSeq())},toOrderedSet:function(){return eQ(v(this)?this.valueSeq():this)},toSet:function(){return eV(v(this)?this.valueSeq():this)},toSetSeq:function(){return new e_(this)},toSeq:function(){return m(this)?this.toIndexedSeq():v(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return e4(v(this)?this.valueSeq():this)},toList:function(){return t5(v(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(){var t=l.call(arguments,0);return eI(this,function(t,e){var r=v(t),n=[t].concat(e).map(function(t){return y(t)?r&&(t=h(t)):t=r?to(t):ta(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===n.length)return t;if(1===n.length){var i=n[0];if(i===t||r&&v(i)||m(t)&&m(i))return i}var o=new Q(n);return r?o=o.toKeyedSeq():m(t)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=n.reduce(function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}},0),o}(this,t))},includes:function(t){return this.some(function(e){return tp(e,t)})},entries:function(){return this.__iterator(2)},every:function(t,e){tB(this.size);var r=!0;return this.__iterate(function(n,i,o){if(!t.call(e,n,i,o))return r=!1,!1}),r},filter:function(t,e){return eI(this,eC(this,t,e,!0))},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},findEntry:function(t,e){var r;return this.__iterate(function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1}),r},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return tB(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){tB(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate(function(n){r?r=!1:e+=t,e+=null!=n?n.toString():""}),e},keys:function(){return this.__iterator(0)},map:function(t,e){return eI(this,ek(this,t,e))},reduce:function(t,e,r){var n,i;return tB(this.size),arguments.length<2?i=!0:n=e,this.__iterate(function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),n},reduceRight:function(t,e,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return eI(this,ex(this,!0))},slice:function(t,e){return eI(this,eE(this,t,e,!0))},some:function(t,e){return!this.every(ro(t),e)},sort:function(t){return eI(this,eK(this,t))},values:function(){return this.__iterator(1)},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 I(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){var r,n;return r=this,n=tL().asMutable(),r.__iterate(function(i,o){n.update(t.call(e,i,o,r),0,function(t){return t+1})}),n.asImmutable()},equals:function(t){return th(this,t)},entrySeq:function(){var t=this;if(t._cache)return new Q(t._cache);var e=t.toSeq().map(ri).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(ro(t),e)},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},first:function(){return this.find(L)},flatMap:function(t,e){var r,n;return eI(this,(r=this,n=eR(r),r.toSeq().map(function(i,o){return n(t.call(e,i,o,r))}).flatten(!0)))},flatten:function(t){return eI(this,eD(this,t,!0))},fromEntrySeq:function(){return new eS(this)},get:function(t,e){return this.find(function(e,r){return tp(r,t)},void 0,e)},getIn:function(t,e){for(var r,n=this,i=eF(t);!(r=i.next()).done;){var o=r.value;if((n=n&&n.get?n.get(o,E):E)===E)return e}return n},groupBy:function(t,e){return function(t,e,r){var n=v(t),i=(_(t)?eh():tL()).asMutable();t.__iterate(function(o,a){i.update(e.call(r,o,a,t),function(t){return(t=t||[]).push(n?[a,o]:o),t})});var o=eR(t);return i.map(function(e){return eI(t,o(e))})}(this,t,e)},has:function(t){return this.get(t,E)!==E},hasIn:function(t){return this.getIn(t,E)!==E},isSubset:function(t){return t="function"==typeof t.includes?t:p(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:p(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(rn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return eA(this,t)},maxBy:function(t,e){return eA(this,e,t)},min:function(t){return eA(this,t?ra(t):rc)},minBy:function(t,e){return eA(this,e?ra(e):rc,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return eI(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return eI(this,eO(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(ro(t),e)},sortBy:function(t,e){return eI(this,eK(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return eI(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){var r,n;return eI(this,(r=this,(n=eP(r)).__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var a=0;return r.__iterate(function(r,i,s){return t.call(e,r,i,s)&&++a&&n(r,i,o)}),a},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var a=r.__iterator(2,i),s=!0;return new z(function(){if(!s)return q();var r=a.next();if(r.done)return r;var i=r.value,u=i[0],c=i[1];return t.call(e,c,u,o)?2===n?r:U(n,u,c,r):(s=!1,q())})},n))},takeUntil:function(t,e){return this.takeWhile(ro(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e,r,n=_(t),i=v(t),o=n?1:0;return e=t.__iterate(i?n?function(t,e){o=31*o+rl(tk(t),tk(e))|0}:function(t,e){o=o+rl(tk(t),tk(e))|0}:n?function(t){o=31*o+tk(t)|0}:function(t){o=o+tk(t)|0}
1),r=tS(r=o,3432918353),r=tS(r<<15|r>>>-15,461845907),r=((r=tS(r<<13|r>>>-13,5))+3864292196|0)^e,r=tS(r^r>>>16,2246822507),r=tw((r=tS(r^r>>>13,3266489909))^r>>>16)}(this))}});var re=p.prototype;re[S]=!0,re[F]=re.values,re.__toJS=re.toArray,re.__toStringMapper=rs,re.inspect=re.toSource=function(){return this.toString()},re.chain=re.flatMap,re.contains=re.includes,function(){try{Object.defineProperty(re,"length",{get:function(){if(!p.noLengthWarning){var t;try{throw 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){}}(),rt(h,{flip:function(){return eI(this,ew(this))},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey(function(e){return tp(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return tp(e,t)})},mapEntries:function(t,e){var r=this,n=0;return eI(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],n++,r)}).fromEntrySeq())},mapKeys:function(t,e){var r=this;return eI(this,this.toSeq().flip().map(function(n,i){return t.call(e,n,i,r)}).flip())}});var rr=h.prototype;function rn(t,e){return e}function ri(t,e){return[e,t]}function ro(t){return function(){return!t.apply(this,arguments)}}function ra(t){return function(){return-t.apply(this,arguments)}}function rs(t){return"string"==typeof t?JSON.stringify(t):t}function ru(){return M(arguments)}function rc(t,e){return t<e?1:t>e?-1:0}function rl(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return rr[w]=!0,rr[F]=re.entries,rr.__toJS=re.toObject,rr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+rs(t)},rt(d,{toKeyedSeq:function(){return new em(this,!1)},filter:function(t,e){return eI(this,eC(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[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 eI(this,ex(this,!1))},slice:function(t,e){return eI(this,eE(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(0|e,0),0===r||2===r&&!e)return this;t=P(t,t<0?this.count():this.size,0);var n=this.slice(0,t);return eI(this,1===r?n:n.concat(M(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.toKeyedSeq().findLastKey(t,e);return void 0===r?-1:r},first:function(){return this.get(0)},flatten:function(t){return eI(this,eD(this,t,!1))},get:function(t,e){return(t=B(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,r){return r===t},void 0,e)},has:function(t){return(t=B(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){var e,r;return eI(this,(e=this,(r=eP(e)).size=e.size&&2*e.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return e.__iterate(function(e,n){return(!o||!1!==r(t,o++,i))&&!1!==r(e,o++,i)},n),o},r.__iteratorUncached=function(r,n){var i,o=e.__iterator(1,n),a=0;return new z(function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?U(r,a++,t):U(r,a++,i.value,i)})},r))},interleave:function(){var t=[this].concat(M(arguments)),e=eM(this.toSeq(),$.of,t),r=e.flatten(!0);return e.size&&(r.size=e.size*t.length),eI(this,r)},last:function(){return this.get(-1)},skipWhile:function(t,e){return eI(this,eO(this,t,e,!1))},zip:function(){var t=[this].concat(M(arguments));return eI(this,eM(this,ru,t))},zipWith:function(t){var e=M(arguments);return e[0]=this,eI(this,eM(this,t,e))}}),d.prototype[k]=!0,d.prototype[x]=!0,rt(g,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),g.prototype.has=re.includes,rt(Z,h.prototype),rt($,d.prototype),rt(X,g.prototype),rt(tm,h.prototype),rt(tb,d.prototype),rt(t_,g.prototype),{Iterable:p,Seq:G,Collection:tv,Map:tL,OrderedMap:eh,List:t5,Stack:e4,Set:eV,OrderedSet:eQ,Record:ez,Range:ty,Repeat:td,is:tp,fromJS:tl}},t.exports=e()},64463:function(t,e,r){"use strict";var n=r(21430),i=r(36701),o=r(87201),a=RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function u(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 s[t]})},e.getText=function(){var t;
1return 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(){if(this.types.some(function(t){return -1!=t.indexOf("application/x-moz-file")}))return!0;for(var t=this.getFiles(),e=0;e<t.length;e++){var r=t[e].type;if(!n.isImage(r))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(u).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},37324:function(t){"use strict";t.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}},21430:function(t){"use strict";var e={isImage:function(t){return"image"===r(t)[0]},isJpeg:function(t){var n=r(t);return e.isImage(t)&&("jpeg"===n[1]||"pjpeg"===n[1])}};function r(t){return t.split("/")}t.exports=e},65929:function(t){"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}t.exports={getTop:function(t){var r=t.ownerDocument;return e(t,r)?r.body.scrollTop||r.documentElement.scrollTop:t.scrollTop},setTop:function(t,r){var n=t.ownerDocument;e(t,n)?n.body.scrollTop=n.documentElement.scrollTop=r:t.scrollTop=r},getLeft:function(t){var r=t.ownerDocument;return e(t,r)?r.body.scrollLeft||r.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,r){var n=t.ownerDocument;e(t,n)?n.body.scrollLeft=n.documentElement.scrollLeft=r:t.scrollLeft=r}}},51981:function(t,e,r){"use strict";function n(t,e){var r=i.get(t,e);return"auto"===r||"scroll"===r}var i={get:r(79839),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(n(t,"overflow")||n(t,"overflowY")||n(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=i},97993:function(t){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞\xa1-\xb1\xb4-\xb8\xba\xbb\xbf]"}}},60051:function(t){"use strict";var e=function(){function t(t){var e,r;r=void 0,(e="_uri")in this?Object.defineProperty(this,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[e]=r,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},54389:function(t,e,r){"use strict";var n=r(50983),i=r(14983),o="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-×´×µ-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-Û¦Û®-Û¯Ûº-Û¼Û½-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-Þ¥Þ±Þ²-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-ï·¿ï¹°-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=RegExp("[A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-Ô¯Ô±-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-à­¡à­¦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎà
1µ—ൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-á­ á­¡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-á°«á°´-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-á´«á´¬-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-á¾´á¾¶-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-á¿´á¿¶-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ê©¶ê©·-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-ï©­ï©°-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+o+a+"]"),u=RegExp("["+o+a+"]");function c(t){var e=s.exec(t);return null==e?null:e[0]}function l(t){var e=c(t);return null==e?n.NEUTRAL:u.exec(e)?n.RTL:n.LTR}function f(t,e){if(e=e||n.NEUTRAL,!t.length)return e;var r=l(t);return r===n.NEUTRAL?e:r}function p(t,e){return e||(e=n.getGlobalDir()),n.isStrong(e)||i(!1),f(t,e)}t.exports={firstStrongChar:c,firstStrongCharDir:l,resolveBlockDir:f,getDirection:p,isDirectionLTR:function(t,e){return p(t,e)===n.LTR},isDirectionRTL:function(t,e){return p(t,e)===n.RTL}}},50983:function(t,e,r){"use strict";var n=r(14983),i=null;function o(t){return"LTR"===t||"RTL"===t}function a(t){return o(t)||n(!1),"LTR"===t?"ltr":"rtl"}t.exports={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:o,getHTMLDir:a,getHTMLDirIfDifferent:function(t,e){return o(t)||n(!1),o(e)||n(!1),t===e?null:a(t)},setGlobalDir:function(t){i=t},initGlobalDir:function(){i="LTR"},getGlobalDir:function(){return i||this.initGlobalDir(),i||n(!1),i}}},28934:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(54389),o=r(50983),a=r(14983),s=function(){function t(t){n(this,"_defaultDir",void 0),n(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=s},22885:function(t,e,r){"use strict";var n=r(14983),i=/[\uD800-\uDFFF]/;function o(t){return 55296<=t&&t<=57343}function a(t){return i.test(t)}function s(t,e){return 1+o(t.charCodeAt(e))}function u(t,e,r){if(e=e||0,r=void 0===r?1/0:r||0,!a(t))return t.substr(e,r);var n=t.length;if(n<=0||e>n||r<=0)return"";var i=0;if(e>0){for(;e>0&&i<n;e--)i+=s(t,i);if(i>=n)return""}else if(e<0){for(i=n;e<0&&0<i;e++)i-=s(t,i-1);i<0&&(i=0)}var o=n;if(r<n)for(o=i;r>0&&o<n;r--)o+=s(t,o);return t.substring(i,o)}t.exports={getCodePoints:function(t){for(var e=[],r=0;r<t.length;r+=s(t,r))e.push(t.codePointAt(r));return e},getUTF16Length:s,hasSurrogateUnit:a,isCodeUnitInSurrogateRange:o,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||n(!1),e+1===t.length)return!1;var r=t.charCodeAt(e),i=t.charCodeAt(e+1);return 55296<=r&&r<=56319&&56320<=i&&i<=57343},strlen:function(t){if(!a(t))return t.length;for(var e=0,r=0;r<t.length;r+=s(t,r))e++;return e},substring:function(t,e,r){(e=e||0)<0&&(e=0),(r=void 0===r?1/0:r||0)<0&&(r=0);var n=Math.abs(r-e);return u(t,e=e<r?e:r,n)},substr:u}},39405:function(t,e,r){"use strict";
1var n=r(64236),i=r(5451),o=r(85149),a=r(39846);function s(t,e,r,n){if(t===r)return!0;if(!r.startsWith(t))return!1;var o=r.slice(t.length);return!!e&&(o=n?n(o):o,i.contains(o,e))}function u(t){return"Windows"===n.platformName?t.replace(/^\s*NT/,""):t}t.exports=o({isBrowser:function(t){return s(n.browserName,n.browserFullVersion,t)},isBrowserArchitecture:function(t){return s(n.browserArchitecture,null,t)},isDevice:function(t){return s(n.deviceName,null,t)},isEngine:function(t){return s(n.engineName,n.engineVersion,t)},isPlatform:function(t){return s(n.platformName,n.platformFullVersion,t,u)},isPlatformArchitecture:function(t){return s(n.platformArchitecture,null,t)}},a)},64236:function(t,e,r){"use strict";var n,i=r(46353),o="Unknown",a=new i().getResult(),s=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(a.browser.version),u={browserArchitecture:a.cpu.architecture||o,browserFullVersion:a.browser.version||o,browserMinorVersion:s.minor||o,browserName:a.browser.name||o,browserVersion:a.browser.major||o,deviceName:a.device.model||o,engineName:a.engine.name||o,engineVersion:a.engine.version||o,platformArchitecture:a.cpu.architecture||o,platformName:{"Mac OS":"Mac OS X"}[n=a.os.name]||n||o,platformVersion:a.os.version||o,platformFullVersion:a.os.version||o};t.exports=u},5451:function(t,e,r){"use strict";var n=r(14983),i=/\./,o=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,u=/^(\d*)(.*)/;function c(t,e){if(""===(t=t.trim()))return!0;var r,n,o,a,s,u=e.split(i),c=f(t),h=c.modifier,d=c.rangeComponents;switch(h){case"<":return -1===y(u,d);case"<=":return -1===(r=y(u,d))||0===r;case">=":return l(u,d);case">":return 1===y(u,d);case"~":case"~>":return n=d.slice(),(o=d.slice()).length>1&&o.pop(),a=o.length-1,p(s=parseInt(o[a],10))&&(o[a]=s+1+""),l(u,n)&&-1===y(u,o);default:return 0===y(u,d)}}function l(t,e){var r=y(t,e);return 1===r||0===r}function f(t){var e=t.split(i),r=e[0].match(s);return r||n(!1),{modifier:r[1],rangeComponents:[r[2]].concat(e.slice(1))}}function p(t){return!isNaN(t)&&isFinite(t)}function h(t){return!f(t).modifier}function d(t,e){for(var r=t.length;r<e;r++)t[r]="0"}function g(t,e){return(typeof t!=typeof e&&n(!1),t>e)?1:t<e?-1:0}function y(t,e){for(var r=function(t,e){d(t=t.slice(),(e=e.slice()).length);for(var r=0;r<e.length;r++){var n=e[r].match(/^[x*]$/i);if(n&&(e[r]=t[r]="0","*"===n[0]&&r===e.length-1))for(var i=r;i<t.length;i++)t[i]="0"}return d(e,t.length),[t,e]}(t,e),n=r[0],i=r[1],o=0;o<i.length;o++){var a=function(t,e){var r=t.match(u)[1],n=e.match(u)[1],i=parseInt(r,10),o=parseInt(n,10);return p(i)&&p(o)&&i!==o?g(i,o):g(t,e)}(n[o],i[o]);if(a)return a}return 0}var v={contains:function(t,e){var r,i,s;return r=t.trim(),i=e.trim(),(s=r.split(o)).length>1?s.some(function(t){return v.contains(t,i)}):function(t,e){var r=t.split(a);if(r.length>0&&r.length<=2||n(!1),1===r.length)return c(r[0],e);var i=r[0],o=r[1];return h(i)&&h(o)||n(!1),c(">="+i,e)&&c("<="+o,e)}(r=s[0].trim(),i)}};t.exports=v},83594:function(t){"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,function(t,e){return e.toUpperCase()})}},29988:function(t,e,r){"use strict";var n=r(48665);t.exports=function t(e,r){return!!e&&!!r&&(e===r||!n(e)&&(n(r)?t(e,r.parentNode):"contains"in e?e.contains(r):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(r))))}},36701:function(t,e,r){"use strict";var n=r(14983);t.exports=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)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&n(!1),"number"!=typeof e&&n(!1),0===e||e-1 in t||n(!1),"function"!=typeof t.callee||n(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var r=Array(e),i=0;i<e;i++)r[i]=t[i];return r}(t):[t]}},86061: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(" ")}},87201:function(t){"use strict";function e(t){return function(){return t}}var r=function(){};r.thatReturns=e,r.thatReturnsFalse=e(!1),r.thatReturnsTrue=e(!0),r.thatReturnsNull=e(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t}
1,t.exports=r},75744: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}}},59523: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}},4105:function(t,e,r){"use strict";var n=r(4192);t.exports=function(t){var e=n(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},4192:function(t,e,r){"use strict";var n=r(29988);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!n(e,t))return{left:0,right:0,top:0,bottom:0};var r=t.getBoundingClientRect();return{left:Math.round(r.left)-e.clientLeft,right:Math.round(r.right)-e.clientLeft,top:Math.round(r.top)-e.clientTop,bottom:Math.round(r.bottom)-e.clientTop}}},94839:function(t,e,r){"use strict";var n=r(59523),i=r(33291);t.exports=function(t){var e=n(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var r=i(t),o=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-o.clientWidth,s=t.scrollHeight-o.clientHeight;return r.x=Math.max(0,Math.min(r.x,a)),r.y=Math.max(0,Math.min(r.y,s)),r}},79839:function(t,e,r){"use strict";var n=r(83594),i=r(82501);function o(t){return null==t?t:String(t)}t.exports=function(t,e){var r;if(window.getComputedStyle&&(r=window.getComputedStyle(t,null)))return o(r.getPropertyValue(i(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(r=document.defaultView.getComputedStyle(t,null))return o(r.getPropertyValue(i(e)));if("display"===e)return"none"}return t.currentStyle?"float"===e?o(t.currentStyle.cssFloat||t.currentStyle.styleFloat):o(t.currentStyle[n(e)]):o(t.style&&t.style[n(e)])}},33291: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}}},31821: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 r(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function n(){return{width:window.innerWidth||e(),height:window.innerHeight||r()}}n.withoutScrollbars=function(){return{width:e(),height:r()}},t.exports=n},82501:function(t){"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},14983:function(t){"use strict";var e=function(t){};t.exports=function(t,r){for(var n,i=arguments.length,o=Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];if(e(r),!t){if(void 0===r)n=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;(n=Error(r.replace(/%s/g,function(){return String(o[s++])}))).name="Invariant Violation"}throw n.framesToPop=1,n}}},57068: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))}},48665:function(t,e,r){"use strict";var n=r(57068);t.exports=function(t){return n(t)&&3==t.nodeType}},28106:function(t){"use strict";t.exports=function(t){var e=t||"",r=arguments.length;if(r>1)for(var n=1;n<r;n++){var i=arguments[n];i&&(e=(e?e+" ":"")+i)}return e}},85149:function(t){"use strict";var e=Object.prototype.hasOwnProperty;t.exports=function(t,r,n){if(!t)return null;var i={};for(var o in t)e.call(t,o)&&(i[o]=r.call(n,t[o],o,t));return i}},39846:function(t){"use strict";t.exports=function(t){var e={};return function(r){return e.hasOwnProperty(r)||(e[r]=t.call(this,r)),e[r]}}},27951:function(t){"use strict";t.exports=function(t){if(null!=t)return t;throw Error("Got unexpected null or undefined")}},11916:function(t,e,r){"use strict";r(95213),t.exports=r.g.setImmediate},26590:function(t,e,r){"use strict";var n=r(87201);t.exports=n},38636:function(t,e,r){t=r.nmd(t);var n,i,o,a,s,u="__lodash_hash_undefined__",c=1/0,l="[object Arguments]",f="[object Array]",p="[object Boolean]",h="[object Date]",d="[object Error]",g="[object Function]",y="[object Map]",v="[object Number]",m="[object Object]",b="[object Promise]",_="[object RegExp]",S="[object Set]",w="[object String]",k="[object Symbol]",x="[object WeakMap]",C="[object ArrayBuffer]",E="[object DataView]",O=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,D=/^\w*$/,K=/^\./,A=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,T=/\\(\\)?/g,M=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,B={};
1B["[object Float32Array]"]=B["[object Float64Array]"]=B["[object Int8Array]"]=B["[object Int16Array]"]=B["[object Int32Array]"]=B["[object Uint8Array]"]=B["[object Uint8ClampedArray]"]=B["[object Uint16Array]"]=B["[object Uint32Array]"]=!0,B[l]=B[f]=B[C]=B[p]=B[E]=B[h]=B[d]=B[g]=B[y]=B[v]=B[m]=B[_]=B[S]=B[w]=B[x]=!1;var L="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,R="object"==typeof self&&self&&self.Object===Object&&self,P=L||R||Function("return this")(),N=e&&!e.nodeType&&e,j=N&&t&&!t.nodeType&&t,F=j&&j.exports===N&&L.process,z=function(){try{return F&&F.binding("util")}catch(t){}}(),U=z&&z.isTypedArray;function q(t,e,r,n){var i=-1,o=t?t.length:0;for(n&&o&&(r=t[++i]);++i<o;)r=e(r,t[i],i,t);return r}function H(t,e,r,n,i){return i(t,function(t,i,o){r=n?(n=!1,t):e(r,t,i,o)}),r}function W(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function V(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function J(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var G=Array.prototype,Z=Function.prototype,$=Object.prototype,X=P["__core-js_shared__"],Y=(o=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",Q=Z.toString,tt=$.hasOwnProperty,te=$.toString,tr=RegExp("^"+Q.call(tt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tn=P.Symbol,ti=P.Uint8Array,to=$.propertyIsEnumerable,ta=G.splice,ts=(a=Object.keys,s=Object,function(t){return a(s(t))}),tu=tL(P,"DataView"),tc=tL(P,"Map"),tl=tL(P,"Promise"),tf=tL(P,"Set"),tp=tL(P,"WeakMap"),th=tL(Object,"create"),td=tU(tu),tg=tU(tc),ty=tU(tl),tv=tU(tf),tm=tU(tp),tb=tn?tn.prototype:void 0,t_=tb?tb.valueOf:void 0,tS=tb?tb.toString:void 0;function tw(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function tk(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function tx(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function tC(t){var e=-1,r=t?t.length:0;for(this.__data__=new tx;++e<r;)this.add(t[e])}function tE(t){this.__data__=new tk(t)}function tO(t,e){for(var r=t.length;r--;)if(tH(t[r][0],e))return r;return -1}tw.prototype.clear=function(){this.__data__=th?th(null):{}},tw.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},tw.prototype.get=function(t){var e=this.__data__;if(th){var r=e[t];return r===u?void 0:r}return tt.call(e,t)?e[t]:void 0},tw.prototype.has=function(t){var e=this.__data__;return th?void 0!==e[t]:tt.call(e,t)},tw.prototype.set=function(t,e){return this.__data__[t]=th&&void 0===e?u:e,this},tk.prototype.clear=function(){this.__data__=[]},tk.prototype.delete=function(t){var e=this.__data__,r=tO(e,t);return!(r<0)&&(r==e.length-1?e.pop():ta.call(e,r,1),!0)},tk.prototype.get=function(t){var e=this.__data__,r=tO(e,t);return r<0?void 0:e[r][1]},tk.prototype.has=function(t){return tO(this.__data__,t)>-1},tk.prototype.set=function(t,e){var r=this.__data__,n=tO(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},tx.prototype.clear=function(){this.__data__={hash:new tw,map:new(tc||tk),string:new tw}},tx.prototype.delete=function(t){return tB(this,t).delete(t)},tx.prototype.get=function(t){return tB(this,t).get(t)},tx.prototype.has=function(t){return tB(this,t).has(t)},tx.prototype.set=function(t,e){return tB(this,t).set(t,e),this},tC.prototype.add=tC.prototype.push=function(t){return this.__data__.set(t,u),this},tC.prototype.has=function(t){return this.__data__.has(t)},tE.prototype.clear=function(){this.__data__=new tk},tE.prototype.delete=function(t){return this.__data__.delete(t)},tE.prototype.get=function(t){return this.__data__.get(t)},tE.prototype.has=function(t){return this.__data__.has(t)},tE.prototype.set=function(t,e){var r=this.__data__;if(r instanceof tk){var n=r.__data__;if(!tc||n.length<199)return n.push([t,e]),this;r=this.__data__=new tx(n)}return r.set(t,e),this};var tD=(n=function(t,e){return t&&tK(t,e,t0)},function(t,e){if(null==t)return t;if(!tJ(t))return n(t,e);for(var r=t.length,o=-1,a=Object(t);(i?o--:++o<r)&&!1!==e(a[o],o,a););return t}),tK=function(t,e,r){for(var n=-1,i=Object(t),o=r(t),a=o.length;a--;){var s=o[++n];if(!1===e(i[s],s,i))break}return t};function tA(t,e){var r;e=tN(e,t)?[e]:tV(r=e)?r:tF(r);for(var n=0,i=e.length;null!=t&&n<i;)t=t[tz(e[n++])];return n&&n==i?t:void 0}function tT(t,e){return null!=t&&e in Object(t)}function tM(t,e,r,n,i){return t===e||(null!=t&&null!=e&&(t$(t)||tX(e))?function(t,e,r,n,i,o){var a=tV(t),s=tV(e),u=f,c=f;a||(u=(u=tR(t))==l?m:u),s||(c=(c=tR(e))==l?m:c);var g=u==m&&!W(t),b=c==m&&!W(e),x=u==c;if(x&&!g)return o||(o=new tE),a||tQ(t)?tI(t,e,r,n,i,o):function(t,e,r,n,i,o,a){switch(r){case E:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case C:if(t.byteLength!=e.byteLength||!n(new ti(t),new ti(e)))break;return!0;case p:case h:case v:return tH(+t,+e);case d:return t.name==e.name&&t.message==e.message;case _:case w:return t==e+"";case y:var s=V;case S:var u=2&o;if(s||(s=J),t.size!=e.size&&!u)break;var c=a.get(t);if(c)return c==e;o|=1,a.set(t,e);var l=tI(s(t),s(e),n,i,o,a);return a.delete(t),l;case k:if(t_)return t_.call(t)==t_.call(e)}return!1}(t,e,u,r,n,i,o);if(!(2&i)){var O=g&&tt.call(t,"__wrapped__"),D=b&&tt.call(e,"__wrapped__");
1if(O||D){var K=O?t.value():t,A=D?e.value():e;return o||(o=new tE),r(K,A,n,i,o)}}return!!x&&(o||(o=new tE),function(t,e,r,n,i,o){var a=2&i,s=t0(t),u=s.length;if(u!=t0(e).length&&!a)return!1;for(var c=u;c--;){var l=s[c];if(!(a?l in e:tt.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var p=!0;o.set(t,e),o.set(e,t);for(var h=a;++c<u;){var d=t[l=s[c]],g=e[l];if(n)var y=a?n(g,d,l,e,t,o):n(d,g,l,t,e,o);if(!(void 0===y?d===g||r(d,g,n,i,o):y)){p=!1;break}h||(h="constructor"==l)}if(p&&!h){var v=t.constructor,m=e.constructor;v!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof v&&v instanceof v&&"function"==typeof m&&m instanceof m)&&(p=!1)}return o.delete(t),o.delete(e),p}(t,e,r,n,i,o))}(t,e,tM,r,n,i):t!=t&&e!=e)}function tI(t,e,r,n,i,o){var a=2&i,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,f=!0,p=1&i?new tC:void 0;for(o.set(t,e),o.set(e,t);++l<s;){var h=t[l],d=e[l];if(n)var g=a?n(d,h,l,e,t,o):n(h,d,l,t,e,o);if(void 0!==g){if(g)continue;f=!1;break}if(p){if(!function(t,e){for(var r=-1,n=t?t.length:0;++r<n;)if(e(t[r],r,t))return!0;return!1}(e,function(t,e){if(!p.has(e)&&(h===t||r(h,t,n,i,o)))return p.add(e)})){f=!1;break}}else if(!(h===d||r(h,d,n,i,o))){f=!1;break}}return o.delete(t),o.delete(e),f}function tB(t,e){var r,n=t.__data__;return("string"==(r=typeof e)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?n["string"==typeof e?"string":"hash"]:n.map}function tL(t,e){var r=null==t?void 0:t[e];return!(!t$(r)||Y&&Y in r)&&(tG(r)||W(r)?tr:M).test(tU(r))?r:void 0}var tR=function(t){return te.call(t)};function tP(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||I.test(t))&&t>-1&&t%1==0&&t<e}function tN(t,e){if(tV(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||tY(t))||D.test(t)||!O.test(t)||null!=e&&t in Object(e)}function tj(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}(tu&&tR(new tu(new ArrayBuffer(1)))!=E||tc&&tR(new tc)!=y||tl&&tR(tl.resolve())!=b||tf&&tR(new tf)!=S||tp&&tR(new tp)!=x)&&(tR=function(t){var e=te.call(t),r=e==m?t.constructor:void 0,n=r?tU(r):void 0;if(n)switch(n){case td:return E;case tg:return y;case ty:return b;case tv:return S;case tm:return x}return e});var tF=tq(function(t){t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(tY(t))return tS?tS.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}(e);var e,r=[];return K.test(t)&&r.push(""),t.replace(A,function(t,e,n,i){r.push(n?i.replace(T,"$1"):e||t)}),r});function tz(t){if("string"==typeof t||tY(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function tU(t){if(null!=t){try{return Q.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function tq(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a),a};return r.cache=new(tq.Cache||tx),r}function tH(t,e){return t===e||t!=t&&e!=e}function tW(t){return tX(t)&&tJ(t)&&tt.call(t,"callee")&&(!to.call(t,"callee")||te.call(t)==l)}tq.Cache=tx;var tV=Array.isArray;function tJ(t){return null!=t&&tZ(t.length)&&!tG(t)}function tG(t){var e=t$(t)?te.call(t):"";return e==g||"[object GeneratorFunction]"==e}function tZ(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function t$(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function tX(t){return!!t&&"object"==typeof t}function tY(t){return"symbol"==typeof t||tX(t)&&te.call(t)==k}var tQ=U?function(t){return U(t)}:function(t){return tX(t)&&tZ(t.length)&&!!B[te.call(t)]};function t0(t){return tJ(t)?function(t,e){var r=tV(t)||tW(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,i=!!n;for(var o in t)tt.call(t,o)&&!(i&&("length"==o||tP(o,n)))&&r.push(o);return r}(t):function(t){if(e=t&&t.constructor,t!==("function"==typeof e&&e.prototype||$))return ts(t);var e,r=[];for(var n in Object(t))tt.call(t,n)&&"constructor"!=n&&r.push(n);return r}(t)}function t1(t){return t}t.exports=function(t,e,r){var n,i,o,a,s,u,c=tV(t)?q:H,l=arguments.length<3;return c(t,"function"==typeof e?e:null==e?t1:"object"==typeof e?tV(e)?(o=e[0],a=e[1],tN(o)&&(s=a)==s&&!t$(s)?tj(tz(o),a):function(t){var e,r=void 0===(e=null==t?void 0:tA(t,o))?void 0:e;return void 0===r&&r===a?null!=t&&function(t,e,r){e=tN(e,t)?[e]:tV(n=e)?n:tF(n);for(var n,i,o=-1,a=e.length;++o<a;){var s=tz(e[o]);if(!(i=null!=t&&r(t,s)))break;t=t[s]}if(i)return i;var a=t?t.length:0;return!!a&&tZ(a)&&tP(s,a)&&(tV(t)||tW(t))}(t,o,tT):tM(a,r,void 0,3)}):1==(u=function(t){for(var e=t0(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,i==i&&!t$(i)]}return e}(e)).length&&u[0][2]?tj(u[0][0],u[0][1]):function(t){return t===e||function(t,e,r,n){var i=r.length,o=i;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var s=(a=r[i])[0],u=t[s],c=a[1];if(a[2]){if(void 0===u&&!(s in t))return!1}
1else{var l,f=new tE;if(!(void 0===l?tM(c,u,void 0,3,f):l))return!1}}return!0}(t,0,u)}:tN(n=e)?(i=tz(n),function(t){return null==t?void 0:t[i]}):function(t){return tA(t,n)},r,l,tD)}},4079:function(t){"use strict";var e=Object.assign.bind(Object);t.exports=e,t.exports.default=t.exports},4760:function(){},95213:function(t,e,r){var n=r(34406);"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),({189:function(){!function(t,e){"use strict";if(!t.setImmediate){var r,i,o,a,s,u=1,c={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);(p=p&&p.setTimeout?p:t,"[object process]"===({}).toString.call(t.process))?s=function(t){n.nextTick(function(){d(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?(r="setImmediate$"+Math.random()+"$",i=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(r)&&d(+e.data.slice(r.length))},t.addEventListener?t.addEventListener("message",i,!1):t.attachEvent("onmessage",i),s=function(e){t.postMessage(r+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){d(t.data)},s=function(t){o.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(a=f.documentElement,s=function(t){var e=f.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,a.removeChild(e),e=null},a.appendChild(e)}):s=function(t){setTimeout(d,0,t)},p.setImmediate=function(t){"function"!=typeof t&&(t=Function(""+t));for(var e=Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var n={callback:t,args:e};return c[u]=n,s(u),u++},p.clearImmediate=h}function h(t){delete c[t]}function d(t){if(l)setTimeout(d,0,t);else{var r=c[t];if(r){l=!0;try{!function(t){var r=t.callback,n=t.args;switch(n.length){case 0:r();break;case 1:r(n[0]);break;case 2:r(n[0],n[1]);break;case 3:r(n[0],n[1],n[2]);break;default:r.apply(e,n)}}(r)}finally{h(t),l=!1}}}}}("undefined"==typeof self?void 0===r.g?this:r.g:self)}})[189](),t.exports={}},24886:function(t,e,r){"use strict";r.d(e,{Ip:function(){return a}});var n=r(2784),i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function o(t){var e,r,i,o,a,s,u,c=t.className,l=t.counterClockwise,f=t.dashRatio,p=t.pathRadius,h=t.strokeWidth,d=t.style;return(0,n.createElement)("path",{className:c,style:Object.assign({},d,(r=(e={pathRadius:p,dashRatio:f,counterClockwise:l}).counterClockwise,o=(1-e.dashRatio)*(i=2*Math.PI*e.pathRadius),{strokeDasharray:i+"px "+i+"px",strokeDashoffset:(r?-o:o)+"px"})),d:"\n      M 50,50\n      m 0,-"+(s=(a={pathRadius:p,counterClockwise:l}).pathRadius)+"\n      a "+s+","+s+" "+(u=a.counterClockwise?1:0)+" 1 1 0,"+2*s+"\n      a "+s+","+s+" "+u+" 1 1 0,-"+2*s+"\n    ",strokeWidth:h,fillOpacity:0})}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return!function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},e.prototype.getPathRadius=function(){return 50-this.props.strokeWidth/2-this.getBackgroundPadding()},e.prototype.getPathRatio=function(){var t=this.props,e=t.value,r=t.minValue,n=t.maxValue;return(Math.min(Math.max(e,r),n)-r)/(n-r)},e.prototype.render=function(){var t=this.props,e=t.circleRatio,r=t.className,i=t.classes,a=t.counterClockwise,s=t.styles,u=t.strokeWidth,c=t.text,l=this.getPathRadius(),f=this.getPathRatio();return(0,n.createElement)("svg",{className:i.root+" "+r,style:s.root,viewBox:"0 0 100 100","data-test-id":"CircularProgressbar"},this.props.background?(0,n.createElement)("circle",{className:i.background,style:s.background,cx:50,cy:50,r:50}):null,(0,n.createElement)(o,{className:i.trail,counterClockwise:a,dashRatio:e,pathRadius:l,strokeWidth:u,style:s.trail}),(0,n.createElement)(o,{className:i.path,counterClockwise:a,dashRatio:f*e,pathRadius:l,strokeWidth:u,style:s.path}),c?(0,n.createElement)("text",{className:i.text,style:s.text,x:50,y:50},c):null)},e.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},e}(n.Component)},37492:function(t,e,r){var n;n=t=>(()=>{var e={703:(t,e,r)=>{"use strict";var n=r(414);function i(){}function o(){}
1o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},697:(t,e,r)=>{t.exports=r(703)()},414:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:e=>{"use strict";e.exports=t}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var o=r[t]={exports:{}};return e[t](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.r(i),n.d(i,{default:()=>m});var t=n(98),e=n.n(t),r=n(697),o=n.n(r);function a(){return(a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var s=function(t){var r=t.pageClassName,n=t.pageLinkClassName,i=t.page,o=t.selected,s=t.activeClassName,u=t.activeLinkClassName,c=t.getEventListener,l=t.pageSelectedHandler,f=t.href,p=t.extraAriaContext,h=t.pageLabelBuilder,d=t.rel,g=t.ariaLabel||"Page "+i+(p?" "+p:""),y=null;return o&&(y="page",g=t.ariaLabel||"Page "+i+" is your current page",r=void 0!==r?r+" "+s:s,void 0!==n?void 0!==u&&(n=n+" "+u):n=u),e().createElement("li",{className:r},e().createElement("a",a({rel:d,role:f?void 0:"button",className:n,href:f,tabIndex:o?"-1":"0","aria-label":g,"aria-current":y,onKeyPress:l},c(l)),h(i)))};function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}s.propTypes={pageSelectedHandler:o().func.isRequired,selected:o().bool.isRequired,pageClassName:o().string,pageLinkClassName:o().string,activeClassName:o().string,activeLinkClassName:o().string,extraAriaContext:o().string,href:o().string,ariaLabel:o().string,page:o().number.isRequired,getEventListener:o().func.isRequired,pageLabelBuilder:o().func.isRequired,rel:o().string};var c=function(t){var r=t.breakLabel,n=t.breakAriaLabel,i=t.breakClassName,o=t.breakLinkClassName,a=t.breakHandler,s=t.getEventListener;return e().createElement("li",{className:i||"break"},e().createElement("a",u({className:o,role:"button",tabIndex:"0","aria-label":n,onKeyPress:a},s(a)),r))};function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!=t?t:e}function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){return(p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}
1function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}c.propTypes={breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabel:o().string,breakClassName:o().string,breakLinkClassName:o().string,breakHandler:o().func.isRequired,getEventListener:o().func.isRequired};var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(o,t);var r,n,i=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=g(o);return t=n?Reflect.construct(e,arguments,g(this).constructor):e.apply(this,arguments),function(t,e){if(e&&("object"===f(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return d(t)}(this,t)});function o(t){var r,n;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o),y(d(r=i.call(this,t)),"handlePreviousPage",function(t){var e=r.state.selected;r.handleClick(t,null,e>0?e-1:void 0,{isPrevious:!0})}),y(d(r),"handleNextPage",function(t){var e=r.state.selected,n=r.props.pageCount;r.handleClick(t,null,e<n-1?e+1:void 0,{isNext:!0})}),y(d(r),"handlePageSelected",function(t,e){if(r.state.selected===t)return r.callActiveCallback(t),void r.handleClick(e,null,void 0,{isActive:!0});r.handleClick(e,null,t)}),y(d(r),"handlePageChange",function(t){r.state.selected!==t&&(r.setState({selected:t}),r.callCallback(t))}),y(d(r),"getEventListener",function(t){return y({},r.props.eventListener,t)}),y(d(r),"handleClick",function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.isPrevious,a=i.isNext,s=i.isBreak,u=i.isActive;t.preventDefault?t.preventDefault():t.returnValue=!1;var c=r.state.selected,l=r.props.onClick,f=n;if(l){var p=l({index:e,selected:c,nextSelectedPage:n,event:t,isPrevious:void 0!==o&&o,isNext:void 0!==a&&a,isBreak:void 0!==s&&s,isActive:void 0!==u&&u});if(!1===p)return;Number.isInteger(p)&&(f=p)}void 0!==f&&r.handlePageChange(f)}),y(d(r),"handleBreakClick",function(t,e){var n=r.state.selected;r.handleClick(e,t,n<t?r.getForwardJump():r.getBackwardJump(),{isBreak:!0})}),y(d(r),"callCallback",function(t){void 0!==r.props.onPageChange&&"function"==typeof r.props.onPageChange&&r.props.onPageChange({selected:t})}),y(d(r),"callActiveCallback",function(t){void 0!==r.props.onPageActive&&"function"==typeof r.props.onPageActive&&r.props.onPageActive({selected:t})}),y(d(r),"getElementPageRel",function(t){var e=r.state.selected,n=r.props,i=n.nextPageRel,o=n.prevPageRel,a=n.selectedPageRel;return e-1===t?o:e===t?a:e+1===t?i:void 0}),y(d(r),"pagination",function(){var t=[],n=r.props,i=n.pageRangeDisplayed,o=n.pageCount,a=n.marginPagesDisplayed,s=n.breakLabel,u=n.breakClassName,l=n.breakLinkClassName,f=n.breakAriaLabels,p=r.state.selected;if(o<=i)for(var h=0;h<o;h++)t.push(r.getPageElement(h));else{var d=i/2,g=i-d;p>o-i/2?d=i-(g=o-p):p<i/2&&(g=i-(d=p));var y,v,m=function(t){return r.getPageElement(t)},b=[];for(y=0;y<o;y++){var _=y+1;if(_<=a)b.push({type:"page",index:y,display:m(y)});else if(_>o-a)b.push({type:"page",index:y,display:m(y)});else if(y>=p-d&&y<=p+(0===p&&i>1?g-1:g))b.push({type:"page",index:y,display:m(y)});else if(s&&b.length>0&&b[b.length-1].display!==v&&(i>0||a>0)){var S=y<p?f.backward:f.forward;v=e().createElement(c,{key:y,breakAriaLabel:S,breakLabel:s,breakClassName:u,breakLinkClassName:l,breakHandler:r.handleBreakClick.bind(null,y),getEventListener:r.getEventListener}),b.push({type:"break",index:y,display:v})}}b.forEach(function(e,r){var n=e;
1"break"===e.type&&b[r-1]&&"page"===b[r-1].type&&b[r+1]&&"page"===b[r+1].type&&b[r+1].index-b[r-1].index<=2&&(n={type:"page",index:e.index,display:m(e.index)}),t.push(n.display)})}return t}),void 0!==t.initialPage&&void 0!==t.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(t.initialPage,") and forcePage (").concat(t.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),n=t.initialPage?t.initialPage:t.forcePage?t.forcePage:0,r.state={selected:n},r}return r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.initialPage,r=t.disableInitialCallback,n=t.extraAriaContext,i=t.pageCount,o=t.forcePage;void 0===e||r||this.callCallback(e),n&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(i)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(i,"). Did you forget a Math.ceil()?")),void 0!==e&&e>i-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(e," > ").concat(i-1,").")),void 0!==o&&o>i-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(o," > ").concat(i-1,")."))}},{key:"componentDidUpdate",value:function(t){void 0!==this.props.forcePage&&this.props.forcePage!==t.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(t.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var t=this.state.selected,e=this.props,r=e.pageCount,n=t+e.pageRangeDisplayed;return n>=r?r-1:n}},{key:"getBackwardJump",value:function(){var t=this.state.selected-this.props.pageRangeDisplayed;return t<0?0:t}},{key:"getElementHref",value:function(t){var e=this.props,r=e.hrefBuilder,n=e.pageCount,i=e.hrefAllControls;if(r)return i||t>=0&&t<n?r(t+1,n,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(t){var e=t===this.state.selected;if(this.props.ariaLabelBuilder&&t>=0&&t<this.props.pageCount){var r=this.props.ariaLabelBuilder(t+1,e);return this.props.extraAriaContext&&!e&&(r=r+" "+this.props.extraAriaContext),r}}},{key:"getPageElement",value:function(t){var r=this.state.selected,n=this.props,i=n.pageClassName,o=n.pageLinkClassName,a=n.activeClassName,u=n.activeLinkClassName,c=n.extraAriaContext,l=n.pageLabelBuilder;return e().createElement(s,{key:t,pageSelectedHandler:this.handlePageSelected.bind(null,t),selected:r===t,rel:this.getElementPageRel(t),pageClassName:i,pageLinkClassName:o,activeClassName:a,activeLinkClassName:u,extraAriaContext:c,href:this.getElementHref(t),ariaLabel:this.ariaLabelBuilder(t),page:t+1,pageLabelBuilder:l,getEventListener:this.getEventListener})}},{key:"render",value:function(){var t=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==t)return t?t(this.props):t;var r=this.props,n=r.disabledClassName,i=r.disabledLinkClassName,o=r.pageCount,a=r.className,s=r.containerClassName,u=r.previousLabel,c=r.previousClassName,f=r.previousLinkClassName,h=r.previousAriaLabel,d=r.prevRel,g=r.nextLabel,y=r.nextClassName,v=r.nextLinkClassName,m=r.nextAriaLabel,b=r.nextRel,_=this.state.selected,S=0===_,w=_===o-1,k="".concat(l(c)).concat(S?" ".concat(l(n)):""),x="".concat(l(y)).concat(w?" ".concat(l(n)):""),C="".concat(l(f)).concat(S?" ".concat(l(i)):""),E="".concat(l(v)).concat(w?" ".concat(l(i)):"");return e().createElement("ul",{className:a||s,role:"navigation","aria-label":"Pagination"},e().createElement("li",{className:k},e().createElement("a",p({className:C,href:this.getElementHref(_-1),tabIndex:S?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":S?"true":"false","aria-label":h,rel:d},this.getEventListener(this.handlePreviousPage)),u)),this.pagination(),e().createElement("li",{className:x},e().createElement("a",p({className:E,href:this.getElementHref(_+1),tabIndex:w?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":w?"true":"false","aria-label":m,rel:b},this.getEventListener(this.handleNextPage)),g)))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(t.Component);y(v,"propTypes",{pageCount:o().number.isRequired,pageRangeDisplayed:o().number,marginPagesDisplayed:o().number,previousLabel:o().node,previousAriaLabel:o().string,prevPageRel:o().string,prevRel:o().string,nextLabel:o().node,nextAriaLabel:o().string,nextPageRel:o().string,nextRel:o().string,breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabels:o().shape({forward:o().string,backward:o().string}),hrefBuilder:o().func,hrefAllControls:o().bool,onPageChange:o().func,onPageActive:o().func,onClick:o().func,initialPage:o().number,forcePage:o().number,disableInitialCallback:o().bool,containerClassName:o().string,className:o().string,pageClassName:o().string,pageLinkClassName:o().string,pageLabelBuilder:o().func,activeClassName:o().string,activeLinkClassName:o().string,previousClassName:o().string,nextClassName:o().string,previousLinkClassName:o().string,nextLinkClassName:o().string,disabledClassName:o().string,disabledLinkClassName:o().string,breakClassName:o().string,breakLinkClassName:o().string,extraAriaContext:o().string,ariaLabelBuilder:o().func,eventListener:o().string,renderOnZeroPageCount:o().func,selectedPageRel:o().string}),y(v,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(t){return t},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});let m=v})(),i})(),t.exports=n(r(2784))},91516:function(t,e,r){"use strict";r.d(e,{Z:function(){return h}});
1var n=r(7896),i=r(2784),o=r(26202),a=r(88137),s=r(56666),u=r(33028),c=r(76854),l=r(59740),f=r(407),p=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];r(28316),r(84337);var h=(0,i.forwardRef)(function(t,e){var r,h,d,g,y,v,m,b,_,S,w,k,x,C,E,O,D,K,A,T,M,I,B,L,R,P,N,j,F,z,U,q,H,W,V,J,G,Z,$,X,Y,Q,tt,te,tr,tn,ti,to,ta,ts,tu,tc=(h=void 0!==(r=t.defaultOptions)&&r,g=void 0!==(d=t.cacheOptions)&&d,y=t.loadOptions,t.options,v=t.isLoading,m=t.onInputChange,b=t.filterOption,S=(_=(0,l.Z)(t,p)).inputValue,w=(0,i.useRef)(void 0),k=(0,i.useRef)(!1),x=(0,i.useState)(Array.isArray(h)?h:void 0),E=(C=(0,c.Z)(x,2))[0],O=C[1],D=(0,i.useState)(void 0!==S?S:""),A=(K=(0,c.Z)(D,2))[0],T=K[1],M=(0,i.useState)(!0===h),B=(I=(0,c.Z)(M,2))[0],L=I[1],R=(0,i.useState)(void 0),N=(P=(0,c.Z)(R,2))[0],j=P[1],F=(0,i.useState)([]),U=(z=(0,c.Z)(F,2))[0],q=z[1],H=(0,i.useState)(!1),V=(W=(0,c.Z)(H,2))[0],J=W[1],G=(0,i.useState)({}),$=(Z=(0,c.Z)(G,2))[0],X=Z[1],Y=(0,i.useState)(void 0),tt=(Q=(0,c.Z)(Y,2))[0],te=Q[1],tr=(0,i.useState)(void 0),ti=(tn=(0,c.Z)(tr,2))[0],to=tn[1],g!==ti&&(X({}),to(g)),h!==tt&&(O(Array.isArray(h)?h:void 0),te(h)),(0,i.useEffect)(function(){return k.current=!0,function(){k.current=!1}},[]),ta=(0,i.useCallback)(function(t,e){if(!y)return e();var r=y(t,e);r&&"function"==typeof r.then&&r.then(e,function(){return e()})},[y]),(0,i.useEffect)(function(){!0===h&&ta(A,function(t){k.current&&(O(t||[]),L(!!w.current))})},[]),ts=(0,i.useCallback)(function(t,e){var r=(0,f.L)(t,e,m);if(!r){w.current=void 0,T(""),j(""),q([]),L(!1),J(!1);return}if(g&&$[r])T(r),j(r),q($[r]),L(!1),J(!1);else{var n=w.current={};T(r),L(!0),J(!N),ta(r,function(t){k&&n===w.current&&(w.current=void 0,L(!1),j(r),q(t||[]),J(!1),X(t?(0,u.Z)((0,u.Z)({},$),{},(0,s.Z)({},r,t)):$))})}},[g,ta,N,$,m]),tu=V?[]:A&&N?U:E||[],(0,u.Z)((0,u.Z)({},_),{},{options:tu,isLoading:B||void 0!==v&&v,onInputChange:ts,filterOption:void 0===b?null:b})),tl=(0,a.u)(tc);return i.createElement(o.S,(0,n.Z)({ref:e},tl))})},46353:function(t,e,r){var n;!function(i,o){"use strict";var a="function",s="undefined",u="object",c="string",l="major",f="model",p="name",h="type",d="vendor",g="version",y="architecture",v="console",m="mobile",b="tablet",_="smarttv",S="wearable",w="embedded",k="Amazon",x="Apple",C="ASUS",E="BlackBerry",O="Browser",D="Chrome",K="Firefox",A="Google",T="Huawei",M="Microsoft",I="Motorola",B="Opera",L="Samsung",R="Sharp",P="Sony",N="Xiaomi",j="Zebra",F="Facebook",z="Chromium OS",U="Mac OS",q=function(t,e){var r={};for(var n in t)e[n]&&e[n].length%2==0?r[n]=e[n].concat(t[n]):r[n]=t[n];return r},H=function(t){for(var e={},r=0;r<t.length;r++)e[t[r].toUpperCase()]=t[r];return e},W=function(t,e){return typeof t===c&&-1!==V(e).indexOf(V(t))},V=function(t){return t.toLowerCase()},J=function(t,e){if(typeof t===c)return t=t.replace(/^\s\s*/,""),typeof e===s?t:t.substring(0,500)},G=function(t,e){for(var r,n,i,s,c,l,f=0;f<e.length&&!c;){var p=e[f],h=e[f+1];for(r=n=0;r<p.length&&!c&&p[r];)if(c=p[r++].exec(t))for(i=0;i<h.length;i++)l=c[++n],typeof(s=h[i])===u&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):void 0:this[s[0]]=l?s[1].call(this,l,s[2]):void 0:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):void 0):this[s]=l||o;f+=2}},Z=function(t,e){for(var r in e)if(typeof e[r]===u&&e[r].length>0){for(var n=0;n<e[r].length;n++)if(W(e[r][n],t))return"?"===r?o:r}else if(W(e[r],t))return"?"===r?o:r;return t},$={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"},X={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,B+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[p,B]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[p,"UC"+O]],[/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 "+O]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+O],g],[/\bfocus\/([\w\.]+)/i],[g,[p,K+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[p,B+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[p,B+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[p,"MIUI "+O]],[/fxios\/([-\w\.]+)/i],[g,[p,K]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+O]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+O],g],[/samsungbrowser\/([\w\.]+)/i],[g,[p,L+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],g],[/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|2345Explorer)[\/ ]?([\w\.]+)/i],[p,g],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,F],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[p,"GSA"]],[/musical_ly(?:.
vendor: 5,157 bytes, line 1
1+app_?version\/|_)([\w\.]+)/i],[g,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[p,D+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,D+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[p,"Android "+O]],[/(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,Z,{"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],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[p,K+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,g],[/(cobalt)\/([\w\.]+)/i],[p,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,V]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",V]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,V]]],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,L],[h,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[d,L],[h,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[d,x],[h,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[d,x],[h,b]],[/(macintosh);/i],[f,[d,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[d,R],[h,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[d,T],[h,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[d,T],[h,m]],[/\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)?)(?: bui|\))/i],[[f,/_/g," "],[d,N],[h,m]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[d,N],[h,b]],[/; (\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,"OPPO"],[h,m]],[/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[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[d,I],[h,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[d,I],[h,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[d,"LG"],[h,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[d,"LG"],[h,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[d,"Lenovo"],[h,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[d,"Nokia"],[h,m]],[/(pixel c)\b/i],[f,[d,A],[h,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[d,A],[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,P],[h,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[d,P],[h,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[d,"OnePlus"],[h,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[d,k],[h,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[d,k],[h,m]],[/(playbook);[-\w\),; ]+(rim)/i],[f,d,[h,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[d,E],[h,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[d,C],[h,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[d,C],[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.+; ([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}
1))(?: bui|\))/i],[f,[d,"Ulefone"],[h,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,f,[h,m]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/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,M],[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]],[/(shield[\w ]+) b/i],[f,[d,"Nvidia"],[h,b]],[/(sprint) (\w+)/i],[d,f,[h,m]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[d,M],[h,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[d,j],[h,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[d,j],[h,m]],[/smart-tv.+(samsung)/i],[d,[h,_]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[d,L],[h,_]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,"LG"],[h,_]],[/(apple) ?tv/i],[d,[f,x+" TV"],[h,_]],[/crkey/i],[[f,D+"cast"],[d,A],[h,_]],[/droid.+aft(\w+)( bui|\))/i],[f,[d,k],[h,_]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[d,R],[h,_]],[/(bravia[\w ]+)( bui|\))/i],[f,[d,P],[h,_]],[/(mitv-\w{5}) bui/i],[f,[d,N],[h,_]],[/Hbbtv.*(technisat) (.*);/i],[d,f,[h,_]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,J],[f,J],[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,"Nvidia"],[h,v]],[/(playstation [345portablevi]+)/i],[f,[d,P],[h,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[d,M],[h,v]],[/((pebble))app/i],[d,f,[h,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[d,x],[h,S]],[/droid.+; (glass) \d/i],[f,[d,A],[h,S]],[/droid.+; (wt63?0{2,3})\)/i],[f,[d,j],[h,S]],[/(quest( 2| pro)?)/i],[f,[d,F],[h,S]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[h,w]],[/(aeobc)\b/i],[f,[d,k],[h,w]],[/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]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[g,Z,$]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Z,$],[p,"Windows"]],[/ip[honead]{2,4}\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,U],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,g],[/\(bb(10);/i],[g,[p,E]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+);
vendor: 2,968 bytes, line 1
1 rv:.+ gecko\/([\w\.]+)/i],[g,[p,K+" 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,D+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,z],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) ?([\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]]},Y=function(t,e){if(typeof t===u&&(e=t,t=o),!(this instanceof Y))return new Y(t,e).getResult();var r=typeof i!==s&&i.navigator?i.navigator:o,n=t||(r&&r.userAgent?r.userAgent:""),v=r&&r.userAgentData?r.userAgentData:o,_=e?q(X,e):X,S=r&&r.userAgent==n;return this.getBrowser=function(){var t,e={};return e[p]=o,e[g]=o,G.call(e,n,_.browser),e[l]=typeof(t=e[g])===c?t.replace(/[^\d\.]/g,"").split(".")[0]:o,S&&r&&r.brave&&typeof r.brave.isBrave==a&&(e[p]="Brave"),e},this.getCPU=function(){var t={};return t[y]=o,G.call(t,n,_.cpu),t},this.getDevice=function(){var t={};return t[d]=o,t[f]=o,t[h]=o,G.call(t,n,_.device),S&&!t[h]&&v&&v.mobile&&(t[h]=m),S&&"Macintosh"==t[f]&&r&&typeof r.standalone!==s&&r.maxTouchPoints&&r.maxTouchPoints>2&&(t[f]="iPad",t[h]=b),t},this.getEngine=function(){var t={};return t[p]=o,t[g]=o,G.call(t,n,_.engine),t},this.getOS=function(){var t={};return t[p]=o,t[g]=o,G.call(t,n,_.os),S&&!t[p]&&v&&"Unknown"!=v.platform&&(t[p]=v.platform.replace(/chrome os/i,z).replace(/macos/i,U)),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 n},this.setUA=function(t){return n=typeof t===c&&t.length>500?J(t,500):t,this},this.setUA(n),this};Y.VERSION="0.7.37",Y.BROWSER=H([p,g,l]),Y.CPU=H([y]),Y.DEVICE=H([f,d,h,v,m,_,b,S,w]),Y.ENGINE=Y.OS=H([p,g]),typeof e!==s?(t.exports&&(e=t.exports=Y),e.UAParser=Y):r.amdO?o!==(n=(function(){return Y}).call(e,r,e,t))&&(t.exports=n):typeof i!==s&&(i.UAParser=Y);var Q=typeof i!==s&&(i.jQuery||i.Zepto);if(Q&&!Q.ua){var tt=new Y;Q.ua=tt.getResult(),Q.ua.get=function(){return tt.getUA()},Q.ua.set=function(t){tt.setUA(t);var e=tt.getResult();for(var r in e)Q.ua[r]=e[r]}}}("object"==typeof window?window:this)}}]);

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.