@livetiles/reach-components-react 0.4.0-preview.402 → 0.4.0-preview.404

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm2.js CHANGED
@@ -113,7 +113,7 @@ var yV=function(){return yV=Object.assign||function(e){for(var t,n=1,r=arguments
113
113
  object-assign
114
114
  (c) Sindre Sorhus
115
115
  @license MIT
116
- */function BH(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var UH=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=BH(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))FH.call(n,a)&&(i[a]=n[a]);if(LH){r=LH(n);for(var s=0;s<r.length;s++)zH.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},qH=function(){};if("production"!==Cs.env.NODE_ENV){var VH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",KH={},HH=Function.call.bind(Object.prototype.hasOwnProperty);qH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function WH(e,t,n,r,i){if("production"!==Cs.env.NODE_ENV)for(var o in e)if(HH(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,r,n,null,VH)}catch(e){a=e}if(!a||a instanceof Error||qH((r||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in KH)){KH[a.message]=!0;var u=i?i():"";qH("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}WH.resetWarningCache=function(){"production"!==Cs.env.NODE_ENV&&(KH={})};var GH=_e,YH=UH,QH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$H=WH,JH=Function.call.bind(Object.prototype.hasOwnProperty),ZH=function(){};function XH(){return null}"production"!==Cs.env.NODE_ENV&&(ZH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function eW(){}function tW(){}tW.resetWarningCache=eW;if("production"!==Cs.env.NODE_ENV){var nW=_e;RH.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:s(XH),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,r,i,o+"["+u+"]",QH);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return GH.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+l(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var u=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+u+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return c(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(JH(s,c)){var d=e(s,c,r,i,o+"."+c,QH);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==Cs.env.NODE_ENV&&ZH(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),XH;function t(t,n,r,i,s){for(var u=t[n],c=0;c<e.length;c++)if(o(u,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+l+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==Cs.env.NODE_ENV&&ZH("Invalid argument supplied to oneOfType, expected an instance of array."),XH;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return ZH("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),XH}return s((function(t,n,r,i,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,r,i,o,QH))return null;return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,o+"."+c,QH);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=YH({},t[n],e);for(var d in c){var f=e[d];if(!f)return new a("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,r,i,o+"."+d,QH);if(p)return p}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e){this.message=e,this.stack=""}function s(e){if("production"!==Cs.env.NODE_ENV)var n={},i=0;function o(o,s,u,c,l,d,f){if(c=c||r,d=d||u,f!==QH){if(t){var p=new 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 p.name="Invariant Violation",p}if("production"!==Cs.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+u;!n[h]&&i<3&&(ZH("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[u]?o?null===s[u]?new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,u,c,l,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function u(e){return s((function(t,n,r,i,o,s){var u=t[n];return l(u)!==e?new a("Invalid "+i+" `"+o+"` of type `"+d(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function l(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function d(e){if(null==e)return""+e;var t=l(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=d(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,i.checkPropTypes=$H,i.resetWarningCache=$H.resetWarningCache,i.PropTypes=i,i}(nW.isElement,!0)}else RH.exports=function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new 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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:tW,resetWarningCache:eW};return n.PropTypes=n,n}();var rW=RH.exports,iW=!1,oW="production"!==Cs.env.NODE_ENV?rW.oneOfType([rW.number,rW.shape({enter:rW.number,exit:rW.number,appear:rW.number}).isRequired]):null;"production"!==Cs.env.NODE_ENV&&rW.oneOfType([rW.string,rW.shape({enter:rW.string,exit:rW.string,active:rW.string}),rW.shape({enter:rW.string,enterDone:rW.string,enterActive:rW.string,exit:rW.string,exitDone:rW.string,exitActive:rW.string})]);var aW=o.createContext(null),sW=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i="exited",r.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}jH(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Me.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||iW?this.safeSetState({status:"entered"},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(o,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Me.findDOMNode(this);t&&!iW?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Me.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=PH(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return o.createElement(aW.Provider,{value:null},"function"==typeof n?n(e,r):o.cloneElement(o.Children.only(n),r))},t}(o.Component);function uW(){}sW.contextType=aW,sW.propTypes="production"!==Cs.env.NODE_ENV?{nodeRef:rW.shape({current:"undefined"==typeof Element?rW.any:function(e,t,n,r,i,o){var a=e[t];return rW.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,o)}}),children:rW.oneOfType([rW.func.isRequired,rW.element.isRequired]).isRequired,in:rW.bool,mountOnEnter:rW.bool,unmountOnExit:rW.bool,appear:rW.bool,enter:rW.bool,exit:rW.bool,timeout:function(e){var t=oW;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.apply(void 0,[e].concat(r))},addEndListener:rW.func,onEnter:rW.func,onEntering:rW.func,onEntered:rW.func,onExit:rW.func,onExiting:rW.func,onExited:rW.func}:{},sW.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:uW,onEntering:uW,onEntered:uW,onExit:uW,onExiting:uW,onExited:uW},sW.UNMOUNTED="unmounted",sW.EXITED="exited",sW.ENTERING="entering",sW.ENTERED="entered",sW.EXITING="exiting";var cW=sW;function lW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dW(e,t){var n=Object.create(null);return e&&h.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&m(e)?t(e):e}(e)})),n}function fW(e,t,n){return null!=n[t]?n[t]:e.props[t]}function pW(e,t,n){var r=dW(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if(m(a)){var s=o in t,u=o in r,c=t[o],l=m(c)&&!c.props.in;!u||s&&!l?u||!s||l?u&&s&&m(c)&&(i[o]=g(a,{onExited:n.bind(null,a),in:c.props.in,exit:fW(a,"exit",e),enter:fW(a,"enter",e)})):i[o]=g(a,{in:!1}):i[o]=g(a,{onExited:n.bind(null,a),in:!0,exit:fW(a,"exit",e),enter:fW(a,"enter",e)})}})),i}var hW=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},mW=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(lW(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}jH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,dW(n.children,(function(e){return g(e,{onExited:r.bind(null,e),in:!0,appear:fW(e,"appear",n),enter:fW(e,"enter",n),exit:fW(e,"exit",n)})}))):pW(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=dW(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=AH({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=PH(e,["component","childFactory"]),i=this.state.contextValue,a=hW(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o.createElement(aW.Provider,{value:i},a):o.createElement(aW.Provider,{value:i},o.createElement(t,r,a))},t}(o.Component);mW.propTypes="production"!==Cs.env.NODE_ENV?{component:rW.any,children:rW.node,appear:rW.bool,enter:rW.bool,exit:rW.bool,childFactory:rW.func}:{},mW.defaultProps={component:"div",childFactory:function(e){return e}};var gW=mW,vW={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},yW={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},bW=0,wW=1,xW=2,_W=3,SW=4,kW=function(){};function CW(e){return"number"==typeof e&&!isNaN(e)&&e>0}function EW(e){return Object.keys(e).map((function(t){return e[t]}))}var IW=!("undefined"==typeof window||!window.document||!window.document.createElement);var OW,TW=((OW=function(e,t,n){var r=e[t];return!1===r||CW(r)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+r+" given.")}).isRequired=function(e,t,n){if(void 0===e[t])return new Error("The prop "+t+" is marked as required in \n "+n+", but its value is undefined.");OW(e,t,n)},OW),NW={list:new Map,emitQueue:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e){return this.list.delete(e),this},cancelEmit:function(e){var t=this.emitQueue.get(e);return t&&(t.forEach((function(e){return clearTimeout(e)})),this.emitQueue.delete(e)),this},emit:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.list.has(e)&&this.list.get(e).forEach((function(n){var i=setTimeout((function(){n.apply(void 0,r)}),0);t.emitQueue.has(e)||t.emitQueue.set(e,[]),t.emitQueue.get(e).push(i)}))}};function DW(e){var t=e.enter,n=e.exit,r=e.duration,i=void 0===r?750:r,a=e.appendPosition,s=void 0!==a&&a;return function(e){var r,a,u=e.children,c=e.position,l=e.preventExitTransition,d=PH(e,["children","position","preventExitTransition"]),f=s?t+"--"+c:t,p=s?n+"--"+c:n;Array.isArray(i)&&2===i.length?(r=i[0],a=i[1]):r=a=i;return o.createElement(cW,AH({},d,{timeout:l?0:{enter:r,exit:a},onEnter:function(e){e.classList.add(f),e.style.animationFillMode="forwards",e.style.animationDuration=.001*r+"s"},onEntered:function(e){e.classList.remove(f),e.style.cssText=""},onExit:l?kW:function(e){e.classList.add(p),e.style.animationFillMode="forwards",e.style.animationDuration=.001*a+"s"}}),u)}}function AW(e){var t,n,r=e.delay,i=e.isRunning,a=e.closeToast,s=e.type,u=e.hide,c=e.className,l=e.style,d=e.controlledProgress,f=e.progress,p=e.rtl,h=AH({},l,{animationDuration:r+"ms",animationPlayState:i?"running":"paused",opacity:u?0:1,transform:d?"scaleX("+f+")":null}),m=hK("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar--"+s,((t={})["Toastify__progress-bar--rtl"]=p,t),c),g=((n={})[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]=d&&f<1?null:a,n);return o.createElement("div",AH({className:m,style:h},g))}function PW(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function MW(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}AW.propTypes={delay:TW.isRequired,isRunning:rW.bool.isRequired,closeToast:rW.func.isRequired,rtl:rW.bool.isRequired,type:rW.string,hide:rW.bool,className:rW.oneOfType([rW.string,rW.object]),progress:rW.number,controlledProgress:rW.bool},AW.defaultProps={type:yW.DEFAULT,hide:!1};var jW=IW&&/(msie|trident)/i.test(navigator.userAgent),RW=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={isRunning:!0,preventExitTransition:!1},t.flag={canCloseOnClick:!0,canDrag:!1},t.drag={start:0,x:0,y:0,deltaX:0,removalDistance:0},t.boundingRect=null,t.ref=null,t.pauseToast=function(){t.props.autoClose&&t.setState({isRunning:!1})},t.playToast=function(){t.props.autoClose&&t.setState({isRunning:!0})},t.onDragStart=function(e){t.flag.canCloseOnClick=!0,t.flag.canDrag=!0,t.boundingRect=t.ref.getBoundingClientRect(),t.ref.style.transition="",t.drag.start=t.drag.x=PW(e.nativeEvent),t.drag.removalDistance=t.ref.offsetWidth*(t.props.draggablePercent/100)},t.onDragMove=function(e){t.flag.canDrag&&(t.state.isRunning&&t.pauseToast(),t.drag.x=PW(e),t.drag.deltaX=t.drag.x-t.drag.start,t.drag.y=MW(e),t.drag.start!==t.drag.x&&(t.flag.canCloseOnClick=!1),t.ref.style.transform="translateX("+t.drag.deltaX+"px)",t.ref.style.opacity=1-Math.abs(t.drag.deltaX/t.drag.removalDistance))},t.onDragEnd=function(e){if(t.flag.canDrag){if(t.flag.canDrag=!1,Math.abs(t.drag.deltaX)>t.drag.removalDistance)return void t.setState({preventExitTransition:!0},t.props.closeToast);t.ref.style.transition="transform 0.2s, opacity 0.2s",t.ref.style.transform="translateX(0)",t.ref.style.opacity=1}},t.onDragTransitionEnd=function(){if(t.boundingRect){var e=t.boundingRect,n=e.top,r=e.bottom,i=e.left,o=e.right;t.props.pauseOnHover&&t.drag.x>=i&&t.drag.x<=o&&t.drag.y>=n&&t.drag.y<=r?t.pauseToast():t.playToast()}},t.onExitTransitionEnd=function(){if(jW)t.props.onExited();else{var e=t.ref.scrollHeight,n=t.ref.style;requestAnimationFrame((function(){n.minHeight="initial",n.height=e+"px",n.transition="all 0.4s ",requestAnimationFrame((function(){n.height=0,n.padding=0,n.margin=0})),setTimeout((function(){return t.props.onExited()}),400)}))}},t}jH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onOpen(this.props.children.props),this.props.draggable&&this.bindDragEvents(),this.props.pauseOnFocusLoss&&this.bindFocusEvents()},n.componentDidUpdate=function(e){e.draggable!==this.props.draggable&&(this.props.draggable?this.bindDragEvents():this.unbindDragEvents()),e.pauseOnFocusLoss!==this.props.pauseOnFocusLoss&&(this.props.pauseOnFocusLoss?this.bindFocusEvents():this.unbindFocusEvents())},n.componentWillUnmount=function(){this.props.onClose(this.props.children.props),this.props.draggable&&this.unbindDragEvents(),this.props.pauseOnFocusLoss&&this.unbindFocusEvents()},n.bindFocusEvents=function(){window.addEventListener("focus",this.playToast),window.addEventListener("blur",this.pauseToast)},n.unbindFocusEvents=function(){window.removeEventListener("focus",this.playToast),window.removeEventListener("blur",this.pauseToast)},n.bindDragEvents=function(){document.addEventListener("mousemove",this.onDragMove),document.addEventListener("mouseup",this.onDragEnd),document.addEventListener("touchmove",this.onDragMove),document.addEventListener("touchend",this.onDragEnd)},n.unbindDragEvents=function(){document.removeEventListener("mousemove",this.onDragMove),document.removeEventListener("mouseup",this.onDragEnd),document.removeEventListener("touchmove",this.onDragMove),document.removeEventListener("touchend",this.onDragEnd)},n.render=function(){var e,t=this,n=this.props,r=n.closeButton,i=n.children,a=n.autoClose,s=n.pauseOnHover,u=n.onClick,c=n.closeOnClick,l=n.type,d=n.hideProgressBar,f=n.closeToast,p=n.transition,h=n.position,m=n.className,g=n.bodyClassName,v=n.progressClassName,y=n.progressStyle,b=n.updateId,w=n.role,x=n.progress,_=n.rtl,S={className:hK("Toastify__toast","Toastify__toast--"+l,(e={},e["Toastify__toast--rtl"]=_,e),m)};a&&s&&(S.onMouseEnter=this.pauseToast,S.onMouseLeave=this.playToast),c&&(S.onClick=function(e){u&&u(e),t.flag.canCloseOnClick&&f()});var k=parseFloat(x)===x;return o.createElement(p,{in:this.props.in,appear:!0,onExited:this.onExitTransitionEnd,position:h,preventExitTransition:this.state.preventExitTransition},o.createElement("div",AH({onClick:u},S,{ref:function(e){return t.ref=e},onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseUp:this.onDragTransitionEnd,onTouchEnd:this.onDragTransitionEnd}),o.createElement("div",AH({},this.props.in&&{role:w},{className:hK("Toastify__toast-body",g)}),i),r&&r,(a||k)&&o.createElement(AW,AH({},b&&!k?{key:"pb-"+b}:{},{rtl:_,delay:a,isRunning:this.state.isRunning,closeToast:f,hide:d,type:l,style:y,className:v,controlledProgress:k,progress:x}))))},t}(v);function LW(e){var t=e.closeToast,n=e.type,r=e.ariaLabel;return o.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":r},"✖︎")}RW.propTypes={closeButton:rW.oneOfType([rW.node,rW.bool]).isRequired,autoClose:TW.isRequired,children:rW.node.isRequired,closeToast:rW.func.isRequired,position:rW.oneOf(EW(vW)).isRequired,pauseOnHover:rW.bool.isRequired,pauseOnFocusLoss:rW.bool.isRequired,closeOnClick:rW.bool.isRequired,transition:rW.func.isRequired,rtl:rW.bool.isRequired,hideProgressBar:rW.bool.isRequired,draggable:rW.bool.isRequired,draggablePercent:rW.number.isRequired,in:rW.bool,onExited:rW.func,onOpen:rW.func,onClose:rW.func,type:rW.oneOf(EW(yW)),className:rW.oneOfType([rW.string,rW.object]),bodyClassName:rW.oneOfType([rW.string,rW.object]),progressClassName:rW.oneOfType([rW.string,rW.object]),progressStyle:rW.object,progress:rW.number,updateId:rW.oneOfType([rW.string,rW.number]),ariaLabel:rW.string,containerId:rW.oneOfType([rW.string,rW.number]),role:rW.string},RW.defaultProps={type:yW.DEFAULT,in:!0,onOpen:kW,onClose:kW,className:null,bodyClassName:null,progressClassName:null,updateId:null},LW.propTypes={closeToast:rW.func,arialLabel:rW.string},LW.defaultProps={ariaLabel:"close"};var FW=DW({enter:"Toastify__bounce-enter",exit:"Toastify__bounce-exit",appendPosition:!0}),zW=DW({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit",duration:[450,750],appendPosition:!0});DW({enter:"Toastify__zoom-enter",exit:"Toastify__zoom-exit"}),DW({enter:"Toastify__flip-enter",exit:"Toastify__flip-exit"});var BW=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={toast:[]},t.toastKey=1,t.collection={},t.isToastActive=function(e){return-1!==t.state.toast.indexOf(e)},t}jH(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;NW.cancelEmit(_W).on(bW,(function(t,n){return e.ref?e.buildToast(t,n):null})).on(wW,(function(t){return e.ref?null==t?e.clear():e.removeToast(t):null})).emit(xW,this)},n.componentWillUnmount=function(){NW.emit(_W,this)},n.removeToast=function(e){this.setState({toast:this.state.toast.filter((function(t){return t!==e}))},this.dispatchChange)},n.dispatchChange=function(){NW.emit(SW,this.state.toast.length,this.props.containerId)},n.makeCloseButton=function(e,t,n){var r=this,i=this.props.closeButton;return m(e)||!1===e?i=e:!0===e&&(i=this.props.closeButton&&"boolean"!=typeof this.props.closeButton?this.props.closeButton:o.createElement(LW,null)),!1!==i&&g(i,{closeToast:function(){return r.removeToast(t)},type:n})},n.getAutoCloseDelay=function(e){return!1===e||CW(e)?e:this.props.autoClose},n.canBeRendered=function(e){return m(e)||"string"==typeof e||"number"==typeof e||"function"==typeof e},n.parseClassName=function(e){return"string"==typeof e?e:null!==e&&"object"==typeof e&&"toString"in e?e.toString():null},n.belongToContainer=function(e){return e.containerId===this.props.containerId},n.buildToast=function(e,t){var n=this,r=t.delay,i=PH(t,["delay"]);if(!this.canBeRendered(e))throw new Error("The element you provided cannot be rendered. You provided an element of type "+typeof e);var o=i.toastId,a=i.updateId;if(!(this.props.enableMultiContainer&&!this.belongToContainer(i)||this.isToastActive(o)&&null==a)){var s=function(){return n.removeToast(o)},u={id:o,key:i.key||this.toastKey++,type:i.type,closeToast:s,updateId:i.updateId,rtl:this.props.rtl,position:i.position||this.props.position,transition:i.transition||this.props.transition,className:this.parseClassName(i.className||this.props.toastClassName),bodyClassName:this.parseClassName(i.bodyClassName||this.props.bodyClassName),onClick:i.onClick||this.props.onClick,closeButton:this.makeCloseButton(i.closeButton,o,i.type),pauseOnHover:"boolean"==typeof i.pauseOnHover?i.pauseOnHover:this.props.pauseOnHover,pauseOnFocusLoss:"boolean"==typeof i.pauseOnFocusLoss?i.pauseOnFocusLoss:this.props.pauseOnFocusLoss,draggable:"boolean"==typeof i.draggable?i.draggable:this.props.draggable,draggablePercent:"number"!=typeof i.draggablePercent||isNaN(i.draggablePercent)?this.props.draggablePercent:i.draggablePercent,closeOnClick:"boolean"==typeof i.closeOnClick?i.closeOnClick:this.props.closeOnClick,progressClassName:this.parseClassName(i.progressClassName||this.props.progressClassName),progressStyle:this.props.progressStyle,autoClose:this.getAutoCloseDelay(i.autoClose),hideProgressBar:"boolean"==typeof i.hideProgressBar?i.hideProgressBar:this.props.hideProgressBar,progress:parseFloat(i.progress),role:"string"==typeof i.role?i.role:this.props.role};"function"==typeof i.onOpen&&(u.onOpen=i.onOpen),"function"==typeof i.onClose&&(u.onClose=i.onClose),m(e)&&"string"!=typeof e.type&&"number"!=typeof e.type?e=g(e,{closeToast:s}):"function"==typeof e&&(e=e({closeToast:s})),CW(r)?setTimeout((function(){n.appendToast(u,e,i.staleToastId)}),r):this.appendToast(u,e,i.staleToastId)}},n.appendToast=function(e,t,n){var r,i=e.id,o=e.updateId;this.collection=AH({},this.collection,((r={})[i]={options:e,content:t,position:e.position},r)),this.setState({toast:(o?[].concat(this.state.toast):[].concat(this.state.toast,[i])).filter((function(e){return e!==n}))},this.dispatchChange)},n.clear=function(){this.setState({toast:[]})},n.renderToast=function(){var e=this,t={},n=this.props,r=n.className,i=n.style;return(n.newestOnTop?Object.keys(this.collection).reverse():Object.keys(this.collection)).forEach((function(n){var r=e.collection[n],i=r.position,a=r.options,s=r.content;t[i]||(t[i]=[]),-1!==e.state.toast.indexOf(a.id)?t[i].push(o.createElement(RW,AH({},a,{isDocumentHidden:e.state.isDocumentHidden,key:"toast-"+a.key}),s)):(t[i].push(null),delete e.collection[n])})),Object.keys(t).map((function(n){var a,s=1===t[n].length&&null===t[n][0],u={className:hK("Toastify__toast-container","Toastify__toast-container--"+n,(a={},a["Toastify__toast-container--rtl"]=e.props.rtl,a),e.parseClassName(r)),style:s?AH({},i,{pointerEvents:"none"}):AH({},i)};return o.createElement(gW,AH({},u,{key:"container-"+n}),t[n])}))},n.render=function(){var e=this;return o.createElement("div",{ref:function(t){return e.ref=t},className:"Toastify"},this.renderToast())},t}(v);BW.propTypes={position:rW.oneOf(EW(vW)),autoClose:TW,closeButton:rW.oneOfType([rW.node,rW.bool]),hideProgressBar:rW.bool,pauseOnHover:rW.bool,closeOnClick:rW.bool,newestOnTop:rW.bool,className:rW.oneOfType([rW.string,rW.object]),style:rW.object,toastClassName:rW.oneOfType([rW.string,rW.object]),bodyClassName:rW.oneOfType([rW.string,rW.object]),progressClassName:rW.oneOfType([rW.string,rW.object]),progressStyle:rW.object,transition:rW.func,rtl:rW.bool,draggable:rW.bool,draggablePercent:rW.number,pauseOnFocusLoss:rW.bool,enableMultiContainer:rW.bool,containerId:rW.oneOfType([rW.string,rW.number]),role:rW.string,onClick:rW.func},BW.defaultProps={position:vW.TOP_RIGHT,transition:FW,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:o.createElement(LW,null),pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,className:null,style:null,toastClassName:null,bodyClassName:null,progressClassName:null,progressStyle:null,role:"alert"};var UW=new Map,qW=null,VW=null,KW={},HW=[],WW=!1;function GW(){return UW.size>0}function YW(e,t){var n=function(e){return GW()?e?UW.get(e):UW.get(qW):null}(t.containerId);if(!n)return null;var r=n.collection[e];return void 0===r?null:r}function QW(e,t){return AH({},e,{type:t,toastId:JW(e)})}function $W(){return(Math.random().toString(36)+Date.now().toString(36)).substr(2,10)}function JW(e){return e&&("string"==typeof e.toastId||"number"==typeof e.toastId&&!isNaN(e.toastId))?e.toastId:$W()}function ZW(e,t){return GW()?NW.emit(bW,e,t):(HW.push({action:bW,content:e,options:t}),WW&&IW&&(WW=!1,VW=document.createElement("div"),document.body.appendChild(VW),je(o.createElement(BW,KW),VW))),t.toastId}var XW=function(e,t){return ZW(e,QW(t,t&&t.type||yW.DEFAULT))},eG=function(e){yW[e]!==yW.DEFAULT&&(XW[yW[e].toLowerCase()]=function(t,n){return ZW(t,QW(n,n&&n.type||yW[e]))})};for(var tG in yW)eG(tG);function nG(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}XW.warn=XW.warning,XW.dismiss=function(e){return void 0===e&&(e=null),GW()&&NW.emit(wW,e)},XW.isActive=function(e){var t=!1;return UW.size>0&&UW.forEach((function(n){n.isToastActive(e)&&(t=!0)})),t},XW.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var n=YW(e,t);if(n){var r=n.options,i=n.content,o=AH({},r,{},t,{toastId:t.toastId||e});t.toastId&&t.toastId!==e?o.staleToastId=e:o.updateId=$W();var a=void 0!==o.render?o.render:i;delete o.render,ZW(a,o)}}),0)},XW.done=function(e){XW.update(e,{progress:1})},XW.onChange=function(e){"function"==typeof e&&NW.on(SW,e)},XW.configure=function(e){WW=!0,KW=e},XW.POSITION=vW,XW.TYPE=yW,NW.on(xW,(function(e){qW=e.props.containerId||e,UW.set(qW,e),HW.forEach((function(e){NW.emit(e.action,e.content,e.options)})),HW=[]})).on(_W,(function(e){e?UW.delete(e.props.containerId||e):UW.clear(),0===UW.size&&NW.off(bW).off(wW),IW&&VW&&document.body.removeChild(VW)}));nG(".Toastify__toast-container{z-index:9999;-webkit-transform:translateZ(9999px);position:fixed;padding:4px;width:320px;box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;margin-left:-160px}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;margin-left:-160px}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0}.Toastify__toast-container--rtl{right:0;left:auto}}.Toastify__toast{position:relative;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:1px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);display:flex;justify-content:space-between;max-height:800px;overflow:hidden;font-family:sans-serif;cursor:pointer;direction:ltr}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--default{background:#fff;color:#aaa}.Toastify__toast--info{background:#3498db}.Toastify__toast--success{background:#07bc0c}.Toastify__toast--warning{background:#f1c40f}.Toastify__toast--error{background:#e74c3c}.Toastify__toast-body{margin:auto 0;flex:1}@media only screen and (max-width:480px){.Toastify__toast{margin-bottom:0}}.Toastify__close-button{color:#fff;font-weight:700;font-size:14px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start}.Toastify__close-button--default{color:#000;opacity:.3}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@-webkit-keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:9999;opacity:.7;background-color:hsla(0,0%,100%,.7);transform-origin:left}.Toastify__progress-bar--animated{-webkit-animation:Toastify__trackProgress linear 1 forwards;animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:auto;transform-origin:right}.Toastify__progress-bar--default{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55)}@-webkit-keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@-webkit-keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{-webkit-animation-name:Toastify__bounceInLeft;animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{-webkit-animation-name:Toastify__bounceInRight;animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{-webkit-animation-name:Toastify__bounceInDown;animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{-webkit-animation-name:Toastify__bounceInUp;animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{-webkit-animation-name:Toastify__bounceOutLeft;animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{-webkit-animation-name:Toastify__bounceOutRight;animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{-webkit-animation-name:Toastify__bounceOutUp;animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{-webkit-animation-name:Toastify__bounceOutDown;animation-name:Toastify__bounceOutDown}@-webkit-keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{-webkit-animation-name:Toastify__zoomIn;animation-name:Toastify__zoomIn}.Toastify__zoom-exit{-webkit-animation-name:Toastify__zoomOut;animation-name:Toastify__zoomOut}@-webkit-keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@-webkit-keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{-webkit-animation-name:Toastify__flipIn;animation-name:Toastify__flipIn}.Toastify__flip-exit{-webkit-animation-name:Toastify__flipOut;animation-name:Toastify__flipOut}@-webkit-keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@-webkit-keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@-webkit-keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@-webkit-keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{-webkit-animation-name:Toastify__slideInLeft;animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{-webkit-animation-name:Toastify__slideInRight;animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{-webkit-animation-name:Toastify__slideInDown;animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{-webkit-animation-name:Toastify__slideInUp;animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{-webkit-animation-name:Toastify__slideOutLeft;animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{-webkit-animation-name:Toastify__slideOutRight;animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{-webkit-animation-name:Toastify__slideOutUp;animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{-webkit-animation-name:Toastify__slideOutDown;animation-name:Toastify__slideOutDown}");var rG=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new iG(e,this.selector,this.caught))},e}(),iG=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return Aa(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var r=new sH(this,void 0,void 0);this.add(r),pH(this,n,void 0,void 0,r)}},t}(aH);function oG(e,t){return void 0===t&&(t=tH),function(n){return n.lift(new aG(e,t))}}var aG=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new sG(e,this.dueTime,this.scheduler))},e}(),sG=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return Aa(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(uG,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(IK);function uG(e){e.debouncedNext()}var cG=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i},e}();function lG(){return new LK}function dG(e,t){return"function"==typeof t?function(n){return n.pipe(dG((function(n,r){return mH(e(n,r)).pipe(rH((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new fG(e))}}var fG=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new pG(e,this.project))},e}(),pG=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return Aa(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new sH(this,void 0,void 0);this.destination.add(i),this.innerSubscription=pH(this,e,t,n,i)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t}(aH);var hG=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new mG(e,this.nextOrObserver,this.error,this.complete))},e}(),mG=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._tapNext=NK,o._tapError=NK,o._tapComplete=NK,o._tapError=r||NK,o._tapComplete=i||NK,mK(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||NK,o._tapError=n.error||NK,o._tapComplete=n.complete||NK),o}return Aa(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(IK),gG=function(e,t){return gG=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},gG(e,t)};var vG=function(){return vG=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},vG.apply(this,arguments)};function yG(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function bG(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function wG(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function xG(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function _G(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var SG,kG,CG,EG=ke(SG||(SG=_G(["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"],["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),IG=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},OG=ke(kG||(kG=_G(["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n"],["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n"])),(function(e){return e.theme.textColors.default})),TG=hK(["browser-version-"+ev,"browser-name-"+Xg],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(CG||(CG={}));function NG(){var e=JC();return u((function(){return{getLocalLanguage:function(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){switch(t.label){case 0:return[4,e.getString("Language")];case 1:return[2,j_(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.setString("Language",t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.setString("Locale",t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){return[2,e.getString("Locale")]}))}))}}}),[e])}var DG="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},AG=function(e){return e&&e.Math==Math&&e},PG=AG("object"==typeof globalThis&&globalThis)||AG("object"==typeof window&&window)||AG("object"==typeof self&&self)||AG("object"==typeof DG&&DG)||Function("return this")(),MG={},jG=function(e){try{return!!e()}catch(e){return!0}},RG=!jG((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),LG={},FG={}.propertyIsEnumerable,zG=Object.getOwnPropertyDescriptor,BG=zG&&!FG.call({1:2},1);LG.f=BG?function(e){var t=zG(this,e);return!!t&&t.enumerable}:FG;var UG=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},qG={}.toString,VG=function(e){return qG.call(e).slice(8,-1)},KG=VG,HG="".split,WG=jG((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==KG(e)?HG.call(e,""):Object(e)}:Object,GG=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},YG=WG,QG=GG,$G=function(e){return YG(QG(e))},JG=function(e){return"object"==typeof e?null!==e:"function"==typeof e},ZG=JG,XG=function(e,t){if(!ZG(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!ZG(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!ZG(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!ZG(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},eY={}.hasOwnProperty,tY=function(e,t){return eY.call(e,t)},nY=JG,rY=PG.document,iY=nY(rY)&&nY(rY.createElement),oY=function(e){return iY?rY.createElement(e):{}},aY=oY,sY=!RG&&!jG((function(){return 7!=Object.defineProperty(aY("div"),"a",{get:function(){return 7}}).a})),uY=RG,cY=LG,lY=UG,dY=$G,fY=XG,pY=tY,hY=sY,mY=Object.getOwnPropertyDescriptor;MG.f=uY?mY:function(e,t){if(e=dY(e),t=fY(t,!0),hY)try{return mY(e,t)}catch(e){}if(pY(e,t))return lY(!cY.f.call(e,t),e[t])};var gY={},vY=JG,yY=function(e){if(!vY(e))throw TypeError(String(e)+" is not an object");return e},bY=RG,wY=sY,xY=yY,_Y=XG,SY=Object.defineProperty;gY.f=bY?SY:function(e,t,n){if(xY(e),t=_Y(t,!0),xY(n),wY)try{return SY(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var kY=gY,CY=UG,EY=RG?function(e,t,n){return kY.f(e,t,CY(1,n))}:function(e,t,n){return e[t]=n,e},IY={exports:{}},OY=PG,TY=EY,NY=function(e,t){try{TY(OY,e,t)}catch(n){OY[e]=t}return t},DY=NY,AY=PG["__core-js_shared__"]||DY("__core-js_shared__",{}),PY=AY,MY=Function.toString;"function"!=typeof PY.inspectSource&&(PY.inspectSource=function(e){return MY.call(e)});var jY=PY.inspectSource,RY=jY,LY=PG.WeakMap,FY="function"==typeof LY&&/native code/.test(RY(LY)),zY={exports:{}},BY=AY;(zY.exports=function(e,t){return BY[e]||(BY[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var UY,qY,VY,KY=0,HY=Math.random(),WY=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++KY+HY).toString(36)},GY=zY.exports,YY=WY,QY=GY("keys"),$Y=function(e){return QY[e]||(QY[e]=YY(e))},JY={},ZY=FY,XY=JG,eQ=EY,tQ=tY,nQ=$Y,rQ=JY,iQ=PG.WeakMap;if(ZY){var oQ=new iQ,aQ=oQ.get,sQ=oQ.has,uQ=oQ.set;UY=function(e,t){return uQ.call(oQ,e,t),t},qY=function(e){return aQ.call(oQ,e)||{}},VY=function(e){return sQ.call(oQ,e)}}else{var cQ=nQ("state");rQ[cQ]=!0,UY=function(e,t){return eQ(e,cQ,t),t},qY=function(e){return tQ(e,cQ)?e[cQ]:{}},VY=function(e){return tQ(e,cQ)}}var lQ={set:UY,get:qY,has:VY,enforce:function(e){return VY(e)?qY(e):UY(e,{})},getterFor:function(e){return function(t){var n;if(!XY(t)||(n=qY(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},dQ=PG,fQ=EY,pQ=tY,hQ=NY,mQ=jY,gQ=lQ.get,vQ=lQ.enforce,yQ=String(String).split("String");(IY.exports=function(e,t,n,r){var i=!!r&&!!r.unsafe,o=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||pQ(n,"name")||fQ(n,"name",t),vQ(n).source=yQ.join("string"==typeof t?t:"")),e!==dQ?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:fQ(e,t,n)):o?e[t]=n:hQ(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&gQ(this).source||mQ(this)}));var bQ=PG,wQ=PG,xQ=function(e){return"function"==typeof e?e:void 0},_Q=function(e,t){return arguments.length<2?xQ(bQ[e])||xQ(wQ[e]):bQ[e]&&bQ[e][t]||wQ[e]&&wQ[e][t]},SQ={},kQ=Math.ceil,CQ=Math.floor,EQ=function(e){return isNaN(e=+e)?0:(e>0?CQ:kQ)(e)},IQ=EQ,OQ=Math.min,TQ=function(e){return e>0?OQ(IQ(e),9007199254740991):0},NQ=EQ,DQ=Math.max,AQ=Math.min,PQ=$G,MQ=TQ,jQ=function(e,t){var n=NQ(e);return n<0?DQ(n+t,0):AQ(n,t)},RQ=function(e){return function(t,n,r){var i,o=PQ(t),a=MQ(o.length),s=jQ(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},LQ={includes:RQ(!0),indexOf:RQ(!1)},FQ=tY,zQ=$G,BQ=LQ.indexOf,UQ=JY,qQ=function(e,t){var n,r=zQ(e),i=0,o=[];for(n in r)!FQ(UQ,n)&&FQ(r,n)&&o.push(n);for(;t.length>i;)FQ(r,n=t[i++])&&(~BQ(o,n)||o.push(n));return o},VQ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],KQ=qQ,HQ=VQ.concat("length","prototype");SQ.f=Object.getOwnPropertyNames||function(e){return KQ(e,HQ)};var WQ={};WQ.f=Object.getOwnPropertySymbols;var GQ=SQ,YQ=WQ,QQ=yY,$Q=_Q("Reflect","ownKeys")||function(e){var t=GQ.f(QQ(e)),n=YQ.f;return n?t.concat(n(e)):t},JQ=tY,ZQ=$Q,XQ=MG,e$=gY,t$=jG,n$=/#|\.prototype\./,r$=function(e,t){var n=o$[i$(e)];return n==s$||n!=a$&&("function"==typeof t?t$(t):!!t)},i$=r$.normalize=function(e){return String(e).replace(n$,".").toLowerCase()},o$=r$.data={},a$=r$.NATIVE="N",s$=r$.POLYFILL="P",u$=r$,c$=PG,l$=MG.f,d$=EY,f$=IY.exports,p$=NY,h$=function(e,t){for(var n=ZQ(t),r=e$.f,i=XQ.f,o=0;o<n.length;o++){var a=n[o];JQ(e,a)||r(e,a,i(t,a))}},m$=u$,g$=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,c=e.stat;if(n=u?c$:c?c$[s]||p$(s,{}):(c$[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=l$(n,r))&&a.value:n[r],!m$(u?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;h$(o,i)}(e.sham||i&&i.sham)&&d$(o,"sham",!0),f$(n,r,o,e)}},v$=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},y$=GG,b$=function(e){return Object(y$(e))},w$=v$,x$=b$,_$=WG,S$=TQ,k$=function(e){return function(t,n,r,i){w$(n);var o=x$(t),a=_$(o),s=S$(o.length),u=e?s-1:0,c=e?-1:1;if(r<2)for(;;){if(u in a){i=a[u],u+=c;break}if(u+=c,e?u<0:s<=u)throw TypeError("Reduce of empty array with no initial value")}for(;e?u>=0:s>u;u+=c)u in a&&(i=n(i,a[u],u,o));return i}},C$={left:k$(!1),right:k$(!0)},E$=jG,I$=function(e,t){var n=[][e];return!!n&&E$((function(){n.call(null,t||function(){throw 1},1)}))},O$=RG,T$=jG,N$=tY,D$=Object.defineProperty,A$={},P$=function(e){throw e},M$=g$,j$=C$.left,R$=function(e,t){if(N$(A$,e))return A$[e];t||(t={});var n=[][e],r=!!N$(t,"ACCESSORS")&&t.ACCESSORS,i=N$(t,0)?t[0]:P$,o=N$(t,1)?t[1]:void 0;return A$[e]=!!n&&!T$((function(){if(r&&!O$)return!0;var e={length:-1};r?D$(e,1,{enumerable:!0,get:P$}):e[1]=1,n.call(e,i,o)}))},L$=I$("reduce"),F$=R$("reduce",{1:0});M$({target:"Array",proto:!0,forced:!L$||!F$},{reduce:function(e){return j$(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var z$=PG.Promise,B$=IY.exports,U$=jG,q$=!!Object.getOwnPropertySymbols&&!U$((function(){return!String(Symbol())})),V$=q$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K$=PG,H$=zY.exports,W$=tY,G$=WY,Y$=q$,Q$=V$,$$=H$("wks"),J$=K$.Symbol,Z$=Q$?J$:J$&&J$.withoutSetter||G$,X$=function(e){return W$($$,e)||(Y$&&W$(J$,e)?$$[e]=J$[e]:$$[e]=Z$("Symbol."+e)),$$[e]},eJ=gY.f,tJ=tY,nJ=X$("toStringTag"),rJ=function(e,t,n){e&&!tJ(e=n?e:e.prototype,nJ)&&eJ(e,nJ,{configurable:!0,value:t})},iJ=_Q,oJ=gY,aJ=RG,sJ=X$("species"),uJ={exports:{}},cJ={},lJ=cJ,dJ=X$("iterator"),fJ=Array.prototype,pJ=v$,hJ=function(e,t,n){if(pJ(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},mJ={};mJ[X$("toStringTag")]="z";var gJ="[object z]"===String(mJ),vJ=VG,yJ=X$("toStringTag"),bJ="Arguments"==vJ(function(){return arguments}()),wJ=gJ?vJ:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),yJ))?n:bJ?vJ(t):"Object"==(r=vJ(t))&&"function"==typeof t.callee?"Arguments":r},xJ=wJ,_J=cJ,SJ=X$("iterator"),kJ=yY,CJ=yY,EJ=function(e){return void 0!==e&&(lJ.Array===e||fJ[dJ]===e)},IJ=TQ,OJ=hJ,TJ=function(e){if(null!=e)return e[SJ]||e["@@iterator"]||_J[xJ(e)]},NJ=function(e,t,n,r){try{return r?t(kJ(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&kJ(i.call(e)),t}},DJ=function(e,t){this.stopped=e,this.result=t},AJ=uJ.exports=function(e,t,n,r,i){var o,a,s,u,c,l,d,f=OJ(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=TJ(e)))throw TypeError("Target is not iterable");if(EJ(a)){for(s=0,u=IJ(e.length);u>s;s++)if((c=r?f(CJ(d=e[s])[0],d[1]):f(e[s]))&&c instanceof DJ)return c;return new DJ(!1)}o=a.call(e)}for(l=o.next;!(d=l.call(o)).done;)if("object"==typeof(c=NJ(o,f,d.value,r))&&c&&c instanceof DJ)return c;return new DJ(!1)};AJ.stop=function(e){return new DJ(!0,e)};var PJ=X$("iterator"),MJ=!1;try{var jJ=0,RJ={next:function(){return{done:!!jJ++}},return:function(){MJ=!0}};RJ[PJ]=function(){return this},Array.from(RJ,(function(){throw 2}))}catch(e){}var LJ,FJ,zJ,BJ=yY,UJ=v$,qJ=X$("species"),VJ=function(e,t){var n,r=BJ(e).constructor;return void 0===r||null==(n=BJ(r)[qJ])?t:UJ(n)},KJ=_Q("document","documentElement"),HJ=_Q("navigator","userAgent")||"",WJ=/(iphone|ipod|ipad).*applewebkit/i.test(HJ),GJ=PG,YJ=jG,QJ=VG,$J=hJ,JJ=KJ,ZJ=oY,XJ=WJ,eZ=GJ.location,tZ=GJ.setImmediate,nZ=GJ.clearImmediate,rZ=GJ.process,iZ=GJ.MessageChannel,oZ=GJ.Dispatch,aZ=0,sZ={},uZ=function(e){if(sZ.hasOwnProperty(e)){var t=sZ[e];delete sZ[e],t()}},cZ=function(e){return function(){uZ(e)}},lZ=function(e){uZ(e.data)},dZ=function(e){GJ.postMessage(e+"",eZ.protocol+"//"+eZ.host)};tZ&&nZ||(tZ=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return sZ[++aZ]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},LJ(aZ),aZ},nZ=function(e){delete sZ[e]},"process"==QJ(rZ)?LJ=function(e){rZ.nextTick(cZ(e))}:oZ&&oZ.now?LJ=function(e){oZ.now(cZ(e))}:iZ&&!XJ?(zJ=(FJ=new iZ).port2,FJ.port1.onmessage=lZ,LJ=$J(zJ.postMessage,zJ,1)):!GJ.addEventListener||"function"!=typeof postMessage||GJ.importScripts||YJ(dZ)||"file:"===eZ.protocol?LJ="onreadystatechange"in ZJ("script")?function(e){JJ.appendChild(ZJ("script")).onreadystatechange=function(){JJ.removeChild(this),uZ(e)}}:function(e){setTimeout(cZ(e),0)}:(LJ=dZ,GJ.addEventListener("message",lZ,!1)));var fZ,pZ,hZ,mZ,gZ,vZ,yZ,bZ,wZ={set:tZ,clear:nZ},xZ=PG,_Z=MG.f,SZ=VG,kZ=wZ.set,CZ=WJ,EZ=xZ.MutationObserver||xZ.WebKitMutationObserver,IZ=xZ.process,OZ=xZ.Promise,TZ="process"==SZ(IZ),NZ=_Z(xZ,"queueMicrotask"),DZ=NZ&&NZ.value;DZ||(fZ=function(){var e,t;for(TZ&&(e=IZ.domain)&&e.exit();pZ;){t=pZ.fn,pZ=pZ.next;try{t()}catch(e){throw pZ?mZ():hZ=void 0,e}}hZ=void 0,e&&e.enter()},TZ?mZ=function(){IZ.nextTick(fZ)}:EZ&&!CZ?(gZ=!0,vZ=document.createTextNode(""),new EZ(fZ).observe(vZ,{characterData:!0}),mZ=function(){vZ.data=gZ=!gZ}):OZ&&OZ.resolve?(yZ=OZ.resolve(void 0),bZ=yZ.then,mZ=function(){bZ.call(yZ,fZ)}):mZ=function(){kZ.call(xZ,fZ)});var AZ=DZ||function(e){var t={fn:e,next:void 0};hZ&&(hZ.next=t),pZ||(pZ=t,mZ()),hZ=t},PZ={},MZ=v$,jZ=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=MZ(t),this.reject=MZ(n)};PZ.f=function(e){return new jZ(e)};var RZ,LZ,FZ=yY,zZ=JG,BZ=PZ,UZ=PG,qZ=HJ,VZ=PG.process,KZ=VZ&&VZ.versions,HZ=KZ&&KZ.v8;HZ?LZ=(RZ=HZ.split("."))[0]+RZ[1]:qZ&&(!(RZ=qZ.match(/Edge\/(\d+)/))||RZ[1]>=74)&&(RZ=qZ.match(/Chrome\/(\d+)/))&&(LZ=RZ[1]);var WZ,GZ,YZ,QZ,$Z=LZ&&+LZ,JZ=g$,ZZ=PG,XZ=_Q,eX=z$,tX=IY.exports,nX=function(e,t,n){for(var r in t)B$(e,r,t[r],n);return e},rX=rJ,iX=function(e){var t=iJ(e),n=oJ.f;aJ&&t&&!t[sJ]&&n(t,sJ,{configurable:!0,get:function(){return this}})},oX=JG,aX=v$,sX=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},uX=VG,cX=jY,lX=uJ.exports,dX=function(e,t){if(!t&&!MJ)return!1;var n=!1;try{var r={};r[PJ]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},fX=VJ,pX=wZ.set,hX=AZ,mX=function(e,t){if(FZ(e),zZ(t)&&t.constructor===e)return t;var n=BZ.f(e);return(0,n.resolve)(t),n.promise},gX=function(e,t){var n=UZ.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},vX=PZ,yX=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},bX=lQ,wX=u$,xX=$Z,_X=X$("species"),SX=bX.get,kX=bX.set,CX=bX.getterFor("Promise"),EX=eX,IX=ZZ.TypeError,OX=ZZ.document,TX=ZZ.process,NX=XZ("fetch"),DX=vX.f,AX=DX,PX="process"==uX(TX),MX=!!(OX&&OX.createEvent&&ZZ.dispatchEvent),jX=wX("Promise",(function(){if(!(cX(EX)!==String(EX))){if(66===xX)return!0;if(!PX&&"function"!=typeof PromiseRejectionEvent)return!0}if(xX>=51&&/native code/.test(EX))return!1;var e=EX.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[_X]=t,!(e.then((function(){}))instanceof t)})),RX=jX||!dX((function(e){EX.all(e).catch((function(){}))})),LX=function(e){var t;return!(!oX(e)||"function"!=typeof(t=e.then))&&t},FX=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;hX((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,u,c,l=r[a++],d=o?l.ok:l.fail,f=l.resolve,p=l.reject,h=l.domain;try{d?(o||(2===t.rejection&&qX(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),c=!0)),s===l.promise?p(IX("Promise-chain cycle")):(u=LX(s))?u.call(s,f,p):f(s)):p(i)}catch(e){h&&!c&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&BX(e,t)}))}},zX=function(e,t,n){var r,i;MX?((r=OX.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),ZZ.dispatchEvent(r)):r={promise:t,reason:n},(i=ZZ["on"+e])?i(r):"unhandledrejection"===e&&gX("Unhandled promise rejection",n)},BX=function(e,t){pX.call(ZZ,(function(){var n,r=t.value;if(UX(t)&&(n=yX((function(){PX?TX.emit("unhandledRejection",r,e):zX("unhandledrejection",e,r)})),t.rejection=PX||UX(t)?2:1,n.error))throw n.value}))},UX=function(e){return 1!==e.rejection&&!e.parent},qX=function(e,t){pX.call(ZZ,(function(){PX?TX.emit("rejectionHandled",e):zX("rejectionhandled",e,t.value)}))},VX=function(e,t,n,r){return function(i){e(t,n,i,r)}},KX=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,FX(e,t,!0))},HX=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw IX("Promise can't be resolved itself");var i=LX(n);i?hX((function(){var r={done:!1};try{i.call(n,VX(HX,e,r,t),VX(KX,e,r,t))}catch(n){KX(e,r,n,t)}})):(t.value=n,t.state=1,FX(e,t,!1))}catch(n){KX(e,{done:!1},n,t)}}};function WX(e){switch(null==e?void 0:e.toLowerCase()){case"da":return import("./da.async.esm.esm.js");case"de":return import("./de.async.esm.esm.js");case"fr":return import("./fr.async.esm.esm.js");case"es":return import("./es.async.esm.esm.js");case"zh-tw":return import("./zh-TW.async.esm.esm.js");case"zh-cn":return import("./zh-CN.async.esm.esm.js");case"ja":return import("./ja.async.esm.esm.js");case"tr":return import("./tr.async.esm.esm.js");case"it":return import("./it.async.esm.esm.js");default:return import("./en.async.esm.esm.js")}}function GX(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return import("./ar-dz.async.esm.esm.js");case"ar-kw":return import("./ar-kw.async.esm.esm.js");case"ar-ly":return import("./ar-ly.async.esm.esm.js");case"ar-ma":return import("./ar-ma.async.esm.esm.js");case"ar-sa":return import("./ar-sa.async.esm.esm.js");case"ar-tn":return import("./ar-tn.async.esm.esm.js");case"ar":return import("./ar.async.esm.esm.js");case"bg":return import("./bg.async.esm.esm.js");case"bn":return import("./bn.async.esm.esm.js");case"ca":return import("./ca.async.esm.esm.js");case"cs":return import("./cs.async.esm.esm.js");case"da":return import("./da.async.esm2.esm.js");case"de-at":return import("./de-at.async.esm.esm.js");case"de-ch":return import("./de-ch.async.esm.esm.js");case"de":return import("./de.async.esm2.esm.js");case"el":return import("./el.async.esm.esm.js");case"en-au":return import("./en-au.async.esm.esm.js");case"en-ca":return import("./en-ca.async.esm.esm.js");case"en-gb":return import("./en-gb.async.esm.esm.js");case"en-ie":return import("./en-ie.async.esm.esm.js");case"en-il":return import("./en-il.async.esm.esm.js");case"en-nz":return import("./en-nz.async.esm.esm.js");case"en-sg":return import("./en-sg.async.esm.esm.js");case"es-do":return import("./es-do.async.esm.esm.js");case"es-us":return import("./es-us.async.esm.esm.js");case"es":return import("./es.async.esm2.esm.js");case"et":return import("./et.async.esm.esm.js");case"fa":return import("./fa.async.esm.esm.js");case"fi":return import("./fi.async.esm.esm.js");case"fr-ca":return import("./fr-ca.async.esm.esm.js");case"fr-ch":return import("./fr-ch.async.esm.esm.js");case"fr":return import("./fr.async.esm2.esm.js");case"gu":return import("./gu.async.esm.esm.js");case"he":return import("./he.async.esm.esm.js");case"hi":return import("./hi.async.esm.esm.js");case"hr":return import("./hr.async.esm.esm.js");case"hu":return import("./hu.async.esm.esm.js");case"id":return import("./id.async.esm.esm.js");case"it-ch":return import("./it-ch.async.esm.esm.js");case"it":return import("./it.async.esm2.esm.js");case"ja":return import("./ja.async.esm2.esm.js");case"kn":return import("./kn.async.esm.esm.js");case"ko":return import("./ko.async.esm.esm.js");case"lt":return import("./lt.async.esm.esm.js");case"lv":return import("./lv.async.esm.esm.js");case"ml":return import("./ml.async.esm.esm.js");case"mr":return import("./mr.async.esm.esm.js");case"ms-my":return import("./ms-my.async.esm.esm.js");case"ms":return import("./ms.async.esm.esm.js");case"nb":return import("./nb.async.esm.esm.js");case"nl-be":return import("./nl-be.async.esm.esm.js");case"nl":return import("./nl.async.esm.esm.js");case"pl":return import("./pl.async.esm.esm.js");case"pt-br":return import("./pt-br.async.esm.esm.js");case"pt":return import("./pt.async.esm.esm.js");case"ro":return import("./ro.async.esm.esm.js");case"ru":return import("./ru.async.esm.esm.js");case"sk":return import("./sk.async.esm.esm.js");case"sl":return import("./sl.async.esm.esm.js");case"sr-cyrl":return import("./sr-cyrl.async.esm.esm.js");case"sr":return import("./sr.async.esm.esm.js");case"sv":return import("./sv.async.esm.esm.js");case"sw":return import("./sw.async.esm.esm.js");case"ta":return import("./ta.async.esm.esm.js");case"te":return import("./te.async.esm.esm.js");case"th":return import("./th.async.esm.esm.js");case"tr":return import("./tr.async.esm2.esm.js");case"uk":return import("./uk.async.esm.esm.js");case"vi":return import("./vi.async.esm.esm.js");case"zh-cn":return import("./zh-cn.async.esm2.esm.js");case"zh-hk":return import("./zh-hk.async.esm.esm.js");case"zh-tw":return import("./zh-tw.async.esm2.esm.js");default:return Promise.resolve()}}jX&&(EX=function(e){sX(this,EX,"Promise"),aX(e),WZ.call(this);var t=SX(this);try{e(VX(HX,this,t),VX(KX,this,t))}catch(e){KX(this,t,e)}},(WZ=function(e){kX(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=nX(EX.prototype,{then:function(e,t){var n=CX(this),r=DX(fX(this,EX));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=PX?TX.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&FX(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),GZ=function(){var e=new WZ,t=SX(e);this.promise=e,this.resolve=VX(HX,e,t),this.reject=VX(KX,e,t)},vX.f=DX=function(e){return e===EX||e===YZ?new GZ(e):AX(e)},"function"==typeof eX&&(QZ=eX.prototype.then,tX(eX.prototype,"then",(function(e,t){var n=this;return new EX((function(e,t){QZ.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof NX&&JZ({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return mX(EX,NX.apply(ZZ,arguments))}}))),JZ({global:!0,wrap:!0,forced:jX},{Promise:EX}),rX(EX,"Promise",!1),iX("Promise"),YZ=XZ("Promise"),JZ({target:"Promise",stat:!0,forced:jX},{reject:function(e){var t=DX(this);return t.reject.call(void 0,e),t.promise}}),JZ({target:"Promise",stat:!0,forced:jX},{resolve:function(e){return mX(this,e)}}),JZ({target:"Promise",stat:!0,forced:RX},{all:function(e){var t=this,n=DX(t),r=n.resolve,i=n.reject,o=yX((function(){var n=aX(t.resolve),o=[],a=0,s=1;lX(e,(function(e){var u=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[u]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=DX(t),r=n.reject,i=yX((function(){var i=aX(t.resolve);lX(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var YX=function(t){var n,r=t.children,i=t.language,o=d(null),a=o[0],s=o[1],u=NG(),c=u.getLocalLanguage,f=u.getLocaleFromLocalStorage;return l((function(){(function(){return bG(this,void 0,void 0,(function(){var e,t,n;return wG(this,(function(r){switch(r.label){case 0:return[4,f()];case 1:return e=r.sent(),t=p,null==i?[3,2]:(n=i,[3,4]);case 2:return[4,c()];case 3:n=r.sent(),r.label=4;case 4:return[4,t.apply(void 0,[n,e])];case 5:return r.sent(),[2]}}))}))})().then((function(){return null}),Qg.error)}),[]),(null===(n=null==a?void 0:a.resources)||void 0===n?void 0:n[a.language])?e(rE.Provider,vG({value:{language:a.language,changeLocale:function(e){return function(e,t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,QX(e||t)];case 1:return n.sent(),s((function(t){return vG(vG({},t),{locale:e})})),[2]}}))}))}(e,a.language)},changeLanguage:function(e){return bG(this,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:return[4,h(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),a.locale?[3,3]:[4,QX(e)];case 2:n.sent(),n.label=3;case 3:return s((function(n){return vG(vG({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:p,addResources:function(e){s((function(t){var n=Object.keys(e).reduce((function(n,r){var i;return(i={})[r]=vG(vG(vG({},n),t.resources[r]),e[r]),i}),{});return vG(vG({},t),{resources:vG(vG({},t.resources),n)})}))}}},{children:e(MC,vG({locale:a.locale||a.language,messages:a.resources[a.language]},{children:e(nE,{children:r},void 0)}),void 0)}),void 0):null;function p(e,t){return bG(this,void 0,void 0,(function(){var n;return wG(this,(function(r){switch(r.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==a?void 0:a.language)===e&&(null==a?void 0:a.locale)===t?[2]:[4,h(e)];case 1:return n=r.sent(),[4,QX(t||e)];case 2:return r.sent(),s({language:e,locale:t,resources:n}),[2]}}))}))}function h(e){return bG(this,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,m(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),Qg.error(t),[2,null];case 3:return[2]}}))}))}function m(e){var t;return bG(this,void 0,void 0,(function(){var n,r,i;return wG(this,(function(o){switch(o.label){case 0:if(null==e)return[2,null];if(null===(t=null==a?void 0:a.resources)||void 0===t?void 0:t[e])return[2,a.resources];o.label=1;case 1:return o.trys.push([1,3,,4]),e=e.toLowerCase(),n=g,r=[e],[4,WX(e)];case 2:return[2,n.apply(void 0,r.concat([o.sent().default]))];case 3:return i=o.sent(),Qg.error(i),[2,{}];case 4:return[2]}}))}))}function g(e,t){var n,r,i,o=window.__localeResourcesInterceptor||{};return vG(vG(vG({},null!==(i=null==a?void 0:a.resources)&&void 0!==i?i:{}),((n={})[e]=t,n)),o[e]&&((r={})[e]=o[e],r))}};function QX(e){return bG(this,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:if(!e)return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,GX(e)];case 2:return n.sent(),fu.locale(e),[3,4];case 3:return t=n.sent(),Qg.error(t),[3,4];case 4:return[2]}}))}))}var $X,JX,ZX,XX,e0,t0,n0,r0,i0,o0,a0,s0,u0,c0=["news","comments","multiLanguage","keywords","pushNotifications","mailNotification","teamsNotifications","themes","webHooks","reporting","likes","confirmation","customLogo","customName","avatars","manualChannelSubscription","bannerImages","bannerVideos","editorInlineFiles","editorInlineImages","editorInlineGallery","editorInlineVideos","editorInlineMarkup","editorInlineTable","editorInlineContact","expiryDate","onBehalfOf","editorConversations","targetAudienceRules","unreadTracking","editorInlineQuotes","selfRegistration","people","posts","newsAlerts","pages","inPageNavigation","automaticTranslation","polls","events","teams","userInvitation","languageDetection","postKeywords","hyperfish","canva","allowUserImpersonation","directoryGroupMemberCaching","inAppBrowser","externalNews","termsAndConditions","chat","recurringEvents","publicAccess","allowUserPropertiesUpdate","showMyNews","allowToUnpinMandatoryChannels","allowToReorderMandatoryChannels","useDirectoryUserPropertiesForTargetAudience","giphy","replyToComments","enableUserflow","reportingPreview","preventContentRedirectForBrandedApps","browserPushNotifications","contentHeadline","popularNewsReport","notificationFeed","unsplash","externalPages","showLikers","pageDocuments","unifiedPostView","stream","showAllNews","customFavicon","editorPreview","editorAutomaticTranslation","editorYouTubeVideos","editorVimeoVideos","editorKalturaVideos","editorMicrosoftVideos","searchEverywhere","zendesk","gettyImages"],l0=function(){},d0=s(null);function f0(){return a(d0)}function p0(){var e=a(d0);return null==e?void 0:e.user}function h0(){var e=p0();return function(e){var t,n=new l0;if(!e)return n;for(var r=0;r<c0.length;r++){var i=c0[r];e.featureMask?n[i]="1"===e.featureMask[r]:n[i]=!(null===(t=e.disabledFeatures)||void 0===t?void 0:t[i])}return n}(null==e?void 0:e.subscription)}!function(e){e[e.User=1]="User",e[e.Group=2]="Group"}($X||($X={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(JX||(JX={})),function(e){e.large="large",e.small="small"}(ZX||(ZX={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(XX||(XX={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(e0||(e0={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(t0||(t0={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(n0||(n0={})),function(e){e[e.None=0]="None",e[e.LimitedReader=5]="LimitedReader",e[e.Reader=10]="Reader",e[e.Author=20]="Author",e[e.Editor=30]="Editor",e[e.Admin=40]="Admin"}(r0||(r0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(i0||(i0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NewUserCannotBeTemporary=6]="NewUserCannotBeTemporary",e[e.NotAuthenticated=7]="NotAuthenticated",e[e.GenericError=8]="GenericError"}(o0||(o0={})),function(e){e[e.None=0]="None",e[e.MobilePush=1]="MobilePush",e[e.Email=2]="Email",e[e.Teams=4]="Teams",e[e.BrowserPush=8]="BrowserPush"}(a0||(a0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyInvited=3]="AlreadyInvited",e[e.ActiveUserExistsDifferentEmail=4]="ActiveUserExistsDifferentEmail"}(s0||(s0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyRegistered=3]="AlreadyRegistered",e[e.InvitedUserExists=4]="InvitedUserExists"}(u0||(u0={}));var m0=JG,g0=VG,v0=X$("match"),y0=function(e){var t;return m0(e)&&(void 0!==(t=e[v0])?!!t:"RegExp"==g0(e))},b0=y0,w0=function(e){if(b0(e))throw TypeError("The method doesn't accept regular expressions");return e},x0=X$("match"),_0=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[x0]=!1,"/./"[e](t)}catch(e){}}return!1},S0=w0,k0=GG;g$({target:"String",proto:!0,forced:!_0("includes")},{includes:function(e){return!!~String(k0(this)).indexOf(S0(e),arguments.length>1?arguments[1]:void 0)}});var C0=g$,E0=MG.f,I0=TQ,O0=w0,T0=GG,N0=_0,D0="".endsWith,A0=Math.min,P0=N0("endsWith"),M0=!P0&&!!function(){var e=E0(String.prototype,"endsWith");return e&&!e.writable}();function j0(e,t,n){var r=n,i=Array.isArray(n)?n:(null==r?void 0:r.groupIds)||[];return!!(t&&e&&i&&i.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var r=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!r.length)return!1;return r.some((function(t){return t.role.roleValue>=e}))}(e,t,i))}function R0(e,t,n){var r=n,i=Array.isArray(n)?n:(null==r?void 0:r.groupIds)||[];return!!(t&&e&&i&&i.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var r=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!r.length||n&&n.length!==r.length)return!1;return r.every((function(t){return t.role.roleValue>=e}))}(e,t,i))}function L0(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function F0(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}C0({target:"String",proto:!0,forced:!M0&&!P0},{endsWith:function(e){var t=String(T0(this));O0(e);var n=arguments.length>1?arguments[1]:void 0,r=I0(t.length),i=void 0===n?r:A0(I0(n),r),o=String(e);return D0?D0.call(t,o,i):t.slice(i-o.length,i)===o}});var z0,B0,U0={},q0={};function V0(){var e=kV();return u((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,r){return t({search:r,type:$X.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){q0[t]||(q0[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(q0[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return q0[t]},getUserInfoById:function(t){q0[t]||(q0[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(q0[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return q0[t]},getUserAvatarUrl:function(t,n){U0[t]||(U0[t]=e.custom("users/"+encodeURIComponent(t)+"/avatar?"+Fg.stringify({tenantId:n})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e})));return mH(U0[t])},clearUserInfoCache:function(e){q0[e]&&delete q0[e]},clearUserAvatarCache:function(e){U0[e]&&delete U0[e]}};function t(t){var n=Fg.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function K0(){var e=kV(),t=SV(),n=a(wS).onRequestToken;return u((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return bG(this,void 0,void 0,(function(){var n,o;return wG(this,(function(a){switch(a.label){case 0:return e?[4,r(e,t)]:[3,2];case 1:return o=a.sent(),[3,4];case 2:return[4,i(t)];case 3:o=a.sent(),a.label=4;case 4:return function(e){e&&(e.minRoles=function(e){var t=e.groups.reduce((function(e,t){return Math.max(e,t.role.roleValue)}),0),n=e.isSubscriptionOwner;return{isSubscriptionOwner:n,isAdmin:n||t>=r0.Admin,isEditor:n||t>=r0.Editor,isAuthor:n||t>=r0.Author,isReader:n||t>=r0.Reader}}(e),e.hasDirectory=e.subscription&&e.subscription.directories&&e.subscription.directories.length>0)}(n=o),[2,n]}}))}))},getCurrentOrganization:function(){return e.custom("users/current/organization").get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))},updateCurrentUserProfileProperties:function(t){return e.custom("users/current/properties").put(t)},updateCurrentUserAvatar:function(e,r){return bG(this,void 0,void 0,(function(){var i,o,a;return wG(this,(function(s){switch(s.label){case 0:return(i=new FormData).append("file",r,r.name||"image."+CH.getExtension(r.type)),[4,n()];case 1:return o=s.sent(),a={method:"PUT",body:i,headers:{authorization:"Bearer "+o,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",a)]}}))}))},deleteCurrentUserAvatar:function(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function r(e,n){return bG(this,void 0,void 0,(function(){var r;return wG(this,(function(i){switch(i.label){case 0:return[4,t.fetchFromApi("/users/current?"+Fg.stringify({essentialOnly:n}),{headers:{Authorization:"Bearer "+e}})];case 1:return[2,404===(r=i.sent()).status?null:r.json()]}}))}))}function i(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){return[2,e.custom("users/current?"+Fg.stringify({essentialOnly:t})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))]}))}))}}),[t,e,n])}function H0(){var e=kV(),t=NG(),n=t.saveLanguageToLocalStorage,r=t.saveLocaleToLocalStorage;return u((function(){return{updateNotificationTypeSettings:function(t){for(var n={comments:null,mentions:null,posts:null,news:null,events:null,chat:null,pluginNotifications:null},r=function(e){Object.keys(n).every((function(t){return t!==e}))&&delete t[e]},i=0,o=Object.keys(t||{});i<o.length;i++){var a=o[i];r(a)}return e.custom("users/current/notification_settings/types").put(t).then((function(e){return e.body().data()}))},getFollowCommentsStatus:function(t,n,r){return e.custom("users/current/notification_settings/"+s(n,r)+"/"+t).get().then((function(e){return e.body().data().enabled}))},toggleFollowComments:t,followPublicPublishableItemComments:i,followEditorPublishableItemComments:o,followAllPublishableItemComments:function(e,t){i(e,t),o(e,t)},followPublishableItemComments:a,resolveSegment:s,getFollowCommentSegment:u,toggleBookmark:function(t,n){null==n.bookmarks&&(n.bookmarks=[]);var r=n.bookmarks.findIndex((function(e){return e===t}));if(r<0)return e.one("users","current").all("bookmarks").put(t,null).then((function(){return n.bookmarks.push(t),!0}));return e.one("users","current").all("bookmarks").delete(t).then((function(){return n.bookmarks.splice(r,1),!1}))},getUserProperties:function(){return e.all("users/user_properties").get("").then((function(e){return e.body().data()}))},setUserChannels:function(t){return e.custom("users/current/channels").put(t)},addContact:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.all("users/current/contacts").post(t)];case 1:return[2,n.sent().body().data()]}}))}))},deleteContact:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.all("users/current/contacts/"+t.tokenUniqueId).delete("")];case 1:return[2,n.sent().body().data()]}}))}))},getContactAccounts:function(){return e.all("users/current/contacts").getAll().then((function(e){return e.body(!1)}))},setLanguage:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(r){switch(r.label){case 0:return[4,e.custom("users/current/ui_language/"+t).put(null)];case 1:return r.sent(),[4,n(t)];case 2:return r.sent(),[2]}}))}))},setContentLanguage:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/content_language/"+t).put(null)];case 1:return n.sent(),[2]}}))}))},setLocale:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/locale/"+t).put(null)];case 1:return n.sent(),[4,r(t)];case 2:return n.sent(),[2]}}))}))},getGroupNotificationSettings:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/notification_settings/groups/"+t).get().then((function(e){return e.body().data()}))];case 1:return[2,n.sent()]}}))}))},updateGroupNotificationSettings:function(t,n){return bG(this,void 0,void 0,(function(){return wG(this,(function(r){switch(r.label){case 0:return[4,e.custom("users/current/notification_settings/groups/"+t).put(n).then((function(e){return e.body().data()}))];case 1:return[2,r.sent()]}}))}))},clearMyUnreadItems:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/"+t+"/unread").delete()];case 1:return n.sent(),[2]}}))}))},acceptTermsAndConditions:function(t){return e.custom("users/current/terms_and_conditions/"+t).patch({})}};function t(t,n,r,i){return e.custom("users/current/notification_settings/"+s(n,r)+"/"+t).put({enabled:i})}function i(e,t){a(e,t,B0.Public)}function o(e,t){a(e,t,B0.Editor)}function a(e,n,r){t(e,n,r,!0).then((function(){return null}),(function(e){return Qg.error(e)}))}function s(e,t){switch(t){case B0.Editor:return"editor_comments";case B0.Public:return u(e)+"_comments";case B0.Posts:return"post_comments";default:throw Error("Invalid scope")}}function u(e){switch(e){case z0.News:return"news";case z0.Pages:return"page";case z0.Events:return"event";default:throw Error("Invalid type")}}}),[e,n,r])}!function(e){e.News="news",e.Pages="pages",e.Posts="posts",e.Events="events",e.Comments="comments"}(z0||(z0={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(B0||(B0={}));var W0,G0=qQ,Y0=VQ,Q0=Object.keys||function(e){return G0(e,Y0)},$0=gY,J0=yY,Z0=Q0,X0=RG?Object.defineProperties:function(e,t){J0(e);for(var n,r=Z0(t),i=r.length,o=0;i>o;)$0.f(e,n=r[o++],t[n]);return e},e1=yY,t1=X0,n1=VQ,r1=JY,i1=KJ,o1=oY,a1=$Y("IE_PROTO"),s1=function(){},u1=function(e){return"<script>"+e+"<\/script>"},c1=function(){try{W0=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;c1=W0?function(e){e.write(u1("")),e.close();var t=e.parentWindow.Object;return e=null,t}(W0):((t=o1("iframe")).style.display="none",i1.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(u1("document.F=Object")),e.close(),e.F);for(var n=n1.length;n--;)delete c1.prototype[n1[n]];return c1()};r1[a1]=!0;var l1=Object.create||function(e,t){var n;return null!==e?(s1.prototype=e1(e),n=new s1,s1.prototype=null,n[a1]=e):n=c1(),void 0===t?n:t1(n,t)},d1=l1,f1=gY,p1=X$("unscopables"),h1=Array.prototype;null==h1[p1]&&f1.f(h1,p1,{configurable:!0,value:d1(null)});var m1,g1,v1,y1=function(e){h1[p1][e]=!0},b1=!jG((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),w1=tY,x1=b$,_1=b1,S1=$Y("IE_PROTO"),k1=Object.prototype,C1=_1?Object.getPrototypeOf:function(e){return e=x1(e),w1(e,S1)?e[S1]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?k1:null},E1=C1,I1=EY,O1=tY,T1=X$("iterator"),N1=!1;[].keys&&("next"in(v1=[].keys())?(g1=E1(E1(v1)))!==Object.prototype&&(m1=g1):N1=!0),null==m1&&(m1={}),O1(m1,T1)||I1(m1,T1,(function(){return this}));var D1={IteratorPrototype:m1,BUGGY_SAFARI_ITERATORS:N1},A1=D1.IteratorPrototype,P1=l1,M1=UG,j1=rJ,R1=cJ,L1=function(){return this},F1=JG,z1=yY,B1=function(e){if(!F1(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},U1=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return z1(n),B1(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),q1=g$,V1=function(e,t,n){var r=t+" Iterator";return e.prototype=P1(A1,{next:M1(1,n)}),j1(e,r,!1),R1[r]=L1,e},K1=C1,H1=U1,W1=rJ,G1=EY,Y1=IY.exports,Q1=cJ,$1=D1.IteratorPrototype,J1=D1.BUGGY_SAFARI_ITERATORS,Z1=X$("iterator"),X1=function(){return this},e2=$G,t2=y1,n2=cJ,r2=lQ,i2=function(e,t,n,r,i,o,a){V1(n,t,r);var s,u,c,l=function(e){if(e===i&&m)return m;if(!J1&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",f=!1,p=e.prototype,h=p[Z1]||p["@@iterator"]||i&&p[i],m=!J1&&h||l(i),g="Array"==t&&p.entries||h;if(g&&(s=K1(g.call(new e)),$1!==Object.prototype&&s.next&&(K1(s)!==$1&&(H1?H1(s,$1):"function"!=typeof s[Z1]&&G1(s,Z1,X1)),W1(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(f=!0,m=function(){return h.call(this)}),p[Z1]!==m&&G1(p,Z1,m),Q1[t]=m,i)if(u={values:l("values"),keys:o?m:l("keys"),entries:l("entries")},a)for(c in u)(J1||f||!(c in p))&&Y1(p,c,u[c]);else q1({target:t,proto:!0,forced:J1||f},u);return u},o2=r2.set,a2=r2.getterFor("Array Iterator"),s2=i2(Array,"Array",(function(e,t){o2(this,{type:"Array Iterator",target:e2(e),index:0,kind:t})}),(function(){var e=a2(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");n2.Arguments=n2.Array,t2("keys"),t2("values"),t2("entries");var u2=PG,c2={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},l2=s2,d2=EY,f2=X$,p2=f2("iterator"),h2=f2("toStringTag"),m2=l2.values;for(var g2 in c2){var v2=u2[g2],y2=v2&&v2.prototype;if(y2){if(y2[p2]!==m2)try{d2(y2,p2,m2)}catch(e){y2[p2]=m2}if(y2[h2]||d2(y2,h2,g2),c2[g2])for(var b2 in l2)if(y2[b2]!==l2[b2])try{d2(y2,b2,l2[b2])}catch(e){y2[b2]=l2[b2]}}}var w2=s(null);function x2(){var e=a(w2);return null!=e?e.refresh:function(){return null}}var _2,S2=function(t){var n=t.children,r=f0().refreshUser,i=Oj(),o=f((function(){var e,t;return bG(this,void 0,void 0,(function(){var n,o;return wG(this,(function(a){switch(a.label){case 0:return[4,i.query({query:k2,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=a.sent(),null==(o=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.currentUser)?[3,3]:[4,r((function(e){return vG(vG({},e),function(e){var t,n,r,i,o;return{availableSubscriptions:null!==(t=null==e?void 0:e.availableSubscriptions)&&void 0!==t?t:[],bookmarks:null!==(n=null==e?void 0:e.bookmarks)&&void 0!==n?n:[],unreadNews:null!==(r=null==e?void 0:e.unreadNews)&&void 0!==r?r:[],unreadEvents:null!==(i=null==e?void 0:e.unreadEvents)&&void 0!==i?i:[],unreadPosts:null!==(o=null==e?void 0:e.unreadPosts)&&void 0!==o?o:[],hasUnreadChats:null==e?void 0:e.hasUnreadChats,unreadFeedItemsCount:null==e?void 0:e.unreadFeedItemsCount,mostRecentPostGroups:null==e?void 0:e.mostRecentPostGroups}}(vG({bookmarks:o.bookmarkIds,availableSubscriptions:o.subscriptions},o)))}))];case 2:return[2,a.sent()];case 3:return(null==o||(null===(t=null==n?void 0:n.errors)||void 0===t?void 0:t.length)>0)&&Qg.error("Failed to load the currentUser with details.",null==n?void 0:n.errors),[2]}}))}))}),[i]),a=u((function(){return{refresh:o}}),[o]);return l((function(){o().then(null,Qg.error)}),[o]),e(w2.Provider,vG({value:a},{children:n}),void 0)},k2=vj(_2||(_2=_G(["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"],["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"]))),C2=g$,E2=MG.f,I2=TQ,O2=w0,T2=GG,N2=_0,D2="".startsWith,A2=Math.min,P2=N2("startsWith"),M2=!P2&&!!function(){var e=E2(String.prototype,"startsWith");return e&&!e.writable}();function j2(){var e=a(ZC).identifier,t=e.subscriptionHandle||e.id;return{buildPath:function(e){if(e)return"/"+t+"/"+(e.startsWith("/")?e.substring(1):e);return"/"+t},subscriptionHandle:t}}function R2(){var e=Cg().webAppUrl,t=F2();return t?"https://"+t:e}function L2(){var e=Cg().webAppUrls,t=F2();return t?xG(xG([],e),["https://"+t]):e}function F2(){var e,t=p0();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}C2({target:"String",proto:!0,forced:!M2&&!P2},{startsWith:function(e){var t=String(T2(this));O2(e);var n=I2(A2(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return D2?D2.call(t,r,n):t.slice(n,n+r.length)===r}});var z2=["rm"],B2=["af","ar","as","bn","bs","bg","yue","ca","zh-TW","zh-CN","hr","cs","prs","da","nl","en","et","fj","fil","fi","fr","fr-ca","de","el","gu","ht","he","hi","mww","hu","is","id","ga","it","ja","kn","kk","sw","ko","ku","kmr","lv","lt","mg","ms","ml","mt","mi","mr","nb","or","ps","fa","pl","pt-br","pt-pt","pa","otq","rm","ro","ru","sm","sr-cyrl","sr-latn","sk","sl","es","sv","ty","ta","te","th","to","tr","uk","ur","vi","cy"];function U2(e){return e.preferredContentLanguage||e.preferredUiLanguage||M_()||e.subscription&&e.subscription.defaultLanguage||"en"}function q2(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return vG(vG({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}var V2=s(null);var K2=window.System;function H2(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=document.querySelector('script[type="systemjs-importmap"][data-reach-package="'+e+'"]');if(null==r){var i=document.createElement("script");i.type="systemjs-importmap",i.setAttribute("data-reach-package",e);for(var o={imports:{}},a=0,s=t;a<s.length;a++){var u=s[a].name;o.imports[u]="app:"+u}i.textContent=JSON.stringify(o,null,2),document.head.appendChild(i);for(var c=0,l=t;c<l.length;c++){var d=l[c],f=d.name,p=d.packageDefinition;K2.set("app:"+f,p)}}}var W2=function(){return null};var G2=yY,Y2=function(){var e=G2(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Q2={},$2=jG;function J2(e,t){return RegExp(e,t)}Q2.UNSUPPORTED_Y=$2((function(){var e=J2("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Q2.BROKEN_CARET=$2((function(){var e=J2("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var Z2=Y2,X2=Q2,e4=RegExp.prototype.exec,t4=String.prototype.replace,n4=e4,r4=function(){var e=/a/,t=/b*/g;return e4.call(e,"a"),e4.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),i4=X2.UNSUPPORTED_Y||X2.BROKEN_CARET,o4=void 0!==/()??/.exec("")[1];(r4||o4||i4)&&(n4=function(e){var t,n,r,i,o=this,a=i4&&o.sticky,s=Z2.call(o),u=o.source,c=0,l=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),l=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,c++),n=new RegExp("^(?:"+u+")",s)),o4&&(n=new RegExp("^"+u+"$(?!\\s)",s)),r4&&(t=o.lastIndex),r=e4.call(a?n:o,l),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:r4&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),o4&&r&&r.length>1&&t4.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var a4=n4;g$({target:"RegExp",proto:!0,forced:/./.exec!==a4},{exec:a4});var s4=IY.exports,u4=jG,c4=X$,l4=a4,d4=EY,f4=c4("species"),p4=!u4((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),h4="$0"==="a".replace(/./,"$0"),m4=c4("replace"),g4=!!/./[m4]&&""===/./[m4]("a","$0"),v4=!u4((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),y4=function(e,t,n,r){var i=c4(e),o=!u4((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!u4((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[f4]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!p4||!h4||g4)||"split"===e&&!v4){var s=/./[i],u=n(i,""[e],(function(e,t,n,r,i){return t.exec===l4?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:h4,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:g4}),c=u[0],l=u[1];s4(String.prototype,e,c),s4(RegExp.prototype,i,2==t?function(e,t){return l.call(e,this,t)}:function(e){return l.call(e,this)})}r&&d4(RegExp.prototype[i],"sham",!0)},b4=EQ,w4=GG,x4=function(e){return function(t,n){var r,i,o=String(w4(t)),a=b4(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},_4={codeAt:x4(!1),charAt:x4(!0)}.charAt,S4=function(e,t,n){return t+(n?_4(e,t).length:1)},k4=VG,C4=a4,E4=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==k4(e))throw TypeError("RegExp#exec called on incompatible receiver");return C4.call(e,t)},I4=y4,O4=yY,T4=b$,N4=TQ,D4=EQ,A4=GG,P4=S4,M4=E4,j4=Math.max,R4=Math.min,L4=Math.floor,F4=/\$([$&'`]|\d\d?|<[^>]*>)/g,z4=/\$([$&'`]|\d\d?)/g;function B4(){return a(V2).storage}function U4(e,t){var n="Plugins::"+e+"::";return{getAllKeys:r,getString:function(e){return t.getString(n+e)},setString:function(e,r){return t.setString(n+e,r)},remove:function(e){return t.remove(n+e)},clearAll:function(){return bG(this,void 0,void 0,(function(){var e,i,o,a;return wG(this,(function(s){switch(s.label){case 0:return[4,r()];case 1:e=s.sent(),i=0,o=e,s.label=2;case 2:return i<o.length?(a=o[i],[4,t.remove(n+a)]):[3,5];case 3:s.sent(),s.label=4;case 4:return i++,[3,2];case 5:return[2]}}))}))}};function r(){var e;return bG(this,void 0,void 0,(function(){var r;return wG(this,(function(i){switch(i.label){case 0:return[4,t.getAllKeys()];case 1:return r=i.sent(),[2,null!==(e=null==r?void 0:r.filter((function(e){return e.startsWith(n)})).map((function(e){return e.replace(n,"")})))&&void 0!==e?e:[]]}}))}))}}function q4(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function V4(e,t){return{get:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,r){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").put(r).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").delete()}}}function K4(e,t){return{get:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,r){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").put(r).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").delete()}}}I4("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=A4(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var u=n(t,e,this,r);if(u.done)return u.value}var c=O4(e),l=String(this),d="function"==typeof r;d||(r=String(r));var f=c.global;if(f){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var m=M4(c,l);if(null===m)break;if(h.push(m),!f)break;""===String(m[0])&&(c.lastIndex=P4(l,N4(c.lastIndex),p))}for(var g,v="",y=0,b=0;b<h.length;b++){m=h[b];for(var w=String(m[0]),x=j4(R4(D4(m.index),l.length),0),_=[],S=1;S<m.length;S++)_.push(void 0===(g=m[S])?g:String(g));var k=m.groups;if(d){var C=[w].concat(_,x,l);void 0!==k&&C.push(k);var E=String(r.apply(void 0,C))}else E=s(w,l,x,_,k,r);x>=y&&(v+=l.slice(y,x)+E,y=x+w.length)}return v+l.slice(y)}];function s(e,n,r,i,o,a){var s=r+e.length,u=i.length,c=z4;return void 0!==o&&(o=T4(o),c=F4),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var l=+a;if(0===l)return t;if(l>u){var d=L4(l/10);return 0===d?t:d<=u?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}c=i[l-1]}return void 0===c?"":c}))}}));var H4=function(t){var n=t.pluginId,r=t.componentName,i=t.settings,o=t.bundleUrl,s=t.bundleModificationDate,c=yG(t,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),l=JC(),d=kV(),f=function(){var e=kV(),t=p0(),n=SV(),r=n.createApiUrl,i=n.fetchFromApi,o=a(wS).onRequestToken;return u((function(){return{getPluginFileUrl:function(e,t,n){return t||(e.startsWith("http")?e+"?cache="+(new Date).getTime():r("/plugins/"+e,n?{cache:new Date(n).getTime()}:null))},saveDefinition:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("plugins/"+encodeURIComponent(t.pluginId)+"/definition").put(t).then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))},saveFile:function(e,n){return bG(this,void 0,void 0,(function(){var r,a,s;return wG(this,(function(u){switch(u.label){case 0:return(r=new FormData).append("file",n),[4,o()];case 1:return a=u.sent(),s={method:"PUT",body:r,headers:{authorization:"Bearer "+a,"subscription-id":t.subscription.id}},[2,i("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,r){return bG(this,void 0,void 0,(function(){return wG(this,(function(i){switch(i.label){case 0:return[4,e.all("plugins/"+encodeURIComponent(t)+"/api_keys").post({displayName:n,expiryDate:r}).then((function(e){return e.body().data()}))];case 1:return[2,i.sent()]}}))}))},linkPlugin:function(t,n){return bG(this,void 0,void 0,(function(){return wG(this,(function(r){switch(r.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).put({settings:n}).then((function(e){return e.body()}))];case 1:return[2,r.sent()]}}))}))},unlinkPlugin:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).delete().then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))}}}),[e,r,i,o,t.subscription.id])}().getPluginFileUrl,p=u((function(){return y((function(){return function(e,t){return bG(this,void 0,void 0,(function(){var n;return wG(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,K2.import(e)];case 1:return[2,{default:r.sent()[t]}];case 2:return n=r.sent(),Qg.error(n),[2,{default:W2}];case 3:return[2]}}))}))}(f(n,o,s),r)}))}),[r,n,f,o,s]),h=u((function(){return{settings:i,storage:U4(n,l),userStore:V4(n,d),subscriptionStore:K4(n,d)}}),[n,i,l,d]);return e(b,vG({fallback:e("div",{},void 0)},{children:e(V2.Provider,vG({value:h},{children:e(p,vG({name:r},c),void 0)}),void 0)}),void 0)},W4=VG,G4=Array.isArray||function(e){return"Array"==W4(e)},Y4=G4,Q4=TQ,$4=hJ,J4=function(e,t,n,r,i,o,a,s){for(var u,c=i,l=0,d=!!a&&$4(a,s,3);l<r;){if(l in n){if(u=d?d(n[l],l,t):n[l],o>0&&Y4(u))c=J4(e,t,u,Q4(u.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=u}c++}l++}return c},Z4=J4,X4=JG,e3=G4,t3=X$("species"),n3=Z4,r3=b$,i3=TQ,o3=v$,a3=function(e,t){var n;return e3(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!e3(n.prototype)?X4(n)&&null===(n=n[t3])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};g$({target:"Array",proto:!0},{flatMap:function(e){var t,n=r3(this),r=i3(n.length);return o3(e),(t=a3(n,0)).length=n3(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),y1("flatMap");var s3,u3,c3=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},l3=yY,d3=GG,f3=c3,p3=E4;function h3(){var e=p0(),t=function(){var e=function(){var e=ge(),t=Fg.parse(e.search);if(null!=t.plugin){var n=JSON.parse(atob(t.plugin));m3.some((function(e){return e.pluginId===n.pluginId}))||(m3.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(m3)))}return m3}(),t=hS(n,[],[null==e?void 0:e.length])[0];return null!=g3?g3:t;function n(){return bG(this,void 0,void 0,(function(){var t,n,r,i,o,a;return wG(this,(function(s){switch(s.label){case 0:if(g3)return[2,g3];t=[],n=0,r=e,s.label=1;case 1:return n<r.length?(i=r[n],o="http://localhost:"+i.port,[4,fetch(o+"/definition.json?rev="+(new Date).getTime())]):[3,5];case 2:return[4,s.sent().json()];case 3:(a=s.sent()).bundleUrl=o+"/index.js?rev="+(new Date).getTime(),t.push(a),s.label=4;case 4:return n++,[3,1];case 5:return[2,g3=t]}}))}))}}();return xG(xG([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}y4("search",1,(function(e,t,n){return[function(t){var n=d3(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=l3(e),o=String(this),a=i.lastIndex;f3(a,0)||(i.lastIndex=0);var s=p3(i,o);return f3(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]})),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection"}(u3||(u3={}));var m3=null!==(s3=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==s3?s3:[];var g3=null;var v3=RG,y3=jG,b3=Q0,w3=WQ,x3=LG,_3=b$,S3=WG,k3=Object.assign,C3=Object.defineProperty,E3=!k3||y3((function(){if(v3&&1!==k3({b:1},k3(C3({},"a",{enumerable:!0,get:function(){C3(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=k3({},e)[n]||b3(k3({},t)).join("")!=r}))?function(e,t){for(var n=_3(e),r=arguments.length,i=1,o=w3.f,a=x3.f;r>i;)for(var s,u=S3(arguments[i++]),c=o?b3(u).concat(o(u)):b3(u),l=c.length,d=0;l>d;)s=c[d++],v3&&!a.call(u,s)||(n[s]=u[s]);return n}:k3,I3=E3;g$({target:"Object",stat:!0,forced:Object.assign!==I3},{assign:I3});var O3=VG,T3=EQ,N3=GG,D3="".repeat||function(e){var t=String(N3(this)),n="",r=T3(e);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},A3=g$,P3=EQ,M3=function(e){if("number"!=typeof e&&"Number"!=O3(e))throw TypeError("Incorrect invocation");return+e},j3=D3,R3=jG,L3=1..toFixed,F3=Math.floor,z3=function(e,t,n){return 0===t?n:t%2==1?z3(e,t-1,n*e):z3(e*e,t/2,n)};A3({target:"Number",proto:!0,forced:L3&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!R3((function(){L3.call({})}))},{toFixed:function(e){var t,n,r,i,o=M3(this),a=P3(e),s=[0,0,0,0,0,0],u="",c="0",l=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*s[n],s[n]=r%1e7,r=F3(r/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=F3(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+j3.call("0",7-n.length)+n}return t};if(a<0||a>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(u="-",o=-o),o>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*z3(2,69,1))-69,n=t<0?o*z3(2,-t,1):o/z3(2,t,1),n*=4503599627370496,(t=52-t)>0){for(l(0,n),r=a;r>=7;)l(1e7,0),r-=7;for(l(z3(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),l(1,1),d(2),c=f()}else l(0,n),l(1<<-t,0),c=f()+j3.call("0",a);return c=a>0?u+((i=c.length)<=a?"0."+j3.call("0",a-i)+c:c.slice(0,i-a)+"."+c.slice(i-a)):u+c}});var B3={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},U3={palette:{themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#52A0BF",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",neutralDark:"#212121",neutralPrimary:"#333333",neutralPrimaryAlt:"#3c3c3c",neutralSecondary:"#424242",neutralSecondaryAlt:"#767676",neutralTertiary:"#a6a6a6",neutralTertiaryAlt:"#c8c8c8",neutralQuaternary:"#d0d0d0",neutralQuaternaryAlt:"#dadada",neutralLight:"#eaeaea",neutralLighter:"#f2f2f2",neutralLighterAlt:"#f8f8f8",accent:"#52A0BF",textColorOnWhiteBackground:"#52A0BF",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",blue:"#0078d7",blueDark:"#002050",blueLight:"#00bcf2",blueMid:"#00188f",error:"#a80000",green:"#107c10",greenDark:"#004b1c",greenLight:"#bad80a",info:"#107c10",magenta:"#b4009e",magentaDark:"#5c005c",magentaLight:"#e3008c",orange:"#d83b01",orangeLight:"#ff8c00",orangeLighter:"#ea4300",purple:"#5c2d91",purpleDark:"#32145a",purpleLight:"#b4a0ff",red:"#e81123",redDark:"#a80000",severeWarning:"#d83b01",success:"#107c10",teal:"#008272",tealDark:"#004b50",tealLight:"#00b294",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellow:"#ffb900",yellowLight:"#fff100"},semanticColors:{infoText:"#333333",successText:"#333333",alertBackground:"#deecf9",severeWarningBackground:"#fed9cc",successBackground:"#dff6dd",warningBackground:"#fff4ce",errorBackground:"#fde7e9",infoBackground:"#f4f4f4"},textColors:{onPrimary:"#ffffff",onSecondary:"#000000"}},q3=yY,V3=TQ,K3=GG,H3=S4,W3=E4;y4("match",1,(function(e,t,n){return[function(t){var n=K3(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=q3(e),o=String(this);if(!i.global)return W3(i,o);var a=i.unicode;i.lastIndex=0;for(var s,u=[],c=0;null!==(s=W3(i,o));){var l=String(s[0]);u[c]=l,""===l&&(i.lastIndex=H3(o,V3(i.lastIndex),a)),c++}return 0===c?null:u}]}));var G3=GG,Y3="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Q3=RegExp("^"+Y3+Y3+"*"),$3=RegExp(Y3+Y3+"*$"),J3=function(e){return function(t){var n=String(G3(t));return 1&e&&(n=n.replace(Q3,"")),2&e&&(n=n.replace($3,"")),n}},Z3={start:J3(1),end:J3(2),trim:J3(3)},X3=Z3.trim,e5=PG.parseInt,t5=/^[+-]?0[Xx]/,n5=8!==e5("\t\n\v\f\r                 \u2028\u2029\ufeff08")||22!==e5("\t\n\v\f\r                 \u2028\u2029\ufeff0x16")?function(e,t){var n=X3(String(e));return e5(n,t>>>0||(t5.test(n)?16:10))}:e5;g$({global:!0,forced:parseInt!=n5},{parseInt:n5});var r5=y4,i5=y0,o5=yY,a5=GG,s5=VJ,u5=S4,c5=TQ,l5=E4,d5=a4,f5=jG,p5=[].push,h5=Math.min,m5=!f5((function(){return!RegExp(4294967295,"y")}));r5("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a5(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!i5(e))return t.call(r,e,i);for(var o,a,s,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,d=new RegExp(e.source,c+"g");(o=d5.call(d,r))&&!((a=d.lastIndex)>l&&(u.push(r.slice(l,o.index)),o.length>1&&o.index<r.length&&p5.apply(u,o.slice(1)),s=o[0].length,l=a,u.length>=i));)d.lastIndex===o.index&&d.lastIndex++;return l===r.length?!s&&d.test("")||u.push(""):u.push(r.slice(l)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a5(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var a=o5(e),s=String(this),u=s5(a,RegExp),c=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(m5?"y":"g"),d=new u(m5?a:"^(?:"+a.source+")",l),f=void 0===i?4294967295:i>>>0;if(0===f)return[];if(0===s.length)return null===l5(d,s)?[s]:[];for(var p=0,h=0,m=[];h<s.length;){d.lastIndex=m5?h:0;var g,v=l5(d,m5?s:s.slice(h));if(null===v||(g=h5(c5(d.lastIndex+(m5?0:h)),s.length))===p)h=u5(s,h,c);else{if(m.push(s.slice(p,h)),m.length===f)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===f)return m;h=p=g}}return m.push(s.slice(p)),m}]}),!m5);var g5=jG,v5="\t\n\v\f\r                 \u2028\u2029\ufeff",y5=Z3.trim,b5=function(e){return g5((function(){return!!v5[e]()||"​…᠎"!="​…᠎"[e]()||v5[e].name!==e}))};g$({target:"String",proto:!0,forced:b5("trim")},{trim:function(){return y5(this)}});var w5=IY.exports,x5=yY,_5=jG,S5=Y2,k5=RegExp.prototype,C5=k5.toString,E5=_5((function(){return"/a/b"!=C5.call({source:"a",flags:"b"})})),I5="toString"!=C5.name;(E5||I5)&&w5(RegExp.prototype,"toString",(function(){var e=x5(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in k5)?S5.call(e):n)}),{unsafe:!0});var O5=function(){function e(e){var t=this;this.setRgb=function(e){-1!==e.indexOf("rgba")?t.setRgbFromRgba(e):t.setRgbFromHex(e)},this.setRgbFromHex=function(e){var n=e.replace("#","").match(/.{1,2}/g);t.r=parseInt(n[0],16),t.g=parseInt(n[1],16),t.b=parseInt(n[2],16)},this.setRgbFromRgba=function(e){var n=e.replace("rgba(","").replace(")","").split(",");t.r=parseInt(t.trim(n[0]),10),t.g=parseInt(t.trim(n[1]),10),t.b=parseInt(t.trim(n[2]),10)},this.trim=function(e){return e.replace(/^\s+|\s+$/gm,"")},this.setRgb(e)}return e.prototype.lighten=function(e){return this.r=Math.min(Math.ceil(this.r+this.r*e),255),this.g=Math.min(Math.ceil(this.g+this.g*e),255),this.b=Math.min(Math.ceil(this.b+this.b*e),255),this},e.prototype.toHex=function(){var e=function(e){return("00"+e.toString(16)).slice(-2)};return"#"+e(this.r)+e(this.g)+e(this.b)},e}(),T5=null,N5=vG({name:"Default"},B3),D5=U3.palette.neutralLighter,A5=[N5,{name:"Apatite",primaryColor:"#1570B3",secondaryColor:"#CFFF6C"},{name:"Azurite",primaryColor:"#20273C",secondaryColor:"#F4F4F4"},{name:"Cordierite",primaryColor:"#343332",secondaryColor:"#419BEB"},{name:"Nephrite",primaryColor:"#224926",secondaryColor:"#EAEAEA"},{name:"Pyrite",primaryColor:"#263251",secondaryColor:"#FFE357"},{name:"Quartz",primaryColor:"#363636",secondaryColor:"#D44579"}];function P5(e,t){var n=M5(e.primaryColor),r=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,i=e.useHighlightColorOnWhiteBackground?j5(r):j5(n),o={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:j5(n),textColorOnSecondary:j5(e.secondaryColor),accentColor:r,textColorOnAccent:i},a=vG({},U3),s=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new O5(e.accentColor).toHex(),r=new O5(e.accentColor).lighten(-.3).toHex(),i=new O5(e.accentColor).lighten(.5).toHex(),o=M5(e.primaryColor),a=j5(r);return t.palette.themeDarker=new O5(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new O5(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=o,t.palette.themePrimary=new O5(e.primaryColor).toHex(),t.palette.themeLight=new O5(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new O5(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new O5(e.primaryColor).lighten(.8).toHex(),t.palette.red=new O5("#B90000").toHex(),t.palette.redDark=new O5("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new O5(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new O5("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=r,t.semanticColors.primaryButtonTextHovered=a,t.semanticColors.primaryButtonBackgroundPressed=r,t.semanticColors.primaryButtonTextPressed=a,t.semanticColors.inputIcon=n,t.semanticColors.inputIconHovered=r,t.semanticColors.inputBackgroundChecked=n,t.semanticColors.inputBackgroundCheckedHovered=r,t.semanticColors.inputFocusBorderAlt=n,t.semanticColors.inputPlaceholderBackgroundChecked=i,t.palette.themeSecondary=new O5(e.secondaryColor).toHex(),t.palette.themeTertiary=new O5(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new O5(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new O5(e.textColorOnSecondary).toHex(),t.textColors.default=new O5("#333333").toHex(),t.textColors.onAccent=new O5(e.textColorOnAccent).toHex(),t}(o);for(var u in s)s.hasOwnProperty(u)&&Object.assign(a[u],s[u]);return t||I(a),function(e){var t=[],n=".lt-reach";for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];"textColors"!==r&&(t.push(n+" .ms-bgColor-"+o+" { background-color: "+a+";}"),t.push(n+" .ms-borderColor-"+o+" { border-color: "+a+";}")),t.push(n+" .ms-fontColor-"+o+" { color: "+a+";}"),t.push(n+" .ms-fontColor-"+o+"--hover:hover {color: "+a+";}")}}T5||((T5=document.createElement("style")).type="text/css",T5.id="condense-ui-fabric-overrides",document.head.appendChild(T5));T5.innerHTML=t.join(" ")}(a),a}function M5(e){return new O5(e).lighten(-.2).toHex()}function j5(e){return function(e){var t=DH(e,"#333333"),n=DH(e,"#ffffff");return t>n}(e)?"#333333":"#ffffff"}var R5,L5,F5,z5,B5,U5,q5,V5,K5,H5,W5,G5,Y5,Q5,$5=s(null),J5=function(t){var n=t.disableUiFabricThemeOverwrite,r=t.children,i=d((function(){return P5(A5.find((function(e){return"Default"===e.name})),n)})),o=i[0],a=i[1];return e($5.Provider,vG({value:{theme:o,setTheme:function(e){return a(P5(e,n))}}},{children:e(Ee,vG({theme:o},{children:r}),void 0)}),void 0)};function Z5(e){switch(e){case Y5.YouTube:return G5.YouTube;case Y5.Vimeo:return G5.Vimeo;case Y5.MicrosoftStream:return G5.MicrosoftStream;case Y5.GenericUrl:return G5.GenericUrl;case Y5.Kaltura:return G5.Kaltura;default:return null}}!function(e){e[e.Image=0]="Image",e[e.File=1]="File",e[e.YouTubeVideo=2]="YouTubeVideo",e[e.VimeoVideo=3]="VimeoVideo",e[e.News=4]="News",e[e.Event=5]="Event",e[e.Page=6]="Page",e[e.Post=7]="Post",e[e.Giphy=8]="Giphy"}(R5||(R5={})),function(e){e.Image="IMAGE",e.File="FILE",e.YouTubeVideo="YOU_TUBE_VIDEO",e.VimeoVideo="VIMEO_VIDEO",e.News="NEWS",e.Event="EVENT",e.Page="PAGE",e.Post="POST",e.Giphy="GIPHY"}(L5||(L5={})),function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(F5||(F5={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(z5||(z5={})),function(e){e[e.NotSet=0]="NotSet",e[e.Daily=1]="Daily",e[e.Weekly=2]="Weekly",e[e.Monthly=3]="Monthly",e[e.Yearly=4]="Yearly"}(B5||(B5={})),function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday"}(U5||(U5={})),function(e){e[e.Unknown=0]="Unknown",e[e.First=1]="First",e[e.Second=2]="Second",e[e.Third=3]="Third",e[e.Fourth=4]="Fourth",e[e.Last=5]="Last"}(q5||(q5={})),function(e){e[e.None=0]="None",e[e.January=1]="January",e[e.February=2]="February",e[e.March=3]="March",e[e.April=4]="April",e[e.May=5]="May",e[e.June=6]="June",e[e.July=7]="July",e[e.August=8]="August",e[e.September=9]="September",e[e.October=10]="October",e[e.November=11]="November",e[e.December=12]="December"}(V5||(V5={})),function(e){e[e.Page=0]="Page",e[e.Document=1]="Document"}(K5||(K5={})),function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}(H5||(H5={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(W5||(W5={})),function(e){e[e.YouTube=0]="YouTube",e[e.Vimeo=1]="Vimeo",e[e.MicrosoftStream=2]="MicrosoftStream",e[e.GenericUrl=3]="GenericUrl",e[e.Kaltura=4]="Kaltura"}(G5||(G5={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(Y5||(Y5={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(Q5||(Q5={}));var X5=function(e){function t(t,n){var r=e.call(this)||this;return r.actualSizeInMb=t,r.maxSizeInMb=n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}gG(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function e6(e){if(e.size>1e6*undefined.maxFileSizeInMb){var t=new X5(e.size/1e6,undefined.maxFileSizeInMb);throw n=t,r=window.location.href,function(){if(null==(void 0).appInsightsKey)return!1}()&&(r||(r=window.location.href),Qg.error(n,r),(void 0).trackException({exception:n})),t}var n,r,i=new FormData;return i.append("file",e),i}function t6(e){var t=Object.keys(e||[]);return t.length?t.map((function(t){return e[t].map((function(e){return Object.assign({},e,{groupId:t})}))})).reduce((function(e,t){return e.concat(t)})):null}function n6(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function r6(e,t,n,r,i,o){var a=r||i;if(null==e)return a;var s=e.find((function(e){return e.name===i}))||e.find((function(e){return e.id===n}));if(!s)return a;if(!r)return i6(t,s.translations,a,o);var u=s&&s.keywords.find((function(e){return e.name===r}));return u?i6(t,u.translations,a,o):a}function i6(e,t,n,r){return null==t&&(t={}),r||(r=U2(e)),r&&t[r]||t[e.subscription.defaultLanguage]||n}var o6={small:550,medium:768,large:1024,xLarge:1350,xxLarge:1640,xxxLarge:1919},a6=549,s6=767,u6=1023,c6=1349,l6=s(null),d6=s(null);function f6(){return a(l6)}var p6,h6,m6,g6,v6,y6,b6=function(t){var r=t.children,i=d(!1),o=i[0],a=i[1],s=d({}),c=s[0],l=s[1],f=u((function(){return{showErrorText:m,showInfo:h,showError:g,showWarning:v,showSuccess:y,hideNotification:b,showToast:w,showToastWarning:x,dismissToast:_}}),[l,a]),p=u((function(){return vG(vG({},c),{isNotificationBarVisible:o})}),[c,o]);return e(l6.Provider,vG({value:f},{children:e(d6.Provider,vG({value:p},{children:r}),void 0)}),void 0);function h(e,t){l({messageId:e,messageValues:t,messageBarType:E.info,actions:null,className:"ms-messageBar--info"}),a(!0)}function m(e){l({text:e,messageBarType:E.error,actions:null}),a(!0)}function g(e,t){l({messageId:e,messageValues:t,messageBarType:E.error,actions:null}),a(!0)}function v(e,t){l({messageId:e,messageValues:t,messageBarType:E.warning,actions:null}),a(!0)}function y(e,t,n,r){l({messageId:e,messageValues:t,messageBarType:E.success,className:n,actions:r}),a(!0)}function b(){a(!1)}function w(t,r,i,o){var a=e(KC,{id:t,values:r},void 0);return null==i?XW(a,o):XW(n(w6,{children:[e(x6,{children:a},void 0),e(_6,{children:i},void 0)]},void 0),vG({},o))}function x(e,t,n){var r={autoClose:!1,type:"warning"};return n&&(r.onClose=n),w(e,t,null,r)}function _(e){XW.dismiss(e)}},w6=Se.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(p6||(p6=_G(["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"],["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"])),o6.small),x6=Se.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})(h6||(h6=_G(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),_6=Se.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(m6||(m6=_G(["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"],["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"])),o6.small),S6=function(){var r=he(),i=a(IT).hideChrome;return l((function(){var e=r.listen((function(){return XW.dismiss()}));return function(){return e()}}),[r]),n(t,{children:[e(k6,{chromeless:i},void 0),e(BW,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:zW,closeButton:!1},void 0)]},void 0)},k6=ke(y6||(y6=_G(["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"],["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"])),(function(e){return!e.chromeless&&Ce(g6||(g6=_G(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&Ce(v6||(v6=_G(["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "],["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "])),a6)}));function C6(){var e=kV();return u((function(){return{getAllKeywords:t,getAllKeywordsByGroupIds:function(){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(wK(n))return wH(n,null);if(xK(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return wH(r.map((function(e){return n[e]})),r)}}if("function"==typeof e[e.length-1]){var i=e.pop();return wH(e=1===e.length&&wK(e[0])?e[0]:e,null).pipe(rH((function(e){return i.apply(void 0,e)})))}return wH(e,null)}(n(),t()).pipe(rH((function(e){var t=e[0],n=e[1],r={};return t.forEach((function(e){r[e.id]=n.filter((function(t){return t.groupId===e.id}))})),r}))).toPromise()},getSelectedGroups:n};function t(t){return e.all("keywords").getAll({},{"Cache-Control":t?"no-cache":"private"}).then((function(e){return e.body().map((function(e){return e.data()}))}))}function n(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){return[2,e.all("keyword_groups/selected").getAll().then((function(e){return e.body().map((function(e){return e.data()}))})).then((function(e){return e}))]}))}))}}),[e])}var E6,I6=s(null),O6=function(t){var n=t.children,r=h0(),i=a(ZC).identifier,o=function(){var e=kV();return u((function(){return{getChannels:function(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){return[2,e.all("subscriptions/current/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}}),[e])}().getChannels,s=C6(),c=s.getAllKeywords,l=s.getSelectedGroups,d=a(YC),p=d.handleFatalError,h=d.handleAccessDeniedError,m=f((function(){var e,t;return bG(this,void 0,void 0,(function(){var n,r,i,a,s,u,c;return wG(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),E6=new Promise((function(e){return n=e})),[4,Promise.all([o(),k(),C()])];case 1:return r=l.sent(),i=r[0],a=r[1],s=r[2],u=s.reduce((function(e,t){var n;return vG(vG({},e),((n={})[t.id]=a.filter((function(e){return e.groupId===t.id})),n))}),{}),n(i),[2,{channels:i,allKeywords:a,keywordsByGroupId:u,selectedKeywordGroups:s}];case 2:return c=l.sent(),Qg.error(JSON.stringify(c)),403===(null===(e=null==c?void 0:c.response)||void 0===e?void 0:e.statusCode)?h({error:null===(t=null==c?void 0:c.response)||void 0===t?void 0:t.data}):p({error:c}),[2,{}];case 3:return[2]}}))}))}),[o,c,l]),g=hS(m,{},[i.id,o,c]),v=g[0],y=v.channels,b=v.allKeywords,w=v.keywordsByGroupId,x=v.selectedKeywordGroups,_=g[3],S=u((function(){return{channels:y,getChannels:function(){return E6},allKeywords:b,keywordsByGroupId:w,selectedKeywordGroups:x,refreshSubscription:function(){return bG(void 0,void 0,void 0,(function(){var e;return wG(this,(function(t){switch(t.label){case 0:return[4,m()];case 1:return e=t.sent(),_(e),[2]}}))}))}}}),[y,b,w,x,_,m]);return e(I6.Provider,vG({value:S},{children:n}),void 0);function k(){return bG(this,void 0,void 0,(function(){var e;return wG(this,(function(t){switch(t.label){case 0:if(!r.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,c()];case 2:return[2,t.sent()];case 3:return e=t.sent(),Qg.error(e),[2,[]];case 4:return[2]}}))}))}function C(){return bG(this,void 0,void 0,(function(){var e;return wG(this,(function(t){switch(t.label){case 0:if(!r.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,l()];case 2:return[2,t.sent()];case 3:return e=t.sent(),Qg.error(e),[2,[]];case 4:return[2]}}))}))}};var T6={};function N6(e){var t;(null==e?void 0:e.type)&&(null===(t=T6[e.type])||void 0===t||t.some((function(t){return t(e)})))}function D6(e,t,n){l((function(){if(e)return T6[e]||(T6[e]=[]),T6[e].push(t),function(){T6[e]=T6[e].filter((function(e){return e!==t}))}}),xG([e],n||[]))}var A6=g$,P6=v$,M6=b$,j6=jG,R6=I$,L6=[],F6=L6.sort,z6=j6((function(){L6.sort(void 0)})),B6=j6((function(){L6.sort(null)})),U6=R6("sort");A6({target:"Array",proto:!0,forced:z6||!B6||!U6},{sort:function(e){return void 0===e?F6.call(M6(this)):F6.call(M6(this),P6(e))}});var q6=G4,V6=[].reverse,K6=[1,2];g$({target:"Array",proto:!0,forced:String(K6)===String(K6.reverse())},{reverse:function(){return q6(this)&&(this.length=this.length),V6.call(this)}});var H6,W6,G6,Y6=[],Q6=function(e,t){Y6.some((function(t){return t.handler===e}))||Y6.push({handler:e,priority:t||0})},$6=function(e){Y6=Y6.filter((function(t){return t.handler!==e}))};!function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(H6||(H6={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftGroup="USER_LEFT_GROUP"}(W6||(W6={})),function(e){e.Normal="NORMAL",e.LeftGroupChat="LEFT_GROUP_CHAT",e.LeftOneToOneChat="LEFT_ONE_TO_ONE_CHAT"}(G6||(G6={})),(new LK).pipe(oG(100),(function(e){return zK()((t=lG,function(e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new cG(r,n));var i=Object.create(e,VK);return i.source=e,i.subjectFactory=r,i})(e));var t,n}));nG("/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\tStyles for basic PhotoSwipe functionality (sliding area, open/close transitions)\n*/\n/* pswp = photoswipe */\n.pswp {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n overflow: hidden;\n touch-action: none;\n z-index: 1500;\n -webkit-text-size-adjust: 100%;\n /* create separate layer, to avoid paint on window.onscroll in webkit/blink */\n -webkit-backface-visibility: hidden;\n outline: none; }\n .pswp * {\n box-sizing: border-box; }\n .pswp img {\n max-width: none; }\n\n/* style is added when JS option showHideOpacity is set to true */\n.pswp--animate_opacity {\n /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */\n opacity: 0.001;\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--open {\n display: block; }\n\n.pswp--zoom-allowed .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-zoom-in;\n cursor: -moz-zoom-in;\n cursor: zoom-in; }\n\n.pswp--zoomed-in .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab; }\n\n.pswp--dragging .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing; }\n\n/*\n\tBackground is added as a separate element.\n\tAs animating opacity is much faster than animating rgba() background-color.\n*/\n.pswp__bg {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: #000;\n opacity: 0;\n transform: translateZ(0);\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__scroll-wrap {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n touch-action: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0; }\n\n/* Prevent selection and tap highlights */\n.pswp__container,\n.pswp__img {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none; }\n\n.pswp__zoom-wrap {\n position: absolute;\n width: 100%;\n transform-origin: left top;\n /* for open/close transition */\n transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp__bg {\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--animated-in .pswp__bg,\n.pswp--animated-in .pswp__zoom-wrap {\n transition: none; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n -webkit-backface-visibility: hidden; }\n\n.pswp__item {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden; }\n\n.pswp__img {\n position: absolute;\n width: auto;\n height: auto;\n top: 0;\n left: 0; }\n\n/*\n\tstretched thumbnail or div placeholder element (see below)\n\tstyle is added to avoid flickering in webkit/blink when layers overlap\n*/\n.pswp__img--placeholder {\n -webkit-backface-visibility: hidden; }\n\n/*\n\tdiv element that matches size of large image\n\tlarge image loads on top of it\n*/\n.pswp__img--placeholder--blank {\n background: #222; }\n\n.pswp--ie .pswp__img {\n width: 100% !important;\n height: auto !important;\n left: 0;\n top: 0; }\n\n/*\n\tError message appears when image is not loaded\n\t(JS option errorMsg controls markup)\n*/\n.pswp__error-msg {\n position: absolute;\n left: 0;\n top: 50%;\n width: 100%;\n text-align: center;\n font-size: 14px;\n line-height: 16px;\n margin-top: -8px;\n color: #CCC; }\n\n.pswp__error-msg a {\n color: #CCC;\n text-decoration: underline; }\n");nG('/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\n\tContents:\n\n\t1. Buttons\n\t2. Share modal and links\n\t3. Index indicator ("1 of X" counter)\n\t4. Caption\n\t5. Loading indicator\n\t6. Additional styles (root element, top bar, idle state, hidden state, etc.)\n\n*/\n/*\n\t\n\t1. Buttons\n\n */\n/* <button> css reset */\n.pswp__button {\n width: 44px;\n height: 44px;\n position: relative;\n background: none;\n cursor: pointer;\n overflow: visible;\n -webkit-appearance: none;\n display: block;\n border: 0;\n padding: 0;\n margin: 0;\n float: right;\n opacity: 0.75;\n transition: opacity 0.2s;\n box-shadow: none; }\n .pswp__button:focus, .pswp__button:hover {\n opacity: 1; }\n .pswp__button:active {\n outline: none;\n opacity: 0.9; }\n .pswp__button::-moz-focus-inner {\n padding: 0;\n border: 0; }\n\n/* pswp__ui--over-close class it added when mouse is over element that should close gallery */\n.pswp__ui--over-close .pswp__button--close {\n opacity: 1; }\n\n.pswp__button,\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n background: url(default-skin.png) 0 0 no-repeat;\n background-size: 264px 88px;\n width: 44px;\n height: 44px; }\n\n@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {\n /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */\n .pswp--svg .pswp__button,\n .pswp--svg .pswp__button--arrow--left:before,\n .pswp--svg .pswp__button--arrow--right:before {\n background-image: url(default-skin.svg); }\n .pswp--svg .pswp__button--arrow--left,\n .pswp--svg .pswp__button--arrow--right {\n background: none; } }\n\n.pswp__button--close {\n background-position: 0 -44px; }\n\n.pswp__button--share {\n background-position: -44px -44px; }\n\n.pswp__button--fs {\n display: none; }\n\n.pswp--supports-fs .pswp__button--fs {\n display: block; }\n\n.pswp--fs .pswp__button--fs {\n background-position: -44px 0; }\n\n.pswp__button--zoom {\n display: none;\n background-position: -88px 0; }\n\n.pswp--zoom-allowed .pswp__button--zoom {\n display: block; }\n\n.pswp--zoomed-in .pswp__button--zoom {\n background-position: -132px 0; }\n\n/* no arrows on touch screens */\n.pswp--touch .pswp__button--arrow--left,\n.pswp--touch .pswp__button--arrow--right {\n visibility: hidden; }\n\n/*\n\tArrow buttons hit area\n\t(icon is added to :before pseudo-element)\n*/\n.pswp__button--arrow--left,\n.pswp__button--arrow--right {\n background: none;\n top: 50%;\n margin-top: -50px;\n width: 70px;\n height: 100px;\n position: absolute; }\n\n.pswp__button--arrow--left {\n left: 0; }\n\n.pswp__button--arrow--right {\n right: 0; }\n\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n content: \'\';\n top: 35px;\n background-color: rgba(0, 0, 0, 0.3);\n height: 30px;\n width: 32px;\n position: absolute; }\n\n.pswp__button--arrow--left:before {\n left: 6px;\n background-position: -138px -44px; }\n\n.pswp__button--arrow--right:before {\n right: 6px;\n background-position: -94px -44px; }\n\n/*\n\n\t2. Share modal/popup and links\n\n */\n.pswp__counter,\n.pswp__share-modal {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n\n.pswp__share-modal {\n display: block;\n background: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 10px;\n position: absolute;\n z-index: 1600;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__share-modal--hidden {\n display: none; }\n\n.pswp__share-tooltip {\n z-index: 1620;\n position: absolute;\n background: #FFF;\n top: 56px;\n border-radius: 2px;\n display: block;\n width: auto;\n right: 44px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);\n transform: translateY(6px);\n transition: transform 0.25s;\n -webkit-backface-visibility: hidden;\n will-change: transform; }\n .pswp__share-tooltip a {\n display: block;\n padding: 8px 12px;\n color: #000;\n text-decoration: none;\n font-size: 14px;\n line-height: 18px; }\n .pswp__share-tooltip a:hover {\n text-decoration: none;\n color: #000; }\n .pswp__share-tooltip a:first-child {\n /* round corners on the first/last list item */\n border-radius: 2px 2px 0 0; }\n .pswp__share-tooltip a:last-child {\n border-radius: 0 0 2px 2px; }\n\n.pswp__share-modal--fade-in {\n opacity: 1; }\n .pswp__share-modal--fade-in .pswp__share-tooltip {\n transform: translateY(0); }\n\n/* increase size of share links on touch devices */\n.pswp--touch .pswp__share-tooltip a {\n padding: 16px 12px; }\n\na.pswp__share--facebook:before {\n content: \'\';\n display: block;\n width: 0;\n height: 0;\n position: absolute;\n top: -12px;\n right: 15px;\n border: 6px solid transparent;\n border-bottom-color: #FFF;\n -webkit-pointer-events: none;\n -moz-pointer-events: none;\n pointer-events: none; }\n\na.pswp__share--facebook:hover {\n background: #3E5C9A;\n color: #FFF; }\n a.pswp__share--facebook:hover:before {\n border-bottom-color: #3E5C9A; }\n\na.pswp__share--twitter:hover {\n background: #55ACEE;\n color: #FFF; }\n\na.pswp__share--pinterest:hover {\n background: #CCC;\n color: #CE272D; }\n\na.pswp__share--download:hover {\n background: #DDD; }\n\n/*\n\n\t3. Index indicator ("1 of X" counter)\n\n */\n.pswp__counter {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n font-size: 13px;\n line-height: 44px;\n color: #FFF;\n opacity: 0.75;\n padding: 0 10px; }\n\n/*\n\t\n\t4. Caption\n\n */\n.pswp__caption {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n min-height: 44px; }\n .pswp__caption small {\n font-size: 11px;\n color: #BBB; }\n\n.pswp__caption__center {\n text-align: left;\n max-width: 420px;\n margin: 0 auto;\n font-size: 13px;\n padding: 10px;\n line-height: 20px;\n color: #CCC; }\n\n.pswp__caption--empty {\n display: none; }\n\n/* Fake caption element, used to calculate height of next/prev image */\n.pswp__caption--fake {\n visibility: hidden; }\n\n/*\n\n\t5. Loading indicator (preloader)\n\n\tYou can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR\n\n */\n.pswp__preloader {\n width: 44px;\n height: 44px;\n position: absolute;\n top: 0;\n left: 50%;\n margin-left: -22px;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n will-change: opacity;\n direction: ltr; }\n\n.pswp__preloader__icn {\n width: 20px;\n height: 20px;\n margin: 12px; }\n\n.pswp__preloader--active {\n opacity: 1; }\n .pswp__preloader--active .pswp__preloader__icn {\n /* We use .gif in browsers that don\'t support CSS animation */\n background: url(preloader.gif) 0 0 no-repeat; }\n\n.pswp--css_animation .pswp__preloader--active {\n opacity: 1; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {\n -webkit-animation: clockwise 500ms linear infinite;\n animation: clockwise 500ms linear infinite; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {\n -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;\n animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }\n\n.pswp--css_animation .pswp__preloader__icn {\n background: none;\n opacity: 0.75;\n width: 14px;\n height: 14px;\n position: absolute;\n left: 15px;\n top: 15px;\n margin: 0; }\n\n.pswp--css_animation .pswp__preloader__cut {\n /* \n\t\t\tThe idea of animating inner circle is based on Polymer ("material") loading indicator \n\t\t\t by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html\n\t\t*/\n position: relative;\n width: 7px;\n height: 14px;\n overflow: hidden; }\n\n.pswp--css_animation .pswp__preloader__donut {\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n border: 2px solid #FFF;\n border-radius: 50%;\n border-left-color: transparent;\n border-bottom-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n background: none;\n margin: 0; }\n\n@media screen and (max-width: 1024px) {\n .pswp__preloader {\n position: relative;\n left: auto;\n top: auto;\n margin: 0;\n float: right; } }\n\n@-webkit-keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@-webkit-keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n@keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n/*\n\t\n\t6. Additional styles\n\n */\n/* root element of UI */\n.pswp__ui {\n -webkit-font-smoothing: auto;\n visibility: visible;\n opacity: 1;\n z-index: 1550; }\n\n/* top black bar with buttons and "1 of X" indicator */\n.pswp__top-bar {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n width: 100%; }\n\n.pswp__caption,\n.pswp__top-bar,\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n -webkit-backface-visibility: hidden;\n will-change: opacity;\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n/* pswp--has_mouse class is added only when two subsequent mousemove events occur */\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n visibility: visible; }\n\n.pswp__top-bar,\n.pswp__caption {\n background-color: rgba(0, 0, 0, 0.5); }\n\n/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */\n.pswp__ui--fit .pswp__top-bar,\n.pswp__ui--fit .pswp__caption {\n background-color: rgba(0, 0, 0, 0.3); }\n\n/* pswp__ui--idle class is added when mouse isn\'t moving for several seconds (JS option timeToIdle) */\n.pswp__ui--idle .pswp__top-bar {\n opacity: 0; }\n\n.pswp__ui--idle .pswp__button--arrow--left,\n.pswp__ui--idle .pswp__button--arrow--right {\n opacity: 0; }\n\n/*\n\tpswp__ui--hidden class is added when controls are hidden\n\te.g. when user taps to toggle visibility of controls\n*/\n.pswp__ui--hidden .pswp__top-bar,\n.pswp__ui--hidden .pswp__caption,\n.pswp__ui--hidden .pswp__button--arrow--left,\n.pswp__ui--hidden .pswp__button--arrow--right {\n /* Force paint & create composition layer for controls. */\n opacity: 0.001; }\n\n/* pswp__ui--one-slide class is added when there is just one item in gallery */\n.pswp__ui--one-slide .pswp__button--arrow--left,\n.pswp__ui--one-slide .pswp__button--arrow--right,\n.pswp__ui--one-slide .pswp__counter {\n display: none; }\n\n.pswp__element--disabled {\n display: none !important; }\n\n.pswp--minimal--dark .pswp__top-bar {\n background: none; }\n');var J6,Z6={exports:{}},X6=Z6.exports=function(){var e=function(e,t,n,r){var i={features:null,bind:function(e,t,n,r){var i=(r?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[i](t[o],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){i.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){i.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(i.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var r=e.length;r--;)if(e[r][n]===t)return r;return-1},extend:function(e,t,n){for(var r in t)if(t.hasOwnProperty(r)){if(n&&e.hasOwnProperty(r))continue;e[r]=t[r]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(i.features)return i.features;var e=i.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var r=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var o=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);o&&o.length>0&&(o=parseInt(o[1],10))>=1&&o<8&&(n.isOldIOSPhone=!0)}var a=r.match(/Android\s([0-9\.]*)/),s=a?a[1]:0;(s=parseFloat(s))>=1&&(s<4.4&&(n.isOldAndroid=!0),n.androidVersion=s),n.isMobileOpera=/opera mini|opera mobi/i.test(r)}for(var u,c,l=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],f=0;f<4;f++){t=d[f];for(var p=0;p<3;p++)u=l[p],c=t+(t?u.charAt(0).toUpperCase()+u.slice(1):u),!n[u]&&c in e&&(n[u]=c);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var h=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-h)),r=window.setTimeout((function(){e(t+n)}),n);return h=t+n,r},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=n,n}};i.detectFeatures(),i.features.oldIE&&(i.bind=function(e,t,n,r){t=t.split(" ");for(var i,o=(r?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(i=t[s])if("object"==typeof n&&n.handleEvent){if(r){if(!n["oldIE"+i])return!1}else n["oldIE"+i]=a;e[o]("on"+i,n["oldIE"+i])}else e[o]("on"+i,n)});var o=this,a=25,s=3,u={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};i.extend(u,r);var c,l,d,f,p,h,m,g,v,y,b,w,x,_,S,k,C,E,I,O,T,N,D,A,P,M,j,R,L,F,z,B,U,q,V,K,H,W,G,Y,Q,$,J,Z,X,ee,te,ne,re,ie,oe,ae,se,ue,ce,le,de=function(){return{x:0,y:0}},fe=de(),pe=de(),he=de(),me={},ge=0,ve={},ye=de(),be=0,we=!0,xe=[],_e={},Se=!1,ke=function(e,t){i.extend(o,t.publicMethods),xe.push(e)},Ce=function(e){var t=Xt();return e>t-1?e-t:e<0?t+e:e},Ee={},Ie=function(e,t){return Ee[e]||(Ee[e]=[]),Ee[e].push(t)},Oe=function(e){var t=Ee[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var r=0;r<t.length;r++)t[r].apply(o,n)}},Te=function(){return(new Date).getTime()},Ne=function(e){ue=e,o.bg.style.opacity=e*u.bgOpacity},De=function(e,t,n,r,i){(!Se||i&&i!==o.currItem)&&(r/=i?i.fitRatio:o.currItem.fitRatio),e[N]=w+t+"px, "+n+"px"+x+" scale("+r+")"},Ae=function(e){re&&(e&&(y>o.currItem.fitRatio?Se||(dn(o.currItem,!1,!0),Se=!0):Se&&(dn(o.currItem),Se=!1)),De(re,he.x,he.y,y))},Pe=function(e){e.container&&De(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Me=function(e,t){t[N]=w+e+"px, 0px"+x},je=function(e,t){if(!u.loop&&t){var n=f+(ye.x*ge-e)/ye.x,r=Math.round(e-yt.x);(n<0&&r>0||n>=Xt()-1&&r<0)&&(e=yt.x+r*u.mainScrollEndFriction)}yt.x=e,Me(e,p)},Re=function(e,t){var n=bt[e]-ve[e];return pe[e]+fe[e]+n-n*(t/b)},Le=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Fe=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},ze=null,Be=function(){ze&&(i.unbind(document,"mousemove",Be),i.addClass(e,"pswp--has_mouse"),u.mouseUsed=!0,Oe("mouseUsed")),ze=setTimeout((function(){ze=null}),100)},Ue=function(){i.bind(document,"keydown",o),z.transform&&i.bind(o.scrollWrap,"click",o),u.mouseUsed||i.bind(document,"mousemove",Be),i.bind(window,"resize scroll orientationchange",o),Oe("bindEvents")},qe=function(){i.unbind(window,"resize scroll orientationchange",o),i.unbind(window,"scroll",v.scroll),i.unbind(document,"keydown",o),i.unbind(document,"mousemove",Be),z.transform&&i.unbind(o.scrollWrap,"click",o),G&&i.unbind(window,m,o),clearTimeout(B),Oe("unbindEvents")},Ve=function(e,t){var n=sn(o.currItem,me,e);return t&&(ne=n),n},Ke=function(e){return e||(e=o.currItem),e.initialZoomLevel},He=function(e){return e||(e=o.currItem),e.w>0?u.maxSpreadZoom:1},We=function(e,t,n,r){return r===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=Re(e,r),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Ge=function(){if(N){var t=z.perspective&&!A;return w="translate"+(t?"3d(":"("),void(x=z.perspective?", 0px)":")")}N="left",i.addClass(e,"pswp--ie"),Me=function(e,t){t.left=e+"px"},Pe=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,r=t*e.w,i=t*e.h;n.width=r+"px",n.height=i+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Ae=function(){if(re){var e=re,t=o.currItem,n=t.fitRatio>1?1:t.fitRatio,r=n*t.w,i=n*t.h;e.width=r+"px",e.height=i+"px",e.left=he.x+"px",e.top=he.y+"px"}}},Ye=function(e){var t="";u.escKey&&27===e.keyCode?t="close":u.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,o[t]()))},Qe=function(e){e&&($||Q||ie||H)&&(e.preventDefault(),e.stopPropagation())},$e=function(){o.setScrollOffset(0,i.getScrollY())},Je={},Ze=0,Xe=function(e){Je[e]&&(Je[e].raf&&M(Je[e].raf),Ze--,delete Je[e])},et=function(e){Je[e]&&Xe(e),Je[e]||(Ze++,Je[e]={})},tt=function(){for(var e in Je)Je.hasOwnProperty(e)&&Xe(e)},nt=function(e,t,n,r,i,o,a){var s,u=Te();et(e);var c=function(){if(Je[e]){if((s=Te()-u)>=r)return Xe(e),o(n),void(a&&a());o((n-t)*i(s/r)+t),Je[e].raf=P(c)}};c()},rt={shout:Oe,listen:Ie,viewportSize:me,options:u,isMainScrollAnimating:function(){return ie},getZoomLevel:function(){return y},getCurrentIndex:function(){return f},isDragging:function(){return G},isZooming:function(){return ee},setScrollOffset:function(e,t){ve.x=e,F=ve.y=t,Oe("updateScrollOffset",ve)},applyZoomPan:function(e,t,n,r){he.x=t,he.y=n,y=e,Ae(r)},init:function(){if(!c&&!l){var n;o.framework=i,o.template=e,o.bg=i.getChildByClass(e,"pswp__bg"),j=e.className,c=!0,z=i.detectFeatures(),P=z.raf,M=z.caf,N=z.transform,L=z.oldIE,o.scrollWrap=i.getChildByClass(e,"pswp__scroll-wrap"),o.container=i.getChildByClass(o.scrollWrap,"pswp__container"),p=o.container.style,o.itemHolders=k=[{el:o.container.children[0],wrap:0,index:-1},{el:o.container.children[1],wrap:0,index:-1},{el:o.container.children[2],wrap:0,index:-1}],k[0].el.style.display=k[2].el.style.display="none",Ge(),v={resize:o.updateSize,orientationchange:function(){clearTimeout(B),B=setTimeout((function(){me.x!==o.scrollWrap.clientWidth&&o.updateSize()}),500)},scroll:$e,keydown:Ye,click:Qe};var r=z.isOldIOSPhone||z.isOldAndroid||z.isMobileOpera;for(z.animationName&&z.transform&&!r||(u.showAnimationDuration=u.hideAnimationDuration=0),n=0;n<xe.length;n++)o["init"+xe[n]]();t&&(o.ui=new t(o,i)).init(),Oe("firstUpdate"),f=f||u.index||0,(isNaN(f)||f<0||f>=Xt())&&(f=0),o.currItem=Zt(f),(z.isOldIOSPhone||z.isOldAndroid)&&(we=!1),e.setAttribute("aria-hidden","false"),u.modal&&(we?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===F&&(Oe("initialLayout"),F=R=i.getScrollY());var a="pswp--open ";for(u.mainClass&&(a+=u.mainClass+" "),u.showHideOpacity&&(a+="pswp--animate_opacity "),a+=A?"pswp--touch":"pswp--notouch",a+=z.animationName?" pswp--css_animation":"",a+=z.svg?" pswp--svg":"",i.addClass(e,a),o.updateSize(),h=-1,be=null,n=0;n<s;n++)Me((n+h)*ye.x,k[n].el.style);L||i.bind(o.scrollWrap,g,o),Ie("initialZoomInEnd",(function(){o.setContent(k[0],f-1),o.setContent(k[2],f+1),k[0].el.style.display=k[2].el.style.display="block",u.focus&&e.focus(),Ue()})),o.setContent(k[1],f),o.updateCurrItem(),Oe("afterInit"),we||(_=setInterval((function(){Ze||G||ee||y!==o.currItem.initialZoomLevel||o.updateSize()}),1e3)),i.addClass(e,"pswp--visible")}},close:function(){c&&(c=!1,l=!0,Oe("close"),qe(),en(o.currItem,null,!0,o.destroy))},destroy:function(){Oe("destroy"),Yt&&clearTimeout(Yt),e.setAttribute("aria-hidden","true"),e.className=j,_&&clearInterval(_),i.unbind(o.scrollWrap,g,o),i.unbind(window,"scroll",o),kt(),tt(),Ee=null},panTo:function(e,t,n){n||(e>ne.min.x?e=ne.min.x:e<ne.max.x&&(e=ne.max.x),t>ne.min.y?t=ne.min.y:t<ne.max.y&&(t=ne.max.y)),he.x=e,he.y=t,Ae()},handleEvent:function(e){e=e||window.event,v[e.type]&&v[e.type](e)},goTo:function(e){var t=(e=Ce(e))-f;be=t,f=e,o.currItem=Zt(f),ge-=t,je(ye.x*ge),tt(),ie=!1,o.updateCurrItem()},next:function(){o.goTo(f+1)},prev:function(){o.goTo(f-1)},updateCurrZoomItem:function(e){if(e&&Oe("beforeChange",0),k[1].el.children.length){var t=k[1].el.children[0];re=i.hasClass(t,"pswp__zoom-wrap")?t.style:null}else re=null;ne=o.currItem.bounds,b=y=o.currItem.initialZoomLevel,he.x=ne.center.x,he.y=ne.center.y,e&&Oe("afterChange")},invalidateCurrItems:function(){S=!0;for(var e=0;e<s;e++)k[e].item&&(k[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==be){var t,n=Math.abs(be);if(!(e&&n<2)){o.currItem=Zt(f),Se=!1,Oe("beforeChange",be),n>=s&&(h+=be+(be>0?-s:s),n=s);for(var r=0;r<n;r++)be>0?(t=k.shift(),k[s-1]=t,h++,Me((h+2)*ye.x,t.el.style),o.setContent(t,f-n+r+1+1)):(t=k.pop(),k.unshift(t),h--,Me(h*ye.x,t.el.style),o.setContent(t,f+n-r-1-1));if(re&&1===Math.abs(be)){var i=Zt(C);i.initialZoomLevel!==y&&(sn(i,me),dn(i),Pe(i))}be=0,o.updateCurrZoomItem(),C=f,Oe("afterChange")}}},updateSize:function(t){if(!we&&u.modal){var n=i.getScrollY();if(F!==n&&(e.style.top=n+"px",F=n),!t&&_e.x===window.innerWidth&&_e.y===window.innerHeight)return;_e.x=window.innerWidth,_e.y=window.innerHeight,e.style.height=_e.y+"px"}if(me.x=o.scrollWrap.clientWidth,me.y=o.scrollWrap.clientHeight,$e(),ye.x=me.x+Math.round(me.x*u.spacing),ye.y=me.y,je(ye.x*ge),Oe("beforeResize"),void 0!==h){for(var r,a,c,l=0;l<s;l++)r=k[l],Me((l+h)*ye.x,r.el.style),c=f+l-1,u.loop&&Xt()>2&&(c=Ce(c)),(a=Zt(c))&&(S||a.needsUpdate||!a.bounds)?(o.cleanSlide(a),o.setContent(r,c),1===l&&(o.currItem=a,o.updateCurrZoomItem(!0)),a.needsUpdate=!1):-1===r.index&&c>=0&&o.setContent(r,c),a&&a.container&&(sn(a,me),dn(a),Pe(a));S=!1}b=y=o.currItem.initialZoomLevel,(ne=o.currItem.bounds)&&(he.x=ne.center.x,he.y=ne.center.y,Ae(!0)),Oe("resize")},zoomTo:function(e,t,n,r,o){t&&(b=y,bt.x=Math.abs(t.x)-he.x,bt.y=Math.abs(t.y)-he.y,Le(pe,he));var a=Ve(e,!1),s={};We("x",a,s,e),We("y",a,s,e);var u=y,c={x:he.x,y:he.y};Fe(s);var l=function(t){1===t?(y=e,he.x=s.x,he.y=s.y):(y=(e-u)*t+u,he.x=(s.x-c.x)*t+c.x,he.y=(s.y-c.y)*t+c.y),o&&o(t),Ae(1===t)};n?nt("customZoomTo",0,1,n,r||i.easing.sine.inOut,l):l(1)}},it=30,ot=10,at={},st={},ut={},ct={},lt={},dt=[],ft={},pt=[],ht={},mt=0,gt=de(),vt=0,yt=de(),bt=de(),wt=de(),xt=function(e,t){return e.x===t.x&&e.y===t.y},_t=function(e,t){return Math.abs(e.x-t.x)<a&&Math.abs(e.y-t.y)<a},St=function(e,t){return ht.x=Math.abs(e.x-t.x),ht.y=Math.abs(e.y-t.y),Math.sqrt(ht.x*ht.x+ht.y*ht.y)},kt=function(){J&&(M(J),J=null)},Ct=function(){G&&(J=P(Ct),Ut())},Et=function(){return!("fit"===u.scaleMode&&y===o.currItem.initialZoomLevel)},It=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:It(e.parentNode,t))},Ot={},Tt=function(e,t){return Ot.prevent=!It(e.target,u.isClickableElement),Oe("preventDragEvent",e,t,Ot),Ot.prevent},Nt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Dt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},At=function(e,t,n){if(e-q>50){var r=pt.length>2?pt.shift():{};r.x=t,r.y=n,pt.push(r),q=e}},Pt=function(){var e=he.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(me.y/2))},Mt={},jt={},Rt=[],Lt=function(e){for(;Rt.length>0;)Rt.pop();return D?(le=0,dt.forEach((function(e){0===le?Rt[0]=e:1===le&&(Rt[1]=e),le++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Rt[0]=Nt(e.touches[0],Mt),e.touches.length>1&&(Rt[1]=Nt(e.touches[1],jt))):(Mt.x=e.pageX,Mt.y=e.pageY,Mt.id="",Rt[0]=Mt),Rt},Ft=function(e,t){var n,r,i,a,s=he[e]+t[e],c=t[e]>0,l=yt.x+t.x,d=yt.x-ft.x;if(n=s>ne.min[e]||s<ne.max[e]?u.panEndFriction:1,s=he[e]+t[e]*n,(u.allowPanToNext||y===o.currItem.initialZoomLevel)&&(re?"h"!==oe||"x"!==e||Q||(c?(s>ne.min[e]&&(n=u.panEndFriction,ne.min[e],r=ne.min[e]-pe[e]),(r<=0||d<0)&&Xt()>1?(a=l,d<0&&l>ft.x&&(a=ft.x)):ne.min.x!==ne.max.x&&(i=s)):(s<ne.max[e]&&(n=u.panEndFriction,ne.max[e],r=pe[e]-ne.max[e]),(r<=0||d>0)&&Xt()>1?(a=l,d>0&&l<ft.x&&(a=ft.x)):ne.min.x!==ne.max.x&&(i=s))):a=l,"x"===e))return void 0!==a&&(je(a,!0),Z=a!==ft.x),ne.min.x!==ne.max.x&&(void 0!==i?he.x=i:Z||(he.x+=t.x*n)),void 0!==a;ie||Z||y>o.currItem.fitRatio&&(he[e]+=t[e]*n)},zt=function(e){if(!("mousedown"===e.type&&e.button>0))if(Jt)e.preventDefault();else if(!W||"mousedown"!==e.type){if(Tt(e,!0)&&e.preventDefault(),Oe("pointerDown"),D){var t=i.arraySearch(dt,e.pointerId,"id");t<0&&(t=dt.length),dt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Lt(e),r=n.length;X=null,tt(),G&&1!==r||(G=ae=!0,i.bind(window,m,o),K=ce=se=H=Z=$=Y=Q=!1,oe=null,Oe("firstTouchStart",n),Le(pe,he),fe.x=fe.y=0,Le(ct,n[0]),Le(lt,ct),ft.x=ye.x*ge,pt=[{x:ct.x,y:ct.y}],q=U=Te(),Ve(y,!0),kt(),Ct()),!ee&&r>1&&!ie&&!Z&&(b=y,Q=!1,ee=Y=!0,fe.y=fe.x=0,Le(pe,he),Le(at,n[0]),Le(st,n[1]),Dt(at,st,wt),bt.x=Math.abs(wt.x)-he.x,bt.y=Math.abs(wt.y)-he.y,te=St(at,st))}},Bt=function(e){if(e.preventDefault(),D){var t=i.arraySearch(dt,e.pointerId,"id");if(t>-1){var n=dt[t];n.x=e.pageX,n.y=e.pageY}}if(G){var r=Lt(e);if(oe||$||ee)X=r;else if(yt.x!==ye.x*ge)oe="h";else{var o=Math.abs(r[0].x-ct.x)-Math.abs(r[0].y-ct.y);Math.abs(o)>=ot&&(oe=o>0?"h":"v",X=r)}}},Ut=function(){if(X){var e=X.length;if(0!==e)if(Le(at,X[0]),ut.x=at.x-ct.x,ut.y=at.y-ct.y,ee&&e>1){if(ct.x=at.x,ct.y=at.y,!ut.x&&!ut.y&&xt(X[1],st))return;Le(st,X[1]),Q||(Q=!0,Oe("zoomGestureStarted"));var t=St(at,st),n=Wt(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(ce=!0);var r=1,i=Ke(),a=He();if(n<i)if(u.pinchToClose&&!ce&&b<=o.currItem.initialZoomLevel){var s=1-(i-n)/(i/1.2);Ne(s),Oe("onPinchClose",s),se=!0}else(r=(i-n)/i)>1&&(r=1),n=i-r*(i/3);else n>a&&((r=(n-a)/(6*i))>1&&(r=1),n=a+r*i);r<0&&(r=0),Dt(at,st,gt),fe.x+=gt.x-wt.x,fe.y+=gt.y-wt.y,Le(wt,gt),he.x=Re("x",n),he.y=Re("y",n),K=n>y,y=n,Ae()}else{if(!oe)return;if(ae&&(ae=!1,Math.abs(ut.x)>=ot&&(ut.x-=X[0].x-lt.x),Math.abs(ut.y)>=ot&&(ut.y-=X[0].y-lt.y)),ct.x=at.x,ct.y=at.y,0===ut.x&&0===ut.y)return;if("v"===oe&&u.closeOnVerticalDrag&&!Et()){fe.y+=ut.y,he.y+=ut.y;var c=Pt();return H=!0,Oe("onVerticalDrag",c),Ne(c),void Ae()}At(Te(),at.x,at.y),$=!0,ne=o.currItem.bounds,Ft("x",ut)||(Ft("y",ut),Fe(he),Ae())}}},qt=function(e){if(z.isOldAndroid){if(W&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(W),W=setTimeout((function(){W=0}),600))}var t;if(Oe("pointerUp"),Tt(e,!1)&&e.preventDefault(),D){var n=i.arraySearch(dt,e.pointerId,"id");if(n>-1)if(t=dt.splice(n,1)[0],navigator.msPointerEnabled){var r={4:"mouse",2:"touch",3:"pen"};t.type=r[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}else t.type=e.pointerType||"mouse"}var a,s=Lt(e),c=s.length;if("mouseup"===e.type&&(c=0),2===c)return X=null,!0;1===c&&Le(lt,s[0]),0!==c||oe||ie||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Oe("touchRelease",e,t));var l=-1;if(0===c&&(G=!1,i.unbind(window,m,o),kt(),ee?l=0:-1!==vt&&(l=Te()-vt)),vt=1===c?Te():-1,a=-1!==l&&l<150?"zoom":"swipe",ee&&c<2&&(ee=!1,1===c&&(a="zoomPointerUp"),Oe("zoomGestureEnded")),X=null,$||Q||ie||H)if(tt(),V||(V=Vt()),V.calculateSwipeSpeed("x"),H)if(Pt()<u.verticalDragRange)o.close();else{var d=he.y,f=ue;nt("verticalDrag",0,1,300,i.easing.cubic.out,(function(e){he.y=(o.currItem.initialPosition.y-d)*e+d,Ne((1-f)*e+f),Ae()})),Oe("onVerticalDrag",1)}else{if((Z||ie)&&0===c){if(Ht(a,V))return;a="zoomPointerUp"}ie||("swipe"===a?!Z&&y>o.currItem.fitRatio&&Kt(V):Gt())}},Vt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(r){pt.length>1?(e=Te()-q+50,t=pt[pt.length-2][r]):(e=Te()-U,t=lt[r]),n.lastFlickOffset[r]=ct[r]-t,n.lastFlickDist[r]=Math.abs(n.lastFlickOffset[r]),n.lastFlickDist[r]>20?n.lastFlickSpeed[r]=n.lastFlickOffset[r]/e:n.lastFlickSpeed[r]=0,Math.abs(n.lastFlickSpeed[r])<.1&&(n.lastFlickSpeed[r]=0),n.slowDownRatio[r]=.95,n.slowDownRatioReverse[r]=1-n.slowDownRatio[r],n.speedDecelerationRatio[r]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(he[e]>ne.min[e]?n.backAnimDestination[e]=ne.min[e]:he[e]<ne.max[e]&&(n.backAnimDestination[e]=ne.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,nt("bounceZoomPan"+e,he[e],n.backAnimDestination[e],t||300,i.easing.sine.out,(function(t){he[e]=t,Ae()})))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,he[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Je.zoomPan&&(Je.zoomPan.raf=P(n.panAnimLoop),n.now=Te(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Ae(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return he.x=Math.round(he.x),he.y=Math.round(he.y),Ae(),void Xe("zoomPan")}};return n},Kt=function(e){if(e.calculateSwipeSpeed("y"),ne=o.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;et("zoomPan"),e.lastNow=Te(),e.panAnimLoop()},Ht=function(e,t){var n,r,a;if(ie||(mt=f),"swipe"===e){var s=ct.x-lt.x,c=t.lastFlickDist.x<10;s>it&&(c||t.lastFlickOffset.x>20)?r=-1:s<-it&&(c||t.lastFlickOffset.x<-20)&&(r=1)}r&&((f+=r)<0?(f=u.loop?Xt()-1:0,a=!0):f>=Xt()&&(f=u.loop?0:Xt()-1,a=!0),a&&!u.loop||(be+=r,ge-=r,n=!0));var l,d=ye.x*ge,p=Math.abs(d-yt.x);return n||d>yt.x==t.lastFlickSpeed.x>0?(l=Math.abs(t.lastFlickSpeed.x)>0?p/Math.abs(t.lastFlickSpeed.x):333,l=Math.min(l,400),l=Math.max(l,250)):l=333,mt===f&&(n=!1),ie=!0,Oe("mainScrollAnimStart"),nt("mainScroll",yt.x,d,l,i.easing.cubic.out,je,(function(){tt(),ie=!1,mt=-1,(n||mt!==f)&&o.updateCurrItem(),Oe("mainScrollAnimComplete")})),n&&o.updateCurrItem(!0),n},Wt=function(e){return 1/te*e*b},Gt=function(){var e=y,t=Ke(),n=He();y<t?e=t:y>n&&(e=n);var r,a=1,s=ue;return se&&!K&&!ce&&y<t?(o.close(),!0):(se&&(r=function(e){Ne((a-s)*e+s)}),o.zoomTo(e,0,200,i.easing.cubic.out,r),!0)};ke("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,r,i){E=e+t,I=e+n,O=e+r,T=i?e+i:""};(D=z.pointerEvent)&&z.touch&&(z.touch=!1),D?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):z.touch?(e("touch","start","move","end","cancel"),A=!0):e("mouse","down","move","up"),m=I+" "+O+" "+T,g=E,D&&!A&&(A=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=A,v[E]=zt,v[I]=Bt,v[O]=qt,T&&(v[T]=v[O]),z.touch&&(g+=" mousedown",m+=" mousemove mouseup",v.mousedown=v[E],v.mousemove=v[I],v.mouseup=v[O]),A||(u.allowPanToNext=!1)}}});var Yt,Qt,$t,Jt,Zt,Xt,en=function(t,n,r,a){var s;Yt&&clearTimeout(Yt),Jt=!0,$t=!0,t.initialLayout?(s=t.initialLayout,t.initialLayout=null):s=u.getThumbBoundsFn&&u.getThumbBoundsFn(f);var c=r?u.hideAnimationDuration:u.showAnimationDuration,l=function(){Xe("initialZoom"),r?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Ne(1),n&&(n.style.display="block"),i.addClass(e,"pswp--animated-in"),Oe("initialZoom"+(r?"OutEnd":"InEnd"))),a&&a(),Jt=!1};if(!c||!s||void 0===s.x)return Oe("initialZoom"+(r?"Out":"In")),y=t.initialZoomLevel,Le(he,t.initialPosition),Ae(),e.style.opacity=r?0:1,Ne(1),void(c?setTimeout((function(){l()}),c):l());var p=function(){var n=d,a=!o.currItem.src||o.currItem.loadError||u.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),r||(y=s.w/t.w,he.x=s.x,he.y=s.y-R,o[a?"template":"bg"].style.opacity=.001,Ae()),et("initialZoom"),r&&!n&&i.removeClass(e,"pswp--animated-in"),a&&(r?i[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){i.addClass(e,"pswp--animate_opacity")}),30)),Yt=setTimeout((function(){if(Oe("initialZoom"+(r?"Out":"In")),r){var o=s.w/t.w,u={x:he.x,y:he.y},d=y,f=ue,p=function(t){1===t?(y=o,he.x=s.x,he.y=s.y-F):(y=(o-d)*t+d,he.x=(s.x-u.x)*t+u.x,he.y=(s.y-F-u.y)*t+u.y),Ae(),a?e.style.opacity=1-t:Ne(f-t*f)};n?nt("initialZoom",0,1,c,i.easing.cubic.out,p,l):(p(1),Yt=setTimeout(l,c+20))}else y=t.initialZoomLevel,Le(he,t.initialPosition),Ae(),Ne(1),a?e.style.opacity=1:Ne(1),Yt=setTimeout(l,c+20)}),r?25:90)};p()},tn={},nn=[],rn={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Qt.length}},on=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},an=function(e,t,n){var r=e.bounds;r.center.x=Math.round((tn.x-t)/2),r.center.y=Math.round((tn.y-n)/2)+e.vGap.top,r.max.x=t>tn.x?Math.round(tn.x-t):r.center.x,r.max.y=n>tn.y?Math.round(tn.y-n)+e.vGap.top:r.center.y,r.min.x=t>tn.x?0:r.center.x,r.min.y=n>tn.y?e.vGap.top:r.center.y},sn=function(e,t,n){if(e.src&&!e.loadError){var r=!n;if(r&&(e.vGap||(e.vGap={top:0,bottom:0}),Oe("parseVerticalMargin",e)),tn.x=t.x,tn.y=t.y-e.vGap.top-e.vGap.bottom,r){var i=tn.x/e.w,o=tn.y/e.h;e.fitRatio=i<o?i:o;var a=u.scaleMode;"orig"===a?n=1:"fit"===a&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=on())}if(!n)return;return an(e,e.w*n,e.h*n),r&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=on(),e.initialPosition=e.bounds.center,e.bounds},un=function(e,t,n,r,i,a){t.loadError||r&&(t.imageAppended=!0,dn(t,r,t===o.currItem&&Se),n.appendChild(r),a&&setTimeout((function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)}),500))},cn=function(e){e.loading=!0,e.loaded=!1;var t=e.img=i.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},ln=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=u.errorMsg.replace("%url%",e.src),!0},dn=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var r=n?e.w:Math.round(e.w*e.fitRatio),i=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=r+"px",e.placeholder.style.height=i+"px"),t.style.width=r+"px",t.style.height=i+"px"}},fn=function(){if(nn.length){for(var e,t=0;t<nn.length;t++)(e=nn[t]).holder.index===e.index&&un(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);nn=[]}};ke("Controller",{publicMethods:{lazyLoadItem:function(e){e=Ce(e);var t=Zt(e);t&&(!t.loaded&&!t.loading||S)&&(Oe("gettingData",e,t),t.src&&cn(t))},initController:function(){i.extend(u,rn,!0),o.items=Qt=n,Zt=o.getItemAt,(Xt=u.getNumItemsFn)()<3&&(u.loop=!1),Ie("beforeChange",(function(e){var t,n=u.preload,r=null===e||e>=0,i=Math.min(n[0],Xt()),a=Math.min(n[1],Xt());for(t=1;t<=(r?a:i);t++)o.lazyLoadItem(f+t);for(t=1;t<=(r?i:a);t++)o.lazyLoadItem(f-t)})),Ie("initialLayout",(function(){o.currItem.initialLayout=u.getThumbBoundsFn&&u.getThumbBoundsFn(f)})),Ie("mainScrollAnimComplete",fn),Ie("initialZoomInEnd",fn),Ie("destroy",(function(){for(var e,t=0;t<Qt.length;t++)(e=Qt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);nn=null}))},getItemAt:function(e){return e>=0&&void 0!==Qt[e]&&Qt[e]},allowProgressiveImg:function(){return u.forceProgressiveLoading||!A||u.mouseUsed||screen.width>1200},setContent:function(e,t){u.loop&&(t=Ce(t));var n=o.getItemAt(e.index);n&&(n.container=null);var r,a=o.getItemAt(t);if(a){Oe("gettingData",t,a),e.index=t,e.item=a;var s=a.container=i.createEl("pswp__zoom-wrap");if(!a.src&&a.html&&(a.html.tagName?s.appendChild(a.html):s.innerHTML=a.html),ln(a),sn(a,me),!a.src||a.loadError||a.loaded)a.src&&!a.loadError&&((r=i.createEl("pswp__img","img")).style.opacity=1,r.src=a.src,dn(a,r),un(t,a,s,r));else{if(a.loadComplete=function(n){if(c){if(e&&e.index===t){if(ln(n,!0))return n.loadComplete=n.img=null,sn(n,me),Pe(n),void(e.index===f&&o.updateCurrZoomItem());n.imageAppended?!Jt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):z.transform&&(ie||Jt)?nn.push({item:n,baseDiv:s,img:n.img,index:t,holder:e,clearPlaceholder:!0}):un(t,n,s,n.img,ie||Jt,!0)}n.loadComplete=null,n.img=null,Oe("imageLoadComplete",t,n)}},i.features.transform){var l="pswp__img pswp__img--placeholder";l+=a.msrc?"":" pswp__img--placeholder--blank";var d=i.createEl(l,a.msrc?"img":"");a.msrc&&(d.src=a.msrc),dn(a,d),s.appendChild(d),a.placeholder=d}a.loading||cn(a),o.allowProgressiveImg()&&(!$t&&z.transform?nn.push({item:a,baseDiv:s,img:a.img,index:t,holder:e}):un(t,a,s,a.img,!0,!0))}$t||t!==f?Pe(a):(re=s.style,en(a,r||a.img)),e.el.innerHTML="",e.el.appendChild(s)}else e.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var pn,hn,mn={},gn=function(e,t,n){var r=document.createEvent("CustomEvent"),i={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};r.initCustomEvent("pswpTap",!0,!0,i),e.target.dispatchEvent(r)};ke("Tap",{publicMethods:{initTap:function(){Ie("firstTouchStart",o.onTapStart),Ie("touchRelease",o.onTapRelease),Ie("destroy",(function(){mn={},pn=null}))},onTapStart:function(e){e.length>1&&(clearTimeout(pn),pn=null)},onTapRelease:function(e,t){if(t&&!$&&!Y&&!Ze){var n=t;if(pn&&(clearTimeout(pn),pn=null,_t(n,mn)))return void Oe("doubleTap",n);if("mouse"===t.type)return void gn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||i.hasClass(e.target,"pswp__single-tap"))return void gn(e,t);Le(mn,n),pn=setTimeout((function(){gn(e,t),pn=null}),300)}}}}),ke("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(A?Ie("mouseUsed",(function(){o.setupDesktopZoom()})):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){hn={};var n="wheel mousewheel DOMMouseScroll";Ie("bindEvents",(function(){i.bind(e,n,o.handleMouseWheel)})),Ie("unbindEvents",(function(){hn&&i.unbind(e,n,o.handleMouseWheel)})),o.mouseZoomedIn=!1;var r,a=function(){o.mouseZoomedIn&&(i.removeClass(e,"pswp--zoomed-in"),o.mouseZoomedIn=!1),y<1?i.addClass(e,"pswp--zoom-allowed"):i.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){r&&(i.removeClass(e,"pswp--dragging"),r=!1)};Ie("resize",a),Ie("afterChange",a),Ie("pointerDown",(function(){o.mouseZoomedIn&&(r=!0,i.addClass(e,"pswp--dragging"))})),Ie("pointerUp",s),t||a()},handleMouseWheel:function(e){if(y<=o.currItem.fitRatio)return u.modal&&(!u.closeOnScroll||Ze||G?e.preventDefault():N&&Math.abs(e.deltaY)>2&&(d=!0,o.close())),!0;if(e.stopPropagation(),hn.x=0,"deltaX"in e)1===e.deltaMode?(hn.x=18*e.deltaX,hn.y=18*e.deltaY):(hn.x=e.deltaX,hn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(hn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?hn.y=-.16*e.wheelDeltaY:hn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;hn.y=e.detail}Ve(y,!0);var t=he.x-hn.x,n=he.y-hn.y;(u.modal||t<=ne.min.x&&t>=ne.max.x&&n<=ne.min.y&&n>=ne.max.y)&&e.preventDefault(),o.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:me.x/2+ve.x,y:me.y/2+ve.y};var n=u.getDoubleTapZoom(!0,o.currItem),r=y===n;o.mouseZoomedIn=!r,o.zoomTo(r?o.currItem.initialZoomLevel:n,t,333),i[(r?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var vn,yn,bn,wn,xn,_n,Sn,kn,Cn,En,In,On,Tn={history:!0,galleryUID:1},Nn=function(){return In.hash.substring(1)},Dn=function(){vn&&clearTimeout(vn),bn&&clearTimeout(bn)},An=function(){var e=Nn(),t={};if(e.length<5)return t;var n,r=e.split("&");for(n=0;n<r.length;n++)if(r[n]){var i=r[n].split("=");i.length<2||(t[i[0]]=i[1])}if(u.galleryPIDs){var o=t.pid;for(t.pid=0,n=0;n<Qt.length;n++)if(Qt[n].pid===o){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},Pn=function(){if(bn&&clearTimeout(bn),Ze||G)bn=setTimeout(Pn,500);else{wn?clearTimeout(yn):wn=!0;var e=f+1,t=Zt(f);t.hasOwnProperty("pid")&&(e=t.pid);var n=Sn+"&gid="+u.galleryUID+"&pid="+e;kn||-1===In.hash.indexOf(n)&&(En=!0);var r=In.href.split("#")[0]+"#"+n;On?"#"+n!==window.location.hash&&history[kn?"replaceState":"pushState"]("",document.title,r):kn?In.replace(r):In.hash=n,kn=!0,yn=setTimeout((function(){wn=!1}),60)}};ke("History",{publicMethods:{initHistory:function(){if(i.extend(u,Tn,!0),u.history){In=window.location,En=!1,Cn=!1,kn=!1,Sn=Nn(),On="pushState"in history,Sn.indexOf("gid=")>-1&&(Sn=(Sn=Sn.split("&gid=")[0]).split("?gid=")[0]),Ie("afterChange",o.updateURL),Ie("unbindEvents",(function(){i.unbind(window,"hashchange",o.onHashChange)}));var e=function(){_n=!0,Cn||(En?history.back():Sn?In.hash=Sn:On?history.pushState("",document.title,In.pathname+In.search):In.hash=""),Dn()};Ie("unbindEvents",(function(){d&&e()})),Ie("destroy",(function(){_n||e()})),Ie("firstUpdate",(function(){f=An().pid}));var t=Sn.indexOf("pid=");t>-1&&"&"===(Sn=Sn.substring(0,t)).slice(-1)&&(Sn=Sn.slice(0,-1)),setTimeout((function(){c&&i.bind(window,"hashchange",o.onHashChange)}),40)}},onHashChange:function(){if(Nn()===Sn)return Cn=!0,void o.close();wn||(xn=!0,o.goTo(An().pid),xn=!1)},updateURL:function(){Dn(),xn||(kn?vn=setTimeout(Pn,800):Pn())}}}),i.extend(o,rt)};return e}(),e8={exports:{}},t8=e8.exports=(J6=function(e,t){var n,r,i,o,a,s,u,c,l,d,f,p,h,m,g,v,y,b,w=this,x=!1,_=!0,S=!0,k={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},C=function(e){if(v)return!0;e=e||window.event,g.timeToIdle&&g.mouseUsed&&!l&&j();for(var n,r,i=(e.target||e.srcElement).getAttribute("class")||"",o=0;o<V.length;o++)(n=V[o]).onTap&&i.indexOf("pswp__"+n.name)>-1&&(n.onTap(),r=!0);if(r){e.stopPropagation&&e.stopPropagation(),v=!0;var a=t.features.isOldAndroid?600:30;setTimeout((function(){v=!1}),a)}},E=function(){return!e.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth},I=function(e,n,r){t[(r?"add":"remove")+"Class"](e,"pswp__"+n)},O=function(){var e=1===g.getNumItemsFn();e!==m&&(I(r,"ui--one-slide",e),m=e)},T=function(){I(u,"share-modal--hidden",S)},N=function(){return(S=!S)?(t.removeClass(u,"pswp__share-modal--fade-in"),setTimeout((function(){S&&T()}),300)):(T(),setTimeout((function(){S||t.addClass(u,"pswp__share-modal--fade-in")}),30)),S||A(),!1},D=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!(!n.href||!n.hasAttribute("download")&&(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),S||N(),1))},A=function(){for(var e,t,n,r,i="",o=0;o<g.shareButtons.length;o++)e=g.shareButtons[o],t=g.getImageURLForShare(e),n=g.getPageURLForShare(e),r=g.getTextForShare(e),i+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(r))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",g.parseShareButtonOut&&(i=g.parseShareButtonOut(e,i));u.children[0].innerHTML=i,u.children[0].onclick=D},P=function(e){for(var n=0;n<g.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+g.closeElClasses[n]))return!0},M=0,j=function(){clearTimeout(b),M=0,l&&w.setIdle(!1)},R=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout((function(){w.setIdle(!0)}),g.timeToIdleOutside))},L=function(){g.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=w.getFullscreenAPI()),n?(t.bind(document,n.eventK,w.updateFullscreen),w.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},F=function(){g.preloaderEl&&(z(!0),d("beforeChange",(function(){clearTimeout(h),h=setTimeout((function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWidth)&&z(!1):z(!0)}),g.loadingIndicatorDelay)})),d("imageLoadComplete",(function(t,n){e.currItem===n&&z(!0)})))},z=function(e){p!==e&&(I(f,"preloader--active",!e),p=e)},B=function(e){var n=e.vGap;if(E()){var a=g.barsSize;if(g.captionEl&&"auto"===a.bottom)if(o||((o=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),r.insertBefore(o,i),t.addClass(r,"pswp__ui--fit")),g.addCaptionHTMLFn(e,o,!0)){var s=o.clientHeight;n.bottom=parseInt(s,10)||44}else n.bottom=a.top;else n.bottom="auto"===a.bottom?0:a.bottom;n.top=a.top}else n.top=n.bottom=0},U=function(){g.timeToIdle&&d("mouseUsed",(function(){t.bind(document,"mousemove",j),t.bind(document,"mouseout",R),y=setInterval((function(){2==++M&&w.setIdle(!0)}),g.timeToIdle/2)}))},q=function(){var e;d("onVerticalDrag",(function(e){_&&e<.95?w.hideControls():!_&&e>=.95&&w.showControls()})),d("onPinchClose",(function(t){_&&t<.9?(w.hideControls(),e=!0):e&&!_&&t>.9&&w.showControls()})),d("zoomGestureEnded",(function(){(e=!1)&&!_&&w.showControls()}))},V=[{name:"caption",option:"captionEl",onInit:function(e){i=e}},{name:"share-modal",option:"shareEl",onInit:function(e){u=e},onTap:function(){N()}},{name:"button--share",option:"shareEl",onInit:function(e){s=e},onTap:function(){N()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){a=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){f=e}}],K=function(){var e,n,i,o=function(r){if(r)for(var o=r.length,a=0;a<o;a++){e=r[a],n=e.className;for(var s=0;s<V.length;s++)i=V[s],n.indexOf("pswp__"+i.name)>-1&&(g[i.option]?(t.removeClass(e,"pswp__element--disabled"),i.onInit&&i.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};o(r.children);var a=t.getChildByClass(r,"pswp__top-bar");a&&o(a.children)};w.init=function(){t.extend(e.options,k,!0),g=e.options,r=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,q(),d("beforeChange",w.update),d("doubleTap",(function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(g.getDoubleTapZoom(!1,e.currItem),t,333)})),d("preventDragEvent",(function(e,t,n){var r=e.target||e.srcElement;r&&r.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(r.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(r.tagName))&&(n.prevent=!1)})),d("bindEvents",(function(){t.bind(r,"pswpTap click",C),t.bind(e.scrollWrap,"pswpTap",w.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",w.onMouseOver)})),d("unbindEvents",(function(){S||N(),y&&clearInterval(y),t.unbind(document,"mouseout",R),t.unbind(document,"mousemove",j),t.unbind(r,"pswpTap click",C),t.unbind(e.scrollWrap,"pswpTap",w.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",w.onMouseOver),n&&(t.unbind(document,n.eventK,w.updateFullscreen),n.isFullscreen()&&(g.hideAnimationDuration=0,n.exit()),n=null)})),d("destroy",(function(){g.captionEl&&(o&&r.removeChild(o),t.removeClass(i,"pswp__caption--empty")),u&&(u.children[0].onclick=null),t.removeClass(r,"pswp__ui--over-close"),t.addClass(r,"pswp__ui--hidden"),w.setIdle(!1)})),g.showAnimationDuration||t.removeClass(r,"pswp__ui--hidden"),d("initialZoomIn",(function(){g.showAnimationDuration&&t.removeClass(r,"pswp__ui--hidden")})),d("initialZoomOut",(function(){t.addClass(r,"pswp__ui--hidden")})),d("parseVerticalMargin",B),K(),g.shareEl&&s&&u&&(S=!0),O(),U(),L(),F()},w.setIdle=function(e){l=e,I(r,"ui--idle",e)},w.update=function(){_&&e.currItem?(w.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(e.currItem,i),I(i,"caption--empty",!e.currItem.title)),x=!0):x=!1,S||N(),O()},w.updateFullscreen=function(r){r&&setTimeout((function(){e.setScrollOffset(0,t.getScrollY())}),50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},w.updateIndexIndicator=function(){g.counterEl&&(a.innerHTML=e.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},w.onGlobalTap=function(n){var r=(n=n||window.event).target||n.srcElement;if(!v)if(n.detail&&"mouse"===n.detail.pointerType){if(P(r))return void e.close();t.hasClass(r,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?g.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(g.tapToToggleControls&&(_?w.hideControls():w.showControls()),g.tapToClose&&(t.hasClass(r,"pswp__img")||P(r)))return void e.close()},w.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;I(r,"ui--over-close",P(t))},w.hideControls=function(){t.addClass(r,"pswp__ui--hidden"),_=!1},w.showControls=function(){_=!0,x||w.update(),t.removeClass(r,"pswp__ui--hidden")},w.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},w.getFullscreenAPI=function(){var t,n=document.documentElement,r="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:r}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+r}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+r}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(c=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return e.template[this.enterK]();e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return g.closeOnScroll=c,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}},J6),n8={exports:{}},r8={exports:{}},i8=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter((function(e){return null!=e})),0!==t.length)return 1===t.length?t[0]:t.reduce((function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}))},o8=function(){};
116
+ */function BH(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var UH=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=BH(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))FH.call(n,a)&&(i[a]=n[a]);if(LH){r=LH(n);for(var s=0;s<r.length;s++)zH.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},qH=function(){};if("production"!==Cs.env.NODE_ENV){var VH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",KH={},HH=Function.call.bind(Object.prototype.hasOwnProperty);qH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function WH(e,t,n,r,i){if("production"!==Cs.env.NODE_ENV)for(var o in e)if(HH(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,r,n,null,VH)}catch(e){a=e}if(!a||a instanceof Error||qH((r||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in KH)){KH[a.message]=!0;var u=i?i():"";qH("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}WH.resetWarningCache=function(){"production"!==Cs.env.NODE_ENV&&(KH={})};var GH=_e,YH=UH,QH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$H=WH,JH=Function.call.bind(Object.prototype.hasOwnProperty),ZH=function(){};function XH(){return null}"production"!==Cs.env.NODE_ENV&&(ZH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function eW(){}function tW(){}tW.resetWarningCache=eW;if("production"!==Cs.env.NODE_ENV){var nW=_e;RH.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:s(XH),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,r,i,o+"["+u+"]",QH);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return GH.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+l(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var u=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+u+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return c(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(JH(s,c)){var d=e(s,c,r,i,o+"."+c,QH);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==Cs.env.NODE_ENV&&ZH(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),XH;function t(t,n,r,i,s){for(var u=t[n],c=0;c<e.length;c++)if(o(u,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+l+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==Cs.env.NODE_ENV&&ZH("Invalid argument supplied to oneOfType, expected an instance of array."),XH;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return ZH("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),XH}return s((function(t,n,r,i,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,r,i,o,QH))return null;return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,o+"."+c,QH);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=YH({},t[n],e);for(var d in c){var f=e[d];if(!f)return new a("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,r,i,o+"."+d,QH);if(p)return p}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e){this.message=e,this.stack=""}function s(e){if("production"!==Cs.env.NODE_ENV)var n={},i=0;function o(o,s,u,c,l,d,f){if(c=c||r,d=d||u,f!==QH){if(t){var p=new 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 p.name="Invariant Violation",p}if("production"!==Cs.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+u;!n[h]&&i<3&&(ZH("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[u]?o?null===s[u]?new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,u,c,l,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function u(e){return s((function(t,n,r,i,o,s){var u=t[n];return l(u)!==e?new a("Invalid "+i+" `"+o+"` of type `"+d(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function l(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function d(e){if(null==e)return""+e;var t=l(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=d(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,i.checkPropTypes=$H,i.resetWarningCache=$H.resetWarningCache,i.PropTypes=i,i}(nW.isElement,!0)}else RH.exports=function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new 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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:tW,resetWarningCache:eW};return n.PropTypes=n,n}();var rW=RH.exports,iW=!1,oW="production"!==Cs.env.NODE_ENV?rW.oneOfType([rW.number,rW.shape({enter:rW.number,exit:rW.number,appear:rW.number}).isRequired]):null;"production"!==Cs.env.NODE_ENV&&rW.oneOfType([rW.string,rW.shape({enter:rW.string,exit:rW.string,active:rW.string}),rW.shape({enter:rW.string,enterDone:rW.string,enterActive:rW.string,exit:rW.string,exitDone:rW.string,exitActive:rW.string})]);var aW=o.createContext(null),sW=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i="exited",r.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}jH(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Me.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||iW?this.safeSetState({status:"entered"},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(o,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Me.findDOMNode(this);t&&!iW?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Me.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=PH(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return o.createElement(aW.Provider,{value:null},"function"==typeof n?n(e,r):o.cloneElement(o.Children.only(n),r))},t}(o.Component);function uW(){}sW.contextType=aW,sW.propTypes="production"!==Cs.env.NODE_ENV?{nodeRef:rW.shape({current:"undefined"==typeof Element?rW.any:function(e,t,n,r,i,o){var a=e[t];return rW.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,o)}}),children:rW.oneOfType([rW.func.isRequired,rW.element.isRequired]).isRequired,in:rW.bool,mountOnEnter:rW.bool,unmountOnExit:rW.bool,appear:rW.bool,enter:rW.bool,exit:rW.bool,timeout:function(e){var t=oW;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.apply(void 0,[e].concat(r))},addEndListener:rW.func,onEnter:rW.func,onEntering:rW.func,onEntered:rW.func,onExit:rW.func,onExiting:rW.func,onExited:rW.func}:{},sW.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:uW,onEntering:uW,onEntered:uW,onExit:uW,onExiting:uW,onExited:uW},sW.UNMOUNTED="unmounted",sW.EXITED="exited",sW.ENTERING="entering",sW.ENTERED="entered",sW.EXITING="exiting";var cW=sW;function lW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dW(e,t){var n=Object.create(null);return e&&h.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&m(e)?t(e):e}(e)})),n}function fW(e,t,n){return null!=n[t]?n[t]:e.props[t]}function pW(e,t,n){var r=dW(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if(m(a)){var s=o in t,u=o in r,c=t[o],l=m(c)&&!c.props.in;!u||s&&!l?u||!s||l?u&&s&&m(c)&&(i[o]=g(a,{onExited:n.bind(null,a),in:c.props.in,exit:fW(a,"exit",e),enter:fW(a,"enter",e)})):i[o]=g(a,{in:!1}):i[o]=g(a,{onExited:n.bind(null,a),in:!0,exit:fW(a,"exit",e),enter:fW(a,"enter",e)})}})),i}var hW=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},mW=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(lW(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}jH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,dW(n.children,(function(e){return g(e,{onExited:r.bind(null,e),in:!0,appear:fW(e,"appear",n),enter:fW(e,"enter",n),exit:fW(e,"exit",n)})}))):pW(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=dW(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=AH({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=PH(e,["component","childFactory"]),i=this.state.contextValue,a=hW(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o.createElement(aW.Provider,{value:i},a):o.createElement(aW.Provider,{value:i},o.createElement(t,r,a))},t}(o.Component);mW.propTypes="production"!==Cs.env.NODE_ENV?{component:rW.any,children:rW.node,appear:rW.bool,enter:rW.bool,exit:rW.bool,childFactory:rW.func}:{},mW.defaultProps={component:"div",childFactory:function(e){return e}};var gW=mW,vW={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},yW={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},bW=0,wW=1,xW=2,_W=3,SW=4,kW=function(){};function CW(e){return"number"==typeof e&&!isNaN(e)&&e>0}function EW(e){return Object.keys(e).map((function(t){return e[t]}))}var IW=!("undefined"==typeof window||!window.document||!window.document.createElement);var OW,TW=((OW=function(e,t,n){var r=e[t];return!1===r||CW(r)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+r+" given.")}).isRequired=function(e,t,n){if(void 0===e[t])return new Error("The prop "+t+" is marked as required in \n "+n+", but its value is undefined.");OW(e,t,n)},OW),NW={list:new Map,emitQueue:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e){return this.list.delete(e),this},cancelEmit:function(e){var t=this.emitQueue.get(e);return t&&(t.forEach((function(e){return clearTimeout(e)})),this.emitQueue.delete(e)),this},emit:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.list.has(e)&&this.list.get(e).forEach((function(n){var i=setTimeout((function(){n.apply(void 0,r)}),0);t.emitQueue.has(e)||t.emitQueue.set(e,[]),t.emitQueue.get(e).push(i)}))}};function DW(e){var t=e.enter,n=e.exit,r=e.duration,i=void 0===r?750:r,a=e.appendPosition,s=void 0!==a&&a;return function(e){var r,a,u=e.children,c=e.position,l=e.preventExitTransition,d=PH(e,["children","position","preventExitTransition"]),f=s?t+"--"+c:t,p=s?n+"--"+c:n;Array.isArray(i)&&2===i.length?(r=i[0],a=i[1]):r=a=i;return o.createElement(cW,AH({},d,{timeout:l?0:{enter:r,exit:a},onEnter:function(e){e.classList.add(f),e.style.animationFillMode="forwards",e.style.animationDuration=.001*r+"s"},onEntered:function(e){e.classList.remove(f),e.style.cssText=""},onExit:l?kW:function(e){e.classList.add(p),e.style.animationFillMode="forwards",e.style.animationDuration=.001*a+"s"}}),u)}}function AW(e){var t,n,r=e.delay,i=e.isRunning,a=e.closeToast,s=e.type,u=e.hide,c=e.className,l=e.style,d=e.controlledProgress,f=e.progress,p=e.rtl,h=AH({},l,{animationDuration:r+"ms",animationPlayState:i?"running":"paused",opacity:u?0:1,transform:d?"scaleX("+f+")":null}),m=hK("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar--"+s,((t={})["Toastify__progress-bar--rtl"]=p,t),c),g=((n={})[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]=d&&f<1?null:a,n);return o.createElement("div",AH({className:m,style:h},g))}function PW(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function MW(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}AW.propTypes={delay:TW.isRequired,isRunning:rW.bool.isRequired,closeToast:rW.func.isRequired,rtl:rW.bool.isRequired,type:rW.string,hide:rW.bool,className:rW.oneOfType([rW.string,rW.object]),progress:rW.number,controlledProgress:rW.bool},AW.defaultProps={type:yW.DEFAULT,hide:!1};var jW=IW&&/(msie|trident)/i.test(navigator.userAgent),RW=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={isRunning:!0,preventExitTransition:!1},t.flag={canCloseOnClick:!0,canDrag:!1},t.drag={start:0,x:0,y:0,deltaX:0,removalDistance:0},t.boundingRect=null,t.ref=null,t.pauseToast=function(){t.props.autoClose&&t.setState({isRunning:!1})},t.playToast=function(){t.props.autoClose&&t.setState({isRunning:!0})},t.onDragStart=function(e){t.flag.canCloseOnClick=!0,t.flag.canDrag=!0,t.boundingRect=t.ref.getBoundingClientRect(),t.ref.style.transition="",t.drag.start=t.drag.x=PW(e.nativeEvent),t.drag.removalDistance=t.ref.offsetWidth*(t.props.draggablePercent/100)},t.onDragMove=function(e){t.flag.canDrag&&(t.state.isRunning&&t.pauseToast(),t.drag.x=PW(e),t.drag.deltaX=t.drag.x-t.drag.start,t.drag.y=MW(e),t.drag.start!==t.drag.x&&(t.flag.canCloseOnClick=!1),t.ref.style.transform="translateX("+t.drag.deltaX+"px)",t.ref.style.opacity=1-Math.abs(t.drag.deltaX/t.drag.removalDistance))},t.onDragEnd=function(e){if(t.flag.canDrag){if(t.flag.canDrag=!1,Math.abs(t.drag.deltaX)>t.drag.removalDistance)return void t.setState({preventExitTransition:!0},t.props.closeToast);t.ref.style.transition="transform 0.2s, opacity 0.2s",t.ref.style.transform="translateX(0)",t.ref.style.opacity=1}},t.onDragTransitionEnd=function(){if(t.boundingRect){var e=t.boundingRect,n=e.top,r=e.bottom,i=e.left,o=e.right;t.props.pauseOnHover&&t.drag.x>=i&&t.drag.x<=o&&t.drag.y>=n&&t.drag.y<=r?t.pauseToast():t.playToast()}},t.onExitTransitionEnd=function(){if(jW)t.props.onExited();else{var e=t.ref.scrollHeight,n=t.ref.style;requestAnimationFrame((function(){n.minHeight="initial",n.height=e+"px",n.transition="all 0.4s ",requestAnimationFrame((function(){n.height=0,n.padding=0,n.margin=0})),setTimeout((function(){return t.props.onExited()}),400)}))}},t}jH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onOpen(this.props.children.props),this.props.draggable&&this.bindDragEvents(),this.props.pauseOnFocusLoss&&this.bindFocusEvents()},n.componentDidUpdate=function(e){e.draggable!==this.props.draggable&&(this.props.draggable?this.bindDragEvents():this.unbindDragEvents()),e.pauseOnFocusLoss!==this.props.pauseOnFocusLoss&&(this.props.pauseOnFocusLoss?this.bindFocusEvents():this.unbindFocusEvents())},n.componentWillUnmount=function(){this.props.onClose(this.props.children.props),this.props.draggable&&this.unbindDragEvents(),this.props.pauseOnFocusLoss&&this.unbindFocusEvents()},n.bindFocusEvents=function(){window.addEventListener("focus",this.playToast),window.addEventListener("blur",this.pauseToast)},n.unbindFocusEvents=function(){window.removeEventListener("focus",this.playToast),window.removeEventListener("blur",this.pauseToast)},n.bindDragEvents=function(){document.addEventListener("mousemove",this.onDragMove),document.addEventListener("mouseup",this.onDragEnd),document.addEventListener("touchmove",this.onDragMove),document.addEventListener("touchend",this.onDragEnd)},n.unbindDragEvents=function(){document.removeEventListener("mousemove",this.onDragMove),document.removeEventListener("mouseup",this.onDragEnd),document.removeEventListener("touchmove",this.onDragMove),document.removeEventListener("touchend",this.onDragEnd)},n.render=function(){var e,t=this,n=this.props,r=n.closeButton,i=n.children,a=n.autoClose,s=n.pauseOnHover,u=n.onClick,c=n.closeOnClick,l=n.type,d=n.hideProgressBar,f=n.closeToast,p=n.transition,h=n.position,m=n.className,g=n.bodyClassName,v=n.progressClassName,y=n.progressStyle,b=n.updateId,w=n.role,x=n.progress,_=n.rtl,S={className:hK("Toastify__toast","Toastify__toast--"+l,(e={},e["Toastify__toast--rtl"]=_,e),m)};a&&s&&(S.onMouseEnter=this.pauseToast,S.onMouseLeave=this.playToast),c&&(S.onClick=function(e){u&&u(e),t.flag.canCloseOnClick&&f()});var k=parseFloat(x)===x;return o.createElement(p,{in:this.props.in,appear:!0,onExited:this.onExitTransitionEnd,position:h,preventExitTransition:this.state.preventExitTransition},o.createElement("div",AH({onClick:u},S,{ref:function(e){return t.ref=e},onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseUp:this.onDragTransitionEnd,onTouchEnd:this.onDragTransitionEnd}),o.createElement("div",AH({},this.props.in&&{role:w},{className:hK("Toastify__toast-body",g)}),i),r&&r,(a||k)&&o.createElement(AW,AH({},b&&!k?{key:"pb-"+b}:{},{rtl:_,delay:a,isRunning:this.state.isRunning,closeToast:f,hide:d,type:l,style:y,className:v,controlledProgress:k,progress:x}))))},t}(v);function LW(e){var t=e.closeToast,n=e.type,r=e.ariaLabel;return o.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":r},"✖︎")}RW.propTypes={closeButton:rW.oneOfType([rW.node,rW.bool]).isRequired,autoClose:TW.isRequired,children:rW.node.isRequired,closeToast:rW.func.isRequired,position:rW.oneOf(EW(vW)).isRequired,pauseOnHover:rW.bool.isRequired,pauseOnFocusLoss:rW.bool.isRequired,closeOnClick:rW.bool.isRequired,transition:rW.func.isRequired,rtl:rW.bool.isRequired,hideProgressBar:rW.bool.isRequired,draggable:rW.bool.isRequired,draggablePercent:rW.number.isRequired,in:rW.bool,onExited:rW.func,onOpen:rW.func,onClose:rW.func,type:rW.oneOf(EW(yW)),className:rW.oneOfType([rW.string,rW.object]),bodyClassName:rW.oneOfType([rW.string,rW.object]),progressClassName:rW.oneOfType([rW.string,rW.object]),progressStyle:rW.object,progress:rW.number,updateId:rW.oneOfType([rW.string,rW.number]),ariaLabel:rW.string,containerId:rW.oneOfType([rW.string,rW.number]),role:rW.string},RW.defaultProps={type:yW.DEFAULT,in:!0,onOpen:kW,onClose:kW,className:null,bodyClassName:null,progressClassName:null,updateId:null},LW.propTypes={closeToast:rW.func,arialLabel:rW.string},LW.defaultProps={ariaLabel:"close"};var FW=DW({enter:"Toastify__bounce-enter",exit:"Toastify__bounce-exit",appendPosition:!0}),zW=DW({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit",duration:[450,750],appendPosition:!0});DW({enter:"Toastify__zoom-enter",exit:"Toastify__zoom-exit"}),DW({enter:"Toastify__flip-enter",exit:"Toastify__flip-exit"});var BW=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={toast:[]},t.toastKey=1,t.collection={},t.isToastActive=function(e){return-1!==t.state.toast.indexOf(e)},t}jH(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;NW.cancelEmit(_W).on(bW,(function(t,n){return e.ref?e.buildToast(t,n):null})).on(wW,(function(t){return e.ref?null==t?e.clear():e.removeToast(t):null})).emit(xW,this)},n.componentWillUnmount=function(){NW.emit(_W,this)},n.removeToast=function(e){this.setState({toast:this.state.toast.filter((function(t){return t!==e}))},this.dispatchChange)},n.dispatchChange=function(){NW.emit(SW,this.state.toast.length,this.props.containerId)},n.makeCloseButton=function(e,t,n){var r=this,i=this.props.closeButton;return m(e)||!1===e?i=e:!0===e&&(i=this.props.closeButton&&"boolean"!=typeof this.props.closeButton?this.props.closeButton:o.createElement(LW,null)),!1!==i&&g(i,{closeToast:function(){return r.removeToast(t)},type:n})},n.getAutoCloseDelay=function(e){return!1===e||CW(e)?e:this.props.autoClose},n.canBeRendered=function(e){return m(e)||"string"==typeof e||"number"==typeof e||"function"==typeof e},n.parseClassName=function(e){return"string"==typeof e?e:null!==e&&"object"==typeof e&&"toString"in e?e.toString():null},n.belongToContainer=function(e){return e.containerId===this.props.containerId},n.buildToast=function(e,t){var n=this,r=t.delay,i=PH(t,["delay"]);if(!this.canBeRendered(e))throw new Error("The element you provided cannot be rendered. You provided an element of type "+typeof e);var o=i.toastId,a=i.updateId;if(!(this.props.enableMultiContainer&&!this.belongToContainer(i)||this.isToastActive(o)&&null==a)){var s=function(){return n.removeToast(o)},u={id:o,key:i.key||this.toastKey++,type:i.type,closeToast:s,updateId:i.updateId,rtl:this.props.rtl,position:i.position||this.props.position,transition:i.transition||this.props.transition,className:this.parseClassName(i.className||this.props.toastClassName),bodyClassName:this.parseClassName(i.bodyClassName||this.props.bodyClassName),onClick:i.onClick||this.props.onClick,closeButton:this.makeCloseButton(i.closeButton,o,i.type),pauseOnHover:"boolean"==typeof i.pauseOnHover?i.pauseOnHover:this.props.pauseOnHover,pauseOnFocusLoss:"boolean"==typeof i.pauseOnFocusLoss?i.pauseOnFocusLoss:this.props.pauseOnFocusLoss,draggable:"boolean"==typeof i.draggable?i.draggable:this.props.draggable,draggablePercent:"number"!=typeof i.draggablePercent||isNaN(i.draggablePercent)?this.props.draggablePercent:i.draggablePercent,closeOnClick:"boolean"==typeof i.closeOnClick?i.closeOnClick:this.props.closeOnClick,progressClassName:this.parseClassName(i.progressClassName||this.props.progressClassName),progressStyle:this.props.progressStyle,autoClose:this.getAutoCloseDelay(i.autoClose),hideProgressBar:"boolean"==typeof i.hideProgressBar?i.hideProgressBar:this.props.hideProgressBar,progress:parseFloat(i.progress),role:"string"==typeof i.role?i.role:this.props.role};"function"==typeof i.onOpen&&(u.onOpen=i.onOpen),"function"==typeof i.onClose&&(u.onClose=i.onClose),m(e)&&"string"!=typeof e.type&&"number"!=typeof e.type?e=g(e,{closeToast:s}):"function"==typeof e&&(e=e({closeToast:s})),CW(r)?setTimeout((function(){n.appendToast(u,e,i.staleToastId)}),r):this.appendToast(u,e,i.staleToastId)}},n.appendToast=function(e,t,n){var r,i=e.id,o=e.updateId;this.collection=AH({},this.collection,((r={})[i]={options:e,content:t,position:e.position},r)),this.setState({toast:(o?[].concat(this.state.toast):[].concat(this.state.toast,[i])).filter((function(e){return e!==n}))},this.dispatchChange)},n.clear=function(){this.setState({toast:[]})},n.renderToast=function(){var e=this,t={},n=this.props,r=n.className,i=n.style;return(n.newestOnTop?Object.keys(this.collection).reverse():Object.keys(this.collection)).forEach((function(n){var r=e.collection[n],i=r.position,a=r.options,s=r.content;t[i]||(t[i]=[]),-1!==e.state.toast.indexOf(a.id)?t[i].push(o.createElement(RW,AH({},a,{isDocumentHidden:e.state.isDocumentHidden,key:"toast-"+a.key}),s)):(t[i].push(null),delete e.collection[n])})),Object.keys(t).map((function(n){var a,s=1===t[n].length&&null===t[n][0],u={className:hK("Toastify__toast-container","Toastify__toast-container--"+n,(a={},a["Toastify__toast-container--rtl"]=e.props.rtl,a),e.parseClassName(r)),style:s?AH({},i,{pointerEvents:"none"}):AH({},i)};return o.createElement(gW,AH({},u,{key:"container-"+n}),t[n])}))},n.render=function(){var e=this;return o.createElement("div",{ref:function(t){return e.ref=t},className:"Toastify"},this.renderToast())},t}(v);BW.propTypes={position:rW.oneOf(EW(vW)),autoClose:TW,closeButton:rW.oneOfType([rW.node,rW.bool]),hideProgressBar:rW.bool,pauseOnHover:rW.bool,closeOnClick:rW.bool,newestOnTop:rW.bool,className:rW.oneOfType([rW.string,rW.object]),style:rW.object,toastClassName:rW.oneOfType([rW.string,rW.object]),bodyClassName:rW.oneOfType([rW.string,rW.object]),progressClassName:rW.oneOfType([rW.string,rW.object]),progressStyle:rW.object,transition:rW.func,rtl:rW.bool,draggable:rW.bool,draggablePercent:rW.number,pauseOnFocusLoss:rW.bool,enableMultiContainer:rW.bool,containerId:rW.oneOfType([rW.string,rW.number]),role:rW.string,onClick:rW.func},BW.defaultProps={position:vW.TOP_RIGHT,transition:FW,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:o.createElement(LW,null),pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,className:null,style:null,toastClassName:null,bodyClassName:null,progressClassName:null,progressStyle:null,role:"alert"};var UW=new Map,qW=null,VW=null,KW={},HW=[],WW=!1;function GW(){return UW.size>0}function YW(e,t){var n=function(e){return GW()?e?UW.get(e):UW.get(qW):null}(t.containerId);if(!n)return null;var r=n.collection[e];return void 0===r?null:r}function QW(e,t){return AH({},e,{type:t,toastId:JW(e)})}function $W(){return(Math.random().toString(36)+Date.now().toString(36)).substr(2,10)}function JW(e){return e&&("string"==typeof e.toastId||"number"==typeof e.toastId&&!isNaN(e.toastId))?e.toastId:$W()}function ZW(e,t){return GW()?NW.emit(bW,e,t):(HW.push({action:bW,content:e,options:t}),WW&&IW&&(WW=!1,VW=document.createElement("div"),document.body.appendChild(VW),je(o.createElement(BW,KW),VW))),t.toastId}var XW=function(e,t){return ZW(e,QW(t,t&&t.type||yW.DEFAULT))},eG=function(e){yW[e]!==yW.DEFAULT&&(XW[yW[e].toLowerCase()]=function(t,n){return ZW(t,QW(n,n&&n.type||yW[e]))})};for(var tG in yW)eG(tG);function nG(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}XW.warn=XW.warning,XW.dismiss=function(e){return void 0===e&&(e=null),GW()&&NW.emit(wW,e)},XW.isActive=function(e){var t=!1;return UW.size>0&&UW.forEach((function(n){n.isToastActive(e)&&(t=!0)})),t},XW.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var n=YW(e,t);if(n){var r=n.options,i=n.content,o=AH({},r,{},t,{toastId:t.toastId||e});t.toastId&&t.toastId!==e?o.staleToastId=e:o.updateId=$W();var a=void 0!==o.render?o.render:i;delete o.render,ZW(a,o)}}),0)},XW.done=function(e){XW.update(e,{progress:1})},XW.onChange=function(e){"function"==typeof e&&NW.on(SW,e)},XW.configure=function(e){WW=!0,KW=e},XW.POSITION=vW,XW.TYPE=yW,NW.on(xW,(function(e){qW=e.props.containerId||e,UW.set(qW,e),HW.forEach((function(e){NW.emit(e.action,e.content,e.options)})),HW=[]})).on(_W,(function(e){e?UW.delete(e.props.containerId||e):UW.clear(),0===UW.size&&NW.off(bW).off(wW),IW&&VW&&document.body.removeChild(VW)}));nG(".Toastify__toast-container{z-index:9999;-webkit-transform:translateZ(9999px);position:fixed;padding:4px;width:320px;box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;margin-left:-160px}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;margin-left:-160px}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0}.Toastify__toast-container--rtl{right:0;left:auto}}.Toastify__toast{position:relative;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:1px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);display:flex;justify-content:space-between;max-height:800px;overflow:hidden;font-family:sans-serif;cursor:pointer;direction:ltr}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--default{background:#fff;color:#aaa}.Toastify__toast--info{background:#3498db}.Toastify__toast--success{background:#07bc0c}.Toastify__toast--warning{background:#f1c40f}.Toastify__toast--error{background:#e74c3c}.Toastify__toast-body{margin:auto 0;flex:1}@media only screen and (max-width:480px){.Toastify__toast{margin-bottom:0}}.Toastify__close-button{color:#fff;font-weight:700;font-size:14px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start}.Toastify__close-button--default{color:#000;opacity:.3}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@-webkit-keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:9999;opacity:.7;background-color:hsla(0,0%,100%,.7);transform-origin:left}.Toastify__progress-bar--animated{-webkit-animation:Toastify__trackProgress linear 1 forwards;animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:auto;transform-origin:right}.Toastify__progress-bar--default{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55)}@-webkit-keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@-webkit-keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{-webkit-animation-name:Toastify__bounceInLeft;animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{-webkit-animation-name:Toastify__bounceInRight;animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{-webkit-animation-name:Toastify__bounceInDown;animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{-webkit-animation-name:Toastify__bounceInUp;animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{-webkit-animation-name:Toastify__bounceOutLeft;animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{-webkit-animation-name:Toastify__bounceOutRight;animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{-webkit-animation-name:Toastify__bounceOutUp;animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{-webkit-animation-name:Toastify__bounceOutDown;animation-name:Toastify__bounceOutDown}@-webkit-keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{-webkit-animation-name:Toastify__zoomIn;animation-name:Toastify__zoomIn}.Toastify__zoom-exit{-webkit-animation-name:Toastify__zoomOut;animation-name:Toastify__zoomOut}@-webkit-keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@-webkit-keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{-webkit-animation-name:Toastify__flipIn;animation-name:Toastify__flipIn}.Toastify__flip-exit{-webkit-animation-name:Toastify__flipOut;animation-name:Toastify__flipOut}@-webkit-keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@-webkit-keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@-webkit-keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@-webkit-keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{-webkit-animation-name:Toastify__slideInLeft;animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{-webkit-animation-name:Toastify__slideInRight;animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{-webkit-animation-name:Toastify__slideInDown;animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{-webkit-animation-name:Toastify__slideInUp;animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{-webkit-animation-name:Toastify__slideOutLeft;animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{-webkit-animation-name:Toastify__slideOutRight;animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{-webkit-animation-name:Toastify__slideOutUp;animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{-webkit-animation-name:Toastify__slideOutDown;animation-name:Toastify__slideOutDown}");var rG=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new iG(e,this.selector,this.caught))},e}(),iG=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return Aa(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var r=new sH(this,void 0,void 0);this.add(r),pH(this,n,void 0,void 0,r)}},t}(aH);function oG(e,t){return void 0===t&&(t=tH),function(n){return n.lift(new aG(e,t))}}var aG=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new sG(e,this.dueTime,this.scheduler))},e}(),sG=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return Aa(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(uG,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(IK);function uG(e){e.debouncedNext()}var cG=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i},e}();function lG(){return new LK}function dG(e,t){return"function"==typeof t?function(n){return n.pipe(dG((function(n,r){return mH(e(n,r)).pipe(rH((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new fG(e))}}var fG=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new pG(e,this.project))},e}(),pG=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return Aa(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new sH(this,void 0,void 0);this.destination.add(i),this.innerSubscription=pH(this,e,t,n,i)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t}(aH);var hG=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new mG(e,this.nextOrObserver,this.error,this.complete))},e}(),mG=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._tapNext=NK,o._tapError=NK,o._tapComplete=NK,o._tapError=r||NK,o._tapComplete=i||NK,mK(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||NK,o._tapError=n.error||NK,o._tapComplete=n.complete||NK),o}return Aa(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(IK),gG=function(e,t){return gG=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},gG(e,t)};var vG=function(){return vG=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},vG.apply(this,arguments)};function yG(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function bG(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function wG(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function xG(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function _G(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var SG,kG,CG,EG=ke(SG||(SG=_G(["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"],["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),IG=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},OG=ke(kG||(kG=_G(["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n"],["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n"])),(function(e){return e.theme.textColors.default})),TG=hK(["browser-version-"+ev,"browser-name-"+Xg],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(CG||(CG={}));function NG(){var e=JC();return u((function(){return{getLocalLanguage:function(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){switch(t.label){case 0:return[4,e.getString("Language")];case 1:return[2,j_(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.setString("Language",t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.setString("Locale",t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){return[2,e.getString("Locale")]}))}))}}}),[e])}var DG="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},AG=function(e){return e&&e.Math==Math&&e},PG=AG("object"==typeof globalThis&&globalThis)||AG("object"==typeof window&&window)||AG("object"==typeof self&&self)||AG("object"==typeof DG&&DG)||Function("return this")(),MG={},jG=function(e){try{return!!e()}catch(e){return!0}},RG=!jG((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),LG={},FG={}.propertyIsEnumerable,zG=Object.getOwnPropertyDescriptor,BG=zG&&!FG.call({1:2},1);LG.f=BG?function(e){var t=zG(this,e);return!!t&&t.enumerable}:FG;var UG=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},qG={}.toString,VG=function(e){return qG.call(e).slice(8,-1)},KG=VG,HG="".split,WG=jG((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==KG(e)?HG.call(e,""):Object(e)}:Object,GG=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},YG=WG,QG=GG,$G=function(e){return YG(QG(e))},JG=function(e){return"object"==typeof e?null!==e:"function"==typeof e},ZG=JG,XG=function(e,t){if(!ZG(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!ZG(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!ZG(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!ZG(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},eY={}.hasOwnProperty,tY=function(e,t){return eY.call(e,t)},nY=JG,rY=PG.document,iY=nY(rY)&&nY(rY.createElement),oY=function(e){return iY?rY.createElement(e):{}},aY=oY,sY=!RG&&!jG((function(){return 7!=Object.defineProperty(aY("div"),"a",{get:function(){return 7}}).a})),uY=RG,cY=LG,lY=UG,dY=$G,fY=XG,pY=tY,hY=sY,mY=Object.getOwnPropertyDescriptor;MG.f=uY?mY:function(e,t){if(e=dY(e),t=fY(t,!0),hY)try{return mY(e,t)}catch(e){}if(pY(e,t))return lY(!cY.f.call(e,t),e[t])};var gY={},vY=JG,yY=function(e){if(!vY(e))throw TypeError(String(e)+" is not an object");return e},bY=RG,wY=sY,xY=yY,_Y=XG,SY=Object.defineProperty;gY.f=bY?SY:function(e,t,n){if(xY(e),t=_Y(t,!0),xY(n),wY)try{return SY(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var kY=gY,CY=UG,EY=RG?function(e,t,n){return kY.f(e,t,CY(1,n))}:function(e,t,n){return e[t]=n,e},IY={exports:{}},OY=PG,TY=EY,NY=function(e,t){try{TY(OY,e,t)}catch(n){OY[e]=t}return t},DY=NY,AY=PG["__core-js_shared__"]||DY("__core-js_shared__",{}),PY=AY,MY=Function.toString;"function"!=typeof PY.inspectSource&&(PY.inspectSource=function(e){return MY.call(e)});var jY=PY.inspectSource,RY=jY,LY=PG.WeakMap,FY="function"==typeof LY&&/native code/.test(RY(LY)),zY={exports:{}},BY=AY;(zY.exports=function(e,t){return BY[e]||(BY[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var UY,qY,VY,KY=0,HY=Math.random(),WY=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++KY+HY).toString(36)},GY=zY.exports,YY=WY,QY=GY("keys"),$Y=function(e){return QY[e]||(QY[e]=YY(e))},JY={},ZY=FY,XY=JG,eQ=EY,tQ=tY,nQ=$Y,rQ=JY,iQ=PG.WeakMap;if(ZY){var oQ=new iQ,aQ=oQ.get,sQ=oQ.has,uQ=oQ.set;UY=function(e,t){return uQ.call(oQ,e,t),t},qY=function(e){return aQ.call(oQ,e)||{}},VY=function(e){return sQ.call(oQ,e)}}else{var cQ=nQ("state");rQ[cQ]=!0,UY=function(e,t){return eQ(e,cQ,t),t},qY=function(e){return tQ(e,cQ)?e[cQ]:{}},VY=function(e){return tQ(e,cQ)}}var lQ={set:UY,get:qY,has:VY,enforce:function(e){return VY(e)?qY(e):UY(e,{})},getterFor:function(e){return function(t){var n;if(!XY(t)||(n=qY(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},dQ=PG,fQ=EY,pQ=tY,hQ=NY,mQ=jY,gQ=lQ.get,vQ=lQ.enforce,yQ=String(String).split("String");(IY.exports=function(e,t,n,r){var i=!!r&&!!r.unsafe,o=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||pQ(n,"name")||fQ(n,"name",t),vQ(n).source=yQ.join("string"==typeof t?t:"")),e!==dQ?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:fQ(e,t,n)):o?e[t]=n:hQ(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&gQ(this).source||mQ(this)}));var bQ=PG,wQ=PG,xQ=function(e){return"function"==typeof e?e:void 0},_Q=function(e,t){return arguments.length<2?xQ(bQ[e])||xQ(wQ[e]):bQ[e]&&bQ[e][t]||wQ[e]&&wQ[e][t]},SQ={},kQ=Math.ceil,CQ=Math.floor,EQ=function(e){return isNaN(e=+e)?0:(e>0?CQ:kQ)(e)},IQ=EQ,OQ=Math.min,TQ=function(e){return e>0?OQ(IQ(e),9007199254740991):0},NQ=EQ,DQ=Math.max,AQ=Math.min,PQ=$G,MQ=TQ,jQ=function(e,t){var n=NQ(e);return n<0?DQ(n+t,0):AQ(n,t)},RQ=function(e){return function(t,n,r){var i,o=PQ(t),a=MQ(o.length),s=jQ(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},LQ={includes:RQ(!0),indexOf:RQ(!1)},FQ=tY,zQ=$G,BQ=LQ.indexOf,UQ=JY,qQ=function(e,t){var n,r=zQ(e),i=0,o=[];for(n in r)!FQ(UQ,n)&&FQ(r,n)&&o.push(n);for(;t.length>i;)FQ(r,n=t[i++])&&(~BQ(o,n)||o.push(n));return o},VQ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],KQ=qQ,HQ=VQ.concat("length","prototype");SQ.f=Object.getOwnPropertyNames||function(e){return KQ(e,HQ)};var WQ={};WQ.f=Object.getOwnPropertySymbols;var GQ=SQ,YQ=WQ,QQ=yY,$Q=_Q("Reflect","ownKeys")||function(e){var t=GQ.f(QQ(e)),n=YQ.f;return n?t.concat(n(e)):t},JQ=tY,ZQ=$Q,XQ=MG,e$=gY,t$=jG,n$=/#|\.prototype\./,r$=function(e,t){var n=o$[i$(e)];return n==s$||n!=a$&&("function"==typeof t?t$(t):!!t)},i$=r$.normalize=function(e){return String(e).replace(n$,".").toLowerCase()},o$=r$.data={},a$=r$.NATIVE="N",s$=r$.POLYFILL="P",u$=r$,c$=PG,l$=MG.f,d$=EY,f$=IY.exports,p$=NY,h$=function(e,t){for(var n=ZQ(t),r=e$.f,i=XQ.f,o=0;o<n.length;o++){var a=n[o];JQ(e,a)||r(e,a,i(t,a))}},m$=u$,g$=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,c=e.stat;if(n=u?c$:c?c$[s]||p$(s,{}):(c$[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=l$(n,r))&&a.value:n[r],!m$(u?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;h$(o,i)}(e.sham||i&&i.sham)&&d$(o,"sham",!0),f$(n,r,o,e)}},v$=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},y$=GG,b$=function(e){return Object(y$(e))},w$=v$,x$=b$,_$=WG,S$=TQ,k$=function(e){return function(t,n,r,i){w$(n);var o=x$(t),a=_$(o),s=S$(o.length),u=e?s-1:0,c=e?-1:1;if(r<2)for(;;){if(u in a){i=a[u],u+=c;break}if(u+=c,e?u<0:s<=u)throw TypeError("Reduce of empty array with no initial value")}for(;e?u>=0:s>u;u+=c)u in a&&(i=n(i,a[u],u,o));return i}},C$={left:k$(!1),right:k$(!0)},E$=jG,I$=function(e,t){var n=[][e];return!!n&&E$((function(){n.call(null,t||function(){throw 1},1)}))},O$=RG,T$=jG,N$=tY,D$=Object.defineProperty,A$={},P$=function(e){throw e},M$=g$,j$=C$.left,R$=function(e,t){if(N$(A$,e))return A$[e];t||(t={});var n=[][e],r=!!N$(t,"ACCESSORS")&&t.ACCESSORS,i=N$(t,0)?t[0]:P$,o=N$(t,1)?t[1]:void 0;return A$[e]=!!n&&!T$((function(){if(r&&!O$)return!0;var e={length:-1};r?D$(e,1,{enumerable:!0,get:P$}):e[1]=1,n.call(e,i,o)}))},L$=I$("reduce"),F$=R$("reduce",{1:0});M$({target:"Array",proto:!0,forced:!L$||!F$},{reduce:function(e){return j$(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var z$=PG.Promise,B$=IY.exports,U$=jG,q$=!!Object.getOwnPropertySymbols&&!U$((function(){return!String(Symbol())})),V$=q$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K$=PG,H$=zY.exports,W$=tY,G$=WY,Y$=q$,Q$=V$,$$=H$("wks"),J$=K$.Symbol,Z$=Q$?J$:J$&&J$.withoutSetter||G$,X$=function(e){return W$($$,e)||(Y$&&W$(J$,e)?$$[e]=J$[e]:$$[e]=Z$("Symbol."+e)),$$[e]},eJ=gY.f,tJ=tY,nJ=X$("toStringTag"),rJ=function(e,t,n){e&&!tJ(e=n?e:e.prototype,nJ)&&eJ(e,nJ,{configurable:!0,value:t})},iJ=_Q,oJ=gY,aJ=RG,sJ=X$("species"),uJ={exports:{}},cJ={},lJ=cJ,dJ=X$("iterator"),fJ=Array.prototype,pJ=v$,hJ=function(e,t,n){if(pJ(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},mJ={};mJ[X$("toStringTag")]="z";var gJ="[object z]"===String(mJ),vJ=VG,yJ=X$("toStringTag"),bJ="Arguments"==vJ(function(){return arguments}()),wJ=gJ?vJ:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),yJ))?n:bJ?vJ(t):"Object"==(r=vJ(t))&&"function"==typeof t.callee?"Arguments":r},xJ=wJ,_J=cJ,SJ=X$("iterator"),kJ=yY,CJ=yY,EJ=function(e){return void 0!==e&&(lJ.Array===e||fJ[dJ]===e)},IJ=TQ,OJ=hJ,TJ=function(e){if(null!=e)return e[SJ]||e["@@iterator"]||_J[xJ(e)]},NJ=function(e,t,n,r){try{return r?t(kJ(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&kJ(i.call(e)),t}},DJ=function(e,t){this.stopped=e,this.result=t},AJ=uJ.exports=function(e,t,n,r,i){var o,a,s,u,c,l,d,f=OJ(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=TJ(e)))throw TypeError("Target is not iterable");if(EJ(a)){for(s=0,u=IJ(e.length);u>s;s++)if((c=r?f(CJ(d=e[s])[0],d[1]):f(e[s]))&&c instanceof DJ)return c;return new DJ(!1)}o=a.call(e)}for(l=o.next;!(d=l.call(o)).done;)if("object"==typeof(c=NJ(o,f,d.value,r))&&c&&c instanceof DJ)return c;return new DJ(!1)};AJ.stop=function(e){return new DJ(!0,e)};var PJ=X$("iterator"),MJ=!1;try{var jJ=0,RJ={next:function(){return{done:!!jJ++}},return:function(){MJ=!0}};RJ[PJ]=function(){return this},Array.from(RJ,(function(){throw 2}))}catch(e){}var LJ,FJ,zJ,BJ=yY,UJ=v$,qJ=X$("species"),VJ=function(e,t){var n,r=BJ(e).constructor;return void 0===r||null==(n=BJ(r)[qJ])?t:UJ(n)},KJ=_Q("document","documentElement"),HJ=_Q("navigator","userAgent")||"",WJ=/(iphone|ipod|ipad).*applewebkit/i.test(HJ),GJ=PG,YJ=jG,QJ=VG,$J=hJ,JJ=KJ,ZJ=oY,XJ=WJ,eZ=GJ.location,tZ=GJ.setImmediate,nZ=GJ.clearImmediate,rZ=GJ.process,iZ=GJ.MessageChannel,oZ=GJ.Dispatch,aZ=0,sZ={},uZ=function(e){if(sZ.hasOwnProperty(e)){var t=sZ[e];delete sZ[e],t()}},cZ=function(e){return function(){uZ(e)}},lZ=function(e){uZ(e.data)},dZ=function(e){GJ.postMessage(e+"",eZ.protocol+"//"+eZ.host)};tZ&&nZ||(tZ=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return sZ[++aZ]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},LJ(aZ),aZ},nZ=function(e){delete sZ[e]},"process"==QJ(rZ)?LJ=function(e){rZ.nextTick(cZ(e))}:oZ&&oZ.now?LJ=function(e){oZ.now(cZ(e))}:iZ&&!XJ?(zJ=(FJ=new iZ).port2,FJ.port1.onmessage=lZ,LJ=$J(zJ.postMessage,zJ,1)):!GJ.addEventListener||"function"!=typeof postMessage||GJ.importScripts||YJ(dZ)||"file:"===eZ.protocol?LJ="onreadystatechange"in ZJ("script")?function(e){JJ.appendChild(ZJ("script")).onreadystatechange=function(){JJ.removeChild(this),uZ(e)}}:function(e){setTimeout(cZ(e),0)}:(LJ=dZ,GJ.addEventListener("message",lZ,!1)));var fZ,pZ,hZ,mZ,gZ,vZ,yZ,bZ,wZ={set:tZ,clear:nZ},xZ=PG,_Z=MG.f,SZ=VG,kZ=wZ.set,CZ=WJ,EZ=xZ.MutationObserver||xZ.WebKitMutationObserver,IZ=xZ.process,OZ=xZ.Promise,TZ="process"==SZ(IZ),NZ=_Z(xZ,"queueMicrotask"),DZ=NZ&&NZ.value;DZ||(fZ=function(){var e,t;for(TZ&&(e=IZ.domain)&&e.exit();pZ;){t=pZ.fn,pZ=pZ.next;try{t()}catch(e){throw pZ?mZ():hZ=void 0,e}}hZ=void 0,e&&e.enter()},TZ?mZ=function(){IZ.nextTick(fZ)}:EZ&&!CZ?(gZ=!0,vZ=document.createTextNode(""),new EZ(fZ).observe(vZ,{characterData:!0}),mZ=function(){vZ.data=gZ=!gZ}):OZ&&OZ.resolve?(yZ=OZ.resolve(void 0),bZ=yZ.then,mZ=function(){bZ.call(yZ,fZ)}):mZ=function(){kZ.call(xZ,fZ)});var AZ=DZ||function(e){var t={fn:e,next:void 0};hZ&&(hZ.next=t),pZ||(pZ=t,mZ()),hZ=t},PZ={},MZ=v$,jZ=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=MZ(t),this.reject=MZ(n)};PZ.f=function(e){return new jZ(e)};var RZ,LZ,FZ=yY,zZ=JG,BZ=PZ,UZ=PG,qZ=HJ,VZ=PG.process,KZ=VZ&&VZ.versions,HZ=KZ&&KZ.v8;HZ?LZ=(RZ=HZ.split("."))[0]+RZ[1]:qZ&&(!(RZ=qZ.match(/Edge\/(\d+)/))||RZ[1]>=74)&&(RZ=qZ.match(/Chrome\/(\d+)/))&&(LZ=RZ[1]);var WZ,GZ,YZ,QZ,$Z=LZ&&+LZ,JZ=g$,ZZ=PG,XZ=_Q,eX=z$,tX=IY.exports,nX=function(e,t,n){for(var r in t)B$(e,r,t[r],n);return e},rX=rJ,iX=function(e){var t=iJ(e),n=oJ.f;aJ&&t&&!t[sJ]&&n(t,sJ,{configurable:!0,get:function(){return this}})},oX=JG,aX=v$,sX=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},uX=VG,cX=jY,lX=uJ.exports,dX=function(e,t){if(!t&&!MJ)return!1;var n=!1;try{var r={};r[PJ]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},fX=VJ,pX=wZ.set,hX=AZ,mX=function(e,t){if(FZ(e),zZ(t)&&t.constructor===e)return t;var n=BZ.f(e);return(0,n.resolve)(t),n.promise},gX=function(e,t){var n=UZ.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},vX=PZ,yX=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},bX=lQ,wX=u$,xX=$Z,_X=X$("species"),SX=bX.get,kX=bX.set,CX=bX.getterFor("Promise"),EX=eX,IX=ZZ.TypeError,OX=ZZ.document,TX=ZZ.process,NX=XZ("fetch"),DX=vX.f,AX=DX,PX="process"==uX(TX),MX=!!(OX&&OX.createEvent&&ZZ.dispatchEvent),jX=wX("Promise",(function(){if(!(cX(EX)!==String(EX))){if(66===xX)return!0;if(!PX&&"function"!=typeof PromiseRejectionEvent)return!0}if(xX>=51&&/native code/.test(EX))return!1;var e=EX.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[_X]=t,!(e.then((function(){}))instanceof t)})),RX=jX||!dX((function(e){EX.all(e).catch((function(){}))})),LX=function(e){var t;return!(!oX(e)||"function"!=typeof(t=e.then))&&t},FX=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;hX((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,u,c,l=r[a++],d=o?l.ok:l.fail,f=l.resolve,p=l.reject,h=l.domain;try{d?(o||(2===t.rejection&&qX(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),c=!0)),s===l.promise?p(IX("Promise-chain cycle")):(u=LX(s))?u.call(s,f,p):f(s)):p(i)}catch(e){h&&!c&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&BX(e,t)}))}},zX=function(e,t,n){var r,i;MX?((r=OX.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),ZZ.dispatchEvent(r)):r={promise:t,reason:n},(i=ZZ["on"+e])?i(r):"unhandledrejection"===e&&gX("Unhandled promise rejection",n)},BX=function(e,t){pX.call(ZZ,(function(){var n,r=t.value;if(UX(t)&&(n=yX((function(){PX?TX.emit("unhandledRejection",r,e):zX("unhandledrejection",e,r)})),t.rejection=PX||UX(t)?2:1,n.error))throw n.value}))},UX=function(e){return 1!==e.rejection&&!e.parent},qX=function(e,t){pX.call(ZZ,(function(){PX?TX.emit("rejectionHandled",e):zX("rejectionhandled",e,t.value)}))},VX=function(e,t,n,r){return function(i){e(t,n,i,r)}},KX=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,FX(e,t,!0))},HX=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw IX("Promise can't be resolved itself");var i=LX(n);i?hX((function(){var r={done:!1};try{i.call(n,VX(HX,e,r,t),VX(KX,e,r,t))}catch(n){KX(e,r,n,t)}})):(t.value=n,t.state=1,FX(e,t,!1))}catch(n){KX(e,{done:!1},n,t)}}};function WX(e){switch(null==e?void 0:e.toLowerCase()){case"da":return import("./da.async.esm.esm.js");case"de":return import("./de.async.esm.esm.js");case"fr":return import("./fr.async.esm.esm.js");case"es":return import("./es.async.esm.esm.js");case"zh-tw":return import("./zh-TW.async.esm.esm.js");case"zh-cn":return import("./zh-CN.async.esm.esm.js");case"ja":return import("./ja.async.esm.esm.js");case"tr":return import("./tr.async.esm.esm.js");case"it":return import("./it.async.esm.esm.js");default:return import("./en.async.esm.esm.js")}}function GX(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return import("./ar-dz.async.esm.esm.js");case"ar-kw":return import("./ar-kw.async.esm.esm.js");case"ar-ly":return import("./ar-ly.async.esm.esm.js");case"ar-ma":return import("./ar-ma.async.esm.esm.js");case"ar-sa":return import("./ar-sa.async.esm.esm.js");case"ar-tn":return import("./ar-tn.async.esm.esm.js");case"ar":return import("./ar.async.esm.esm.js");case"bg":return import("./bg.async.esm.esm.js");case"bn":return import("./bn.async.esm.esm.js");case"ca":return import("./ca.async.esm.esm.js");case"cs":return import("./cs.async.esm.esm.js");case"da":return import("./da.async.esm2.esm.js");case"de-at":return import("./de-at.async.esm.esm.js");case"de-ch":return import("./de-ch.async.esm.esm.js");case"de":return import("./de.async.esm2.esm.js");case"el":return import("./el.async.esm.esm.js");case"en-au":return import("./en-au.async.esm.esm.js");case"en-ca":return import("./en-ca.async.esm.esm.js");case"en-gb":return import("./en-gb.async.esm.esm.js");case"en-ie":return import("./en-ie.async.esm.esm.js");case"en-il":return import("./en-il.async.esm.esm.js");case"en-nz":return import("./en-nz.async.esm.esm.js");case"en-sg":return import("./en-sg.async.esm.esm.js");case"es-do":return import("./es-do.async.esm.esm.js");case"es-us":return import("./es-us.async.esm.esm.js");case"es":return import("./es.async.esm2.esm.js");case"et":return import("./et.async.esm.esm.js");case"fa":return import("./fa.async.esm.esm.js");case"fi":return import("./fi.async.esm.esm.js");case"fr-ca":return import("./fr-ca.async.esm.esm.js");case"fr-ch":return import("./fr-ch.async.esm.esm.js");case"fr":return import("./fr.async.esm2.esm.js");case"gu":return import("./gu.async.esm.esm.js");case"he":return import("./he.async.esm.esm.js");case"hi":return import("./hi.async.esm.esm.js");case"hr":return import("./hr.async.esm.esm.js");case"hu":return import("./hu.async.esm.esm.js");case"id":return import("./id.async.esm.esm.js");case"it-ch":return import("./it-ch.async.esm.esm.js");case"it":return import("./it.async.esm2.esm.js");case"ja":return import("./ja.async.esm2.esm.js");case"kn":return import("./kn.async.esm.esm.js");case"ko":return import("./ko.async.esm.esm.js");case"lt":return import("./lt.async.esm.esm.js");case"lv":return import("./lv.async.esm.esm.js");case"ml":return import("./ml.async.esm.esm.js");case"mr":return import("./mr.async.esm.esm.js");case"ms-my":return import("./ms-my.async.esm.esm.js");case"ms":return import("./ms.async.esm.esm.js");case"nb":return import("./nb.async.esm.esm.js");case"nl-be":return import("./nl-be.async.esm.esm.js");case"nl":return import("./nl.async.esm.esm.js");case"pl":return import("./pl.async.esm.esm.js");case"pt-br":return import("./pt-br.async.esm.esm.js");case"pt":return import("./pt.async.esm.esm.js");case"ro":return import("./ro.async.esm.esm.js");case"ru":return import("./ru.async.esm.esm.js");case"sk":return import("./sk.async.esm.esm.js");case"sl":return import("./sl.async.esm.esm.js");case"sr-cyrl":return import("./sr-cyrl.async.esm.esm.js");case"sr":return import("./sr.async.esm.esm.js");case"sv":return import("./sv.async.esm.esm.js");case"sw":return import("./sw.async.esm.esm.js");case"ta":return import("./ta.async.esm.esm.js");case"te":return import("./te.async.esm.esm.js");case"th":return import("./th.async.esm.esm.js");case"tr":return import("./tr.async.esm2.esm.js");case"uk":return import("./uk.async.esm.esm.js");case"vi":return import("./vi.async.esm.esm.js");case"zh-cn":return import("./zh-cn.async.esm2.esm.js");case"zh-hk":return import("./zh-hk.async.esm.esm.js");case"zh-tw":return import("./zh-tw.async.esm2.esm.js");default:return Promise.resolve()}}jX&&(EX=function(e){sX(this,EX,"Promise"),aX(e),WZ.call(this);var t=SX(this);try{e(VX(HX,this,t),VX(KX,this,t))}catch(e){KX(this,t,e)}},(WZ=function(e){kX(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=nX(EX.prototype,{then:function(e,t){var n=CX(this),r=DX(fX(this,EX));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=PX?TX.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&FX(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),GZ=function(){var e=new WZ,t=SX(e);this.promise=e,this.resolve=VX(HX,e,t),this.reject=VX(KX,e,t)},vX.f=DX=function(e){return e===EX||e===YZ?new GZ(e):AX(e)},"function"==typeof eX&&(QZ=eX.prototype.then,tX(eX.prototype,"then",(function(e,t){var n=this;return new EX((function(e,t){QZ.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof NX&&JZ({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return mX(EX,NX.apply(ZZ,arguments))}}))),JZ({global:!0,wrap:!0,forced:jX},{Promise:EX}),rX(EX,"Promise",!1),iX("Promise"),YZ=XZ("Promise"),JZ({target:"Promise",stat:!0,forced:jX},{reject:function(e){var t=DX(this);return t.reject.call(void 0,e),t.promise}}),JZ({target:"Promise",stat:!0,forced:jX},{resolve:function(e){return mX(this,e)}}),JZ({target:"Promise",stat:!0,forced:RX},{all:function(e){var t=this,n=DX(t),r=n.resolve,i=n.reject,o=yX((function(){var n=aX(t.resolve),o=[],a=0,s=1;lX(e,(function(e){var u=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[u]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=DX(t),r=n.reject,i=yX((function(){var i=aX(t.resolve);lX(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var YX=function(t){var n,r=t.children,i=t.language,o=d(null),a=o[0],s=o[1],u=NG(),c=u.getLocalLanguage,f=u.getLocaleFromLocalStorage;return l((function(){(function(){return bG(this,void 0,void 0,(function(){var e,t,n;return wG(this,(function(r){switch(r.label){case 0:return[4,f()];case 1:return e=r.sent(),t=p,null==i?[3,2]:(n=i,[3,4]);case 2:return[4,c()];case 3:n=r.sent(),r.label=4;case 4:return[4,t.apply(void 0,[n,e])];case 5:return r.sent(),[2]}}))}))})().then((function(){return null}),Qg.error)}),[]),(null===(n=null==a?void 0:a.resources)||void 0===n?void 0:n[a.language])?e(rE.Provider,vG({value:{language:a.language,changeLocale:function(e){return function(e,t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,QX(e||t)];case 1:return n.sent(),s((function(t){return vG(vG({},t),{locale:e})})),[2]}}))}))}(e,a.language)},changeLanguage:function(e){return bG(this,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:return[4,h(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),a.locale?[3,3]:[4,QX(e)];case 2:n.sent(),n.label=3;case 3:return s((function(n){return vG(vG({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:p,addResources:function(e){s((function(t){var n=Object.keys(e).reduce((function(n,r){var i;return(i={})[r]=vG(vG(vG({},n),t.resources[r]),e[r]),i}),{});return vG(vG({},t),{resources:vG(vG({},t.resources),n)})}))}}},{children:e(MC,vG({locale:a.locale||a.language,messages:a.resources[a.language]},{children:e(nE,{children:r},void 0)}),void 0)}),void 0):null;function p(e,t){return bG(this,void 0,void 0,(function(){var n;return wG(this,(function(r){switch(r.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==a?void 0:a.language)===e&&(null==a?void 0:a.locale)===t?[2]:[4,h(e)];case 1:return n=r.sent(),[4,QX(t||e)];case 2:return r.sent(),s({language:e,locale:t,resources:n}),[2]}}))}))}function h(e){return bG(this,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,m(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),Qg.error(t),[2,null];case 3:return[2]}}))}))}function m(e){var t;return bG(this,void 0,void 0,(function(){var n,r,i;return wG(this,(function(o){switch(o.label){case 0:if(null==e)return[2,null];if(null===(t=null==a?void 0:a.resources)||void 0===t?void 0:t[e])return[2,a.resources];o.label=1;case 1:return o.trys.push([1,3,,4]),e=e.toLowerCase(),n=g,r=[e],[4,WX(e)];case 2:return[2,n.apply(void 0,r.concat([o.sent().default]))];case 3:return i=o.sent(),Qg.error(i),[2,{}];case 4:return[2]}}))}))}function g(e,t){var n,r,i,o=window.__localeResourcesInterceptor||{};return vG(vG(vG({},null!==(i=null==a?void 0:a.resources)&&void 0!==i?i:{}),((n={})[e]=t,n)),o[e]&&((r={})[e]=o[e],r))}};function QX(e){return bG(this,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:if(!e)return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,GX(e)];case 2:return n.sent(),fu.locale(e),[3,4];case 3:return t=n.sent(),Qg.error(t),[3,4];case 4:return[2]}}))}))}var $X,JX,ZX,XX,e0,t0,n0,r0,i0,o0,a0,s0,u0,c0=["news","comments","multiLanguage","keywords","pushNotifications","mailNotification","teamsNotifications","themes","webHooks","reporting","likes","confirmation","customLogo","customName","avatars","manualChannelSubscription","bannerImages","bannerVideos","editorInlineFiles","editorInlineImages","editorInlineGallery","editorInlineVideos","editorInlineMarkup","editorInlineTable","editorInlineContact","expiryDate","onBehalfOf","editorConversations","targetAudienceRules","unreadTracking","editorInlineQuotes","selfRegistration","people","posts","newsAlerts","pages","inPageNavigation","automaticTranslation","polls","events","teams","userInvitation","languageDetection","postKeywords","hyperfish","canva","allowUserImpersonation","directoryGroupMemberCaching","inAppBrowser","externalNews","termsAndConditions","chat","recurringEvents","publicAccess","allowUserPropertiesUpdate","showMyNews","allowToUnpinMandatoryChannels","allowToReorderMandatoryChannels","useDirectoryUserPropertiesForTargetAudience","giphy","replyToComments","enableUserflow","reportingPreview","preventContentRedirectForBrandedApps","browserPushNotifications","contentHeadline","popularNewsReport","notificationFeed","unsplash","externalPages","showLikers","pageDocuments","unifiedPostView","stream","showAllNews","customFavicon","editorPreview","editorAutomaticTranslation","editorYouTubeVideos","editorVimeoVideos","editorKalturaVideos","editorMicrosoftVideos","searchEverywhere","zendesk","gettyImages"],l0=function(){},d0=s(null);function f0(){return a(d0)}function p0(){var e=a(d0);return null==e?void 0:e.user}function h0(){var e=p0();return function(e){var t,n=new l0;if(!e)return n;for(var r=0;r<c0.length;r++){var i=c0[r];e.featureMask?n[i]="1"===e.featureMask[r]:n[i]=!(null===(t=e.disabledFeatures)||void 0===t?void 0:t[i])}return n}(null==e?void 0:e.subscription)}!function(e){e[e.User=1]="User",e[e.Group=2]="Group"}($X||($X={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(JX||(JX={})),function(e){e.large="large",e.small="small"}(ZX||(ZX={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(XX||(XX={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(e0||(e0={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(t0||(t0={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(n0||(n0={})),function(e){e[e.None=0]="None",e[e.LimitedReader=5]="LimitedReader",e[e.Reader=10]="Reader",e[e.Author=20]="Author",e[e.Editor=30]="Editor",e[e.Admin=40]="Admin"}(r0||(r0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(i0||(i0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NewUserCannotBeTemporary=6]="NewUserCannotBeTemporary",e[e.NotAuthenticated=7]="NotAuthenticated",e[e.GenericError=8]="GenericError"}(o0||(o0={})),function(e){e[e.None=0]="None",e[e.MobilePush=1]="MobilePush",e[e.Email=2]="Email",e[e.Teams=4]="Teams",e[e.BrowserPush=8]="BrowserPush"}(a0||(a0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyInvited=3]="AlreadyInvited",e[e.ActiveUserExistsDifferentEmail=4]="ActiveUserExistsDifferentEmail"}(s0||(s0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyRegistered=3]="AlreadyRegistered",e[e.InvitedUserExists=4]="InvitedUserExists"}(u0||(u0={}));var m0=JG,g0=VG,v0=X$("match"),y0=function(e){var t;return m0(e)&&(void 0!==(t=e[v0])?!!t:"RegExp"==g0(e))},b0=y0,w0=function(e){if(b0(e))throw TypeError("The method doesn't accept regular expressions");return e},x0=X$("match"),_0=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[x0]=!1,"/./"[e](t)}catch(e){}}return!1},S0=w0,k0=GG;g$({target:"String",proto:!0,forced:!_0("includes")},{includes:function(e){return!!~String(k0(this)).indexOf(S0(e),arguments.length>1?arguments[1]:void 0)}});var C0=g$,E0=MG.f,I0=TQ,O0=w0,T0=GG,N0=_0,D0="".endsWith,A0=Math.min,P0=N0("endsWith"),M0=!P0&&!!function(){var e=E0(String.prototype,"endsWith");return e&&!e.writable}();function j0(e,t,n){var r=n,i=Array.isArray(n)?n:(null==r?void 0:r.groupIds)||[];return!!(t&&e&&i&&i.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var r=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!r.length)return!1;return r.some((function(t){return t.role.roleValue>=e}))}(e,t,i))}function R0(e,t,n){var r=n,i=Array.isArray(n)?n:(null==r?void 0:r.groupIds)||[];return!!(t&&e&&i&&i.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var r=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!r.length||n&&n.length!==r.length)return!1;return r.every((function(t){return t.role.roleValue>=e}))}(e,t,i))}function L0(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function F0(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}C0({target:"String",proto:!0,forced:!M0&&!P0},{endsWith:function(e){var t=String(T0(this));O0(e);var n=arguments.length>1?arguments[1]:void 0,r=I0(t.length),i=void 0===n?r:A0(I0(n),r),o=String(e);return D0?D0.call(t,o,i):t.slice(i-o.length,i)===o}});var z0,B0,U0={},q0={};function V0(){var e=kV();return u((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,r){return t({search:r,type:$X.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){q0[t]||(q0[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(q0[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return q0[t]},getUserInfoById:function(t){q0[t]||(q0[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(q0[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return q0[t]},getUserAvatarUrl:function(t,n){U0[t]||(U0[t]=e.custom("users/"+encodeURIComponent(t)+"/avatar?"+Fg.stringify({tenantId:n})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e})));return mH(U0[t])},clearUserInfoCache:function(e){q0[e]&&delete q0[e]},clearUserAvatarCache:function(e){U0[e]&&delete U0[e]}};function t(t){var n=Fg.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function K0(){var e=kV(),t=SV(),n=a(wS).onRequestToken;return u((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return bG(this,void 0,void 0,(function(){var n,o;return wG(this,(function(a){switch(a.label){case 0:return e?[4,r(e,t)]:[3,2];case 1:return o=a.sent(),[3,4];case 2:return[4,i(t)];case 3:o=a.sent(),a.label=4;case 4:return function(e){e&&(e.minRoles=function(e){var t=e.groups.reduce((function(e,t){return Math.max(e,t.role.roleValue)}),0),n=e.isSubscriptionOwner;return{isSubscriptionOwner:n,isAdmin:n||t>=r0.Admin,isEditor:n||t>=r0.Editor,isAuthor:n||t>=r0.Author,isReader:n||t>=r0.Reader}}(e),e.hasDirectory=e.subscription&&e.subscription.directories&&e.subscription.directories.length>0)}(n=o),[2,n]}}))}))},getCurrentOrganization:function(){return e.custom("users/current/organization").get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))},updateCurrentUserProfileProperties:function(t){return e.custom("users/current/properties").put(t)},updateCurrentUserAvatar:function(e,r){return bG(this,void 0,void 0,(function(){var i,o,a;return wG(this,(function(s){switch(s.label){case 0:return(i=new FormData).append("file",r,r.name||"image."+CH.getExtension(r.type)),[4,n()];case 1:return o=s.sent(),a={method:"PUT",body:i,headers:{authorization:"Bearer "+o,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",a)]}}))}))},deleteCurrentUserAvatar:function(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function r(e,n){return bG(this,void 0,void 0,(function(){var r;return wG(this,(function(i){switch(i.label){case 0:return[4,t.fetchFromApi("/users/current?"+Fg.stringify({essentialOnly:n}),{headers:{Authorization:"Bearer "+e}})];case 1:return[2,404===(r=i.sent()).status?null:r.json()]}}))}))}function i(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){return[2,e.custom("users/current?"+Fg.stringify({essentialOnly:t})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))]}))}))}}),[t,e,n])}function H0(){var e=kV(),t=NG(),n=t.saveLanguageToLocalStorage,r=t.saveLocaleToLocalStorage;return u((function(){return{updateNotificationTypeSettings:function(t){for(var n={comments:null,mentions:null,posts:null,news:null,events:null,chat:null,pluginNotifications:null},r=function(e){Object.keys(n).every((function(t){return t!==e}))&&delete t[e]},i=0,o=Object.keys(t||{});i<o.length;i++){var a=o[i];r(a)}return e.custom("users/current/notification_settings/types").put(t).then((function(e){return e.body().data()}))},getFollowCommentsStatus:function(t,n,r){return e.custom("users/current/notification_settings/"+s(n,r)+"/"+t).get().then((function(e){return e.body().data().enabled}))},toggleFollowComments:t,followPublicPublishableItemComments:i,followEditorPublishableItemComments:o,followAllPublishableItemComments:function(e,t){i(e,t),o(e,t)},followPublishableItemComments:a,resolveSegment:s,getFollowCommentSegment:u,toggleBookmark:function(t,n){null==n.bookmarks&&(n.bookmarks=[]);var r=n.bookmarks.findIndex((function(e){return e===t}));if(r<0)return e.one("users","current").all("bookmarks").put(t,null).then((function(){return n.bookmarks.push(t),!0}));return e.one("users","current").all("bookmarks").delete(t).then((function(){return n.bookmarks.splice(r,1),!1}))},getUserProperties:function(){return e.all("users/user_properties").get("").then((function(e){return e.body().data()}))},setUserChannels:function(t){return e.custom("users/current/channels").put(t)},addContact:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.all("users/current/contacts").post(t)];case 1:return[2,n.sent().body().data()]}}))}))},deleteContact:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.all("users/current/contacts/"+t.tokenUniqueId).delete("")];case 1:return[2,n.sent().body().data()]}}))}))},getContactAccounts:function(){return e.all("users/current/contacts").getAll().then((function(e){return e.body(!1)}))},setLanguage:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(r){switch(r.label){case 0:return[4,e.custom("users/current/ui_language/"+t).put(null)];case 1:return r.sent(),[4,n(t)];case 2:return r.sent(),[2]}}))}))},setContentLanguage:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/content_language/"+t).put(null)];case 1:return n.sent(),[2]}}))}))},setLocale:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/locale/"+t).put(null)];case 1:return n.sent(),[4,r(t)];case 2:return n.sent(),[2]}}))}))},getGroupNotificationSettings:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/notification_settings/groups/"+t).get().then((function(e){return e.body().data()}))];case 1:return[2,n.sent()]}}))}))},updateGroupNotificationSettings:function(t,n){return bG(this,void 0,void 0,(function(){return wG(this,(function(r){switch(r.label){case 0:return[4,e.custom("users/current/notification_settings/groups/"+t).put(n).then((function(e){return e.body().data()}))];case 1:return[2,r.sent()]}}))}))},clearMyUnreadItems:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/"+t+"/unread").delete()];case 1:return n.sent(),[2]}}))}))},acceptTermsAndConditions:function(t){return e.custom("users/current/terms_and_conditions/"+t).patch({})}};function t(t,n,r,i){return e.custom("users/current/notification_settings/"+s(n,r)+"/"+t).put({enabled:i})}function i(e,t){a(e,t,B0.Public)}function o(e,t){a(e,t,B0.Editor)}function a(e,n,r){t(e,n,r,!0).then((function(){return null}),(function(e){return Qg.error(e)}))}function s(e,t){switch(t){case B0.Editor:return"editor_comments";case B0.Public:return u(e)+"_comments";case B0.Posts:return"post_comments";default:throw Error("Invalid scope")}}function u(e){switch(e){case z0.News:return"news";case z0.Pages:return"page";case z0.Events:return"event";default:throw Error("Invalid type")}}}),[e,n,r])}!function(e){e.News="news",e.Pages="pages",e.Posts="posts",e.Events="events",e.Comments="comments"}(z0||(z0={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(B0||(B0={}));var W0,G0=qQ,Y0=VQ,Q0=Object.keys||function(e){return G0(e,Y0)},$0=gY,J0=yY,Z0=Q0,X0=RG?Object.defineProperties:function(e,t){J0(e);for(var n,r=Z0(t),i=r.length,o=0;i>o;)$0.f(e,n=r[o++],t[n]);return e},e1=yY,t1=X0,n1=VQ,r1=JY,i1=KJ,o1=oY,a1=$Y("IE_PROTO"),s1=function(){},u1=function(e){return"<script>"+e+"<\/script>"},c1=function(){try{W0=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;c1=W0?function(e){e.write(u1("")),e.close();var t=e.parentWindow.Object;return e=null,t}(W0):((t=o1("iframe")).style.display="none",i1.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(u1("document.F=Object")),e.close(),e.F);for(var n=n1.length;n--;)delete c1.prototype[n1[n]];return c1()};r1[a1]=!0;var l1=Object.create||function(e,t){var n;return null!==e?(s1.prototype=e1(e),n=new s1,s1.prototype=null,n[a1]=e):n=c1(),void 0===t?n:t1(n,t)},d1=l1,f1=gY,p1=X$("unscopables"),h1=Array.prototype;null==h1[p1]&&f1.f(h1,p1,{configurable:!0,value:d1(null)});var m1,g1,v1,y1=function(e){h1[p1][e]=!0},b1=!jG((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),w1=tY,x1=b$,_1=b1,S1=$Y("IE_PROTO"),k1=Object.prototype,C1=_1?Object.getPrototypeOf:function(e){return e=x1(e),w1(e,S1)?e[S1]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?k1:null},E1=C1,I1=EY,O1=tY,T1=X$("iterator"),N1=!1;[].keys&&("next"in(v1=[].keys())?(g1=E1(E1(v1)))!==Object.prototype&&(m1=g1):N1=!0),null==m1&&(m1={}),O1(m1,T1)||I1(m1,T1,(function(){return this}));var D1={IteratorPrototype:m1,BUGGY_SAFARI_ITERATORS:N1},A1=D1.IteratorPrototype,P1=l1,M1=UG,j1=rJ,R1=cJ,L1=function(){return this},F1=JG,z1=yY,B1=function(e){if(!F1(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},U1=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return z1(n),B1(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),q1=g$,V1=function(e,t,n){var r=t+" Iterator";return e.prototype=P1(A1,{next:M1(1,n)}),j1(e,r,!1),R1[r]=L1,e},K1=C1,H1=U1,W1=rJ,G1=EY,Y1=IY.exports,Q1=cJ,$1=D1.IteratorPrototype,J1=D1.BUGGY_SAFARI_ITERATORS,Z1=X$("iterator"),X1=function(){return this},e2=$G,t2=y1,n2=cJ,r2=lQ,i2=function(e,t,n,r,i,o,a){V1(n,t,r);var s,u,c,l=function(e){if(e===i&&m)return m;if(!J1&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",f=!1,p=e.prototype,h=p[Z1]||p["@@iterator"]||i&&p[i],m=!J1&&h||l(i),g="Array"==t&&p.entries||h;if(g&&(s=K1(g.call(new e)),$1!==Object.prototype&&s.next&&(K1(s)!==$1&&(H1?H1(s,$1):"function"!=typeof s[Z1]&&G1(s,Z1,X1)),W1(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(f=!0,m=function(){return h.call(this)}),p[Z1]!==m&&G1(p,Z1,m),Q1[t]=m,i)if(u={values:l("values"),keys:o?m:l("keys"),entries:l("entries")},a)for(c in u)(J1||f||!(c in p))&&Y1(p,c,u[c]);else q1({target:t,proto:!0,forced:J1||f},u);return u},o2=r2.set,a2=r2.getterFor("Array Iterator"),s2=i2(Array,"Array",(function(e,t){o2(this,{type:"Array Iterator",target:e2(e),index:0,kind:t})}),(function(){var e=a2(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");n2.Arguments=n2.Array,t2("keys"),t2("values"),t2("entries");var u2=PG,c2={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},l2=s2,d2=EY,f2=X$,p2=f2("iterator"),h2=f2("toStringTag"),m2=l2.values;for(var g2 in c2){var v2=u2[g2],y2=v2&&v2.prototype;if(y2){if(y2[p2]!==m2)try{d2(y2,p2,m2)}catch(e){y2[p2]=m2}if(y2[h2]||d2(y2,h2,g2),c2[g2])for(var b2 in l2)if(y2[b2]!==l2[b2])try{d2(y2,b2,l2[b2])}catch(e){y2[b2]=l2[b2]}}}var w2=s(null);function x2(){var e=a(w2);return null!=e?e.refresh:function(){return null}}var _2,S2=function(t){var n=t.children,r=f0().refreshUser,i=Oj(),o=f((function(){var e,t;return bG(this,void 0,void 0,(function(){var n,o;return wG(this,(function(a){switch(a.label){case 0:return[4,i.query({query:k2,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=a.sent(),null==(o=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.currentUser)?[3,3]:[4,r((function(e){return vG(vG({},e),function(e){var t,n,r,i,o;return{availableSubscriptions:null!==(t=null==e?void 0:e.availableSubscriptions)&&void 0!==t?t:[],bookmarks:null!==(n=null==e?void 0:e.bookmarks)&&void 0!==n?n:[],unreadNews:null!==(r=null==e?void 0:e.unreadNews)&&void 0!==r?r:[],unreadEvents:null!==(i=null==e?void 0:e.unreadEvents)&&void 0!==i?i:[],unreadPosts:null!==(o=null==e?void 0:e.unreadPosts)&&void 0!==o?o:[],hasUnreadChats:null==e?void 0:e.hasUnreadChats,unreadFeedItemsCount:null==e?void 0:e.unreadFeedItemsCount,mostRecentPostGroups:null==e?void 0:e.mostRecentPostGroups}}(vG({bookmarks:o.bookmarkIds,availableSubscriptions:o.subscriptions},o)))}))];case 2:return[2,a.sent()];case 3:return(null==o||(null===(t=null==n?void 0:n.errors)||void 0===t?void 0:t.length)>0)&&Qg.error("Failed to load the currentUser with details.",null==n?void 0:n.errors),[2]}}))}))}),[i]),a=u((function(){return{refresh:o}}),[o]);return l((function(){o().then(null,Qg.error)}),[o]),e(w2.Provider,vG({value:a},{children:n}),void 0)},k2=vj(_2||(_2=_G(["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"],["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"]))),C2=g$,E2=MG.f,I2=TQ,O2=w0,T2=GG,N2=_0,D2="".startsWith,A2=Math.min,P2=N2("startsWith"),M2=!P2&&!!function(){var e=E2(String.prototype,"startsWith");return e&&!e.writable}();function j2(){var e=a(ZC).identifier,t=e.subscriptionHandle||e.id;return{buildPath:function(e){if(e)return"/"+t+"/"+(e.startsWith("/")?e.substring(1):e);return"/"+t},subscriptionHandle:t}}function R2(){var e=Cg().webAppUrl,t=F2();return t?"https://"+t:e}function L2(){var e=Cg().webAppUrls,t=F2();return t?xG(xG([],e),["https://"+t]):e}function F2(){var e,t=p0();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}C2({target:"String",proto:!0,forced:!M2&&!P2},{startsWith:function(e){var t=String(T2(this));O2(e);var n=I2(A2(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return D2?D2.call(t,r,n):t.slice(n,n+r.length)===r}});var z2=["rm"],B2=["af","ar","as","bn","bs","bg","yue","ca","zh-TW","zh-CN","hr","cs","prs","da","nl","en","et","fj","fil","fi","fr","fr-ca","de","el","gu","ht","he","hi","mww","hu","is","id","ga","it","ja","kn","kk","sw","ko","ku","kmr","lv","lt","mg","ms","ml","mt","mi","mr","nb","or","ps","fa","pl","pt-br","pt-pt","pa","otq","rm","ro","ru","sm","sr-cyrl","sr-latn","sk","sl","es","sv","ty","ta","te","th","to","tr","uk","ur","vi","cy"];function U2(e){return e.preferredContentLanguage||e.preferredUiLanguage||M_()||e.subscription&&e.subscription.defaultLanguage||"en"}function q2(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return vG(vG({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}var V2=s(null);var K2=window.System;function H2(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=document.querySelector('script[type="systemjs-importmap"][data-reach-package="'+e+'"]');if(null==r){var i=document.createElement("script");i.type="systemjs-importmap",i.setAttribute("data-reach-package",e);for(var o={imports:{}},a=0,s=t;a<s.length;a++){var u=s[a].name;o.imports[u]="app:"+u}i.textContent=JSON.stringify(o,null,2),document.head.appendChild(i);for(var c=0,l=t;c<l.length;c++){var d=l[c],f=d.name,p=d.packageDefinition;K2.set("app:"+f,p)}}}var W2=function(){return null};var G2=yY,Y2=function(){var e=G2(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Q2={},$2=jG;function J2(e,t){return RegExp(e,t)}Q2.UNSUPPORTED_Y=$2((function(){var e=J2("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Q2.BROKEN_CARET=$2((function(){var e=J2("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var Z2=Y2,X2=Q2,e4=RegExp.prototype.exec,t4=String.prototype.replace,n4=e4,r4=function(){var e=/a/,t=/b*/g;return e4.call(e,"a"),e4.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),i4=X2.UNSUPPORTED_Y||X2.BROKEN_CARET,o4=void 0!==/()??/.exec("")[1];(r4||o4||i4)&&(n4=function(e){var t,n,r,i,o=this,a=i4&&o.sticky,s=Z2.call(o),u=o.source,c=0,l=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),l=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,c++),n=new RegExp("^(?:"+u+")",s)),o4&&(n=new RegExp("^"+u+"$(?!\\s)",s)),r4&&(t=o.lastIndex),r=e4.call(a?n:o,l),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:r4&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),o4&&r&&r.length>1&&t4.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var a4=n4;g$({target:"RegExp",proto:!0,forced:/./.exec!==a4},{exec:a4});var s4=IY.exports,u4=jG,c4=X$,l4=a4,d4=EY,f4=c4("species"),p4=!u4((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),h4="$0"==="a".replace(/./,"$0"),m4=c4("replace"),g4=!!/./[m4]&&""===/./[m4]("a","$0"),v4=!u4((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),y4=function(e,t,n,r){var i=c4(e),o=!u4((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!u4((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[f4]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!p4||!h4||g4)||"split"===e&&!v4){var s=/./[i],u=n(i,""[e],(function(e,t,n,r,i){return t.exec===l4?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:h4,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:g4}),c=u[0],l=u[1];s4(String.prototype,e,c),s4(RegExp.prototype,i,2==t?function(e,t){return l.call(e,this,t)}:function(e){return l.call(e,this)})}r&&d4(RegExp.prototype[i],"sham",!0)},b4=EQ,w4=GG,x4=function(e){return function(t,n){var r,i,o=String(w4(t)),a=b4(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},_4={codeAt:x4(!1),charAt:x4(!0)}.charAt,S4=function(e,t,n){return t+(n?_4(e,t).length:1)},k4=VG,C4=a4,E4=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==k4(e))throw TypeError("RegExp#exec called on incompatible receiver");return C4.call(e,t)},I4=y4,O4=yY,T4=b$,N4=TQ,D4=EQ,A4=GG,P4=S4,M4=E4,j4=Math.max,R4=Math.min,L4=Math.floor,F4=/\$([$&'`]|\d\d?|<[^>]*>)/g,z4=/\$([$&'`]|\d\d?)/g;function B4(){return a(V2).storage}function U4(e,t){var n="Plugins::"+e+"::";return{getAllKeys:r,getString:function(e){return t.getString(n+e)},setString:function(e,r){return t.setString(n+e,r)},remove:function(e){return t.remove(n+e)},clearAll:function(){return bG(this,void 0,void 0,(function(){var e,i,o,a;return wG(this,(function(s){switch(s.label){case 0:return[4,r()];case 1:e=s.sent(),i=0,o=e,s.label=2;case 2:return i<o.length?(a=o[i],[4,t.remove(n+a)]):[3,5];case 3:s.sent(),s.label=4;case 4:return i++,[3,2];case 5:return[2]}}))}))}};function r(){var e;return bG(this,void 0,void 0,(function(){var r;return wG(this,(function(i){switch(i.label){case 0:return[4,t.getAllKeys()];case 1:return r=i.sent(),[2,null!==(e=null==r?void 0:r.filter((function(e){return e.startsWith(n)})).map((function(e){return e.replace(n,"")})))&&void 0!==e?e:[]]}}))}))}}function q4(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function V4(e,t){return{get:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,r){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").put(r).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").delete()}}}function K4(e,t){return{get:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,r){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").put(r).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").delete()}}}I4("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=A4(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var u=n(t,e,this,r);if(u.done)return u.value}var c=O4(e),l=String(this),d="function"==typeof r;d||(r=String(r));var f=c.global;if(f){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var m=M4(c,l);if(null===m)break;if(h.push(m),!f)break;""===String(m[0])&&(c.lastIndex=P4(l,N4(c.lastIndex),p))}for(var g,v="",y=0,b=0;b<h.length;b++){m=h[b];for(var w=String(m[0]),x=j4(R4(D4(m.index),l.length),0),_=[],S=1;S<m.length;S++)_.push(void 0===(g=m[S])?g:String(g));var k=m.groups;if(d){var C=[w].concat(_,x,l);void 0!==k&&C.push(k);var E=String(r.apply(void 0,C))}else E=s(w,l,x,_,k,r);x>=y&&(v+=l.slice(y,x)+E,y=x+w.length)}return v+l.slice(y)}];function s(e,n,r,i,o,a){var s=r+e.length,u=i.length,c=z4;return void 0!==o&&(o=T4(o),c=F4),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var l=+a;if(0===l)return t;if(l>u){var d=L4(l/10);return 0===d?t:d<=u?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}c=i[l-1]}return void 0===c?"":c}))}}));var H4=function(t){var n=t.pluginId,r=t.componentName,i=t.settings,o=t.bundleUrl,s=t.bundleModificationDate,c=yG(t,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),l=JC(),d=kV(),f=function(){var e=kV(),t=p0(),n=SV(),r=n.createApiUrl,i=n.fetchFromApi,o=a(wS).onRequestToken;return u((function(){return{getPluginFileUrl:function(e,t,n){return t||(e.startsWith("http")?e+"?cache="+(new Date).getTime():r("/plugins/"+e,n?{cache:new Date(n).getTime()}:null))},saveDefinition:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("plugins/"+encodeURIComponent(t.pluginId)+"/definition").put(t).then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))},saveFile:function(e,n){return bG(this,void 0,void 0,(function(){var r,a,s;return wG(this,(function(u){switch(u.label){case 0:return(r=new FormData).append("file",n),[4,o()];case 1:return a=u.sent(),s={method:"PUT",body:r,headers:{authorization:"Bearer "+a,"subscription-id":t.subscription.id}},[2,i("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,r){return bG(this,void 0,void 0,(function(){return wG(this,(function(i){switch(i.label){case 0:return[4,e.all("plugins/"+encodeURIComponent(t)+"/api_keys").post({displayName:n,expiryDate:r}).then((function(e){return e.body().data()}))];case 1:return[2,i.sent()]}}))}))},linkPlugin:function(t,n){return bG(this,void 0,void 0,(function(){return wG(this,(function(r){switch(r.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).put({settings:n}).then((function(e){return e.body()}))];case 1:return[2,r.sent()]}}))}))},unlinkPlugin:function(t){return bG(this,void 0,void 0,(function(){return wG(this,(function(n){switch(n.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).delete().then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))}}}),[e,r,i,o,t.subscription.id])}().getPluginFileUrl,p=u((function(){return y((function(){return function(e,t){return bG(this,void 0,void 0,(function(){var n;return wG(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,K2.import(e)];case 1:return[2,{default:r.sent()[t]}];case 2:return n=r.sent(),Qg.error(n),[2,{default:W2}];case 3:return[2]}}))}))}(f(n,o,s),r)}))}),[r,n,f,o,s]),h=u((function(){return{settings:i,storage:U4(n,l),userStore:V4(n,d),subscriptionStore:K4(n,d)}}),[n,i,l,d]);return e(b,vG({fallback:e("div",{},void 0)},{children:e(V2.Provider,vG({value:h},{children:e(p,vG({name:r},c),void 0)}),void 0)}),void 0)},W4=VG,G4=Array.isArray||function(e){return"Array"==W4(e)},Y4=G4,Q4=TQ,$4=hJ,J4=function(e,t,n,r,i,o,a,s){for(var u,c=i,l=0,d=!!a&&$4(a,s,3);l<r;){if(l in n){if(u=d?d(n[l],l,t):n[l],o>0&&Y4(u))c=J4(e,t,u,Q4(u.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=u}c++}l++}return c},Z4=J4,X4=JG,e3=G4,t3=X$("species"),n3=Z4,r3=b$,i3=TQ,o3=v$,a3=function(e,t){var n;return e3(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!e3(n.prototype)?X4(n)&&null===(n=n[t3])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};g$({target:"Array",proto:!0},{flatMap:function(e){var t,n=r3(this),r=i3(n.length);return o3(e),(t=a3(n,0)).length=n3(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),y1("flatMap");var s3,u3,c3=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},l3=yY,d3=GG,f3=c3,p3=E4;function h3(){var e=p0(),t=function(){var e=function(){var e=ge(),t=Fg.parse(e.search);if(null!=t.plugin){var n=JSON.parse(atob(t.plugin));m3.some((function(e){return e.pluginId===n.pluginId}))||(m3.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(m3)))}return m3}(),t=hS(n,[],[null==e?void 0:e.length])[0];return null!=g3?g3:t;function n(){return bG(this,void 0,void 0,(function(){var t,n,r,i,o,a;return wG(this,(function(s){switch(s.label){case 0:if(g3)return[2,g3];t=[],n=0,r=e,s.label=1;case 1:return n<r.length?(i=r[n],o="http://localhost:"+i.port,[4,fetch(o+"/definition.json?rev="+(new Date).getTime())]):[3,5];case 2:return[4,s.sent().json()];case 3:(a=s.sent()).bundleUrl=o+"/index.js?rev="+(new Date).getTime(),t.push(a),s.label=4;case 4:return n++,[3,1];case 5:return[2,g3=t]}}))}))}}();return xG(xG([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}y4("search",1,(function(e,t,n){return[function(t){var n=d3(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=l3(e),o=String(this),a=i.lastIndex;f3(a,0)||(i.lastIndex=0);var s=p3(i,o);return f3(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]})),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection"}(u3||(u3={}));var m3=null!==(s3=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==s3?s3:[];var g3=null;var v3=RG,y3=jG,b3=Q0,w3=WQ,x3=LG,_3=b$,S3=WG,k3=Object.assign,C3=Object.defineProperty,E3=!k3||y3((function(){if(v3&&1!==k3({b:1},k3(C3({},"a",{enumerable:!0,get:function(){C3(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=k3({},e)[n]||b3(k3({},t)).join("")!=r}))?function(e,t){for(var n=_3(e),r=arguments.length,i=1,o=w3.f,a=x3.f;r>i;)for(var s,u=S3(arguments[i++]),c=o?b3(u).concat(o(u)):b3(u),l=c.length,d=0;l>d;)s=c[d++],v3&&!a.call(u,s)||(n[s]=u[s]);return n}:k3,I3=E3;g$({target:"Object",stat:!0,forced:Object.assign!==I3},{assign:I3});var O3=VG,T3=EQ,N3=GG,D3="".repeat||function(e){var t=String(N3(this)),n="",r=T3(e);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},A3=g$,P3=EQ,M3=function(e){if("number"!=typeof e&&"Number"!=O3(e))throw TypeError("Incorrect invocation");return+e},j3=D3,R3=jG,L3=1..toFixed,F3=Math.floor,z3=function(e,t,n){return 0===t?n:t%2==1?z3(e,t-1,n*e):z3(e*e,t/2,n)};A3({target:"Number",proto:!0,forced:L3&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!R3((function(){L3.call({})}))},{toFixed:function(e){var t,n,r,i,o=M3(this),a=P3(e),s=[0,0,0,0,0,0],u="",c="0",l=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*s[n],s[n]=r%1e7,r=F3(r/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=F3(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+j3.call("0",7-n.length)+n}return t};if(a<0||a>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(u="-",o=-o),o>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*z3(2,69,1))-69,n=t<0?o*z3(2,-t,1):o/z3(2,t,1),n*=4503599627370496,(t=52-t)>0){for(l(0,n),r=a;r>=7;)l(1e7,0),r-=7;for(l(z3(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),l(1,1),d(2),c=f()}else l(0,n),l(1<<-t,0),c=f()+j3.call("0",a);return c=a>0?u+((i=c.length)<=a?"0."+j3.call("0",a-i)+c:c.slice(0,i-a)+"."+c.slice(i-a)):u+c}});var B3={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},U3={palette:{themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#52A0BF",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",neutralDark:"#212121",neutralPrimary:"#333333",neutralPrimaryAlt:"#3c3c3c",neutralSecondary:"#424242",neutralSecondaryAlt:"#767676",neutralTertiary:"#a6a6a6",neutralTertiaryAlt:"#c8c8c8",neutralQuaternary:"#d0d0d0",neutralQuaternaryAlt:"#dadada",neutralLight:"#eaeaea",neutralLighter:"#f2f2f2",neutralLighterAlt:"#f8f8f8",accent:"#52A0BF",textColorOnWhiteBackground:"#52A0BF",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",blue:"#0078d7",blueDark:"#002050",blueLight:"#00bcf2",blueMid:"#00188f",error:"#a80000",green:"#107c10",greenDark:"#004b1c",greenLight:"#bad80a",info:"#107c10",magenta:"#b4009e",magentaDark:"#5c005c",magentaLight:"#e3008c",orange:"#d83b01",orangeLight:"#ff8c00",orangeLighter:"#ea4300",purple:"#5c2d91",purpleDark:"#32145a",purpleLight:"#b4a0ff",red:"#e81123",redDark:"#a80000",severeWarning:"#d83b01",success:"#107c10",teal:"#008272",tealDark:"#004b50",tealLight:"#00b294",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellow:"#ffb900",yellowLight:"#fff100"},semanticColors:{infoText:"#333333",successText:"#333333",alertBackground:"#deecf9",severeWarningBackground:"#fed9cc",successBackground:"#dff6dd",warningBackground:"#fff4ce",errorBackground:"#fde7e9",infoBackground:"#f4f4f4"},textColors:{onPrimary:"#ffffff",onSecondary:"#000000"}},q3=yY,V3=TQ,K3=GG,H3=S4,W3=E4;y4("match",1,(function(e,t,n){return[function(t){var n=K3(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=q3(e),o=String(this);if(!i.global)return W3(i,o);var a=i.unicode;i.lastIndex=0;for(var s,u=[],c=0;null!==(s=W3(i,o));){var l=String(s[0]);u[c]=l,""===l&&(i.lastIndex=H3(o,V3(i.lastIndex),a)),c++}return 0===c?null:u}]}));var G3=GG,Y3="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Q3=RegExp("^"+Y3+Y3+"*"),$3=RegExp(Y3+Y3+"*$"),J3=function(e){return function(t){var n=String(G3(t));return 1&e&&(n=n.replace(Q3,"")),2&e&&(n=n.replace($3,"")),n}},Z3={start:J3(1),end:J3(2),trim:J3(3)},X3=Z3.trim,e5=PG.parseInt,t5=/^[+-]?0[Xx]/,n5=8!==e5("\t\n\v\f\r                 \u2028\u2029\ufeff08")||22!==e5("\t\n\v\f\r                 \u2028\u2029\ufeff0x16")?function(e,t){var n=X3(String(e));return e5(n,t>>>0||(t5.test(n)?16:10))}:e5;g$({global:!0,forced:parseInt!=n5},{parseInt:n5});var r5=y4,i5=y0,o5=yY,a5=GG,s5=VJ,u5=S4,c5=TQ,l5=E4,d5=a4,f5=jG,p5=[].push,h5=Math.min,m5=!f5((function(){return!RegExp(4294967295,"y")}));r5("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a5(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!i5(e))return t.call(r,e,i);for(var o,a,s,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,d=new RegExp(e.source,c+"g");(o=d5.call(d,r))&&!((a=d.lastIndex)>l&&(u.push(r.slice(l,o.index)),o.length>1&&o.index<r.length&&p5.apply(u,o.slice(1)),s=o[0].length,l=a,u.length>=i));)d.lastIndex===o.index&&d.lastIndex++;return l===r.length?!s&&d.test("")||u.push(""):u.push(r.slice(l)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a5(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var a=o5(e),s=String(this),u=s5(a,RegExp),c=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(m5?"y":"g"),d=new u(m5?a:"^(?:"+a.source+")",l),f=void 0===i?4294967295:i>>>0;if(0===f)return[];if(0===s.length)return null===l5(d,s)?[s]:[];for(var p=0,h=0,m=[];h<s.length;){d.lastIndex=m5?h:0;var g,v=l5(d,m5?s:s.slice(h));if(null===v||(g=h5(c5(d.lastIndex+(m5?0:h)),s.length))===p)h=u5(s,h,c);else{if(m.push(s.slice(p,h)),m.length===f)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===f)return m;h=p=g}}return m.push(s.slice(p)),m}]}),!m5);var g5=jG,v5="\t\n\v\f\r                 \u2028\u2029\ufeff",y5=Z3.trim,b5=function(e){return g5((function(){return!!v5[e]()||"​…᠎"!="​…᠎"[e]()||v5[e].name!==e}))};g$({target:"String",proto:!0,forced:b5("trim")},{trim:function(){return y5(this)}});var w5=IY.exports,x5=yY,_5=jG,S5=Y2,k5=RegExp.prototype,C5=k5.toString,E5=_5((function(){return"/a/b"!=C5.call({source:"a",flags:"b"})})),I5="toString"!=C5.name;(E5||I5)&&w5(RegExp.prototype,"toString",(function(){var e=x5(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in k5)?S5.call(e):n)}),{unsafe:!0});var O5=function(){function e(e){var t=this;this.setRgb=function(e){-1!==e.indexOf("rgba")?t.setRgbFromRgba(e):t.setRgbFromHex(e)},this.setRgbFromHex=function(e){var n=e.replace("#","").match(/.{1,2}/g);t.r=parseInt(n[0],16),t.g=parseInt(n[1],16),t.b=parseInt(n[2],16)},this.setRgbFromRgba=function(e){var n=e.replace("rgba(","").replace(")","").split(",");t.r=parseInt(t.trim(n[0]),10),t.g=parseInt(t.trim(n[1]),10),t.b=parseInt(t.trim(n[2]),10)},this.trim=function(e){return e.replace(/^\s+|\s+$/gm,"")},this.setRgb(e)}return e.prototype.lighten=function(e){return this.r=Math.min(Math.ceil(this.r+this.r*e),255),this.g=Math.min(Math.ceil(this.g+this.g*e),255),this.b=Math.min(Math.ceil(this.b+this.b*e),255),this},e.prototype.toHex=function(){var e=function(e){return("00"+e.toString(16)).slice(-2)};return"#"+e(this.r)+e(this.g)+e(this.b)},e}(),T5=null,N5=vG({name:"Default"},B3),D5=U3.palette.neutralLighter,A5=[N5,{name:"Apatite",primaryColor:"#1570B3",secondaryColor:"#CFFF6C"},{name:"Azurite",primaryColor:"#20273C",secondaryColor:"#F4F4F4"},{name:"Cordierite",primaryColor:"#343332",secondaryColor:"#419BEB"},{name:"Nephrite",primaryColor:"#224926",secondaryColor:"#EAEAEA"},{name:"Pyrite",primaryColor:"#263251",secondaryColor:"#FFE357"},{name:"Quartz",primaryColor:"#363636",secondaryColor:"#D45081"}];function P5(e,t){var n=M5(e.primaryColor),r=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,i=e.useHighlightColorOnWhiteBackground?j5(r):j5(n),o={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:j5(n),textColorOnSecondary:j5(e.secondaryColor),accentColor:r,textColorOnAccent:i},a=vG({},U3),s=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new O5(e.accentColor).toHex(),r=new O5(e.accentColor).lighten(-.3).toHex(),i=new O5(e.accentColor).lighten(.5).toHex(),o=M5(e.primaryColor),a=j5(r);return t.palette.themeDarker=new O5(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new O5(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=o,t.palette.themePrimary=new O5(e.primaryColor).toHex(),t.palette.themeLight=new O5(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new O5(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new O5(e.primaryColor).lighten(.8).toHex(),t.palette.red=new O5("#B90000").toHex(),t.palette.redDark=new O5("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new O5(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new O5("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=r,t.semanticColors.primaryButtonTextHovered=a,t.semanticColors.primaryButtonBackgroundPressed=r,t.semanticColors.primaryButtonTextPressed=a,t.semanticColors.inputIcon=n,t.semanticColors.inputIconHovered=r,t.semanticColors.inputBackgroundChecked=n,t.semanticColors.inputBackgroundCheckedHovered=r,t.semanticColors.inputFocusBorderAlt=n,t.semanticColors.inputPlaceholderBackgroundChecked=i,t.palette.themeSecondary=new O5(e.secondaryColor).toHex(),t.palette.themeTertiary=new O5(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new O5(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new O5(e.textColorOnSecondary).toHex(),t.textColors.default=new O5("#333333").toHex(),t.textColors.onAccent=new O5(e.textColorOnAccent).toHex(),t}(o);for(var u in s)s.hasOwnProperty(u)&&Object.assign(a[u],s[u]);return t||I(a),function(e){var t=[],n=".lt-reach";for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];"textColors"!==r&&(t.push(n+" .ms-bgColor-"+o+" { background-color: "+a+";}"),t.push(n+" .ms-borderColor-"+o+" { border-color: "+a+";}")),t.push(n+" .ms-fontColor-"+o+" { color: "+a+";}"),t.push(n+" .ms-fontColor-"+o+"--hover:hover {color: "+a+";}")}}T5||((T5=document.createElement("style")).type="text/css",T5.id="condense-ui-fabric-overrides",document.head.appendChild(T5));T5.innerHTML=t.join(" ")}(a),a}function M5(e){return new O5(e).lighten(-.2).toHex()}function j5(e){return function(e){var t=DH(e,"#333333"),n=DH(e,"#ffffff");return t>n}(e)?"#333333":"#ffffff"}var R5,L5,F5,z5,B5,U5,q5,V5,K5,H5,W5,G5,Y5,Q5,$5=s(null),J5=function(t){var n=t.disableUiFabricThemeOverwrite,r=t.children,i=d((function(){return P5(A5.find((function(e){return"Default"===e.name})),n)})),o=i[0],a=i[1];return e($5.Provider,vG({value:{theme:o,setTheme:function(e){return a(P5(e,n))}}},{children:e(Ee,vG({theme:o},{children:r}),void 0)}),void 0)};function Z5(e){switch(e){case Y5.YouTube:return G5.YouTube;case Y5.Vimeo:return G5.Vimeo;case Y5.MicrosoftStream:return G5.MicrosoftStream;case Y5.GenericUrl:return G5.GenericUrl;case Y5.Kaltura:return G5.Kaltura;default:return null}}!function(e){e[e.Image=0]="Image",e[e.File=1]="File",e[e.YouTubeVideo=2]="YouTubeVideo",e[e.VimeoVideo=3]="VimeoVideo",e[e.News=4]="News",e[e.Event=5]="Event",e[e.Page=6]="Page",e[e.Post=7]="Post",e[e.Giphy=8]="Giphy"}(R5||(R5={})),function(e){e.Image="IMAGE",e.File="FILE",e.YouTubeVideo="YOU_TUBE_VIDEO",e.VimeoVideo="VIMEO_VIDEO",e.News="NEWS",e.Event="EVENT",e.Page="PAGE",e.Post="POST",e.Giphy="GIPHY"}(L5||(L5={})),function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(F5||(F5={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(z5||(z5={})),function(e){e[e.NotSet=0]="NotSet",e[e.Daily=1]="Daily",e[e.Weekly=2]="Weekly",e[e.Monthly=3]="Monthly",e[e.Yearly=4]="Yearly"}(B5||(B5={})),function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday"}(U5||(U5={})),function(e){e[e.Unknown=0]="Unknown",e[e.First=1]="First",e[e.Second=2]="Second",e[e.Third=3]="Third",e[e.Fourth=4]="Fourth",e[e.Last=5]="Last"}(q5||(q5={})),function(e){e[e.None=0]="None",e[e.January=1]="January",e[e.February=2]="February",e[e.March=3]="March",e[e.April=4]="April",e[e.May=5]="May",e[e.June=6]="June",e[e.July=7]="July",e[e.August=8]="August",e[e.September=9]="September",e[e.October=10]="October",e[e.November=11]="November",e[e.December=12]="December"}(V5||(V5={})),function(e){e[e.Page=0]="Page",e[e.Document=1]="Document"}(K5||(K5={})),function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}(H5||(H5={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(W5||(W5={})),function(e){e[e.YouTube=0]="YouTube",e[e.Vimeo=1]="Vimeo",e[e.MicrosoftStream=2]="MicrosoftStream",e[e.GenericUrl=3]="GenericUrl",e[e.Kaltura=4]="Kaltura"}(G5||(G5={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(Y5||(Y5={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(Q5||(Q5={}));var X5=function(e){function t(t,n){var r=e.call(this)||this;return r.actualSizeInMb=t,r.maxSizeInMb=n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}gG(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function e6(e){if(e.size>1e6*undefined.maxFileSizeInMb){var t=new X5(e.size/1e6,undefined.maxFileSizeInMb);throw n=t,r=window.location.href,function(){if(null==(void 0).appInsightsKey)return!1}()&&(r||(r=window.location.href),Qg.error(n,r),(void 0).trackException({exception:n})),t}var n,r,i=new FormData;return i.append("file",e),i}function t6(e){var t=Object.keys(e||[]);return t.length?t.map((function(t){return e[t].map((function(e){return Object.assign({},e,{groupId:t})}))})).reduce((function(e,t){return e.concat(t)})):null}function n6(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function r6(e,t,n,r,i,o){var a=r||i;if(null==e)return a;var s=e.find((function(e){return e.name===i}))||e.find((function(e){return e.id===n}));if(!s)return a;if(!r)return i6(t,s.translations,a,o);var u=s&&s.keywords.find((function(e){return e.name===r}));return u?i6(t,u.translations,a,o):a}function i6(e,t,n,r){return null==t&&(t={}),r||(r=U2(e)),r&&t[r]||t[e.subscription.defaultLanguage]||n}var o6={small:550,medium:768,large:1024,xLarge:1350,xxLarge:1640,xxxLarge:1919},a6=549,s6=767,u6=1023,c6=1349,l6=s(null),d6=s(null);function f6(){return a(l6)}var p6,h6,m6,g6,v6,y6,b6=function(t){var r=t.children,i=d(!1),o=i[0],a=i[1],s=d({}),c=s[0],l=s[1],f=u((function(){return{showErrorText:m,showInfo:h,showError:g,showWarning:v,showSuccess:y,hideNotification:b,showToast:w,showToastWarning:x,dismissToast:_}}),[l,a]),p=u((function(){return vG(vG({},c),{isNotificationBarVisible:o})}),[c,o]);return e(l6.Provider,vG({value:f},{children:e(d6.Provider,vG({value:p},{children:r}),void 0)}),void 0);function h(e,t){l({messageId:e,messageValues:t,messageBarType:E.info,actions:null,className:"ms-messageBar--info"}),a(!0)}function m(e){l({text:e,messageBarType:E.error,actions:null}),a(!0)}function g(e,t){l({messageId:e,messageValues:t,messageBarType:E.error,actions:null}),a(!0)}function v(e,t){l({messageId:e,messageValues:t,messageBarType:E.warning,actions:null}),a(!0)}function y(e,t,n,r){l({messageId:e,messageValues:t,messageBarType:E.success,className:n,actions:r}),a(!0)}function b(){a(!1)}function w(t,r,i,o){var a=e(KC,{id:t,values:r},void 0);return null==i?XW(a,o):XW(n(w6,{children:[e(x6,{children:a},void 0),e(_6,{children:i},void 0)]},void 0),vG({},o))}function x(e,t,n){var r={autoClose:!1,type:"warning"};return n&&(r.onClose=n),w(e,t,null,r)}function _(e){XW.dismiss(e)}},w6=Se.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(p6||(p6=_G(["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"],["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"])),o6.small),x6=Se.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})(h6||(h6=_G(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),_6=Se.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(m6||(m6=_G(["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"],["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"])),o6.small),S6=function(){var r=he(),i=a(IT).hideChrome;return l((function(){var e=r.listen((function(){return XW.dismiss()}));return function(){return e()}}),[r]),n(t,{children:[e(k6,{chromeless:i},void 0),e(BW,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:zW,closeButton:!1},void 0)]},void 0)},k6=ke(y6||(y6=_G(["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"],["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"])),(function(e){return!e.chromeless&&Ce(g6||(g6=_G(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&Ce(v6||(v6=_G(["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "],["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "])),a6)}));function C6(){var e=kV();return u((function(){return{getAllKeywords:t,getAllKeywordsByGroupIds:function(){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(wK(n))return wH(n,null);if(xK(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return wH(r.map((function(e){return n[e]})),r)}}if("function"==typeof e[e.length-1]){var i=e.pop();return wH(e=1===e.length&&wK(e[0])?e[0]:e,null).pipe(rH((function(e){return i.apply(void 0,e)})))}return wH(e,null)}(n(),t()).pipe(rH((function(e){var t=e[0],n=e[1],r={};return t.forEach((function(e){r[e.id]=n.filter((function(t){return t.groupId===e.id}))})),r}))).toPromise()},getSelectedGroups:n};function t(t){return e.all("keywords").getAll({},{"Cache-Control":t?"no-cache":"private"}).then((function(e){return e.body().map((function(e){return e.data()}))}))}function n(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){return[2,e.all("keyword_groups/selected").getAll().then((function(e){return e.body().map((function(e){return e.data()}))})).then((function(e){return e}))]}))}))}}),[e])}var E6,I6=s(null),O6=function(t){var n=t.children,r=h0(),i=a(ZC).identifier,o=function(){var e=kV();return u((function(){return{getChannels:function(){return bG(this,void 0,void 0,(function(){return wG(this,(function(t){return[2,e.all("subscriptions/current/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}}),[e])}().getChannels,s=C6(),c=s.getAllKeywords,l=s.getSelectedGroups,d=a(YC),p=d.handleFatalError,h=d.handleAccessDeniedError,m=f((function(){var e,t;return bG(this,void 0,void 0,(function(){var n,r,i,a,s,u,c;return wG(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),E6=new Promise((function(e){return n=e})),[4,Promise.all([o(),k(),C()])];case 1:return r=l.sent(),i=r[0],a=r[1],s=r[2],u=s.reduce((function(e,t){var n;return vG(vG({},e),((n={})[t.id]=a.filter((function(e){return e.groupId===t.id})),n))}),{}),n(i),[2,{channels:i,allKeywords:a,keywordsByGroupId:u,selectedKeywordGroups:s}];case 2:return c=l.sent(),Qg.error(JSON.stringify(c)),403===(null===(e=null==c?void 0:c.response)||void 0===e?void 0:e.statusCode)?h({error:null===(t=null==c?void 0:c.response)||void 0===t?void 0:t.data}):p({error:c}),[2,{}];case 3:return[2]}}))}))}),[o,c,l]),g=hS(m,{},[i.id,o,c]),v=g[0],y=v.channels,b=v.allKeywords,w=v.keywordsByGroupId,x=v.selectedKeywordGroups,_=g[3],S=u((function(){return{channels:y,getChannels:function(){return E6},allKeywords:b,keywordsByGroupId:w,selectedKeywordGroups:x,refreshSubscription:function(){return bG(void 0,void 0,void 0,(function(){var e;return wG(this,(function(t){switch(t.label){case 0:return[4,m()];case 1:return e=t.sent(),_(e),[2]}}))}))}}}),[y,b,w,x,_,m]);return e(I6.Provider,vG({value:S},{children:n}),void 0);function k(){return bG(this,void 0,void 0,(function(){var e;return wG(this,(function(t){switch(t.label){case 0:if(!r.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,c()];case 2:return[2,t.sent()];case 3:return e=t.sent(),Qg.error(e),[2,[]];case 4:return[2]}}))}))}function C(){return bG(this,void 0,void 0,(function(){var e;return wG(this,(function(t){switch(t.label){case 0:if(!r.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,l()];case 2:return[2,t.sent()];case 3:return e=t.sent(),Qg.error(e),[2,[]];case 4:return[2]}}))}))}};var T6={};function N6(e){var t;(null==e?void 0:e.type)&&(null===(t=T6[e.type])||void 0===t||t.some((function(t){return t(e)})))}function D6(e,t,n){l((function(){if(e)return T6[e]||(T6[e]=[]),T6[e].push(t),function(){T6[e]=T6[e].filter((function(e){return e!==t}))}}),xG([e],n||[]))}var A6=g$,P6=v$,M6=b$,j6=jG,R6=I$,L6=[],F6=L6.sort,z6=j6((function(){L6.sort(void 0)})),B6=j6((function(){L6.sort(null)})),U6=R6("sort");A6({target:"Array",proto:!0,forced:z6||!B6||!U6},{sort:function(e){return void 0===e?F6.call(M6(this)):F6.call(M6(this),P6(e))}});var q6=G4,V6=[].reverse,K6=[1,2];g$({target:"Array",proto:!0,forced:String(K6)===String(K6.reverse())},{reverse:function(){return q6(this)&&(this.length=this.length),V6.call(this)}});var H6,W6,G6,Y6=[],Q6=function(e,t){Y6.some((function(t){return t.handler===e}))||Y6.push({handler:e,priority:t||0})},$6=function(e){Y6=Y6.filter((function(t){return t.handler!==e}))};!function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(H6||(H6={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftGroup="USER_LEFT_GROUP"}(W6||(W6={})),function(e){e.Normal="NORMAL",e.LeftGroupChat="LEFT_GROUP_CHAT",e.LeftOneToOneChat="LEFT_ONE_TO_ONE_CHAT"}(G6||(G6={})),(new LK).pipe(oG(100),(function(e){return zK()((t=lG,function(e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new cG(r,n));var i=Object.create(e,VK);return i.source=e,i.subjectFactory=r,i})(e));var t,n}));nG("/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\tStyles for basic PhotoSwipe functionality (sliding area, open/close transitions)\n*/\n/* pswp = photoswipe */\n.pswp {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n overflow: hidden;\n touch-action: none;\n z-index: 1500;\n -webkit-text-size-adjust: 100%;\n /* create separate layer, to avoid paint on window.onscroll in webkit/blink */\n -webkit-backface-visibility: hidden;\n outline: none; }\n .pswp * {\n box-sizing: border-box; }\n .pswp img {\n max-width: none; }\n\n/* style is added when JS option showHideOpacity is set to true */\n.pswp--animate_opacity {\n /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */\n opacity: 0.001;\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--open {\n display: block; }\n\n.pswp--zoom-allowed .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-zoom-in;\n cursor: -moz-zoom-in;\n cursor: zoom-in; }\n\n.pswp--zoomed-in .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab; }\n\n.pswp--dragging .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing; }\n\n/*\n\tBackground is added as a separate element.\n\tAs animating opacity is much faster than animating rgba() background-color.\n*/\n.pswp__bg {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: #000;\n opacity: 0;\n transform: translateZ(0);\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__scroll-wrap {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n touch-action: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0; }\n\n/* Prevent selection and tap highlights */\n.pswp__container,\n.pswp__img {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none; }\n\n.pswp__zoom-wrap {\n position: absolute;\n width: 100%;\n transform-origin: left top;\n /* for open/close transition */\n transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp__bg {\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--animated-in .pswp__bg,\n.pswp--animated-in .pswp__zoom-wrap {\n transition: none; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n -webkit-backface-visibility: hidden; }\n\n.pswp__item {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden; }\n\n.pswp__img {\n position: absolute;\n width: auto;\n height: auto;\n top: 0;\n left: 0; }\n\n/*\n\tstretched thumbnail or div placeholder element (see below)\n\tstyle is added to avoid flickering in webkit/blink when layers overlap\n*/\n.pswp__img--placeholder {\n -webkit-backface-visibility: hidden; }\n\n/*\n\tdiv element that matches size of large image\n\tlarge image loads on top of it\n*/\n.pswp__img--placeholder--blank {\n background: #222; }\n\n.pswp--ie .pswp__img {\n width: 100% !important;\n height: auto !important;\n left: 0;\n top: 0; }\n\n/*\n\tError message appears when image is not loaded\n\t(JS option errorMsg controls markup)\n*/\n.pswp__error-msg {\n position: absolute;\n left: 0;\n top: 50%;\n width: 100%;\n text-align: center;\n font-size: 14px;\n line-height: 16px;\n margin-top: -8px;\n color: #CCC; }\n\n.pswp__error-msg a {\n color: #CCC;\n text-decoration: underline; }\n");nG('/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\n\tContents:\n\n\t1. Buttons\n\t2. Share modal and links\n\t3. Index indicator ("1 of X" counter)\n\t4. Caption\n\t5. Loading indicator\n\t6. Additional styles (root element, top bar, idle state, hidden state, etc.)\n\n*/\n/*\n\t\n\t1. Buttons\n\n */\n/* <button> css reset */\n.pswp__button {\n width: 44px;\n height: 44px;\n position: relative;\n background: none;\n cursor: pointer;\n overflow: visible;\n -webkit-appearance: none;\n display: block;\n border: 0;\n padding: 0;\n margin: 0;\n float: right;\n opacity: 0.75;\n transition: opacity 0.2s;\n box-shadow: none; }\n .pswp__button:focus, .pswp__button:hover {\n opacity: 1; }\n .pswp__button:active {\n outline: none;\n opacity: 0.9; }\n .pswp__button::-moz-focus-inner {\n padding: 0;\n border: 0; }\n\n/* pswp__ui--over-close class it added when mouse is over element that should close gallery */\n.pswp__ui--over-close .pswp__button--close {\n opacity: 1; }\n\n.pswp__button,\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n background: url(default-skin.png) 0 0 no-repeat;\n background-size: 264px 88px;\n width: 44px;\n height: 44px; }\n\n@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {\n /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */\n .pswp--svg .pswp__button,\n .pswp--svg .pswp__button--arrow--left:before,\n .pswp--svg .pswp__button--arrow--right:before {\n background-image: url(default-skin.svg); }\n .pswp--svg .pswp__button--arrow--left,\n .pswp--svg .pswp__button--arrow--right {\n background: none; } }\n\n.pswp__button--close {\n background-position: 0 -44px; }\n\n.pswp__button--share {\n background-position: -44px -44px; }\n\n.pswp__button--fs {\n display: none; }\n\n.pswp--supports-fs .pswp__button--fs {\n display: block; }\n\n.pswp--fs .pswp__button--fs {\n background-position: -44px 0; }\n\n.pswp__button--zoom {\n display: none;\n background-position: -88px 0; }\n\n.pswp--zoom-allowed .pswp__button--zoom {\n display: block; }\n\n.pswp--zoomed-in .pswp__button--zoom {\n background-position: -132px 0; }\n\n/* no arrows on touch screens */\n.pswp--touch .pswp__button--arrow--left,\n.pswp--touch .pswp__button--arrow--right {\n visibility: hidden; }\n\n/*\n\tArrow buttons hit area\n\t(icon is added to :before pseudo-element)\n*/\n.pswp__button--arrow--left,\n.pswp__button--arrow--right {\n background: none;\n top: 50%;\n margin-top: -50px;\n width: 70px;\n height: 100px;\n position: absolute; }\n\n.pswp__button--arrow--left {\n left: 0; }\n\n.pswp__button--arrow--right {\n right: 0; }\n\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n content: \'\';\n top: 35px;\n background-color: rgba(0, 0, 0, 0.3);\n height: 30px;\n width: 32px;\n position: absolute; }\n\n.pswp__button--arrow--left:before {\n left: 6px;\n background-position: -138px -44px; }\n\n.pswp__button--arrow--right:before {\n right: 6px;\n background-position: -94px -44px; }\n\n/*\n\n\t2. Share modal/popup and links\n\n */\n.pswp__counter,\n.pswp__share-modal {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n\n.pswp__share-modal {\n display: block;\n background: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 10px;\n position: absolute;\n z-index: 1600;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__share-modal--hidden {\n display: none; }\n\n.pswp__share-tooltip {\n z-index: 1620;\n position: absolute;\n background: #FFF;\n top: 56px;\n border-radius: 2px;\n display: block;\n width: auto;\n right: 44px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);\n transform: translateY(6px);\n transition: transform 0.25s;\n -webkit-backface-visibility: hidden;\n will-change: transform; }\n .pswp__share-tooltip a {\n display: block;\n padding: 8px 12px;\n color: #000;\n text-decoration: none;\n font-size: 14px;\n line-height: 18px; }\n .pswp__share-tooltip a:hover {\n text-decoration: none;\n color: #000; }\n .pswp__share-tooltip a:first-child {\n /* round corners on the first/last list item */\n border-radius: 2px 2px 0 0; }\n .pswp__share-tooltip a:last-child {\n border-radius: 0 0 2px 2px; }\n\n.pswp__share-modal--fade-in {\n opacity: 1; }\n .pswp__share-modal--fade-in .pswp__share-tooltip {\n transform: translateY(0); }\n\n/* increase size of share links on touch devices */\n.pswp--touch .pswp__share-tooltip a {\n padding: 16px 12px; }\n\na.pswp__share--facebook:before {\n content: \'\';\n display: block;\n width: 0;\n height: 0;\n position: absolute;\n top: -12px;\n right: 15px;\n border: 6px solid transparent;\n border-bottom-color: #FFF;\n -webkit-pointer-events: none;\n -moz-pointer-events: none;\n pointer-events: none; }\n\na.pswp__share--facebook:hover {\n background: #3E5C9A;\n color: #FFF; }\n a.pswp__share--facebook:hover:before {\n border-bottom-color: #3E5C9A; }\n\na.pswp__share--twitter:hover {\n background: #55ACEE;\n color: #FFF; }\n\na.pswp__share--pinterest:hover {\n background: #CCC;\n color: #CE272D; }\n\na.pswp__share--download:hover {\n background: #DDD; }\n\n/*\n\n\t3. Index indicator ("1 of X" counter)\n\n */\n.pswp__counter {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n font-size: 13px;\n line-height: 44px;\n color: #FFF;\n opacity: 0.75;\n padding: 0 10px; }\n\n/*\n\t\n\t4. Caption\n\n */\n.pswp__caption {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n min-height: 44px; }\n .pswp__caption small {\n font-size: 11px;\n color: #BBB; }\n\n.pswp__caption__center {\n text-align: left;\n max-width: 420px;\n margin: 0 auto;\n font-size: 13px;\n padding: 10px;\n line-height: 20px;\n color: #CCC; }\n\n.pswp__caption--empty {\n display: none; }\n\n/* Fake caption element, used to calculate height of next/prev image */\n.pswp__caption--fake {\n visibility: hidden; }\n\n/*\n\n\t5. Loading indicator (preloader)\n\n\tYou can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR\n\n */\n.pswp__preloader {\n width: 44px;\n height: 44px;\n position: absolute;\n top: 0;\n left: 50%;\n margin-left: -22px;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n will-change: opacity;\n direction: ltr; }\n\n.pswp__preloader__icn {\n width: 20px;\n height: 20px;\n margin: 12px; }\n\n.pswp__preloader--active {\n opacity: 1; }\n .pswp__preloader--active .pswp__preloader__icn {\n /* We use .gif in browsers that don\'t support CSS animation */\n background: url(preloader.gif) 0 0 no-repeat; }\n\n.pswp--css_animation .pswp__preloader--active {\n opacity: 1; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {\n -webkit-animation: clockwise 500ms linear infinite;\n animation: clockwise 500ms linear infinite; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {\n -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;\n animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }\n\n.pswp--css_animation .pswp__preloader__icn {\n background: none;\n opacity: 0.75;\n width: 14px;\n height: 14px;\n position: absolute;\n left: 15px;\n top: 15px;\n margin: 0; }\n\n.pswp--css_animation .pswp__preloader__cut {\n /* \n\t\t\tThe idea of animating inner circle is based on Polymer ("material") loading indicator \n\t\t\t by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html\n\t\t*/\n position: relative;\n width: 7px;\n height: 14px;\n overflow: hidden; }\n\n.pswp--css_animation .pswp__preloader__donut {\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n border: 2px solid #FFF;\n border-radius: 50%;\n border-left-color: transparent;\n border-bottom-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n background: none;\n margin: 0; }\n\n@media screen and (max-width: 1024px) {\n .pswp__preloader {\n position: relative;\n left: auto;\n top: auto;\n margin: 0;\n float: right; } }\n\n@-webkit-keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@-webkit-keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n@keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n/*\n\t\n\t6. Additional styles\n\n */\n/* root element of UI */\n.pswp__ui {\n -webkit-font-smoothing: auto;\n visibility: visible;\n opacity: 1;\n z-index: 1550; }\n\n/* top black bar with buttons and "1 of X" indicator */\n.pswp__top-bar {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n width: 100%; }\n\n.pswp__caption,\n.pswp__top-bar,\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n -webkit-backface-visibility: hidden;\n will-change: opacity;\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n/* pswp--has_mouse class is added only when two subsequent mousemove events occur */\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n visibility: visible; }\n\n.pswp__top-bar,\n.pswp__caption {\n background-color: rgba(0, 0, 0, 0.5); }\n\n/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */\n.pswp__ui--fit .pswp__top-bar,\n.pswp__ui--fit .pswp__caption {\n background-color: rgba(0, 0, 0, 0.3); }\n\n/* pswp__ui--idle class is added when mouse isn\'t moving for several seconds (JS option timeToIdle) */\n.pswp__ui--idle .pswp__top-bar {\n opacity: 0; }\n\n.pswp__ui--idle .pswp__button--arrow--left,\n.pswp__ui--idle .pswp__button--arrow--right {\n opacity: 0; }\n\n/*\n\tpswp__ui--hidden class is added when controls are hidden\n\te.g. when user taps to toggle visibility of controls\n*/\n.pswp__ui--hidden .pswp__top-bar,\n.pswp__ui--hidden .pswp__caption,\n.pswp__ui--hidden .pswp__button--arrow--left,\n.pswp__ui--hidden .pswp__button--arrow--right {\n /* Force paint & create composition layer for controls. */\n opacity: 0.001; }\n\n/* pswp__ui--one-slide class is added when there is just one item in gallery */\n.pswp__ui--one-slide .pswp__button--arrow--left,\n.pswp__ui--one-slide .pswp__button--arrow--right,\n.pswp__ui--one-slide .pswp__counter {\n display: none; }\n\n.pswp__element--disabled {\n display: none !important; }\n\n.pswp--minimal--dark .pswp__top-bar {\n background: none; }\n');var J6,Z6={exports:{}},X6=Z6.exports=function(){var e=function(e,t,n,r){var i={features:null,bind:function(e,t,n,r){var i=(r?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[i](t[o],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){i.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){i.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(i.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var r=e.length;r--;)if(e[r][n]===t)return r;return-1},extend:function(e,t,n){for(var r in t)if(t.hasOwnProperty(r)){if(n&&e.hasOwnProperty(r))continue;e[r]=t[r]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(i.features)return i.features;var e=i.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var r=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var o=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);o&&o.length>0&&(o=parseInt(o[1],10))>=1&&o<8&&(n.isOldIOSPhone=!0)}var a=r.match(/Android\s([0-9\.]*)/),s=a?a[1]:0;(s=parseFloat(s))>=1&&(s<4.4&&(n.isOldAndroid=!0),n.androidVersion=s),n.isMobileOpera=/opera mini|opera mobi/i.test(r)}for(var u,c,l=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],f=0;f<4;f++){t=d[f];for(var p=0;p<3;p++)u=l[p],c=t+(t?u.charAt(0).toUpperCase()+u.slice(1):u),!n[u]&&c in e&&(n[u]=c);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var h=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-h)),r=window.setTimeout((function(){e(t+n)}),n);return h=t+n,r},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=n,n}};i.detectFeatures(),i.features.oldIE&&(i.bind=function(e,t,n,r){t=t.split(" ");for(var i,o=(r?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(i=t[s])if("object"==typeof n&&n.handleEvent){if(r){if(!n["oldIE"+i])return!1}else n["oldIE"+i]=a;e[o]("on"+i,n["oldIE"+i])}else e[o]("on"+i,n)});var o=this,a=25,s=3,u={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};i.extend(u,r);var c,l,d,f,p,h,m,g,v,y,b,w,x,_,S,k,C,E,I,O,T,N,D,A,P,M,j,R,L,F,z,B,U,q,V,K,H,W,G,Y,Q,$,J,Z,X,ee,te,ne,re,ie,oe,ae,se,ue,ce,le,de=function(){return{x:0,y:0}},fe=de(),pe=de(),he=de(),me={},ge=0,ve={},ye=de(),be=0,we=!0,xe=[],_e={},Se=!1,ke=function(e,t){i.extend(o,t.publicMethods),xe.push(e)},Ce=function(e){var t=Xt();return e>t-1?e-t:e<0?t+e:e},Ee={},Ie=function(e,t){return Ee[e]||(Ee[e]=[]),Ee[e].push(t)},Oe=function(e){var t=Ee[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var r=0;r<t.length;r++)t[r].apply(o,n)}},Te=function(){return(new Date).getTime()},Ne=function(e){ue=e,o.bg.style.opacity=e*u.bgOpacity},De=function(e,t,n,r,i){(!Se||i&&i!==o.currItem)&&(r/=i?i.fitRatio:o.currItem.fitRatio),e[N]=w+t+"px, "+n+"px"+x+" scale("+r+")"},Ae=function(e){re&&(e&&(y>o.currItem.fitRatio?Se||(dn(o.currItem,!1,!0),Se=!0):Se&&(dn(o.currItem),Se=!1)),De(re,he.x,he.y,y))},Pe=function(e){e.container&&De(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Me=function(e,t){t[N]=w+e+"px, 0px"+x},je=function(e,t){if(!u.loop&&t){var n=f+(ye.x*ge-e)/ye.x,r=Math.round(e-yt.x);(n<0&&r>0||n>=Xt()-1&&r<0)&&(e=yt.x+r*u.mainScrollEndFriction)}yt.x=e,Me(e,p)},Re=function(e,t){var n=bt[e]-ve[e];return pe[e]+fe[e]+n-n*(t/b)},Le=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Fe=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},ze=null,Be=function(){ze&&(i.unbind(document,"mousemove",Be),i.addClass(e,"pswp--has_mouse"),u.mouseUsed=!0,Oe("mouseUsed")),ze=setTimeout((function(){ze=null}),100)},Ue=function(){i.bind(document,"keydown",o),z.transform&&i.bind(o.scrollWrap,"click",o),u.mouseUsed||i.bind(document,"mousemove",Be),i.bind(window,"resize scroll orientationchange",o),Oe("bindEvents")},qe=function(){i.unbind(window,"resize scroll orientationchange",o),i.unbind(window,"scroll",v.scroll),i.unbind(document,"keydown",o),i.unbind(document,"mousemove",Be),z.transform&&i.unbind(o.scrollWrap,"click",o),G&&i.unbind(window,m,o),clearTimeout(B),Oe("unbindEvents")},Ve=function(e,t){var n=sn(o.currItem,me,e);return t&&(ne=n),n},Ke=function(e){return e||(e=o.currItem),e.initialZoomLevel},He=function(e){return e||(e=o.currItem),e.w>0?u.maxSpreadZoom:1},We=function(e,t,n,r){return r===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=Re(e,r),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Ge=function(){if(N){var t=z.perspective&&!A;return w="translate"+(t?"3d(":"("),void(x=z.perspective?", 0px)":")")}N="left",i.addClass(e,"pswp--ie"),Me=function(e,t){t.left=e+"px"},Pe=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,r=t*e.w,i=t*e.h;n.width=r+"px",n.height=i+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Ae=function(){if(re){var e=re,t=o.currItem,n=t.fitRatio>1?1:t.fitRatio,r=n*t.w,i=n*t.h;e.width=r+"px",e.height=i+"px",e.left=he.x+"px",e.top=he.y+"px"}}},Ye=function(e){var t="";u.escKey&&27===e.keyCode?t="close":u.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,o[t]()))},Qe=function(e){e&&($||Q||ie||H)&&(e.preventDefault(),e.stopPropagation())},$e=function(){o.setScrollOffset(0,i.getScrollY())},Je={},Ze=0,Xe=function(e){Je[e]&&(Je[e].raf&&M(Je[e].raf),Ze--,delete Je[e])},et=function(e){Je[e]&&Xe(e),Je[e]||(Ze++,Je[e]={})},tt=function(){for(var e in Je)Je.hasOwnProperty(e)&&Xe(e)},nt=function(e,t,n,r,i,o,a){var s,u=Te();et(e);var c=function(){if(Je[e]){if((s=Te()-u)>=r)return Xe(e),o(n),void(a&&a());o((n-t)*i(s/r)+t),Je[e].raf=P(c)}};c()},rt={shout:Oe,listen:Ie,viewportSize:me,options:u,isMainScrollAnimating:function(){return ie},getZoomLevel:function(){return y},getCurrentIndex:function(){return f},isDragging:function(){return G},isZooming:function(){return ee},setScrollOffset:function(e,t){ve.x=e,F=ve.y=t,Oe("updateScrollOffset",ve)},applyZoomPan:function(e,t,n,r){he.x=t,he.y=n,y=e,Ae(r)},init:function(){if(!c&&!l){var n;o.framework=i,o.template=e,o.bg=i.getChildByClass(e,"pswp__bg"),j=e.className,c=!0,z=i.detectFeatures(),P=z.raf,M=z.caf,N=z.transform,L=z.oldIE,o.scrollWrap=i.getChildByClass(e,"pswp__scroll-wrap"),o.container=i.getChildByClass(o.scrollWrap,"pswp__container"),p=o.container.style,o.itemHolders=k=[{el:o.container.children[0],wrap:0,index:-1},{el:o.container.children[1],wrap:0,index:-1},{el:o.container.children[2],wrap:0,index:-1}],k[0].el.style.display=k[2].el.style.display="none",Ge(),v={resize:o.updateSize,orientationchange:function(){clearTimeout(B),B=setTimeout((function(){me.x!==o.scrollWrap.clientWidth&&o.updateSize()}),500)},scroll:$e,keydown:Ye,click:Qe};var r=z.isOldIOSPhone||z.isOldAndroid||z.isMobileOpera;for(z.animationName&&z.transform&&!r||(u.showAnimationDuration=u.hideAnimationDuration=0),n=0;n<xe.length;n++)o["init"+xe[n]]();t&&(o.ui=new t(o,i)).init(),Oe("firstUpdate"),f=f||u.index||0,(isNaN(f)||f<0||f>=Xt())&&(f=0),o.currItem=Zt(f),(z.isOldIOSPhone||z.isOldAndroid)&&(we=!1),e.setAttribute("aria-hidden","false"),u.modal&&(we?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===F&&(Oe("initialLayout"),F=R=i.getScrollY());var a="pswp--open ";for(u.mainClass&&(a+=u.mainClass+" "),u.showHideOpacity&&(a+="pswp--animate_opacity "),a+=A?"pswp--touch":"pswp--notouch",a+=z.animationName?" pswp--css_animation":"",a+=z.svg?" pswp--svg":"",i.addClass(e,a),o.updateSize(),h=-1,be=null,n=0;n<s;n++)Me((n+h)*ye.x,k[n].el.style);L||i.bind(o.scrollWrap,g,o),Ie("initialZoomInEnd",(function(){o.setContent(k[0],f-1),o.setContent(k[2],f+1),k[0].el.style.display=k[2].el.style.display="block",u.focus&&e.focus(),Ue()})),o.setContent(k[1],f),o.updateCurrItem(),Oe("afterInit"),we||(_=setInterval((function(){Ze||G||ee||y!==o.currItem.initialZoomLevel||o.updateSize()}),1e3)),i.addClass(e,"pswp--visible")}},close:function(){c&&(c=!1,l=!0,Oe("close"),qe(),en(o.currItem,null,!0,o.destroy))},destroy:function(){Oe("destroy"),Yt&&clearTimeout(Yt),e.setAttribute("aria-hidden","true"),e.className=j,_&&clearInterval(_),i.unbind(o.scrollWrap,g,o),i.unbind(window,"scroll",o),kt(),tt(),Ee=null},panTo:function(e,t,n){n||(e>ne.min.x?e=ne.min.x:e<ne.max.x&&(e=ne.max.x),t>ne.min.y?t=ne.min.y:t<ne.max.y&&(t=ne.max.y)),he.x=e,he.y=t,Ae()},handleEvent:function(e){e=e||window.event,v[e.type]&&v[e.type](e)},goTo:function(e){var t=(e=Ce(e))-f;be=t,f=e,o.currItem=Zt(f),ge-=t,je(ye.x*ge),tt(),ie=!1,o.updateCurrItem()},next:function(){o.goTo(f+1)},prev:function(){o.goTo(f-1)},updateCurrZoomItem:function(e){if(e&&Oe("beforeChange",0),k[1].el.children.length){var t=k[1].el.children[0];re=i.hasClass(t,"pswp__zoom-wrap")?t.style:null}else re=null;ne=o.currItem.bounds,b=y=o.currItem.initialZoomLevel,he.x=ne.center.x,he.y=ne.center.y,e&&Oe("afterChange")},invalidateCurrItems:function(){S=!0;for(var e=0;e<s;e++)k[e].item&&(k[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==be){var t,n=Math.abs(be);if(!(e&&n<2)){o.currItem=Zt(f),Se=!1,Oe("beforeChange",be),n>=s&&(h+=be+(be>0?-s:s),n=s);for(var r=0;r<n;r++)be>0?(t=k.shift(),k[s-1]=t,h++,Me((h+2)*ye.x,t.el.style),o.setContent(t,f-n+r+1+1)):(t=k.pop(),k.unshift(t),h--,Me(h*ye.x,t.el.style),o.setContent(t,f+n-r-1-1));if(re&&1===Math.abs(be)){var i=Zt(C);i.initialZoomLevel!==y&&(sn(i,me),dn(i),Pe(i))}be=0,o.updateCurrZoomItem(),C=f,Oe("afterChange")}}},updateSize:function(t){if(!we&&u.modal){var n=i.getScrollY();if(F!==n&&(e.style.top=n+"px",F=n),!t&&_e.x===window.innerWidth&&_e.y===window.innerHeight)return;_e.x=window.innerWidth,_e.y=window.innerHeight,e.style.height=_e.y+"px"}if(me.x=o.scrollWrap.clientWidth,me.y=o.scrollWrap.clientHeight,$e(),ye.x=me.x+Math.round(me.x*u.spacing),ye.y=me.y,je(ye.x*ge),Oe("beforeResize"),void 0!==h){for(var r,a,c,l=0;l<s;l++)r=k[l],Me((l+h)*ye.x,r.el.style),c=f+l-1,u.loop&&Xt()>2&&(c=Ce(c)),(a=Zt(c))&&(S||a.needsUpdate||!a.bounds)?(o.cleanSlide(a),o.setContent(r,c),1===l&&(o.currItem=a,o.updateCurrZoomItem(!0)),a.needsUpdate=!1):-1===r.index&&c>=0&&o.setContent(r,c),a&&a.container&&(sn(a,me),dn(a),Pe(a));S=!1}b=y=o.currItem.initialZoomLevel,(ne=o.currItem.bounds)&&(he.x=ne.center.x,he.y=ne.center.y,Ae(!0)),Oe("resize")},zoomTo:function(e,t,n,r,o){t&&(b=y,bt.x=Math.abs(t.x)-he.x,bt.y=Math.abs(t.y)-he.y,Le(pe,he));var a=Ve(e,!1),s={};We("x",a,s,e),We("y",a,s,e);var u=y,c={x:he.x,y:he.y};Fe(s);var l=function(t){1===t?(y=e,he.x=s.x,he.y=s.y):(y=(e-u)*t+u,he.x=(s.x-c.x)*t+c.x,he.y=(s.y-c.y)*t+c.y),o&&o(t),Ae(1===t)};n?nt("customZoomTo",0,1,n,r||i.easing.sine.inOut,l):l(1)}},it=30,ot=10,at={},st={},ut={},ct={},lt={},dt=[],ft={},pt=[],ht={},mt=0,gt=de(),vt=0,yt=de(),bt=de(),wt=de(),xt=function(e,t){return e.x===t.x&&e.y===t.y},_t=function(e,t){return Math.abs(e.x-t.x)<a&&Math.abs(e.y-t.y)<a},St=function(e,t){return ht.x=Math.abs(e.x-t.x),ht.y=Math.abs(e.y-t.y),Math.sqrt(ht.x*ht.x+ht.y*ht.y)},kt=function(){J&&(M(J),J=null)},Ct=function(){G&&(J=P(Ct),Ut())},Et=function(){return!("fit"===u.scaleMode&&y===o.currItem.initialZoomLevel)},It=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:It(e.parentNode,t))},Ot={},Tt=function(e,t){return Ot.prevent=!It(e.target,u.isClickableElement),Oe("preventDragEvent",e,t,Ot),Ot.prevent},Nt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Dt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},At=function(e,t,n){if(e-q>50){var r=pt.length>2?pt.shift():{};r.x=t,r.y=n,pt.push(r),q=e}},Pt=function(){var e=he.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(me.y/2))},Mt={},jt={},Rt=[],Lt=function(e){for(;Rt.length>0;)Rt.pop();return D?(le=0,dt.forEach((function(e){0===le?Rt[0]=e:1===le&&(Rt[1]=e),le++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Rt[0]=Nt(e.touches[0],Mt),e.touches.length>1&&(Rt[1]=Nt(e.touches[1],jt))):(Mt.x=e.pageX,Mt.y=e.pageY,Mt.id="",Rt[0]=Mt),Rt},Ft=function(e,t){var n,r,i,a,s=he[e]+t[e],c=t[e]>0,l=yt.x+t.x,d=yt.x-ft.x;if(n=s>ne.min[e]||s<ne.max[e]?u.panEndFriction:1,s=he[e]+t[e]*n,(u.allowPanToNext||y===o.currItem.initialZoomLevel)&&(re?"h"!==oe||"x"!==e||Q||(c?(s>ne.min[e]&&(n=u.panEndFriction,ne.min[e],r=ne.min[e]-pe[e]),(r<=0||d<0)&&Xt()>1?(a=l,d<0&&l>ft.x&&(a=ft.x)):ne.min.x!==ne.max.x&&(i=s)):(s<ne.max[e]&&(n=u.panEndFriction,ne.max[e],r=pe[e]-ne.max[e]),(r<=0||d>0)&&Xt()>1?(a=l,d>0&&l<ft.x&&(a=ft.x)):ne.min.x!==ne.max.x&&(i=s))):a=l,"x"===e))return void 0!==a&&(je(a,!0),Z=a!==ft.x),ne.min.x!==ne.max.x&&(void 0!==i?he.x=i:Z||(he.x+=t.x*n)),void 0!==a;ie||Z||y>o.currItem.fitRatio&&(he[e]+=t[e]*n)},zt=function(e){if(!("mousedown"===e.type&&e.button>0))if(Jt)e.preventDefault();else if(!W||"mousedown"!==e.type){if(Tt(e,!0)&&e.preventDefault(),Oe("pointerDown"),D){var t=i.arraySearch(dt,e.pointerId,"id");t<0&&(t=dt.length),dt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Lt(e),r=n.length;X=null,tt(),G&&1!==r||(G=ae=!0,i.bind(window,m,o),K=ce=se=H=Z=$=Y=Q=!1,oe=null,Oe("firstTouchStart",n),Le(pe,he),fe.x=fe.y=0,Le(ct,n[0]),Le(lt,ct),ft.x=ye.x*ge,pt=[{x:ct.x,y:ct.y}],q=U=Te(),Ve(y,!0),kt(),Ct()),!ee&&r>1&&!ie&&!Z&&(b=y,Q=!1,ee=Y=!0,fe.y=fe.x=0,Le(pe,he),Le(at,n[0]),Le(st,n[1]),Dt(at,st,wt),bt.x=Math.abs(wt.x)-he.x,bt.y=Math.abs(wt.y)-he.y,te=St(at,st))}},Bt=function(e){if(e.preventDefault(),D){var t=i.arraySearch(dt,e.pointerId,"id");if(t>-1){var n=dt[t];n.x=e.pageX,n.y=e.pageY}}if(G){var r=Lt(e);if(oe||$||ee)X=r;else if(yt.x!==ye.x*ge)oe="h";else{var o=Math.abs(r[0].x-ct.x)-Math.abs(r[0].y-ct.y);Math.abs(o)>=ot&&(oe=o>0?"h":"v",X=r)}}},Ut=function(){if(X){var e=X.length;if(0!==e)if(Le(at,X[0]),ut.x=at.x-ct.x,ut.y=at.y-ct.y,ee&&e>1){if(ct.x=at.x,ct.y=at.y,!ut.x&&!ut.y&&xt(X[1],st))return;Le(st,X[1]),Q||(Q=!0,Oe("zoomGestureStarted"));var t=St(at,st),n=Wt(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(ce=!0);var r=1,i=Ke(),a=He();if(n<i)if(u.pinchToClose&&!ce&&b<=o.currItem.initialZoomLevel){var s=1-(i-n)/(i/1.2);Ne(s),Oe("onPinchClose",s),se=!0}else(r=(i-n)/i)>1&&(r=1),n=i-r*(i/3);else n>a&&((r=(n-a)/(6*i))>1&&(r=1),n=a+r*i);r<0&&(r=0),Dt(at,st,gt),fe.x+=gt.x-wt.x,fe.y+=gt.y-wt.y,Le(wt,gt),he.x=Re("x",n),he.y=Re("y",n),K=n>y,y=n,Ae()}else{if(!oe)return;if(ae&&(ae=!1,Math.abs(ut.x)>=ot&&(ut.x-=X[0].x-lt.x),Math.abs(ut.y)>=ot&&(ut.y-=X[0].y-lt.y)),ct.x=at.x,ct.y=at.y,0===ut.x&&0===ut.y)return;if("v"===oe&&u.closeOnVerticalDrag&&!Et()){fe.y+=ut.y,he.y+=ut.y;var c=Pt();return H=!0,Oe("onVerticalDrag",c),Ne(c),void Ae()}At(Te(),at.x,at.y),$=!0,ne=o.currItem.bounds,Ft("x",ut)||(Ft("y",ut),Fe(he),Ae())}}},qt=function(e){if(z.isOldAndroid){if(W&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(W),W=setTimeout((function(){W=0}),600))}var t;if(Oe("pointerUp"),Tt(e,!1)&&e.preventDefault(),D){var n=i.arraySearch(dt,e.pointerId,"id");if(n>-1)if(t=dt.splice(n,1)[0],navigator.msPointerEnabled){var r={4:"mouse",2:"touch",3:"pen"};t.type=r[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}else t.type=e.pointerType||"mouse"}var a,s=Lt(e),c=s.length;if("mouseup"===e.type&&(c=0),2===c)return X=null,!0;1===c&&Le(lt,s[0]),0!==c||oe||ie||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Oe("touchRelease",e,t));var l=-1;if(0===c&&(G=!1,i.unbind(window,m,o),kt(),ee?l=0:-1!==vt&&(l=Te()-vt)),vt=1===c?Te():-1,a=-1!==l&&l<150?"zoom":"swipe",ee&&c<2&&(ee=!1,1===c&&(a="zoomPointerUp"),Oe("zoomGestureEnded")),X=null,$||Q||ie||H)if(tt(),V||(V=Vt()),V.calculateSwipeSpeed("x"),H)if(Pt()<u.verticalDragRange)o.close();else{var d=he.y,f=ue;nt("verticalDrag",0,1,300,i.easing.cubic.out,(function(e){he.y=(o.currItem.initialPosition.y-d)*e+d,Ne((1-f)*e+f),Ae()})),Oe("onVerticalDrag",1)}else{if((Z||ie)&&0===c){if(Ht(a,V))return;a="zoomPointerUp"}ie||("swipe"===a?!Z&&y>o.currItem.fitRatio&&Kt(V):Gt())}},Vt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(r){pt.length>1?(e=Te()-q+50,t=pt[pt.length-2][r]):(e=Te()-U,t=lt[r]),n.lastFlickOffset[r]=ct[r]-t,n.lastFlickDist[r]=Math.abs(n.lastFlickOffset[r]),n.lastFlickDist[r]>20?n.lastFlickSpeed[r]=n.lastFlickOffset[r]/e:n.lastFlickSpeed[r]=0,Math.abs(n.lastFlickSpeed[r])<.1&&(n.lastFlickSpeed[r]=0),n.slowDownRatio[r]=.95,n.slowDownRatioReverse[r]=1-n.slowDownRatio[r],n.speedDecelerationRatio[r]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(he[e]>ne.min[e]?n.backAnimDestination[e]=ne.min[e]:he[e]<ne.max[e]&&(n.backAnimDestination[e]=ne.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,nt("bounceZoomPan"+e,he[e],n.backAnimDestination[e],t||300,i.easing.sine.out,(function(t){he[e]=t,Ae()})))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,he[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Je.zoomPan&&(Je.zoomPan.raf=P(n.panAnimLoop),n.now=Te(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Ae(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return he.x=Math.round(he.x),he.y=Math.round(he.y),Ae(),void Xe("zoomPan")}};return n},Kt=function(e){if(e.calculateSwipeSpeed("y"),ne=o.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;et("zoomPan"),e.lastNow=Te(),e.panAnimLoop()},Ht=function(e,t){var n,r,a;if(ie||(mt=f),"swipe"===e){var s=ct.x-lt.x,c=t.lastFlickDist.x<10;s>it&&(c||t.lastFlickOffset.x>20)?r=-1:s<-it&&(c||t.lastFlickOffset.x<-20)&&(r=1)}r&&((f+=r)<0?(f=u.loop?Xt()-1:0,a=!0):f>=Xt()&&(f=u.loop?0:Xt()-1,a=!0),a&&!u.loop||(be+=r,ge-=r,n=!0));var l,d=ye.x*ge,p=Math.abs(d-yt.x);return n||d>yt.x==t.lastFlickSpeed.x>0?(l=Math.abs(t.lastFlickSpeed.x)>0?p/Math.abs(t.lastFlickSpeed.x):333,l=Math.min(l,400),l=Math.max(l,250)):l=333,mt===f&&(n=!1),ie=!0,Oe("mainScrollAnimStart"),nt("mainScroll",yt.x,d,l,i.easing.cubic.out,je,(function(){tt(),ie=!1,mt=-1,(n||mt!==f)&&o.updateCurrItem(),Oe("mainScrollAnimComplete")})),n&&o.updateCurrItem(!0),n},Wt=function(e){return 1/te*e*b},Gt=function(){var e=y,t=Ke(),n=He();y<t?e=t:y>n&&(e=n);var r,a=1,s=ue;return se&&!K&&!ce&&y<t?(o.close(),!0):(se&&(r=function(e){Ne((a-s)*e+s)}),o.zoomTo(e,0,200,i.easing.cubic.out,r),!0)};ke("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,r,i){E=e+t,I=e+n,O=e+r,T=i?e+i:""};(D=z.pointerEvent)&&z.touch&&(z.touch=!1),D?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):z.touch?(e("touch","start","move","end","cancel"),A=!0):e("mouse","down","move","up"),m=I+" "+O+" "+T,g=E,D&&!A&&(A=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=A,v[E]=zt,v[I]=Bt,v[O]=qt,T&&(v[T]=v[O]),z.touch&&(g+=" mousedown",m+=" mousemove mouseup",v.mousedown=v[E],v.mousemove=v[I],v.mouseup=v[O]),A||(u.allowPanToNext=!1)}}});var Yt,Qt,$t,Jt,Zt,Xt,en=function(t,n,r,a){var s;Yt&&clearTimeout(Yt),Jt=!0,$t=!0,t.initialLayout?(s=t.initialLayout,t.initialLayout=null):s=u.getThumbBoundsFn&&u.getThumbBoundsFn(f);var c=r?u.hideAnimationDuration:u.showAnimationDuration,l=function(){Xe("initialZoom"),r?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Ne(1),n&&(n.style.display="block"),i.addClass(e,"pswp--animated-in"),Oe("initialZoom"+(r?"OutEnd":"InEnd"))),a&&a(),Jt=!1};if(!c||!s||void 0===s.x)return Oe("initialZoom"+(r?"Out":"In")),y=t.initialZoomLevel,Le(he,t.initialPosition),Ae(),e.style.opacity=r?0:1,Ne(1),void(c?setTimeout((function(){l()}),c):l());var p=function(){var n=d,a=!o.currItem.src||o.currItem.loadError||u.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),r||(y=s.w/t.w,he.x=s.x,he.y=s.y-R,o[a?"template":"bg"].style.opacity=.001,Ae()),et("initialZoom"),r&&!n&&i.removeClass(e,"pswp--animated-in"),a&&(r?i[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){i.addClass(e,"pswp--animate_opacity")}),30)),Yt=setTimeout((function(){if(Oe("initialZoom"+(r?"Out":"In")),r){var o=s.w/t.w,u={x:he.x,y:he.y},d=y,f=ue,p=function(t){1===t?(y=o,he.x=s.x,he.y=s.y-F):(y=(o-d)*t+d,he.x=(s.x-u.x)*t+u.x,he.y=(s.y-F-u.y)*t+u.y),Ae(),a?e.style.opacity=1-t:Ne(f-t*f)};n?nt("initialZoom",0,1,c,i.easing.cubic.out,p,l):(p(1),Yt=setTimeout(l,c+20))}else y=t.initialZoomLevel,Le(he,t.initialPosition),Ae(),Ne(1),a?e.style.opacity=1:Ne(1),Yt=setTimeout(l,c+20)}),r?25:90)};p()},tn={},nn=[],rn={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Qt.length}},on=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},an=function(e,t,n){var r=e.bounds;r.center.x=Math.round((tn.x-t)/2),r.center.y=Math.round((tn.y-n)/2)+e.vGap.top,r.max.x=t>tn.x?Math.round(tn.x-t):r.center.x,r.max.y=n>tn.y?Math.round(tn.y-n)+e.vGap.top:r.center.y,r.min.x=t>tn.x?0:r.center.x,r.min.y=n>tn.y?e.vGap.top:r.center.y},sn=function(e,t,n){if(e.src&&!e.loadError){var r=!n;if(r&&(e.vGap||(e.vGap={top:0,bottom:0}),Oe("parseVerticalMargin",e)),tn.x=t.x,tn.y=t.y-e.vGap.top-e.vGap.bottom,r){var i=tn.x/e.w,o=tn.y/e.h;e.fitRatio=i<o?i:o;var a=u.scaleMode;"orig"===a?n=1:"fit"===a&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=on())}if(!n)return;return an(e,e.w*n,e.h*n),r&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=on(),e.initialPosition=e.bounds.center,e.bounds},un=function(e,t,n,r,i,a){t.loadError||r&&(t.imageAppended=!0,dn(t,r,t===o.currItem&&Se),n.appendChild(r),a&&setTimeout((function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)}),500))},cn=function(e){e.loading=!0,e.loaded=!1;var t=e.img=i.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},ln=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=u.errorMsg.replace("%url%",e.src),!0},dn=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var r=n?e.w:Math.round(e.w*e.fitRatio),i=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=r+"px",e.placeholder.style.height=i+"px"),t.style.width=r+"px",t.style.height=i+"px"}},fn=function(){if(nn.length){for(var e,t=0;t<nn.length;t++)(e=nn[t]).holder.index===e.index&&un(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);nn=[]}};ke("Controller",{publicMethods:{lazyLoadItem:function(e){e=Ce(e);var t=Zt(e);t&&(!t.loaded&&!t.loading||S)&&(Oe("gettingData",e,t),t.src&&cn(t))},initController:function(){i.extend(u,rn,!0),o.items=Qt=n,Zt=o.getItemAt,(Xt=u.getNumItemsFn)()<3&&(u.loop=!1),Ie("beforeChange",(function(e){var t,n=u.preload,r=null===e||e>=0,i=Math.min(n[0],Xt()),a=Math.min(n[1],Xt());for(t=1;t<=(r?a:i);t++)o.lazyLoadItem(f+t);for(t=1;t<=(r?i:a);t++)o.lazyLoadItem(f-t)})),Ie("initialLayout",(function(){o.currItem.initialLayout=u.getThumbBoundsFn&&u.getThumbBoundsFn(f)})),Ie("mainScrollAnimComplete",fn),Ie("initialZoomInEnd",fn),Ie("destroy",(function(){for(var e,t=0;t<Qt.length;t++)(e=Qt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);nn=null}))},getItemAt:function(e){return e>=0&&void 0!==Qt[e]&&Qt[e]},allowProgressiveImg:function(){return u.forceProgressiveLoading||!A||u.mouseUsed||screen.width>1200},setContent:function(e,t){u.loop&&(t=Ce(t));var n=o.getItemAt(e.index);n&&(n.container=null);var r,a=o.getItemAt(t);if(a){Oe("gettingData",t,a),e.index=t,e.item=a;var s=a.container=i.createEl("pswp__zoom-wrap");if(!a.src&&a.html&&(a.html.tagName?s.appendChild(a.html):s.innerHTML=a.html),ln(a),sn(a,me),!a.src||a.loadError||a.loaded)a.src&&!a.loadError&&((r=i.createEl("pswp__img","img")).style.opacity=1,r.src=a.src,dn(a,r),un(t,a,s,r));else{if(a.loadComplete=function(n){if(c){if(e&&e.index===t){if(ln(n,!0))return n.loadComplete=n.img=null,sn(n,me),Pe(n),void(e.index===f&&o.updateCurrZoomItem());n.imageAppended?!Jt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):z.transform&&(ie||Jt)?nn.push({item:n,baseDiv:s,img:n.img,index:t,holder:e,clearPlaceholder:!0}):un(t,n,s,n.img,ie||Jt,!0)}n.loadComplete=null,n.img=null,Oe("imageLoadComplete",t,n)}},i.features.transform){var l="pswp__img pswp__img--placeholder";l+=a.msrc?"":" pswp__img--placeholder--blank";var d=i.createEl(l,a.msrc?"img":"");a.msrc&&(d.src=a.msrc),dn(a,d),s.appendChild(d),a.placeholder=d}a.loading||cn(a),o.allowProgressiveImg()&&(!$t&&z.transform?nn.push({item:a,baseDiv:s,img:a.img,index:t,holder:e}):un(t,a,s,a.img,!0,!0))}$t||t!==f?Pe(a):(re=s.style,en(a,r||a.img)),e.el.innerHTML="",e.el.appendChild(s)}else e.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var pn,hn,mn={},gn=function(e,t,n){var r=document.createEvent("CustomEvent"),i={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};r.initCustomEvent("pswpTap",!0,!0,i),e.target.dispatchEvent(r)};ke("Tap",{publicMethods:{initTap:function(){Ie("firstTouchStart",o.onTapStart),Ie("touchRelease",o.onTapRelease),Ie("destroy",(function(){mn={},pn=null}))},onTapStart:function(e){e.length>1&&(clearTimeout(pn),pn=null)},onTapRelease:function(e,t){if(t&&!$&&!Y&&!Ze){var n=t;if(pn&&(clearTimeout(pn),pn=null,_t(n,mn)))return void Oe("doubleTap",n);if("mouse"===t.type)return void gn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||i.hasClass(e.target,"pswp__single-tap"))return void gn(e,t);Le(mn,n),pn=setTimeout((function(){gn(e,t),pn=null}),300)}}}}),ke("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(A?Ie("mouseUsed",(function(){o.setupDesktopZoom()})):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){hn={};var n="wheel mousewheel DOMMouseScroll";Ie("bindEvents",(function(){i.bind(e,n,o.handleMouseWheel)})),Ie("unbindEvents",(function(){hn&&i.unbind(e,n,o.handleMouseWheel)})),o.mouseZoomedIn=!1;var r,a=function(){o.mouseZoomedIn&&(i.removeClass(e,"pswp--zoomed-in"),o.mouseZoomedIn=!1),y<1?i.addClass(e,"pswp--zoom-allowed"):i.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){r&&(i.removeClass(e,"pswp--dragging"),r=!1)};Ie("resize",a),Ie("afterChange",a),Ie("pointerDown",(function(){o.mouseZoomedIn&&(r=!0,i.addClass(e,"pswp--dragging"))})),Ie("pointerUp",s),t||a()},handleMouseWheel:function(e){if(y<=o.currItem.fitRatio)return u.modal&&(!u.closeOnScroll||Ze||G?e.preventDefault():N&&Math.abs(e.deltaY)>2&&(d=!0,o.close())),!0;if(e.stopPropagation(),hn.x=0,"deltaX"in e)1===e.deltaMode?(hn.x=18*e.deltaX,hn.y=18*e.deltaY):(hn.x=e.deltaX,hn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(hn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?hn.y=-.16*e.wheelDeltaY:hn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;hn.y=e.detail}Ve(y,!0);var t=he.x-hn.x,n=he.y-hn.y;(u.modal||t<=ne.min.x&&t>=ne.max.x&&n<=ne.min.y&&n>=ne.max.y)&&e.preventDefault(),o.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:me.x/2+ve.x,y:me.y/2+ve.y};var n=u.getDoubleTapZoom(!0,o.currItem),r=y===n;o.mouseZoomedIn=!r,o.zoomTo(r?o.currItem.initialZoomLevel:n,t,333),i[(r?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var vn,yn,bn,wn,xn,_n,Sn,kn,Cn,En,In,On,Tn={history:!0,galleryUID:1},Nn=function(){return In.hash.substring(1)},Dn=function(){vn&&clearTimeout(vn),bn&&clearTimeout(bn)},An=function(){var e=Nn(),t={};if(e.length<5)return t;var n,r=e.split("&");for(n=0;n<r.length;n++)if(r[n]){var i=r[n].split("=");i.length<2||(t[i[0]]=i[1])}if(u.galleryPIDs){var o=t.pid;for(t.pid=0,n=0;n<Qt.length;n++)if(Qt[n].pid===o){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},Pn=function(){if(bn&&clearTimeout(bn),Ze||G)bn=setTimeout(Pn,500);else{wn?clearTimeout(yn):wn=!0;var e=f+1,t=Zt(f);t.hasOwnProperty("pid")&&(e=t.pid);var n=Sn+"&gid="+u.galleryUID+"&pid="+e;kn||-1===In.hash.indexOf(n)&&(En=!0);var r=In.href.split("#")[0]+"#"+n;On?"#"+n!==window.location.hash&&history[kn?"replaceState":"pushState"]("",document.title,r):kn?In.replace(r):In.hash=n,kn=!0,yn=setTimeout((function(){wn=!1}),60)}};ke("History",{publicMethods:{initHistory:function(){if(i.extend(u,Tn,!0),u.history){In=window.location,En=!1,Cn=!1,kn=!1,Sn=Nn(),On="pushState"in history,Sn.indexOf("gid=")>-1&&(Sn=(Sn=Sn.split("&gid=")[0]).split("?gid=")[0]),Ie("afterChange",o.updateURL),Ie("unbindEvents",(function(){i.unbind(window,"hashchange",o.onHashChange)}));var e=function(){_n=!0,Cn||(En?history.back():Sn?In.hash=Sn:On?history.pushState("",document.title,In.pathname+In.search):In.hash=""),Dn()};Ie("unbindEvents",(function(){d&&e()})),Ie("destroy",(function(){_n||e()})),Ie("firstUpdate",(function(){f=An().pid}));var t=Sn.indexOf("pid=");t>-1&&"&"===(Sn=Sn.substring(0,t)).slice(-1)&&(Sn=Sn.slice(0,-1)),setTimeout((function(){c&&i.bind(window,"hashchange",o.onHashChange)}),40)}},onHashChange:function(){if(Nn()===Sn)return Cn=!0,void o.close();wn||(xn=!0,o.goTo(An().pid),xn=!1)},updateURL:function(){Dn(),xn||(kn?vn=setTimeout(Pn,800):Pn())}}}),i.extend(o,rt)};return e}(),e8={exports:{}},t8=e8.exports=(J6=function(e,t){var n,r,i,o,a,s,u,c,l,d,f,p,h,m,g,v,y,b,w=this,x=!1,_=!0,S=!0,k={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},C=function(e){if(v)return!0;e=e||window.event,g.timeToIdle&&g.mouseUsed&&!l&&j();for(var n,r,i=(e.target||e.srcElement).getAttribute("class")||"",o=0;o<V.length;o++)(n=V[o]).onTap&&i.indexOf("pswp__"+n.name)>-1&&(n.onTap(),r=!0);if(r){e.stopPropagation&&e.stopPropagation(),v=!0;var a=t.features.isOldAndroid?600:30;setTimeout((function(){v=!1}),a)}},E=function(){return!e.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth},I=function(e,n,r){t[(r?"add":"remove")+"Class"](e,"pswp__"+n)},O=function(){var e=1===g.getNumItemsFn();e!==m&&(I(r,"ui--one-slide",e),m=e)},T=function(){I(u,"share-modal--hidden",S)},N=function(){return(S=!S)?(t.removeClass(u,"pswp__share-modal--fade-in"),setTimeout((function(){S&&T()}),300)):(T(),setTimeout((function(){S||t.addClass(u,"pswp__share-modal--fade-in")}),30)),S||A(),!1},D=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!(!n.href||!n.hasAttribute("download")&&(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),S||N(),1))},A=function(){for(var e,t,n,r,i="",o=0;o<g.shareButtons.length;o++)e=g.shareButtons[o],t=g.getImageURLForShare(e),n=g.getPageURLForShare(e),r=g.getTextForShare(e),i+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(r))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",g.parseShareButtonOut&&(i=g.parseShareButtonOut(e,i));u.children[0].innerHTML=i,u.children[0].onclick=D},P=function(e){for(var n=0;n<g.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+g.closeElClasses[n]))return!0},M=0,j=function(){clearTimeout(b),M=0,l&&w.setIdle(!1)},R=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout((function(){w.setIdle(!0)}),g.timeToIdleOutside))},L=function(){g.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=w.getFullscreenAPI()),n?(t.bind(document,n.eventK,w.updateFullscreen),w.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},F=function(){g.preloaderEl&&(z(!0),d("beforeChange",(function(){clearTimeout(h),h=setTimeout((function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWidth)&&z(!1):z(!0)}),g.loadingIndicatorDelay)})),d("imageLoadComplete",(function(t,n){e.currItem===n&&z(!0)})))},z=function(e){p!==e&&(I(f,"preloader--active",!e),p=e)},B=function(e){var n=e.vGap;if(E()){var a=g.barsSize;if(g.captionEl&&"auto"===a.bottom)if(o||((o=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),r.insertBefore(o,i),t.addClass(r,"pswp__ui--fit")),g.addCaptionHTMLFn(e,o,!0)){var s=o.clientHeight;n.bottom=parseInt(s,10)||44}else n.bottom=a.top;else n.bottom="auto"===a.bottom?0:a.bottom;n.top=a.top}else n.top=n.bottom=0},U=function(){g.timeToIdle&&d("mouseUsed",(function(){t.bind(document,"mousemove",j),t.bind(document,"mouseout",R),y=setInterval((function(){2==++M&&w.setIdle(!0)}),g.timeToIdle/2)}))},q=function(){var e;d("onVerticalDrag",(function(e){_&&e<.95?w.hideControls():!_&&e>=.95&&w.showControls()})),d("onPinchClose",(function(t){_&&t<.9?(w.hideControls(),e=!0):e&&!_&&t>.9&&w.showControls()})),d("zoomGestureEnded",(function(){(e=!1)&&!_&&w.showControls()}))},V=[{name:"caption",option:"captionEl",onInit:function(e){i=e}},{name:"share-modal",option:"shareEl",onInit:function(e){u=e},onTap:function(){N()}},{name:"button--share",option:"shareEl",onInit:function(e){s=e},onTap:function(){N()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){a=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){f=e}}],K=function(){var e,n,i,o=function(r){if(r)for(var o=r.length,a=0;a<o;a++){e=r[a],n=e.className;for(var s=0;s<V.length;s++)i=V[s],n.indexOf("pswp__"+i.name)>-1&&(g[i.option]?(t.removeClass(e,"pswp__element--disabled"),i.onInit&&i.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};o(r.children);var a=t.getChildByClass(r,"pswp__top-bar");a&&o(a.children)};w.init=function(){t.extend(e.options,k,!0),g=e.options,r=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,q(),d("beforeChange",w.update),d("doubleTap",(function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(g.getDoubleTapZoom(!1,e.currItem),t,333)})),d("preventDragEvent",(function(e,t,n){var r=e.target||e.srcElement;r&&r.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(r.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(r.tagName))&&(n.prevent=!1)})),d("bindEvents",(function(){t.bind(r,"pswpTap click",C),t.bind(e.scrollWrap,"pswpTap",w.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",w.onMouseOver)})),d("unbindEvents",(function(){S||N(),y&&clearInterval(y),t.unbind(document,"mouseout",R),t.unbind(document,"mousemove",j),t.unbind(r,"pswpTap click",C),t.unbind(e.scrollWrap,"pswpTap",w.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",w.onMouseOver),n&&(t.unbind(document,n.eventK,w.updateFullscreen),n.isFullscreen()&&(g.hideAnimationDuration=0,n.exit()),n=null)})),d("destroy",(function(){g.captionEl&&(o&&r.removeChild(o),t.removeClass(i,"pswp__caption--empty")),u&&(u.children[0].onclick=null),t.removeClass(r,"pswp__ui--over-close"),t.addClass(r,"pswp__ui--hidden"),w.setIdle(!1)})),g.showAnimationDuration||t.removeClass(r,"pswp__ui--hidden"),d("initialZoomIn",(function(){g.showAnimationDuration&&t.removeClass(r,"pswp__ui--hidden")})),d("initialZoomOut",(function(){t.addClass(r,"pswp__ui--hidden")})),d("parseVerticalMargin",B),K(),g.shareEl&&s&&u&&(S=!0),O(),U(),L(),F()},w.setIdle=function(e){l=e,I(r,"ui--idle",e)},w.update=function(){_&&e.currItem?(w.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(e.currItem,i),I(i,"caption--empty",!e.currItem.title)),x=!0):x=!1,S||N(),O()},w.updateFullscreen=function(r){r&&setTimeout((function(){e.setScrollOffset(0,t.getScrollY())}),50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},w.updateIndexIndicator=function(){g.counterEl&&(a.innerHTML=e.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},w.onGlobalTap=function(n){var r=(n=n||window.event).target||n.srcElement;if(!v)if(n.detail&&"mouse"===n.detail.pointerType){if(P(r))return void e.close();t.hasClass(r,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?g.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(g.tapToToggleControls&&(_?w.hideControls():w.showControls()),g.tapToClose&&(t.hasClass(r,"pswp__img")||P(r)))return void e.close()},w.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;I(r,"ui--over-close",P(t))},w.hideControls=function(){t.addClass(r,"pswp__ui--hidden"),_=!1},w.showControls=function(){_=!0,x||w.update(),t.removeClass(r,"pswp__ui--hidden")},w.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},w.getFullscreenAPI=function(){var t,n=document.documentElement,r="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:r}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+r}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+r}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(c=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return e.template[this.enterK]();e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return g.closeOnScroll=c,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}},J6),n8={exports:{}},r8={exports:{}},i8=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter((function(e){return null!=e})),0!==t.length)return 1===t.length?t[0]:t.reduce((function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}))},o8=function(){};
117
117
  /*! PhotoSwipe - v4.1.3 - 2019-01-08
118
118
  * http://photoswipe.com
119
119
  * Copyright (c) 2019 Dmitry Semenov; */"production"!==Cs.env.NODE_ENV&&(o8=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var o=0,a="Warning: "+t.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}});var a8=o8,s8={__esModule:!0,getChildMapping:function(e){if(!e)return e;var t={};return u8.Children.map(e,(function(e){return e})).forEach((function(e){t[e.key]=e})),t},mergeChildMappings:function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},i=[];for(var o in e)t.hasOwnProperty(o)?i.length&&(r[o]=i,i=[]):i.push(o);var a=void 0,s={};for(var u in t){if(r.hasOwnProperty(u))for(a=0;a<r[u].length;a++){var c=r[u][a];s[r[u][a]]=n(c)}s[u]=n(u)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s}},u8=o;!function(e,t){t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=c(i8),i=c(o),a=c(RH.exports),s=c(a8),u=s8;function c(e){return e&&e.__esModule?e:{default:e}}var l={component:a.default.any,childFactory:a.default.func,children:a.default.node},d=function(e){function t(r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,r,i));return o.performAppear=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(o._handleDoneAppearing.bind(o,e,t)):o._handleDoneAppearing(e,t)},o._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete o.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e,t)},o.performEnter=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(o._handleDoneEntering.bind(o,e,t)):o._handleDoneEntering(e,t)},o._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete o.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e,t)},o.performLeave=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(o._handleDoneLeaving.bind(o,e,t)):o._handleDoneLeaving(e,t)},o._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete o.currentlyTransitioningKeys[e];var r=(0,u.getChildMapping)(o.props.children);r&&r.hasOwnProperty(e)?o.keysToEnter.push(e):o.setState((function(t){var r=n({},t.children);return delete r[e],{children:r}}))},o.childRefs=Object.create(null),o.state={children:(0,u.getChildMapping)(r.children)},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,u.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,u.mergeChildMappings)(n,t)}),t){var i=n&&n.hasOwnProperty(r);!t[r]||i||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var o in n){var a=t&&t.hasOwnProperty(o);!n[o]||a||this.currentlyTransitioningKeys[o]||this.keysToLeave.push(o)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach((function(t){return e.performEnter(t,e.childRefs[t])}));var n=this.keysToLeave;this.keysToLeave=[],n.forEach((function(t){return e.performLeave(t,e.childRefs[t])}))},t.prototype.render=function(){var e=this,t=[],o=function(n){var o=e.state.children[n];if(o){var a="string"!=typeof o.ref,u=e.props.childFactory(o),c=function(t){e.childRefs[n]=t};"production"!==Cs.env.NODE_ENV&&(0,s.default)(a,"string refs are not supported on children of TransitionGroup and will be ignored. Please use a callback ref instead: https://facebook.github.io/react/docs/refs-and-the-dom.html#the-ref-callback-attribute"),u===o&&a&&(c=(0,r.default)(o.ref,c)),t.push(i.default.cloneElement(u,{key:n,ref:c}))}};for(var a in this.state.children)o(a);var u=n({},this.props);return delete u.transitionLeave,delete u.transitionName,delete u.transitionAppear,delete u.transitionEnter,delete u.childFactory,delete u.transitionLeaveTimeout,delete u.transitionEnterTimeout,delete u.transitionAppearTimeout,delete u.component,i.default.createElement(this.props.component,u,t)},t}(i.default.Component);d.displayName="TransitionGroup",d.propTypes="production"!==Cs.env.NODE_ENV?l:{},d.defaultProps={component:"span",childFactory:function(e){return e}},t.default=d,e.exports=t.default}(r8,r8.exports);var c8={exports:{}},l8={exports:{}},d8={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0}(d8);var f8={exports:{}};function p8(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}!function(e,t){t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default}(f8,f8.exports),function(e,t){var n=d8.exports;t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,r.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var r=n(f8.exports);e.exports=t.default}(l8,l8.exports);var h8=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=p8(e.className,t):e.setAttribute("class",p8(e.className&&e.className.baseVal||"",t))},m8={exports:{}},g8={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default}(g8,g8.exports),function(e,t){var n=d8.exports;t.__esModule=!0,t.default=void 0;var r,i=n(g8.exports),o="clearTimeout",a=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-u)),r=setTimeout(e,n);return u=t,r},s=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};i.default&&["","webkit","moz","o","ms"].some((function(e){var t=s(e,"request");if(t in window)return o=s(e,"cancel"),a=function(e){return window[t](e)}}));var u=(new Date).getTime();(r=function(e){return a(e)}).cancel=function(e){window[o]&&"function"==typeof window[o]&&window[o](e)};var c=r;t.default=c,e.exports=t.default}(m8,m8.exports);var v8={},y8=d8.exports;v8.__esModule=!0,v8.default=v8.animationEnd=v8.animationDelay=v8.animationTiming=v8.animationDuration=v8.animationName=v8.transitionEnd=v8.transitionDuration=v8.transitionDelay=v8.transitionTiming=v8.transitionProperty=v8.transform=void 0;var b8,w8,x8,_8,S8,k8,C8,E8,I8,O8,T8,N8=y8(g8.exports),D8="transform";if(v8.transform=D8,v8.animationEnd=x8,v8.transitionEnd=w8,v8.transitionDelay=C8,v8.transitionTiming=k8,v8.transitionDuration=S8,v8.transitionProperty=_8,v8.animationDelay=T8,v8.animationTiming=O8,v8.animationDuration=I8,v8.animationName=E8,N8.default){var A8=function(){for(var e,t,n=document.createElement("div").style,r={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},i=Object.keys(r),o="",a=0;a<i.length;a++){var s=i[a];if(s+"TransitionProperty"in n){o="-"+s.toLowerCase(),e=r[s]("TransitionEnd"),t=r[s]("AnimationEnd");break}}!e&&"transitionProperty"in n&&(e="transitionend");!t&&"animationName"in n&&(t="animationend");return n=null,{animationEnd:t,transitionEnd:e,prefix:o}}();b8=A8.prefix,v8.transitionEnd=w8=A8.transitionEnd,v8.animationEnd=x8=A8.animationEnd,v8.transform=D8=b8+"-"+D8,v8.transitionProperty=_8=b8+"-transition-property",v8.transitionDuration=S8=b8+"-transition-duration",v8.transitionDelay=C8=b8+"-transition-delay",v8.transitionTiming=k8=b8+"-transition-timing-function",v8.animationName=E8=b8+"-animation-name",v8.animationDuration=I8=b8+"-animation-duration",v8.animationTiming=O8=b8+"-animation-delay",v8.animationDelay=T8=b8+"-animation-timing-function"}var P8={transform:D8,end:w8,property:_8,timing:k8,delay:C8,duration:S8};v8.default=P8;var M8={__esModule:!0,nameShape:void 0,transitionTimeout:function(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}};R8(o);var j8=R8(RH.exports);function R8(e){return e&&e.__esModule?e:{default:e}}M8.nameShape=j8.default.oneOfType([j8.default.string,j8.default.shape({enter:j8.default.string,leave:j8.default.string,active:j8.default.string}),j8.default.shape({enter:j8.default.string,enterActive:j8.default.string,leave:j8.default.string,leaveActive:j8.default.string,appear:j8.default.string,appearActive:j8.default.string})]),function(e,t){t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=f(l8.exports),i=f(h8),a=f(m8.exports),s=v8,u=f(o),c=f(RH.exports),l=Me,d=M8;function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=[];s.transitionEnd&&m.push(s.transitionEnd),s.animationEnd&&m.push(s.animationEnd);var g={children:c.default.node,name:d.nameShape.isRequired,appear:c.default.bool,enter:c.default.bool,leave:c.default.bool,appearTimeout:c.default.number,enterTimeout:c.default.number,leaveTimeout:c.default.number},v=function(e){function t(){var n,r;p(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=h(this,e.call.apply(e,[this].concat(o))),r.componentWillAppear=function(e){r.props.appear?r.transition("appear",e,r.props.appearTimeout):e()},r.componentWillEnter=function(e){r.props.enter?r.transition("enter",e,r.props.enterTimeout):e()},r.componentWillLeave=function(e){r.props.leave?r.transition("leave",e,r.props.leaveTimeout):e()},h(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0},t.prototype.transition=function(e,t,n){var o=(0,l.findDOMNode)(this);if(o){var a=this.props.name[e]||this.props.name+"-"+e,u=this.props.name[e+"Active"]||a+"-active",c=null,d=void 0;(0,r.default)(o,a),this.queueClassAndNode(u,o);var f=function(e){e&&e.target!==o||(clearTimeout(c),d&&d(),(0,i.default)(o,a),(0,i.default)(o,u),d&&d(),t&&t())};n?(c=setTimeout(f,n),this.transitionTimeouts.push(c)):s.transitionEnd&&(d=function(e,t){return m.length?m.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){m.length&&m.forEach((function(n){return e.removeEventListener(n,t,!1)}))}}(o,f))}else t&&t()},t.prototype.queueClassAndNode=function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=(0,a.default)((function(){return n.flushClassNameAndNodeQueue()})))},t.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,(0,r.default)(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null},t.prototype.render=function(){var e=n({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,u.default.cloneElement(u.default.Children.only(this.props.children),e)},t}(u.default.Component);v.displayName="CSSTransitionGroupChild",v.propTypes="production"!==Cs.env.NODE_ENV?g:{},t.default=v,e.exports=t.default}(c8,c8.exports),function(e,t){t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=c(o),i=c(RH.exports),a=c(r8.exports),s=c(c8.exports),u=M8;function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f={transitionName:u.nameShape.isRequired,transitionAppear:i.default.bool,transitionEnter:i.default.bool,transitionLeave:i.default.bool,transitionAppearTimeout:(0,u.transitionTimeout)("Appear"),transitionEnterTimeout:(0,u.transitionTimeout)("Enter"),transitionLeaveTimeout:(0,u.transitionTimeout)("Leave")},p=function(e){function t(){var n,i;l(this,t);for(var o=arguments.length,a=Array(o),u=0;u<o;u++)a[u]=arguments[u];return n=i=d(this,e.call.apply(e,[this].concat(a))),i._wrapChild=function(e){return r.default.createElement(s.default,{name:i.props.transitionName,appear:i.props.transitionAppear,enter:i.props.transitionEnter,leave:i.props.transitionLeave,appearTimeout:i.props.transitionAppearTimeout,enterTimeout:i.props.transitionEnterTimeout,leaveTimeout:i.props.transitionLeaveTimeout},e)},d(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return r.default.createElement(a.default,n({},this.props,{childFactory:this._wrapChild}))},t}(r.default.Component);p.displayName="CSSTransitionGroup",p.propTypes="production"!==Cs.env.NODE_ENV?f:{},p.defaultProps={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},t.default=p,e.exports=t.default}(n8,n8.exports);var L8=n8.exports;nG('.emoji-mart,\n.emoji-mart * {\n box-sizing: border-box;\n line-height: 1.15;\n}\n\n.emoji-mart {\n font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;\n font-size: 16px;\n display: inline-block;\n color: #222427;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n background: #fff;\n}\n\n.emoji-mart .emoji-mart-emoji {\n padding: 6px;\n}\n\n.emoji-mart-bar {\n border: 0 solid #d9d9d9;\n}\n.emoji-mart-bar:first-child {\n border-bottom-width: 1px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n}\n.emoji-mart-bar:last-child {\n border-top-width: 1px;\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n}\n\n.emoji-mart-anchors {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0 6px;\n line-height: 0;\n}\n\n.emoji-mart-anchor {\n position: relative;\n display: block;\n flex: 1 1 auto;\n color: #858585;\n text-align: center;\n padding: 12px 4px;\n overflow: hidden;\n transition: color .1s ease-out;\n margin: 0;\n box-shadow: none;\n background: none;\n border: none;\n}\n.emoji-mart-anchor:focus { outline: 0 }\n.emoji-mart-anchor:hover,\n.emoji-mart-anchor:focus,\n.emoji-mart-anchor-selected {\n color: #464646;\n}\n\n.emoji-mart-anchor-selected .emoji-mart-anchor-bar {\n bottom: 0;\n}\n\n.emoji-mart-anchor-bar {\n position: absolute;\n bottom: -3px; left: 0;\n width: 100%; height: 3px;\n background-color: #464646;\n}\n\n.emoji-mart-anchors i {\n display: inline-block;\n width: 100%;\n max-width: 22px;\n}\n\n.emoji-mart-anchors svg,\n.emoji-mart-anchors img {\n fill: currentColor;\n height: 18px;\n width: 18px;\n}\n\n.emoji-mart-scroll {\n overflow-y: scroll;\n overflow-x: hidden;\n height: 270px;\n padding: 0 6px 6px 6px;\n will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */\n}\n\n.emoji-mart-search {\n margin-top: 6px;\n padding: 0 6px;\n position: relative;\n}\n\n.emoji-mart-search input {\n font-size: 16px;\n display: block;\n width: 100%;\n padding: 5px 25px 6px 10px;\n border-radius: 5px;\n border: 1px solid #d9d9d9;\n outline: 0;\n}\n\n.emoji-mart-search input,\n.emoji-mart-search input::-webkit-search-decoration,\n.emoji-mart-search input::-webkit-search-cancel-button,\n.emoji-mart-search input::-webkit-search-results-button,\n.emoji-mart-search input::-webkit-search-results-decoration {\n /* remove webkit/blink styles for <input type="search">\n * via https://stackoverflow.com/a/9422689 */\n -webkit-appearance: none;\n}\n\n.emoji-mart-search-icon {\n position: absolute;\n top: 7px;\n right: 11px;\n z-index: 2;\n padding: 2px 5px 1px;\n border: none;\n background: none;\n}\n\n.emoji-mart-category .emoji-mart-emoji span {\n z-index: 1;\n position: relative;\n text-align: center;\n cursor: default;\n}\n\n.emoji-mart-category .emoji-mart-emoji:hover:before {\n z-index: 0;\n content: "";\n position: absolute;\n top: 0; left: 0;\n width: 100%; height: 100%;\n background-color: #f4f4f4;\n border-radius: 100%;\n}\n\n.emoji-mart-category-label {\n z-index: 2;\n position: relative;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n}\n\n.emoji-mart-category-label span {\n display: block;\n width: 100%;\n font-weight: 500;\n padding: 5px 6px;\n background-color: #fff;\n background-color: rgba(255, 255, 255, .95);\n}\n\n.emoji-mart-category-list {\n margin: 0;\n padding: 0;\n}\n\n.emoji-mart-category-list li {\n list-style: none;\n margin: 0;\n padding: 0;\n display: inline-block;\n}\n\n.emoji-mart-emoji {\n position: relative;\n display: inline-block;\n font-size: 0;\n margin: 0;\n padding: 0;\n border: none;\n background: none;\n box-shadow: none;\n}\n\n.emoji-mart-emoji-native {\n font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";\n}\n\n.emoji-mart-no-results {\n font-size: 14px;\n text-align: center;\n padding-top: 70px;\n color: #858585;\n}\n.emoji-mart-no-results-img {\n display: block;\n margin-left: auto;\n margin-right: auto;\n width: 50%;\n}\n.emoji-mart-no-results .emoji-mart-category-label {\n display: none;\n}\n.emoji-mart-no-results .emoji-mart-no-results-label {\n margin-top: .2em;\n}\n.emoji-mart-no-results .emoji-mart-emoji:hover:before {\n content: none;\n}\n\n.emoji-mart-preview {\n position: relative;\n height: 70px;\n}\n\n.emoji-mart-preview-emoji,\n.emoji-mart-preview-data,\n.emoji-mart-preview-skins {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.emoji-mart-preview-emoji {\n left: 12px;\n}\n\n.emoji-mart-preview-data {\n left: 68px; right: 12px;\n word-break: break-all;\n}\n\n.emoji-mart-preview-skins {\n right: 30px;\n text-align: right;\n}\n\n.emoji-mart-preview-skins.custom {\n right: 10px;\n text-align: right;\n}\n\n.emoji-mart-preview-name {\n font-size: 14px;\n}\n\n.emoji-mart-preview-shortname {\n font-size: 12px;\n color: #888;\n}\n.emoji-mart-preview-shortname + .emoji-mart-preview-shortname,\n.emoji-mart-preview-shortname + .emoji-mart-preview-emoticon,\n.emoji-mart-preview-emoticon + .emoji-mart-preview-emoticon {\n margin-left: .5em;\n}\n\n.emoji-mart-preview-emoticon {\n font-size: 11px;\n color: #bbb;\n}\n\n.emoji-mart-title span {\n display: inline-block;\n vertical-align: middle;\n}\n\n.emoji-mart-title .emoji-mart-emoji {\n padding: 0;\n}\n\n.emoji-mart-title-label {\n color: #999A9C;\n font-size: 26px;\n font-weight: 300;\n}\n\n.emoji-mart-skin-swatches {\n font-size: 0;\n padding: 2px 0;\n border: 1px solid #d9d9d9;\n border-radius: 12px;\n background-color: #fff;\n}\n\n.emoji-mart-skin-swatches.custom {\n font-size: 0;\n border: none;\n background-color: #fff;\n}\n\n.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch {\n width: 16px;\n padding: 0 2px;\n}\n\n.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch.selected:after {\n opacity: .75;\n}\n\n.emoji-mart-skin-swatch {\n display: inline-block;\n width: 0;\n vertical-align: middle;\n transition-property: width, padding;\n transition-duration: .125s;\n transition-timing-function: ease-out;\n}\n\n.emoji-mart-skin-swatch:nth-child(1) { transition-delay: 0s }\n.emoji-mart-skin-swatch:nth-child(2) { transition-delay: .03s }\n.emoji-mart-skin-swatch:nth-child(3) { transition-delay: .06s }\n.emoji-mart-skin-swatch:nth-child(4) { transition-delay: .09s }\n.emoji-mart-skin-swatch:nth-child(5) { transition-delay: .12s }\n.emoji-mart-skin-swatch:nth-child(6) { transition-delay: .15s }\n\n.emoji-mart-skin-swatch.selected {\n position: relative;\n width: 16px;\n padding: 0 2px;\n}\n\n.emoji-mart-skin-swatch.selected:after {\n content: "";\n position: absolute;\n top: 50%; left: 50%;\n width: 4px; height: 4px;\n margin: -2px 0 0 -2px;\n background-color: #fff;\n border-radius: 100%;\n pointer-events: none;\n opacity: 0;\n transition: opacity .2s ease-out;\n}\n\n.emoji-mart-skin-swatch.custom {\n display: inline-block;\n width: 0;\n height: 38px;\n overflow: hidden;\n vertical-align: middle;\n transition-property: width, height;\n transition-duration: .125s;\n transition-timing-function: ease-out;\n cursor: default;\n}\n\n.emoji-mart-skin-swatch.custom.selected {\n position: relative;\n width: 36px;\n height: 38px;\n padding: 0 2px 0 0;\n}\n\n.emoji-mart-skin-swatch.custom.selected:after {\n content: "";\n width: 0;\n height: 0;\n}\n\n.emoji-mart-skin-swatches.custom .emoji-mart-skin-swatch.custom:hover {\n background-color: #f4f4f4;\n border-radius: 10%;\n}\n\n.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom {\n width: 36px;\n height: 38px;\n padding: 0 2px 0 0;\n}\n\n.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom.selected:after {\n opacity: .75;\n}\n\n.emoji-mart-skin-text.opened {\n display: inline-block;\n vertical-align: middle;\n text-align: left;\n color: #888;\n font-size: 11px;\n padding: 5px 2px;\n width: 95px;\n height: 40px;\n border-radius: 10%;\n background-color: #fff;\n}\n\n.emoji-mart-skin {\n display: inline-block;\n width: 100%;\n padding-top: 100%;\n max-width: 12px;\n border-radius: 100%;\n}\n\n.emoji-mart-skin-tone-1 { background-color: #ffc93a }\n.emoji-mart-skin-tone-2 { background-color: #fadcbc }\n.emoji-mart-skin-tone-3 { background-color: #e0bb95 }\n.emoji-mart-skin-tone-4 { background-color: #bf8f68 }\n.emoji-mart-skin-tone-5 { background-color: #9b643d }\n.emoji-mart-skin-tone-6 { background-color: #594539 }\n\n/* For screenreaders only, via https://stackoverflow.com/a/19758620 */\n.emoji-mart-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\n/*\n * Dark mode styles\n */\n\n.emoji-mart-dark {\n color: #fff;\n border-color: #555453;\n background-color: #222;\n}\n\n.emoji-mart-dark .emoji-mart-bar {\n border-color: #555453;\n}\n\n.emoji-mart-dark .emoji-mart-search input {\n color: #fff;\n border-color: #555453;\n background-color: #2f2f2f;\n}\n\n.emoji-mart-dark .emoji-mart-search-icon svg {\n fill: #fff;\n}\n\n.emoji-mart-dark .emoji-mart-category .emoji-mart-emoji:hover:before {\n background-color: #444;\n}\n\n.emoji-mart-dark .emoji-mart-category-label span {\n background-color: #222;\n color: #fff;\n}\n\n.emoji-mart-dark .emoji-mart-skin-swatches {\n border-color: #555453;\n background-color: #222;\n}\n\n.emoji-mart-dark .emoji-mart-anchor:hover,\n.emoji-mart-dark .emoji-mart-anchor:focus,\n.emoji-mart-dark .emoji-mart-anchor-selected {\n color: #bfbfbf;\n}\n');var F8={},z8={},B8={},U8={};!function(e){var t,n=Fe&&Fe.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(e,"__esModule",{value:!0}),e.Logger=e.LogLevel=void 0,function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(t=e.LogLevel||(e.LogLevel={})),e.Logger={ENABLED:"undefined"!=typeof window&&"undefined"!=typeof location&&-1!==location.search.indexOf("giphy-debug"),LEVEL:0,PREFIX:"GiphyJS",debug:function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];e.Logger.ENABLED&&e.Logger.LEVEL<=t.DEBUG&&console.debug.apply(console,n([e.Logger.PREFIX],r))},info:function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];e.Logger.ENABLED&&e.Logger.LEVEL<=t.INFO&&console.info.apply(console,n([e.Logger.PREFIX],r))},warn:function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];e.Logger.ENABLED&&e.Logger.LEVEL<=t.WARN&&console.warn.apply(console,n([e.Logger.PREFIX],r))},error:function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];e.Logger.ENABLED&&e.Logger.LEVEL<=t.ERROR&&console.error.apply(console,n([e.Logger.PREFIX],r))}}}(U8),Object.defineProperty(B8,"__esModule",{value:!0}),B8.setRenditionScaleUpMaxPixels=void 0;var q8=U8,V8=50;B8.setRenditionScaleUpMaxPixels=function(e){q8.Logger.debug("@giphy/js-util set rendition selection scale up max pixels to "+e),V8=e},B8.default=function(e,t,n,r){void 0===r&&(r=V8);var i=e[0],o=e.filter((function(e){return e.width*e.height>i.width*i.height&&(i=e),t-e.width<=r&&n-e.height<=r}));return 0===o.length?i:function(e,t,n){var r,i=1/0;return n.forEach((function(n){var o=n.width/e*(n.height/t),a=Math.abs(1-o);a<i&&(i=a,r=n)})),r}(t,n,o)};var K8={};Object.defineProperty(K8,"__esModule",{value:!0}),K8.pick=K8.without=K8.take=K8.forEach=K8.mapValues=void 0,K8.mapValues=function(e,t){if(Array.isArray(e))throw"This map is just for objects, just use array.map for arrays";return Object.keys(e).reduce((function(n,r){return n[r]=t(e[r],r),n}),{})},K8.forEach=function(e,t){if(Array.isArray(e))throw"This map is just for objects, just use array.forEach for arrays";return Object.keys(e).forEach((function(n){t(e[n],n)}))},K8.take=function(e,t){return void 0===t&&(t=0),e.slice(0,t)},K8.without=function(e,t){return e.filter((function(e){return-1===t.indexOf(e)}))},K8.pick=function(e,t){var n={};return t.forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),n};var H8={};Object.defineProperty(H8,"__esModule",{value:!0});H8.default=function(e){var t=0,n=0,r=e.offsetWidth,i=e.offsetHeight;do{t+=e.offsetLeft,n+=e.offsetTop,e=e.offsetParent}while(e);return{left:t,top:n,width:r,height:i,right:t+r,bottom:n+i}};var W8,G8={},Y8=new Uint8Array(16);function Q8(){if(!W8&&!(W8="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return W8(Y8)}var $8=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function J8(e){return"string"==typeof e&&$8.test(e)}for(var Z8,X8,e7=[],t7=0;t7<256;++t7)e7.push((t7+256).toString(16).substr(1));function n7(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(e7[e[t+0]]+e7[e[t+1]]+e7[e[t+2]]+e7[e[t+3]]+"-"+e7[e[t+4]]+e7[e[t+5]]+"-"+e7[e[t+6]]+e7[e[t+7]]+"-"+e7[e[t+8]]+e7[e[t+9]]+"-"+e7[e[t+10]]+e7[e[t+11]]+e7[e[t+12]]+e7[e[t+13]]+e7[e[t+14]]+e7[e[t+15]]).toLowerCase();if(!J8(n))throw TypeError("Stringified UUID is invalid");return n}var r7=0,i7=0;function o7(e){if(!J8(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}function a7(e,t,n){function r(e,r,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=o7(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(r),a.set(e,r.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,i){o=o||0;for(var s=0;s<16;++s)i[o+s]=a[s];return i}return n7(a)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function s7(e){return 14+(e+64>>>9<<4)+1}function u7(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function c7(e,t,n,r,i,o){return u7((a=u7(u7(t,e),u7(r,o)))<<(s=i)|a>>>32-s,n);var a,s}function l7(e,t,n,r,i,o,a){return c7(t&n|~t&r,e,t,i,o,a)}function d7(e,t,n,r,i,o,a){return c7(t&r|n&~r,e,t,i,o,a)}function f7(e,t,n,r,i,o,a){return c7(t^n^r,e,t,i,o,a)}function p7(e,t,n,r,i,o,a){return c7(n^(t|~r),e,t,i,o,a)}var h7=a7("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r="0123456789abcdef",i=0;i<n;i+=8){var o=e[i>>5]>>>i%32&255,a=parseInt(r.charAt(o>>>4&15)+r.charAt(15&o),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[s7(t)-1]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,a=0;a<e.length;a+=16){var s=n,u=r,c=i,l=o;n=l7(n,r,i,o,e[a],7,-680876936),o=l7(o,n,r,i,e[a+1],12,-389564586),i=l7(i,o,n,r,e[a+2],17,606105819),r=l7(r,i,o,n,e[a+3],22,-1044525330),n=l7(n,r,i,o,e[a+4],7,-176418897),o=l7(o,n,r,i,e[a+5],12,1200080426),i=l7(i,o,n,r,e[a+6],17,-1473231341),r=l7(r,i,o,n,e[a+7],22,-45705983),n=l7(n,r,i,o,e[a+8],7,1770035416),o=l7(o,n,r,i,e[a+9],12,-1958414417),i=l7(i,o,n,r,e[a+10],17,-42063),r=l7(r,i,o,n,e[a+11],22,-1990404162),n=l7(n,r,i,o,e[a+12],7,1804603682),o=l7(o,n,r,i,e[a+13],12,-40341101),i=l7(i,o,n,r,e[a+14],17,-1502002290),n=d7(n,r=l7(r,i,o,n,e[a+15],22,1236535329),i,o,e[a+1],5,-165796510),o=d7(o,n,r,i,e[a+6],9,-1069501632),i=d7(i,o,n,r,e[a+11],14,643717713),r=d7(r,i,o,n,e[a],20,-373897302),n=d7(n,r,i,o,e[a+5],5,-701558691),o=d7(o,n,r,i,e[a+10],9,38016083),i=d7(i,o,n,r,e[a+15],14,-660478335),r=d7(r,i,o,n,e[a+4],20,-405537848),n=d7(n,r,i,o,e[a+9],5,568446438),o=d7(o,n,r,i,e[a+14],9,-1019803690),i=d7(i,o,n,r,e[a+3],14,-187363961),r=d7(r,i,o,n,e[a+8],20,1163531501),n=d7(n,r,i,o,e[a+13],5,-1444681467),o=d7(o,n,r,i,e[a+2],9,-51403784),i=d7(i,o,n,r,e[a+7],14,1735328473),n=f7(n,r=d7(r,i,o,n,e[a+12],20,-1926607734),i,o,e[a+5],4,-378558),o=f7(o,n,r,i,e[a+8],11,-2022574463),i=f7(i,o,n,r,e[a+11],16,1839030562),r=f7(r,i,o,n,e[a+14],23,-35309556),n=f7(n,r,i,o,e[a+1],4,-1530992060),o=f7(o,n,r,i,e[a+4],11,1272893353),i=f7(i,o,n,r,e[a+7],16,-155497632),r=f7(r,i,o,n,e[a+10],23,-1094730640),n=f7(n,r,i,o,e[a+13],4,681279174),o=f7(o,n,r,i,e[a],11,-358537222),i=f7(i,o,n,r,e[a+3],16,-722521979),r=f7(r,i,o,n,e[a+6],23,76029189),n=f7(n,r,i,o,e[a+9],4,-640364487),o=f7(o,n,r,i,e[a+12],11,-421815835),i=f7(i,o,n,r,e[a+15],16,530742520),n=p7(n,r=f7(r,i,o,n,e[a+2],23,-995338651),i,o,e[a],6,-198630844),o=p7(o,n,r,i,e[a+7],10,1126891415),i=p7(i,o,n,r,e[a+14],15,-1416354905),r=p7(r,i,o,n,e[a+5],21,-57434055),n=p7(n,r,i,o,e[a+12],6,1700485571),o=p7(o,n,r,i,e[a+3],10,-1894986606),i=p7(i,o,n,r,e[a+10],15,-1051523),r=p7(r,i,o,n,e[a+1],21,-2054922799),n=p7(n,r,i,o,e[a+8],6,1873313359),o=p7(o,n,r,i,e[a+15],10,-30611744),i=p7(i,o,n,r,e[a+6],15,-1560198380),r=p7(r,i,o,n,e[a+13],21,1309151649),n=p7(n,r,i,o,e[a+4],6,-145523070),o=p7(o,n,r,i,e[a+11],10,-1120210379),i=p7(i,o,n,r,e[a+2],15,718787259),r=p7(r,i,o,n,e[a+9],21,-343485551),n=u7(n,s),r=u7(r,u),i=u7(i,c),o=u7(o,l)}return[n,r,i,o]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(s7(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))})),m7=h7;function g7(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function v7(e,t){return e<<t|e>>>32-t}var y7=a7("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var i=0;i<r.length;++i)e.push(r.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a),u=0;u<a;++u){for(var c=new Uint32Array(16),l=0;l<16;++l)c[l]=e[64*u+4*l]<<24|e[64*u+4*l+1]<<16|e[64*u+4*l+2]<<8|e[64*u+4*l+3];s[u]=c}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<a;++d){for(var f=new Uint32Array(80),p=0;p<16;++p)f[p]=s[d][p];for(var h=16;h<80;++h)f[h]=v7(f[h-3]^f[h-8]^f[h-14]^f[h-16],1);for(var m=n[0],g=n[1],v=n[2],y=n[3],b=n[4],w=0;w<80;++w){var x=Math.floor(w/20),_=v7(m,5)+g7(x,g,v,y)+b+t[x]+f[w]>>>0;b=y,y=v,v=v7(g,30)>>>0,g=m,m=_}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),b7=y7;var w7=Object.freeze({__proto__:null,v1:function(e,t,n){var r=t&&n||0,i=t||new Array(16),o=(e=e||{}).node||Z8,a=void 0!==e.clockseq?e.clockseq:X8;if(null==o||null==a){var s=e.random||(e.rng||Q8)();null==o&&(o=Z8=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=X8=16383&(s[6]<<8|s[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:i7+1,l=u-r7+(c-i7)/1e4;if(l<0&&void 0===e.clockseq&&(a=a+1&16383),(l<0||u>r7)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");r7=u,i7=c,X8=a;var d=(1e4*(268435455&(u+=122192928e5))+c)%4294967296;i[r++]=d>>>24&255,i[r++]=d>>>16&255,i[r++]=d>>>8&255,i[r++]=255&d;var f=u/4294967296*1e4&268435455;i[r++]=f>>>8&255,i[r++]=255&f,i[r++]=f>>>24&15|16,i[r++]=f>>>16&255,i[r++]=a>>>8|128,i[r++]=255&a;for(var p=0;p<6;++p)i[r+p]=o[p];return t||n7(i)},v3:m7,v4:function(e,t,n){var r=(e=e||{}).random||(e.rng||Q8)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return n7(r)},v5:b7,NIL:"00000000-0000-0000-0000-000000000000",version:function(e){if(!J8(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)},validate:J8,stringify:n7,parse:o7}),x7=Be(w7);Object.defineProperty(G8,"__esModule",{value:!0});var _7=x7,S7="";G8.default=function(){if(!S7){try{S7=sessionStorage.getItem("giphyPingbackId")}catch(e){}if(!S7){var e=(new Date).getTime().toString(16);try{S7=(""+e+_7.v4().replace(/-/g,"")).substring(0,16)}catch(e){S7=function(){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t.length,r=0;r<16;r++)e+=t.charAt(Math.floor(Math.random()*n));return e}()}try{sessionStorage.setItem("giphyPingbackId",S7)}catch(e){}}}return S7};var k7,C7={},E7={};k7=E7,Object.defineProperty(k7,"__esModule",{value:!0}),k7.checkIfWebP=k7.SUPPORTS_WEBP=void 0,k7.SUPPORTS_WEBP=null,k7.checkIfWebP=new Promise((function(e){"undefined"==typeof Image&&e(!1);var t=new Image;t.onload=function(){k7.SUPPORTS_WEBP=!0,e(k7.SUPPORTS_WEBP)},t.onerror=function(){k7.SUPPORTS_WEBP=!1,e(k7.SUPPORTS_WEBP)},t.src="data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA"})),function(e){var t=Fe&&Fe.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)},n=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getAltText=e.getGifWidth=e.getGifHeight=e.getBestRenditionUrl=e.getBestRendition=e.getBestVideo=e.getSpecificRendition=void 0;var r=n(B8),i=K8,o=E7;e.getSpecificRendition=function(e,t,n,r){var i=e.images,a=e.is_sticker;if(void 0===n&&(n=!1),void 0===r&&(r=!1),!i||!t)return"";var s=i[t+((n=n&&!r)?"_still":"")];if(s){if(a||n)return s.url;var u=o.SUPPORTS_WEBP&&s.webp;return r?s.mp4:u||s.url}return""};e.getBestVideo=function(e,n,i){var o=null==e?void 0:e.assets;if(o){delete(o=t({},o)).source;var a=Object.values(o).sort((function(e,t){return e.width-t.width}));return r.default(a,n,i)}};e.getBestRendition=function(e,n,o,a){var s=i.pick(e,["original","fixed_width","fixed_height","fixed_width_small","fixed_height_small"]),u=Object.entries(s).map((function(e){var n=e[0],r=e[1];return t({renditionName:n},r)}));return r.default(u,n,o,a)};e.getBestRenditionUrl=function(t,n,r,i){var a=t.images,s=t.video,u=t.type;if(void 0===i&&(i={isStill:!1,useVideo:!1}),!n||!r||!a)return"";var c=i.useVideo,l=i.isStill,d=i.scaleUpMaxPixels,f=function(e,t,n){return"video"===e&&n&&n.previews&&!Object.keys(t).length?n.previews:t}(u,a,s),p=f[e.getBestRendition(f,n,r,d).renditionName+(l&&!c?"_still":"")];return(c?p.mp4:o.SUPPORTS_WEBP&&p.webp?p.webp:p.url)||""};e.getGifHeight=function(e,t){var n=e.images.fixed_width;if(n){var r=n.width/n.height;return Math.round(t/r)}return 0};e.getGifWidth=function(e,t){var n=e.images.fixed_width;if(n){var r=n.width/n.height;return Math.round(t*r)}return 0};e.getAltText=function(e){var t=e.user,n=e.tags,r=void 0===n?[]:n,o=e.is_sticker,a=void 0!==o&&o,s=e.title,u=void 0===s?"":s;if(u)return u;var c=t&&t.username||"";return(c?c+" ":"")+i.take(i.without(r,["transparent"]),c?4:5).join(" ")+" "+(a?"Sticker":"GIF")}}(C7);var I7={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.appendGiphySDKRequestParam=e.appendGiphySDKRequestHeader=e.getGiphySDKRequestHeaders=void 0;var t=("undefined"!=typeof window?window:Fe)||{};t._GIPHY_SDK_HEADERS_=t._GIPHY_SDK_HEADERS_||(t.Headers?new t.Headers({"X-GIPHY-SDK-PLATFORM":"web"}):void 0);e.getGiphySDKRequestHeaders=function(){return t._GIPHY_SDK_HEADERS_};e.appendGiphySDKRequestHeader=function(t,n){var r;return null===(r=e.getGiphySDKRequestHeaders())||void 0===r?void 0:r.set(t,n)};e.appendGiphySDKRequestParam=function(t,n){var r;return null===(r=e.getGiphySDKRequestHeaders())||void 0===r?void 0:r.set(t,n)}}(I7),function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=Fe&&Fe.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)},r=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.checkIfWebP=e.getSpecificRendition=e.getGifWidth=e.getGifHeight=e.getBestVideo=e.getBestRenditionUrl=e.getBestRendition=e.getAltText=e.getPingbackId=e.getClientRect=e.setRenditionScaleUpMaxPixels=e.bestfit=void 0;var i=B8;Object.defineProperty(e,"bestfit",{enumerable:!0,get:function(){return r(i).default}}),Object.defineProperty(e,"setRenditionScaleUpMaxPixels",{enumerable:!0,get:function(){return i.setRenditionScaleUpMaxPixels}}),n(K8,e);var o=H8;Object.defineProperty(e,"getClientRect",{enumerable:!0,get:function(){return r(o).default}});var a=G8;Object.defineProperty(e,"getPingbackId",{enumerable:!0,get:function(){return r(a).default}});var s=C7;Object.defineProperty(e,"getAltText",{enumerable:!0,get:function(){return s.getAltText}}),Object.defineProperty(e,"getBestRendition",{enumerable:!0,get:function(){return s.getBestRendition}}),Object.defineProperty(e,"getBestRenditionUrl",{enumerable:!0,get:function(){return s.getBestRenditionUrl}}),Object.defineProperty(e,"getBestVideo",{enumerable:!0,get:function(){return s.getBestVideo}}),Object.defineProperty(e,"getGifHeight",{enumerable:!0,get:function(){return s.getGifHeight}}),Object.defineProperty(e,"getGifWidth",{enumerable:!0,get:function(){return s.getGifWidth}}),Object.defineProperty(e,"getSpecificRendition",{enumerable:!0,get:function(){return s.getSpecificRendition}}),n(U8,e),n(I7,e);var u=E7;Object.defineProperty(e,"checkIfWebP",{enumerable:!0,get:function(){return u.checkIfWebP}})}(z8),function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=i(t);n;)n=i(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,o=null,a=null;if(this.POLL_INTERVAL?o=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),u(e,"resize",r,!0)),u(t,"scroll",r,!0),a&&a.disconnect()})),t!=(this.root&&this.root.ownerDocument||e)){var c=i(t);c&&this._monitorIntersections(c.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e,o=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var o=i(n);if((n=o&&o.ownerDocument)==t)return!0}return!1}));if(!o){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var s=i(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var i=r.element,a=c(i),s=this._rootContainsTarget(i),u=r.entry,l=e&&s&&this._computeTargetAndRootIntersection(i,a,t),d=r.entry=new o({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:n&&!this.root?null:t,intersectionRect:l});u?e&&s?this._hasCrossedThreshold(u,d)&&this._queuedEntries.push(d):u&&u.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,i,o){if("none"!=window.getComputedStyle(t).display){for(var a,s,u,l,f,h,m,g,v=i,y=p(t),b=!1;!b&&y;){var w=null,x=1==y.nodeType?window.getComputedStyle(y):{};if("none"==x.display)return null;if(y==this.root||9==y.nodeType)if(b=!0,y==this.root||y==e)n&&!this.root?!r||0==r.width&&0==r.height?(y=null,w=null,v=null):w=r:w=o;else{var _=p(y),S=_&&c(_),k=_&&this._computeTargetAndRootIntersection(_,S,o);S&&k?(y=_,w=d(S,k)):(y=null,v=null)}else{var C=y.ownerDocument;y!=C.body&&y!=C.documentElement&&"visible"!=x.overflow&&(w=c(y))}if(w&&(a=w,s=v,u=void 0,l=void 0,f=void 0,h=void 0,m=void 0,g=void 0,u=Math.max(a.top,s.top),l=Math.min(a.bottom,s.bottom),f=Math.max(a.left,s.left),h=Math.min(a.right,s.right),g=l-u,v=(m=h-f)>=0&&g>=0&&{top:u,bottom:l,left:f,right:h,width:m,height:g}||null),!v)break;y=y&&p(y)}return v}},a.prototype._getRootRect=function(){var t;if(this.root)t=c(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!=o<r)return!0}},a.prototype._rootIsInDom=function(){return!this.root||f(e,this.root)},a.prototype._rootContainsTarget=function(t){return f(this.root||e,t)&&(!this.root||this.root.ownerDocument==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=o}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function o(e){this.time=e.time,this.target=e.target,this.rootBounds=l(e.rootBounds),this.boundingClientRect=l(e.boundingClientRect),this.intersectionRect=l(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function f(e,t){for(var n=t;n;){if(n==e)return!0;n=p(n)}return!1}function p(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}}();var O7={};function T7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N7(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var D7=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,A7=N7((function(e){return D7.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var P7=function(){function e(e){this.isSpeedy=void 0===e.speedy?"production"===Cs.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,o?0:i.cssRules.length)}catch(t){"production"!==Cs.env.NODE_ENV&&console.warn('There was a problem inserting the following rule: "'+e+'"',t)}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();function M7(e){function t(e,r,u,c,f){for(var p,h,m,g,w,_=0,S=0,k=0,C=0,E=0,A=0,M=m=p=0,R=0,L=0,F=0,z=0,B=u.length,U=B-1,q="",V="",K="",H="";R<B;){if(h=u.charCodeAt(R),R===U&&0!==S+C+k+_&&(0!==S&&(h=47===S?10:47),C=k=_=0,B++,U++),0===S+C+k+_){if(R===U&&(0<L&&(q=q.replace(d,"")),0<q.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:q+=u.charAt(R)}h=59}switch(h){case 123:for(p=(q=q.trim()).charCodeAt(0),m=1,z=++R;R<B;){switch(h=u.charCodeAt(R)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(R+1)){case 42:case 47:e:{for(M=R+1;M<U;++M)switch(u.charCodeAt(M)){case 47:if(42===h&&42===u.charCodeAt(M-1)&&R+2!==M){R=M+1;break e}break;case 10:if(47===h){R=M+1;break e}}R=M}}break;case 91:h++;case 40:h++;case 34:case 39:for(;R++<U&&u.charCodeAt(R)!==h;);}if(0===m)break;R++}if(m=u.substring(z,R),0===p&&(p=(q=q.replace(l,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(q=q.replace(d,"")),h=q.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=D}if(z=(m=t(r,L,m,h,f+1)).length,0<P&&(w=s(3,m,L=n(D,q,F),r,O,I,z,h,f,c),q=L.join(""),void 0!==w&&0===(z=(m=w.trim()).length)&&(h=0,m="")),0<z)switch(h){case 115:q=q.replace(x,a);case 100:case 109:case 45:m=q+"{"+m+"}";break;case 107:m=(q=q.replace(v,"$1 $2"))+"{"+m+"}",m=1===N||2===N&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=q+m,112===c&&(V+=m,m="")}else m=""}else m=t(r,n(r,q,F),m,c,f+1);K+=m,m=F=L=M=p=0,q="",h=u.charCodeAt(++R);break;case 125:case 59:if(1<(z=(q=(0<L?q.replace(d,""):q).trim()).length))switch(0===M&&(p=q.charCodeAt(0),45===p||96<p&&123>p)&&(z=(q=q.replace(" ",":")).length),0<P&&void 0!==(w=s(1,q,r,e,O,I,V.length,c,f,c))&&0===(z=(q=w.trim()).length)&&(q="\0\0"),p=q.charCodeAt(0),h=q.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){H+=q+u.charAt(R);break}default:58!==q.charCodeAt(z-1)&&(V+=i(q,p,h,q.charCodeAt(2)))}F=L=M=p=0,q="",h=u.charCodeAt(++R)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==c&&0<q.length&&(L=1,q+="\0"),0<P*j&&s(0,q,r,e,O,I,V.length,c,f,c),I=1,O++;break;case 59:case 125:if(0===S+C+k+_){I++;break}default:switch(I++,g=u.charAt(R),h){case 9:case 32:if(0===C+_+S)switch(E){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===C+S+_&&(L=F=1,g="\f"+g);break;case 108:if(0===C+S+_+T&&0<M)switch(R-M){case 2:112===E&&58===u.charCodeAt(R-3)&&(T=E);case 8:111===A&&(T=A)}break;case 58:0===C+S+_&&(M=R);break;case 44:0===S+k+C+_&&(L=1,g+="\r");break;case 34:case 39:0===S&&(C=C===h?0:0===C?h:C);break;case 91:0===C+S+k&&_++;break;case 93:0===C+S+k&&_--;break;case 41:0===C+S+_&&k--;break;case 40:if(0===C+S+_){if(0===p)if(2*E+3*A==533);else p=1;k++}break;case 64:0===S+k+C+_+M+m&&(m=1);break;case 42:case 47:if(!(0<C+_+k))switch(S){case 0:switch(2*h+3*u.charCodeAt(R+1)){case 235:S=47;break;case 220:z=R,S=42}break;case 42:47===h&&42===E&&z+2!==R&&(33===u.charCodeAt(z+2)&&(V+=u.substring(z,R+1)),g="",S=0)}}0===S&&(q+=g)}A=E,E=h,R++}if(0<(z=V.length)){if(L=r,0<P&&(void 0!==(w=s(2,V,L,e,O,I,z,c,f,c))&&0===(V=w).length))return H+V+K;if(V=L.join(",")+"{"+V+"}",0!=N*T){switch(2!==N||o(V,2)||(T=0),T){case 111:V=V.replace(b,":-moz-$1")+V;break;case 112:V=V.replace(y,"::-webkit-input-$1")+V.replace(y,"::-moz-$1")+V.replace(y,":-ms-input-$1")+V}T=0}}return H+V+K}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[u++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===N||2===N&&o(u,1)?"-webkit-"+u+u:u}if(0===N||2===N&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(E,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return p.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(w,"tb");break;case 232:u=a.replace(w,"tb-rl");break;case 220:u=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),M(2!==t?r:r.replace(k,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(_," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,u,l){for(var d,f=0,p=t;f<P;++f)switch(d=A[f].call(c,e,p,n,r,i,o,a,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?N=1:(N=2,M=e):N=0),u}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<P){var i=s(-1,n,r,r,O,I,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(D,r,n,0,0);return 0<P&&(void 0!==(i=s(-2,o,r,r,O,I,o.length,0,0,0))&&(o=i)),"",T=0,I=O=1,o}var l=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,_=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,I=1,O=1,T=0,N=1,D=[],A=[],P=0,M=null,j=0;return c.use=function e(t){switch(t){case void 0:case null:P=A.length=0;break;default:if("function"==typeof t)A[P++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else j=0|!!t}return e},c.set=u,void 0!==e&&u(e),c}var j7=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}};function R7(e){e&&L7.current.insert(e+"}")}var L7={current:null},F7=function(e,t,n,r,i,o,a,s,u,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return L7.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+"/*|*/";break;case 3:switch(s){case 102:case 112:return L7.current.insert(n[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(R7)}},z7=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new M7(t);if("production"!==Cs.env.NODE_ENV&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var i,o={};i=e.container||document.head;var a,s=document.querySelectorAll("style[data-emotion-"+n+"]");if(Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){o[e]=!0})),e.parentNode!==i&&i.appendChild(e)})),r.use(e.stylisPlugins)(F7),a=function(e,t,n,i){var o=t.name;if(L7.current=n,"production"!==Cs.env.NODE_ENV&&void 0!==t.map){var a=t.map;L7.current={insert:function(e){n.insert(e+a)}}}r(e,t.styles),i&&(l.inserted[o]=!0)},"production"!==Cs.env.NODE_ENV){var u=/\/\*/g,c=/\*\//g;r.use((function(e,t){if(-1===e){for(;u.test(t);){if(c.lastIndex=u.lastIndex,!c.test(t))throw new Error('Your styles have an unterminated comment ("/*" without corresponding "*/").');u.lastIndex=c.lastIndex}u.lastIndex=0}})),r.use((function(e,t,n){if(-1===e){var r=t.match(/(:first|:nth|:nth-last)-child/g);r&&!0!==l.compat&&r.forEach((function(e){var n=new RegExp(e+".*\\/\\* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason \\*\\/").test(t);e&&!n&&console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}))}var l={key:n,sheet:new P7({key:n,container:i,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:o,registered:{},insert:a};return l};function B7(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var U7=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert("."+r,i,e.sheet,!0),i=i.next}while(void 0!==i)}};var q7={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},V7="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",K7="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",H7=/[A-Z]|^ms/g,W7=/_EMO_([^_]+?)_([^]*?)_EMO_/g,G7=function(e){return 45===e.charCodeAt(1)},Y7=function(e){return null!=e&&"boolean"!=typeof e},Q7=N7((function(e){return G7(e)?e:e.replace(H7,"-$&").toLowerCase()})),$7=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(W7,(function(e,t,n){return a9={name:t,styles:n,next:a9},t}))}return 1===q7[e]||G7(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==Cs.env.NODE_ENV){var J7=/(attr|calc|counters?|url)\(/,Z7=["normal","none","counter","open-quote","close-quote","no-open-quote","no-close-quote","initial","inherit","unset"],X7=$7,e9=/^-ms-/,t9=/-(.)/g,n9={};$7=function(e,t){"content"===e&&("string"!=typeof t||-1===Z7.indexOf(t)&&!J7.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0)))&&console.error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=X7(e,t);return""===n||G7(e)||-1===e.indexOf("-")||void 0!==n9[e]||(n9[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(e9,"ms-").replace(t9,(function(e,t){return t.toUpperCase()}))+"?")),n}}var r9=!0;function i9(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==Cs.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error("Component selectors can only be used in conjunction with babel-plugin-emotion.");return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return a9={name:n.name,styles:n.styles,next:a9},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)a9={name:i.name,styles:i.styles,next:a9},i=i.next;var o=n.styles+";";return"production"!==Cs.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=i9(e,t,n[i],!1);else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":Y7(a)&&(r+=Q7(o)+":"+$7(o,a)+";");else{if("NO_COMPONENT_SELECTOR"===o&&"production"!==Cs.env.NODE_ENV)throw new Error("Component selectors can only be used in conjunction with babel-plugin-emotion.");if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=i9(e,t,a,!1);switch(o){case"animation":case"animationName":r+=Q7(o)+":"+s+";";break;default:"production"!==Cs.env.NODE_ENV&&"undefined"===o&&console.error(K7),r+=o+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Y7(a[u])&&(r+=Q7(o)+":"+$7(o,a[u])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var a=a9,s=n(e);return a9=a,i9(e,t,s,r)}"production"!==Cs.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==Cs.env.NODE_ENV){var u=[],c=n.replace(W7,(function(e,t,n){var r="animation"+u.length;return u.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));u.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(u,["`"+c+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+c+"`")}}if(null==t)return n;var l=t[n];return"production"!==Cs.env.NODE_ENV&&r&&r9&&void 0!==l&&(console.error("Interpolating a className from css`` is not recommended and will cause problems with composition.\nInterpolating a className from css`` will be completely unsupported in a future major version of Emotion"),r9=!1),void 0===l||r?n:l}var o9,a9,s9=/label:\s*([^\s;\n{]+)\s*;/g;"production"!==Cs.env.NODE_ENV&&(o9=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//);var u9=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";a9=void 0;var o,a=e[0];null==a||void 0===a.raw?(r=!1,i+=i9(n,t,a,!1)):("production"!==Cs.env.NODE_ENV&&void 0===a[0]&&console.error(V7),i+=a[0]);for(var s=1;s<e.length;s++)i+=i9(n,t,e[s],46===i.charCodeAt(i.length-1)),r&&("production"!==Cs.env.NODE_ENV&&void 0===a[s]&&console.error(V7),i+=a[s]);"production"!==Cs.env.NODE_ENV&&(i=i.replace(o9,(function(e){return o=e,""}))),s9.lastIndex=0;for(var u,c="";null!==(u=s9.exec(i));)c+="-"+u[1];var l=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+c;return"production"!==Cs.env.NODE_ENV?{name:l,styles:i,map:o,next:a9,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:l,styles:i,next:a9}},c9=Object.prototype.hasOwnProperty,l9=s("undefined"!=typeof HTMLElement?z7():null),d9=s({}),f9=l9.Provider,p9=function(e){var t=function(t,n){return x(l9.Consumer,null,(function(r){return e(t,r,n)}))};return w(t)},h9="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m9="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",g9=function(e,t){if("production"!==Cs.env.NODE_ENV&&"string"==typeof t.css&&-1!==t.css.indexOf(":"))throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/css' like this: css`"+t.css+"`");var n={};for(var r in t)c9.call(t,r)&&(n[r]=t[r]);if(n[h9]=e,"production"!==Cs.env.NODE_ENV){var i=new Error;if(i.stack){var o=i.stack.match(/at (?:Object\.|Module\.|)(?:jsx|createEmotionProps).*\n\s+at (?:Object\.|)([A-Z][A-Za-z$]+) /);o||(o=i.stack.match(/.*\n([A-Z][A-Za-z$]+)@/)),o&&(n[m9]=o[1].replace(/\$/g,"-"))}}return n},v9=function(e,t,n,r){var i=null===n?t.css:t.css(n);"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var o=t[h9],a=[i],s="";"string"==typeof t.className?s=B7(e.registered,a,t.className):null!=t.className&&(s=t.className+" ");var u=u9(a);if("production"!==Cs.env.NODE_ENV&&-1===u.name.indexOf("-")){var c=t[m9];c&&(u=u9([u,"label:"+c+";"]))}U7(e,u,"string"==typeof o),s+=e.key+"-"+u.name;var l={};for(var d in t)!c9.call(t,d)||"css"===d||d===h9||"production"!==Cs.env.NODE_ENV&&d===m9||(l[d]=t[d]);return l.ref=r,l.className=s,x(o,l)},y9=p9((function(e,t,n){return"function"==typeof e.css?x(d9.Consumer,null,(function(r){return v9(t,e,r,n)})):v9(t,e,null,n)}));function b9(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return u9(t)}"production"!==Cs.env.NODE_ENV&&(y9.displayName="EmotionCssPropInternal");var w9=function(e,t){var n=arguments;if(null==t||!c9.call(t,"css"))return x.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=y9,i[1]=g9(e,t);for(var o=2;o<r;o++)i[o]=n[o];return x.apply(null,i)},x9=!1,_9=p9((function(e,t){"production"===Cs.env.NODE_ENV||x9||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),x9=!0);var n=e.styles;if("function"==typeof n)return x(d9.Consumer,null,(function(e){var r=u9([n(e)]);return x(S9,{serialized:r,cache:t})}));var r=u9([n]);return x(S9,{serialized:r,cache:t})})),S9=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}jH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.sheet=new P7({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var e=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==e&&this.sheet.tags.push(e),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},n.componentDidUpdate=function(e){e.serialized.name!==this.props.serialized.name&&this.insertStyles()},n.insertStyles=function(){if(void 0!==this.props.serialized.next&&U7(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var e=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=e,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},n.componentWillUnmount=function(){this.sheet.flush()},n.render=function(){return null},t}(v),k9=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function C9(e,t,n){var r=[],i=B7(e,r,n);return r.length<2?n:i+t(r)}var E9=p9((function(e,t){return x(d9.Consumer,null,(function(n){var r=!1,i=function(){if(r&&"production"!==Cs.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var o=u9(n,t.registered);return U7(t,o,!1),t.key+"-"+o.name},o={css:i,cx:function(){if(r&&"production"!==Cs.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return C9(t.registered,i,k9(n))},theme:n},a=e.children(o);return r=!0,a}))})),I9=Object.freeze({__proto__:null,ClassNames:E9,Global:_9,createElement:w9,jsx:w9,keyframes:function(){var e=b9.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},CacheProvider:f9,ThemeContext:d9,withEmotionCache:p9,css:b9}),O9=A7,T9=function(e){return"theme"!==e&&"innerRef"!==e},N9=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?O9:T9};function D9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A9(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D9(n,!0).forEach((function(t){T7(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D9(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P9="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",M9=function e(t,n){if("production"!==Cs.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var r,i,o;void 0!==n&&(r=n.label,o=n.target,i=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var a=t.__emotion_real===t,s=a&&t.__emotion_base||t;"function"!=typeof i&&a&&(i=t.__emotion_forwardProp);var u=i||N9(s),c=!u("as");return function(){var l=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==l[0]||void 0===l[0].raw)d.push.apply(d,l);else{"production"!==Cs.env.NODE_ENV&&void 0===l[0][0]&&console.error(P9),d.push(l[0][0]);for(var f=l.length,p=1;p<f;p++)"production"!==Cs.env.NODE_ENV&&void 0===l[0][p]&&console.error(P9),d.push(l[p],l[0][p])}var h=p9((function(e,t,n){return x(d9.Consumer,null,(function(a){var l=c&&e.as||s,f="",p=[],h=e;if(null==e.theme){for(var m in h={},e)h[m]=e[m];h.theme=a}"string"==typeof e.className?f=B7(t.registered,p,e.className):null!=e.className&&(f=e.className+" ");var g=u9(d.concat(p),t.registered,h);U7(t,g,"string"==typeof l),f+=t.key+"-"+g.name,void 0!==o&&(f+=" "+o);var v=c&&void 0===i?N9(l):u,y={};for(var b in e)c&&"as"===b||v(b)&&(y[b]=e[b]);return y.className=f,y.ref=n||e.innerRef,"production"!==Cs.env.NODE_ENV&&e.innerRef&&console.error("`innerRef` is deprecated and will be removed in a future major version of Emotion, please use the `ref` prop instead"+(void 0===r?"":" in the usage of `"+r+"`")),x(l,y)}))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=d,h.__emotion_forwardProp=i,Object.defineProperty(h,"toString",{value:function(){return void 0===o&&"production"!==Cs.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+o}}),h.withComponent=function(t,r){return e(t,void 0!==r?A9({},n||{},{},r):n).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){M9[e]=M9(e)}));var j9=Be(Object.freeze({__proto__:null,default:M9})),R9={},L9=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},F9=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),z9=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),B9=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&F9(t,e,n);return z9(t,e),t},U9=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(R9,"__esModule",{value:!0});var q9,V9=U9(j9),K9=B9(o),H9=V9.default.img(q9||(q9=L9(["\n object-fit: cover;\n width: 32px;\n height: 32px;\n margin-right: 8px;\n"],["\n object-fit: cover;\n width: 32px;\n height: 32px;\n margin-right: 8px;\n"])));R9.default=function(e){var t=e.user,n=e.className,r=void 0===n?"":n,i=K9.useRef(Math.floor(5*Math.random())+1),o=t.avatar_url?function(e){var t,n;if(!e)return"";var r=null===(n=null===(t=null==e?void 0:e.split("."))||void 0===t?void 0:t.pop())||void 0===n?void 0:n.toLowerCase();return e.replace("."+r,"/80h."+r)}(t.avatar_url):"https://media.giphy.com/avatars/default"+i.current+".gif";return K9.default.createElement(H9,{src:o,className:r})};var W9={},G9={},Y9={},Q9={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.gifOverlayColor=e.dimColor=e.secondaryCTA=e.primaryCTADisabled=e.primaryCTA=e.deleteColor=e.errorColor=e.smsColor=e.redditColor=e.instagramColor=e.tumblrColor=e.pinterestColor=e.twitterColor=e.facebookColor=e.giphyPink=e.giphyIndigo=e.giphyLightBlue=e.giphyAqua=e.giphyYellow=e.giphyRed=e.giphyPurple=e.giphyGreen=e.giphyBlue=e.giphyWhite=e.giphyWhiteSmoke=e.giphyLightestGrey=e.giphyLightGrey=e.giphyLightCharcoal=e.giphyCharcoal=e.giphyDarkCharcoal=e.giphyDarkGrey=e.giphyDarkestGrey=e.giphyBlack=void 0,e.giphyBlack="#121212",e.giphyDarkestGrey="#212121",e.giphyDarkGrey="#2e2e2e",e.giphyDarkCharcoal="#3e3e3e",e.giphyCharcoal="#4a4a4a",e.giphyLightCharcoal="#5c5c5c",e.giphyLightGrey="#a6a6a6",e.giphyLightestGrey="#d8d8d8",e.giphyWhiteSmoke="#ececec",e.giphyWhite="#ffffff",e.giphyBlue="#00ccff",e.giphyGreen="#00ff99",e.giphyPurple="#9933ff",e.giphyRed="#ff6666",e.giphyYellow="#fff35c",e.giphyAqua="#00e6cc",e.giphyLightBlue="#3191ff",e.giphyIndigo="#6157ff",e.giphyPink="#e646b6",e.facebookColor="#3894fc",e.twitterColor="#00ccff",e.pinterestColor="#e54cb5",e.tumblrColor="#529ecc",e.instagramColor="#c23c8d",e.redditColor="#fc6669",e.smsColor="#00ff99",e.errorColor=e.giphyRed,e.deleteColor=e.giphyRed,e.primaryCTA=e.giphyIndigo,e.primaryCTADisabled="#241F74",e.secondaryCTA=e.giphyCharcoal,e.dimColor="rgba(0, 0, 0, 0.8)",e.gifOverlayColor="rgba(0, 0, 0, 0.4)"}(Q9);var $9={};function J9(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Z9(e,t,n){var r=[],i=B7(e,r,n);return r.length<2?n:i+t(r)}var X9=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var a in o="",i)i[a]&&a&&(o&&(o+=" "),o+=a);break;default:o=i}o&&(n&&(n+=" "),n+=o)}}return n},eee=function(e){var t=z7(e);t.sheet.speedy=function(e){if("production"!==Cs.env.NODE_ENV&&0!==this.ctr)throw new Error("speedy must be changed before any rules are inserted");this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=u9(n,t.registered,void 0);return U7(t,i,!1),t.key+"-"+i.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return Z9(t.registered,n,X9(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=u9(n,t.registered);J9(t,i)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=u9(n,t.registered),o="animation-"+i.name;return J9(t,{name:i.name,styles:"@keyframes "+o+"{"+i.styles+"}"}),o},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:B7.bind(null,t.registered),merge:Z9.bind(null,t.registered,n)}}(),tee=eee.flush,nee=eee.hydrate,ree=eee.cx,iee=eee.merge,oee=eee.getRegisteredStyles,aee=eee.injectGlobal,see=eee.keyframes,uee=eee.css,cee=eee.sheet,lee=eee.cache,dee=Be(Object.freeze({__proto__:null,cache:lee,css:uee,cx:ree,flush:tee,getRegisteredStyles:oee,hydrate:nee,injectGlobal:aee,keyframes:see,merge:iee,sheet:cee})),fee=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty($9,"__esModule",{value:!0});var pee,hee,mee=dee,gee=Q9,vee=mee.keyframes(pee||(pee=fee(["\n to {\n transform: scale(1.75) translateY(-20px);\n }\n"],["\n to {\n transform: scale(1.75) translateY(-20px);\n }\n"]))),yee=mee.css(hee||(hee=fee(["\n display: flex;\n align-items: center;\n height: ","px;\n padding-top: 15px;\n margin: 0 auto;\n text-align: center;\n justify-content: center;\n animation: pulse 0.8s ease-in-out 0s infinite alternate backwards;\n div {\n display: inline-block;\n height: 10px;\n width: 10px;\n margin: ","px 10px 10px 10px;\n position: relative;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);\n animation: "," cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75s infinite alternate;\n &:nth-child(5n + 1) {\n background: ",";\n animation-delay: 0;\n }\n &:nth-child(5n + 2) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 1));\n }\n &:nth-child(5n + 3) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 2));\n }\n &:nth-child(5n + 4) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 3));\n }\n &:nth-child(5n + 5) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 4));\n }\n }\n"],["\n display: flex;\n align-items: center;\n height: ","px;\n padding-top: 15px;\n margin: 0 auto;\n text-align: center;\n justify-content: center;\n animation: pulse 0.8s ease-in-out 0s infinite alternate backwards;\n div {\n display: inline-block;\n height: 10px;\n width: 10px;\n margin: ","px 10px 10px 10px;\n position: relative;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);\n animation: "," cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75s infinite alternate;\n &:nth-child(5n + 1) {\n background: ",";\n animation-delay: 0;\n }\n &:nth-child(5n + 2) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 1));\n }\n &:nth-child(5n + 3) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 2));\n }\n &:nth-child(5n + 4) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 3));\n }\n &:nth-child(5n + 5) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 4));\n }\n }\n"])),37,37,vee,gee.giphyGreen,gee.giphyBlue,gee.giphyPurple,gee.giphyRed,gee.giphyYellow);$9.default=yee;var bee={};!function(e){var t=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(e,"__esModule",{value:!0}),e.css=e.fontSize=e.fontFamily=void 0;var n=dee;n.injectGlobal(r||(r=t(["\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff') format('woff');\n}\n\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: bold;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff') format('woff');\n}\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: 900;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_XBd.woff') format('woff');\n}\n@font-face {\n font-family: 'nexablack'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff') format('woff');\n}\n@font-face {\n font-family: 'SSStandard'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-standard.woff') format('woff');\n}\n@font-face {\n font-family: 'SSSocial'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-social.woff') format('woff');\n}\n"],["\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff') format('woff');\n}\n\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: bold;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff') format('woff');\n}\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: 900;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_XBd.woff') format('woff');\n}\n@font-face {\n font-family: 'nexablack'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff') format('woff');\n}\n@font-face {\n font-family: 'SSStandard'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-standard.woff') format('woff');\n}\n@font-face {\n font-family: 'SSSocial'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-social.woff') format('woff');\n}\n"]))),e.fontFamily={title:"'nexablack', sans-serif",body:"interface, Helvetica Neue, helvetica, sans-serif;"},e.fontSize={titleSmall:"20px",title:"26px",titleLarge:"36px",subheader:"16px",subheaderSmall:"12px"};var r,i,o,a,s,u,c,l,d,f=n.css(i||(i=t(["\n font-family: ",";\n -webkit-font-smoothing: antialiased;\n"],["\n font-family: ",";\n -webkit-font-smoothing: antialiased;\n"])),e.fontFamily.title),p=n.cx(n.css(o||(o=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.title),f),h=n.cx(n.css(a||(a=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.titleLarge),f),m=n.cx(n.css(s||(s=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.titleSmall),f),g=n.css(u||(u=t(["\n font-family: ",";\n font-weight: bold;\n -webkit-font-smoothing: antialiased;\n"],["\n font-family: ",";\n font-weight: bold;\n -webkit-font-smoothing: antialiased;\n"])),e.fontFamily.body),v=n.cx(n.css(c||(c=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.subheader),g),y=n.cx(n.css(l||(l=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.subheaderSmall),g),b={sectionHeader:n.css(d||(d=t(["\n font-family: ",";\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n -webkit-font-smoothing: antialiased;\n"],["\n font-family: ",";\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n -webkit-font-smoothing: antialiased;\n"])),e.fontFamily.body),subheaderSmall:y,subheader:v,titleLarge:h,titleSmall:m,title:p};e.css=b}(bee),function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=Fe&&Fe.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)},r=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.loader=void 0,n(Q9,e);var i=$9;Object.defineProperty(e,"loader",{enumerable:!0,get:function(){return r(i).default}}),n(bee,e)}(Y9);var wee=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(G9,"__esModule",{value:!0});var xee=Y9,_ee=wee(o),See=function(e){var t=e.className,n=void 0===t?"":t,r=e.size,i=void 0===r?17:r,o=e.fill,a=void 0===o?"#15CDFF":o;return _ee.default.createElement("svg",{className:[See.className,n].join(" "),height:i,width:"19px",viewBox:"0 0 19 17"},_ee.default.createElement("path",{className:See.checkMarkClassName,d:"M9.32727273,9.44126709 L9.32727273,3.03016561 L6.55027155,3.03016561 L6.55027155,10.8150746 L6.55027155,12.188882 L12.1042739,12.188882 L12.1042739,9.44126709 L9.32727273,9.44126709 Z",fill:xee.giphyBlack,transform:"translate(9.327273, 7.609524) scale(-1, 1) rotate(-45.000000) translate(-9.327273, -7.609524) "}),_ee.default.createElement("g",{transform:"translate(-532.000000, -466.000000)",fill:a},_ee.default.createElement("g",{transform:"translate(141.000000, 235.000000)"},_ee.default.createElement("g",{transform:"translate(264.000000, 0.000000)"},_ee.default.createElement("g",{transform:"translate(10.000000, 224.000000)"},_ee.default.createElement("g",{transform:"translate(114.000000, 2.500000)"},_ee.default.createElement("path",{d:"M15.112432,4.80769231 L16.8814194,6.87556817 L19.4157673,7.90116318 L19.6184416,10.6028916 L21.0594951,12.9065042 L19.6184416,15.2101168 L19.4157673,17.9118452 L16.8814194,18.9374402 L15.112432,21.0053161 L12.4528245,20.3611511 L9.79321699,21.0053161 L8.02422954,18.9374402 L5.48988167,17.9118452 L5.28720734,15.2101168 L3.84615385,12.9065042 L5.28720734,10.6028916 L5.48988167,7.90116318 L8.02422954,6.87556817 L9.79321699,4.80769231 L12.4528245,5.4518573 L15.112432,4.80769231 Z M17.8163503,10.8991009 L15.9282384,9.01098901 L11.5681538,13.3696923 L9.68115218,11.4818515 L7.81302031,13.3499833 L9.7011322,15.2380952 L11.5892441,17.1262071 L17.8163503,10.8991009 Z"})))))))};See.className="giphy-verified-badge",See.checkMarkClassName="giphy-verified-checkmark",G9.default=See,function(e){var t=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},n=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.Username=void 0;var r=n(j9),i=n(o),a=n(G9);e.Username=r.default.div(s||(s=t(["\n color: white;\n font-size: 16px;\n font-weight: 700;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n -webkit-font-smoothing: antialiased;\n"],["\n color: white;\n font-size: 16px;\n font-weight: 700;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n -webkit-font-smoothing: antialiased;\n"])));var s,u,c,l=r.default(a.default)(u||(u=t(["\n margin-left: 4px;\n flex-shrink: 0;\n"],["\n margin-left: 4px;\n flex-shrink: 0;\n"]))),d=r.default.div(c||(c=t(["\n display: flex;\n align-items: center;\n min-width: 0;\n"],["\n display: flex;\n align-items: center;\n min-width: 0;\n"])));e.default=function(t){var n=t.user,r=n.display_name,o=n.username;return i.default.createElement(d,null,i.default.createElement(e.Username,null,r||"@"+o),n.is_verified?i.default.createElement(l,{size:14}):null)}}(W9);var kee=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Cee=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(O7,"__esModule",{value:!0});var Eee,Iee,Oee=Cee(j9),Tee=Cee(o),Nee=Cee(R9),Dee=Cee(W9),Aee=Oee.default.div(Eee||(Eee=kee(["\n display: flex;\n align-items: center;\n font-family: interface, helvetica, arial;\n"],["\n display: flex;\n align-items: center;\n font-family: interface, helvetica, arial;\n"]))),Pee=Oee.default(Nee.default)(Iee||(Iee=kee(["\n flex-shrink: 0;\n"],["\n flex-shrink: 0;\n"]))),Mee=function(e){var t=e.gif,n=e.className,r=e.onClick,i=t.user;return(null==i?void 0:i.username)||(null==i?void 0:i.display_name)?Tee.default.createElement(Aee,{className:[Mee.className,n].join(" "),onClick:function(e){if(e.preventDefault(),e.stopPropagation(),r)r(t);else{var n=i.profile_url;n&&window.open(n,"_blank")}}},Tee.default.createElement(Pee,{user:i}),Tee.default.createElement(Dee.default,{user:t.user})):null};Mee.className="giphy-attribution",O7.default=Mee;var jee={},Ree=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Lee=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),Fee=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),zee=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Lee(t,e,n);return Fee(t,e),t},Bee=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jee,"__esModule",{value:!0});var Uee,qee,Vee,Kee=Bee(j9),Hee=zee(o),Wee=Bee(O7),Gee=Kee.default.div(Uee||(Uee=Ree(["\n background: linear-gradient(rgba(0, 0, 0, 0), rgba(18, 18, 18, 0.6));\n cursor: default;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 75px;\n pointer-events: none;\n"],["\n background: linear-gradient(rgba(0, 0, 0, 0), rgba(18, 18, 18, 0.6));\n cursor: default;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 75px;\n pointer-events: none;\n"]))),Yee=Kee.default(Wee.default)(qee||(qee=Ree(["\n position: absolute;\n bottom: 10px;\n left: 10px;\n right: 10px;\n"],["\n position: absolute;\n bottom: 10px;\n left: 10px;\n right: 10px;\n"]))),Qee=Kee.default.div(Vee||(Vee=Ree(["\n transition: opacity 150ms ease-in;\n"],["\n transition: opacity 150ms ease-in;\n"])));jee.default=function(e){var t=e.gif,n=e.isHovered,r=e.onClick,i=Hee.useRef(n);return n&&(i.current=!0),t.user&&i.current?Hee.default.createElement(Qee,{style:{opacity:n?1:0}},Hee.default.createElement(Gee,null),Hee.default.createElement(Yee,{gif:t,onClick:r})):null};var $ee={},Jee={},Zee={};Object.defineProperty(Zee,"__esModule",{value:!0}),Zee.serverUrl=void 0;var Xee=("undefined"!=typeof window?window:Fe)||{};Zee.serverUrl=Xee.GIPHY_API_URL||"https://api.giphy.com/v1/";var ete={},tte="undefined"!=typeof Symbol&&Symbol,nte=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0},rte="Function.prototype.bind called on incompatible ",ite=Array.prototype.slice,ote=Object.prototype.toString,ate=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==ote.call(t))throw new TypeError(rte+t);for(var n,r=ite.call(arguments,1),i=function(){if(this instanceof n){var i=t.apply(this,r.concat(ite.call(arguments)));return Object(i)===i?i:this}return t.apply(e,r.concat(ite.call(arguments)))},o=Math.max(0,t.length-r.length),a=[],s=0;s<o;s++)a.push("$"+s);if(n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var u=function(){};u.prototype=t.prototype,n.prototype=new u,u.prototype=null}return n},ste=Function.prototype.bind||ate,ute=ste.call(Function.call,Object.prototype.hasOwnProperty),cte=SyntaxError,lte=Function,dte=TypeError,fte=function(e){try{return lte('"use strict"; return ('+e+").constructor;")()}catch(e){}},pte=Object.getOwnPropertyDescriptor;if(pte)try{pte({},"")}catch(qde){pte=null}var hte=function(){throw new dte},mte=pte?function(){try{return hte}catch(e){try{return pte(arguments,"callee").get}catch(e){return hte}}}():hte,gte="function"==typeof tte&&"function"==typeof Symbol&&"symbol"==typeof tte("foo")&&"symbol"==typeof Symbol("bar")&&nte(),vte=Object.getPrototypeOf||function(e){return e.__proto__},yte={},bte="undefined"==typeof Uint8Array?undefined:vte(Uint8Array),wte={"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":gte?vte([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":yte,"%AsyncGenerator%":yte,"%AsyncGeneratorFunction%":yte,"%AsyncIteratorPrototype%":yte,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":lte,"%GeneratorFunction%":yte,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":gte?vte(vte([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&gte?vte((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&gte?vte((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":gte?vte(""[Symbol.iterator]()):undefined,"%Symbol%":gte?Symbol:undefined,"%SyntaxError%":cte,"%ThrowTypeError%":mte,"%TypedArray%":bte,"%TypeError%":dte,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet},xte=function e(t){var n;if("%AsyncFunction%"===t)n=fte("async function () {}");else if("%GeneratorFunction%"===t)n=fte("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=fte("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=vte(i.prototype))}return wte[t]=n,n},_te={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ste=ste,kte=ute,Cte=Ste.call(Function.call,Array.prototype.concat),Ete=Ste.call(Function.apply,Array.prototype.splice),Ite=Ste.call(Function.call,String.prototype.replace),Ote=Ste.call(Function.call,String.prototype.slice),Tte=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Nte=/\\(\\)?/g,Dte=function(e){var t=Ote(e,0,1),n=Ote(e,-1);if("%"===t&&"%"!==n)throw new cte("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new cte("invalid intrinsic syntax, expected opening `%`");var r=[];return Ite(e,Tte,(function(e,t,n,i){r[r.length]=n?Ite(i,Nte,"$1"):t||e})),r},Ate=function(e,t){var n,r=e;if(kte(_te,r)&&(r="%"+(n=_te[r])[0]+"%"),kte(wte,r)){var i=wte[r];if(i===yte&&(i=xte(r)),void 0===i&&!t)throw new dte("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new cte("intrinsic "+e+" does not exist!")},Pte=function(e,t){if("string"!=typeof e||0===e.length)throw new dte("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new dte('"allowMissing" argument must be a boolean');var n=Dte(e),r=n.length>0?n[0]:"",i=Ate("%"+r+"%",t),o=i.name,a=i.value,s=!1,u=i.alias;u&&(r=u[0],Ete(n,Cte([0,1],u)));for(var c=1,l=!0;c<n.length;c+=1){var d=n[c],f=Ote(d,0,1),p=Ote(d,-1);if(('"'===f||"'"===f||"`"===f||'"'===p||"'"===p||"`"===p)&&f!==p)throw new cte("property names with quotes must have matching quotes");if("constructor"!==d&&l||(s=!0),kte(wte,o="%"+(r+="."+d)+"%"))a=wte[o];else if(null!=a){if(!(d in a)){if(!t)throw new dte("base intrinsic for "+e+" exists, but the property is not available.");return}if(pte&&c+1>=n.length){var h=pte(a,d);a=(l=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:a[d]}else l=kte(a,d),a=a[d];l&&!s&&(wte[o]=a)}}return a},Mte={exports:{}};!function(e){var t=ste,n=Pte,r=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),o=n("%Reflect.apply%",!0)||t.call(i,r),a=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),u=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch(e){s=null}e.exports=function(e){var n=o(t,i,arguments);if(a&&s){var r=a(n,"length");r.configurable&&s(n,"length",{value:1+u(0,e.length-(arguments.length-1))})}return n};var c=function(){return o(t,r,arguments)};s?s(e.exports,"apply",{value:c}):e.exports.apply=c}(Mte);var jte=Pte,Rte=Mte.exports,Lte=Rte(jte("String.prototype.indexOf")),Fte=Be(Object.freeze({__proto__:null,default:{}})),zte="function"==typeof Map&&Map.prototype,Bte=Object.getOwnPropertyDescriptor&&zte?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ute=zte&&Bte&&"function"==typeof Bte.get?Bte.get:null,qte=zte&&Map.prototype.forEach,Vte="function"==typeof Set&&Set.prototype,Kte=Object.getOwnPropertyDescriptor&&Vte?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Hte=Vte&&Kte&&"function"==typeof Kte.get?Kte.get:null,Wte=Vte&&Set.prototype.forEach,Gte="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Yte="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Qte="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,$te=Boolean.prototype.valueOf,Jte=Object.prototype.toString,Zte=Function.prototype.toString,Xte=String.prototype.match,ene="function"==typeof BigInt?BigInt.prototype.valueOf:null,tne=Object.getOwnPropertySymbols,nne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,rne="function"==typeof Symbol&&"object"==typeof Symbol.iterator,ine=Object.prototype.propertyIsEnumerable,one=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),ane=Fte.custom,sne=ane&&fne(ane)?ane:null,une="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function cne(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function lne(e){return String(e).replace(/"/g,"&quot;")}function dne(e){return!("[object Array]"!==mne(e)||une&&"object"==typeof e&&une in e)}function fne(e){if(rne)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!nne)return!1;try{return nne.call(e),!0}catch(e){}return!1}var pne=Object.prototype.hasOwnProperty||function(e){return e in this};function hne(e,t){return pne.call(e,t)}function mne(e){return Jte.call(e)}function gne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function vne(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return vne(e.slice(0,t.maxStringLength),t)+r}return cne(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,yne),"single",t)}function yne(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function bne(e){return"Object("+e+")"}function wne(e){return e+" { ? }"}function xne(e,t,n,r){return e+" ("+t+") {"+(r?_ne(n,r):n.join(", "))+"}"}function _ne(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+e.join(","+n)+"\n"+t.prev}function Sne(e,t){var n=dne(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=hne(e,i)?t(e[i],e):""}var o,a="function"==typeof tne?tne(e):[];if(rne){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var u in e)hne(e,u)&&(n&&String(Number(u))===u&&u<e.length||rne&&o["$"+u]instanceof Symbol||(/[^\w$]/.test(u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof tne)for(var c=0;c<a.length;c++)ine.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var kne=Pte,Cne=function(e,t){var n=jte(e,!!t);return"function"==typeof n&&Lte(e,".prototype.")>-1?Rte(n):n},Ene=function e(t,n,r,i){var o=n||{};if(hne(o,"quoteStyle")&&"single"!==o.quoteStyle&&"double"!==o.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(hne(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!hne(o,"customInspect")||o.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(hne(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return vne(t,o);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var s=void 0===o.depth?5:o.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"==typeof t)return dne(t)?"[Array]":"[Object]";var u=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}(o,r);if(void 0===i)i=[];else if(gne(i,t)>=0)return"[Circular]";function c(t,n,a){if(n&&(i=i.slice()).push(n),a){var s={depth:o.depth};return hne(o,"quoteStyle")&&(s.quoteStyle=o.quoteStyle),e(t,s,r+1,i)}return e(t,o,r+1,i)}if("function"==typeof t){var l=function(e){if(e.name)return e.name;var t=Xte.call(Zte.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=Sne(t,c);return"[Function"+(l?": "+l:" (anonymous)")+"]"+(d.length>0?" { "+d.join(", ")+" }":"")}if(fne(t)){var f=rne?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):nne.call(t);return"object"!=typeof t||rne?f:bne(f)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var p="<"+String(t.nodeName).toLowerCase(),h=t.attributes||[],m=0;m<h.length;m++)p+=" "+h[m].name+"="+cne(lne(h[m].value),"double",o);return p+=">",t.childNodes&&t.childNodes.length&&(p+="..."),p+="</"+String(t.nodeName).toLowerCase()+">"}if(dne(t)){if(0===t.length)return"[]";var g=Sne(t,c);return u&&!function(e){for(var t=0;t<e.length;t++)if(gne(e[t],"\n")>=0)return!1;return!0}(g)?"["+_ne(g,u)+"]":"[ "+g.join(", ")+" ]"}if(function(e){return!("[object Error]"!==mne(e)||une&&"object"==typeof e&&une in e)}(t)){var v=Sne(t,c);return 0===v.length?"["+String(t)+"]":"{ ["+String(t)+"] "+v.join(", ")+" }"}if("object"==typeof t&&a){if(sne&&"function"==typeof t[sne])return t[sne]();if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!Ute||!e||"object"!=typeof e)return!1;try{Ute.call(e);try{Hte.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var y=[];return qte.call(t,(function(e,n){y.push(c(n,t,!0)+" => "+c(e,t))})),xne("Map",Ute.call(t),y,u)}if(function(e){if(!Hte||!e||"object"!=typeof e)return!1;try{Hte.call(e);try{Ute.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var b=[];return Wte.call(t,(function(e){b.push(c(e,t))})),xne("Set",Hte.call(t),b,u)}if(function(e){if(!Gte||!e||"object"!=typeof e)return!1;try{Gte.call(e,Gte);try{Yte.call(e,Yte)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return wne("WeakMap");if(function(e){if(!Yte||!e||"object"!=typeof e)return!1;try{Yte.call(e,Yte);try{Gte.call(e,Gte)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return wne("WeakSet");if(function(e){if(!Qte||!e||"object"!=typeof e)return!1;try{return Qte.call(e),!0}catch(e){}return!1}(t))return wne("WeakRef");if(function(e){return!("[object Number]"!==mne(e)||une&&"object"==typeof e&&une in e)}(t))return bne(c(Number(t)));if(function(e){if(!e||"object"!=typeof e||!ene)return!1;try{return ene.call(e),!0}catch(e){}return!1}(t))return bne(c(ene.call(t)));if(function(e){return!("[object Boolean]"!==mne(e)||une&&"object"==typeof e&&une in e)}(t))return bne($te.call(t));if(function(e){return!("[object String]"!==mne(e)||une&&"object"==typeof e&&une in e)}(t))return bne(c(String(t)));if(!function(e){return!("[object Date]"!==mne(e)||une&&"object"==typeof e&&une in e)}(t)&&!function(e){return!("[object RegExp]"!==mne(e)||une&&"object"==typeof e&&une in e)}(t)){var w=Sne(t,c),x=one?one(t)===Object.prototype:t instanceof Object||t.constructor===Object,_=t instanceof Object?"":"null prototype",S=!x&&une&&Object(t)===t&&une in t?mne(t).slice(8,-1):_?"Object":"",k=(x||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(S||_?"["+[].concat(S||[],_||[]).join(": ")+"] ":"");return 0===w.length?k+"{}":u?k+"{"+_ne(w,u)+"}":k+"{ "+w.join(", ")+" }"}return String(t)},Ine=kne("%TypeError%"),One=kne("%WeakMap%",!0),Tne=kne("%Map%",!0),Nne=Cne("WeakMap.prototype.get",!0),Dne=Cne("WeakMap.prototype.set",!0),Ane=Cne("WeakMap.prototype.has",!0),Pne=Cne("Map.prototype.get",!0),Mne=Cne("Map.prototype.set",!0),jne=Cne("Map.prototype.has",!0),Rne=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},Lne=String.prototype.replace,Fne=/%20/g,zne="RFC3986",Bne={default:zne,formatters:{RFC1738:function(e){return Lne.call(e,Fne,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:zne},Une=Bne,qne=Object.prototype.hasOwnProperty,Vne=Array.isArray,Kne=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Hne=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},Wne={arrayToObject:Hne,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],o=i.obj[i.prop],a=Object.keys(o),s=0;s<a.length;++s){var u=a[s],c=o[u];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:o,prop:u}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(Vne(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,r,i){if(0===e.length)return e;var o=e;if("symbol"==typeof e?o=Symbol.prototype.toString.call(e):"string"!=typeof e&&(o=String(e)),"iso-8859-1"===n)return escape(o).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var a="",s=0;s<o.length;++s){var u=o.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===Une.RFC1738&&(40===u||41===u)?a+=o.charAt(s):u<128?a+=Kne[u]:u<2048?a+=Kne[192|u>>6]+Kne[128|63&u]:u<55296||u>=57344?a+=Kne[224|u>>12]+Kne[128|u>>6&63]+Kne[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&o.charCodeAt(s)),a+=Kne[240|u>>18]+Kne[128|u>>12&63]+Kne[128|u>>6&63]+Kne[128|63&u])}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Vne(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(Vne(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!qne.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return Vne(t)&&!Vne(n)&&(i=Hne(t,r)),Vne(t)&&Vne(n)?(n.forEach((function(n,i){if(qne.call(t,i)){var o=t[i];o&&"object"==typeof o&&n&&"object"==typeof n?t[i]=e(o,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var o=n[i];return qne.call(t,i)?t[i]=e(t[i],o,r):t[i]=o,t}),i)}},Gne=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new Ine("Side channel does not contain "+Ene(e))},get:function(r){if(One&&r&&("object"==typeof r||"function"==typeof r)){if(e)return Nne(e,r)}else if(Tne){if(t)return Pne(t,r)}else if(n)return function(e,t){var n=Rne(e,t);return n&&n.value}(n,r)},has:function(r){if(One&&r&&("object"==typeof r||"function"==typeof r)){if(e)return Ane(e,r)}else if(Tne){if(t)return jne(t,r)}else if(n)return function(e,t){return!!Rne(e,t)}(n,r);return!1},set:function(r,i){One&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new One),Dne(e,r,i)):Tne?(t||(t=new Tne),Mne(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=Rne(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r},Yne=Wne,Qne=Bne,$ne=Object.prototype.hasOwnProperty,Jne={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Zne=Array.isArray,Xne=Array.prototype.push,ere=function(e,t){Xne.apply(e,Zne(t)?t:[t])},tre=Date.prototype.toISOString,nre=Qne.default,rre={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Yne.encode,encodeValuesOnly:!1,format:nre,formatter:Qne.formatters[nre],indices:!1,serializeDate:function(e){return tre.call(e)},skipNulls:!1,strictNullHandling:!1},ire=function e(t,n,r,i,o,a,s,u,c,l,d,f,p,h,m){var g,v=t;if(m.has(t))throw new RangeError("Cyclic object value");if("function"==typeof s?v=s(n,v):v instanceof Date?v=l(v):"comma"===r&&Zne(v)&&(v=Yne.maybeMap(v,(function(e){return e instanceof Date?l(e):e}))),null===v){if(i)return a&&!p?a(n,rre.encoder,h,"key",d):n;v=""}if("string"==typeof(g=v)||"number"==typeof g||"boolean"==typeof g||"symbol"==typeof g||"bigint"==typeof g||Yne.isBuffer(v))return a?[f(p?n:a(n,rre.encoder,h,"key",d))+"="+f(a(v,rre.encoder,h,"value",d))]:[f(n)+"="+f(String(v))];var y,b=[];if(void 0===v)return b;if("comma"===r&&Zne(v))y=[{value:v.length>0?v.join(",")||null:void 0}];else if(Zne(s))y=s;else{var w=Object.keys(v);y=u?w.sort(u):w}for(var x=0;x<y.length;++x){var _=y[x],S="object"==typeof _&&void 0!==_.value?_.value:v[_];if(!o||null!==S){var k=Zne(v)?"function"==typeof r?r(n,_):n:n+(c?"."+_:"["+_+"]");m.set(t,!0);var C=Gne();ere(b,e(S,k,r,i,o,a,s,u,c,l,d,f,p,h,C))}}return b},ore=Wne,are=Object.prototype.hasOwnProperty,sre=Array.isArray,ure={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:ore.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},cre=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},lre=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},dre=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(i),s=a?i.slice(0,a.index):i,u=[];if(s){if(!n.plainObjects&&are.call(Object.prototype,s)&&!n.allowPrototypes)return;u.push(s)}for(var c=0;n.depth>0&&null!==(a=o.exec(i))&&c<n.depth;){if(c+=1,!n.plainObjects&&are.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+i.slice(a.index)+"]"),function(e,t,n,r){for(var i=r?t:lre(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(u,10);n.parseArrays||""!==u?!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=i:a[u]=i:a={0:i}}i=a}return i}(u,t,n,r)}},fre=function(e,t){var n,r=e,i=function(e){if(!e)return rre;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||rre.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Qne.default;if(void 0!==e.format){if(!$ne.call(Qne.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=Qne.formatters[n],i=rre.filter;return("function"==typeof e.filter||Zne(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:rre.addQueryPrefix,allowDots:void 0===e.allowDots?rre.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:rre.charsetSentinel,delimiter:void 0===e.delimiter?rre.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:rre.encode,encoder:"function"==typeof e.encoder?e.encoder:rre.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:rre.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:rre.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:rre.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:rre.strictNullHandling}}(t);"function"==typeof i.filter?r=(0,i.filter)("",r):Zne(i.filter)&&(n=i.filter);var o,a=[];if("object"!=typeof r||null===r)return"";o=t&&t.arrayFormat in Jne?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var s=Jne[o];n||(n=Object.keys(r)),i.sort&&n.sort(i.sort);for(var u=Gne(),c=0;c<n.length;++c){var l=n[c];i.skipNulls&&null===r[l]||ere(a,ire(r[l],l,s,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,u))}var d=a.join(i.delimiter),f=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),d.length>0?f+d:""},pre=function(e,t){var n=function(e){if(!e)return ure;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?ure.charset:e.charset;return{allowDots:void 0===e.allowDots?ure.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:ure.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:ure.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:ure.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:ure.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:ure.comma,decoder:"function"==typeof e.decoder?e.decoder:ure.decoder,delimiter:"string"==typeof e.delimiter||ore.isRegExp(e.delimiter)?e.delimiter:ure.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:ure.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:ure.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:ure.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:ure.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:ure.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof e?function(e,t){var n,r={},i=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,a=i.split(t.delimiter,o),s=-1,u=t.charset;if(t.charsetSentinel)for(n=0;n<a.length;++n)0===a[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[n]?u="utf-8":"utf8=%26%2310003%3B"===a[n]&&(u="iso-8859-1"),s=n,n=a.length);for(n=0;n<a.length;++n)if(n!==s){var c,l,d=a[n],f=d.indexOf("]="),p=-1===f?d.indexOf("="):f+1;-1===p?(c=t.decoder(d,ure.decoder,u,"key"),l=t.strictNullHandling?null:""):(c=t.decoder(d.slice(0,p),ure.decoder,u,"key"),l=ore.maybeMap(lre(d.slice(p+1),t),(function(e){return t.decoder(e,ure.decoder,u,"value")}))),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=cre(l)),d.indexOf("[]=")>-1&&(l=sre(l)?[l]:l),are.call(r,c)?r[c]=ore.combine(r[c],l):r[c]=l}return r}(e,n):e,i=n.plainObjects?Object.create(null):{},o=Object.keys(r),a=0;a<o.length;++a){var s=o[a],u=dre(s,r[s],n,"string"==typeof e);i=ore.merge(i,u,n)}return!0===n.allowSparse?i:ore.compact(i)},hre={formats:Bne,parse:pre,stringify:fre},mre={};!function(e){var t=Fe&&Fe.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeGifs=e.normalizeGif=e.USER_BOOL_PROPS=e.BOOL_PROPS=void 0,e.BOOL_PROPS=["is_anonymous","is_community","is_featured","is_hidden","is_indexable","is_preserve_size","is_realtime","is_removed","is_sticker","is_dynamic"],e.USER_BOOL_PROPS=["suppress_chrome","is_public","is_verified"];var n=function(e){return function(t){return e[t]=!!e[t]}},r=function(e){return"string"==typeof e?e:e.text},i=function(i){var o=t({},i);o.id=String(o.id),o.tags=(o.tags||[]).map(r),e.BOOL_PROPS.forEach(n(o)),Object.keys(o.images||{}).forEach((function(e){var t=o.images[e];t.width=parseInt(t.width),t.height=parseInt(t.height)}));var a=o.user;if(a){var s=t({},a);e.USER_BOOL_PROPS.forEach(n(s)),o.user=s}return o};e.normalizeGif=function(e){return e.data=i(e.data),e};e.normalizeGifs=function(e){return e.data=e.data.map((function(e){return i(e)})),e}}(mre);var gre={},vre={},yre=Fe&&Fe.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(vre,"__esModule",{value:!0});var bre=function(e){function t(t,n,r){void 0===n&&(n=0),void 0===r&&(r="");var i=e.call(this,t)||this;return i.status=n,i.statusText=r,i}return yre(t,e),t}(Error);vre.default=bre,function(e){var t=Fe&&Fe.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},n=Fe&&Fe.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},r=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_ERROR=e.ERROR_PREFIX=void 0;var i=Zee,o=r(vre);e.ERROR_PREFIX="@giphy/js-fetch-api: ",e.DEFAULT_ERROR="Error fetching";var a=function(e){return e},s={};e.default=function(r,u,c){var l=this;if(void 0===u&&(u=a),void 0===c&&(c=!1),function(){var e=Date.now();Object.keys(s).forEach((function(t){var n=s[t].isError?6e3:6e4;e-s[t].ts>=n&&delete s[t]}))}(),!s[r]||c){s[r]={request:t(l,void 0,void 0,(function(){var t,a,c,l,d,f;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,9,,10]),[4,fetch(""+i.serverUrl+r,{method:"get"})];case 1:return(a=n.sent()).ok?[4,a.json()]:[3,3];case 2:if(l=n.sent(),null===(f=l.meta)||void 0===f?void 0:f.response_id)return[2,u(l)];throw{message:"synthetic response"};case 3:c=e.DEFAULT_ERROR,n.label=4;case 4:return n.trys.push([4,6,,7]),[4,a.json()];case 5:return(l=n.sent()).message&&(c=l.message),[3,7];case 6:return n.sent(),[3,7];case 7:s[r]&&(s[r].isError=!0),t=new o.default(""+e.ERROR_PREFIX+c,a.status,a.statusText),n.label=8;case 8:return[3,10];case 9:return d=n.sent(),t=new o.default(d.message),s[r]&&(s[r].isError=!0),[3,10];case 10:throw t}}))})),ts:Date.now()}}return s[r].request}}(gre);var wre=Fe&&Fe.__assign||function(){return wre=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},wre.apply(this,arguments)},xre=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ete,"__esModule",{value:!0}),ete.GiphyFetch=void 0;var _re=z8,Sre=xre(hre),kre=mre,Cre=xre(gre),Ere=function(e){return e&&e.type?e.type:"gifs"},Ire=function(){function e(e){var t=this;this.getQS=function(e){return void 0===e&&(e={}),Sre.default.stringify(wre(wre({},e),{api_key:t.apiKey,pingback_id:_re.getPingbackId()}))},this.apiKey=e}return e.prototype.categories=function(e){return Cre.default("gifs/categories?"+this.getQS(e))},e.prototype.gif=function(e){return Cre.default("gifs/"+e+"?"+this.getQS(),kre.normalizeGif)},e.prototype.gifs=function(e,t){return Array.isArray(e)?Cre.default("gifs?"+this.getQS({ids:e.join(",")}),kre.normalizeGifs):Cre.default("gifs/categories/"+e+"/"+t+"?"+this.getQS(),kre.normalizeGifs)},e.prototype.emoji=function(e){return Cre.default("emoji?"+this.getQS(e),kre.normalizeGifs)},e.prototype.animate=function(e,t){void 0===t&&(t={});var n=this.getQS(wre(wre({},t),{m:e}));return Cre.default("text/animate?"+n,kre.normalizeGifs)},e.prototype.search=function(e,t){void 0===t&&(t={});var n,r=t.channel?"@"+t.channel+" "+e:e;"text"===t.type&&(n=!0);var i=this.getQS(wre(wre({},t),{q:r,excludeDynamicResults:n}));return Cre.default(Ere(t)+"/search?"+i,kre.normalizeGifs)},e.prototype.subcategories=function(e,t){return Cre.default("gifs/categories/"+e+"?"+this.getQS(t))},e.prototype.trending=function(e){return void 0===e&&(e={}),Cre.default(Ere(e)+"/trending?"+this.getQS(e),kre.normalizeGifs)},e.prototype.random=function(e){return Cre.default(Ere(e)+"/random?"+this.getQS(e),kre.normalizeGif,!0)},e.prototype.related=function(e,t){return Cre.default(("stickers"===(null==t?void 0:t.type)?"stickers":"gifs")+"/related?"+this.getQS(wre({gif_id:e},t)),kre.normalizeGifs)},e}();ete.GiphyFetch=Ire,ete.default=Ire;var Ore={};Object.defineProperty(Ore,"__esModule",{value:!0});var Tre={},Nre=Fe&&Fe.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},Dre=Fe&&Fe.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},Are=Fe&&Fe.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(Tre,"__esModule",{value:!0}),Tre.gifPaginator=void 0;Tre.gifPaginator=function(e,t){void 0===t&&(t=[]);var n=Are([],t),r=t.map((function(e){return e.id})),i=t.length,o=!1;return function(){return Nre(void 0,void 0,void 0,(function(){var t,a,s;return Dre(this,(function(u){switch(u.label){case 0:return o?[2,n]:[4,e(i)];case 1:return t=u.sent(),a=t.pagination,s=t.data,i=a.count+a.offset,o=i===a.total_count,s.forEach((function(e){var t=e.id;r.includes(t)||(n.push(e),r.push(t))})),[2,Are([],n)]}}))}))}};var Pre={};Object.defineProperty(Pre,"__esModule",{value:!0});var Mre="4.1.2";!function(e){var t,n=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),r=Fe&&Fe.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.gifPaginator=e.GiphyFetch=e.serverUrl=void 0;var o=z8,a=Zee;Object.defineProperty(e,"serverUrl",{enumerable:!0,get:function(){return a.serverUrl}});var s=ete;Object.defineProperty(e,"GiphyFetch",{enumerable:!0,get:function(){return i(s).default}}),r(Ore,e);var u=Tre;Object.defineProperty(e,"gifPaginator",{enumerable:!0,get:function(){return u.gifPaginator}}),r(Pre,e);var c=Mre;(null===(t=o.getGiphySDKRequestHeaders())||void 0===t?void 0:t.get("X-GIPHY-SDK-NAME"))||(o.appendGiphySDKRequestHeader("X-GIPHY-SDK-NAME","FetchAPI"),o.appendGiphySDKRequestHeader("X-GIPHY-SDK-VERSION",c))}(Jee);var jre={};function Rre(e,t,n,r){var i,o=!1,a=0;function s(){i&&clearTimeout(i)}function u(){for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l];var d=this,f=Date.now()-a;function p(){a=Date.now(),n.apply(d,c)}function h(){i=void 0}o||(r&&!i&&p(),s(),void 0===r&&f>e?p():!0!==t&&(i=setTimeout(r?h:p,void 0===r?e-f:e)))}return"boolean"!=typeof t&&(r=n,n=t,t=void 0),u.cancel=function(){s(),o=!0},u}Object.defineProperty(jre,"__esModule",{value:!0}),jre.debounce=function(e,t,n){return void 0===n?Rre(e,t,!1):Rre(e,n,!1!==t)},jre.throttle=Rre;var Lre={},Fre=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),zre=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Bre=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Fre(t,e,n);return zre(t,e),t};Object.defineProperty(Lre,"__esModule",{value:!0});var Ure=Bre(o);Lre.default=function(e){var t=e.children,n=e.className,r=e.onVisibleChange,i=e.config,o=Ure.useRef(null);return Ure.useEffect((function(){var e;return o.current&&(e=new IntersectionObserver((function(e){var t=e[0];r&&r(t.isIntersecting)}),i),e.observe(o.current)),function(){return null==e?void 0:e.disconnect()}}),[r,o,i]),Ure.default.createElement("div",{ref:o,className:n},t)};var qre={},Vre=Be(I9),Kre={},Hre={},Wre={},Gre=Fe&&Fe.__assign||function(){return Gre=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Gre.apply(this,arguments)};Object.defineProperty(Wre,"__esModule",{value:!0});var Yre=z8;Wre.default=function(e,t,n){var r,i=Yre.pick(e,[n]),o=Yre.pick(t,[n]);return i[n]&&o[n]?Gre(Gre(Gre({},e),t),((r={})[n]=i[n]+", "+o[n],r)):Gre(Gre({},e),t)};var Qre={},$re={};Object.defineProperty($re,"__esModule",{value:!0}),$re.default=("undefined"!=typeof window?window:Fe)||{};var Jre={},Zre=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Jre,"__esModule",{value:!0}),Jre.sendPingback=void 0;var Xre=z8,eie=Zre($re),tie=((null===eie.default||void 0===eie.default?void 0:eie.default.GIPHY_PINGBACK_URL)||"https://pingback.giphy.com")+"/v2/pingback?apikey=l0HlIwPWyBBUDAUgM";Jre.sendPingback=function(e){var t=Xre.getGiphySDKRequestHeaders();return null==t||t.set("Content-Type","application/json"),Xre.Logger.debug("Pingback session",e),fetch(tie,{method:"POST",body:JSON.stringify({events:e}),headers:t}).catch((function(e){Xre.Logger.warn("pingbacks failing to post "+e)}))};var nie,rie=Fe&&Fe.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},iie=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qre,"__esModule",{value:!0});var oie=z8,aie=jre,sie=iie($re),uie=Jre,cie=[];sie.default.giphyRandomId=oie.getPingbackId();var lie="";function die(){var e=rie([],cie);cie=[],uie.sendPingback(e)}var fie=aie.debounce(1e3,die);null===(nie=sie.default.addEventListener)||void 0===nie||nie.call(sie.default,"beforeunload",die);Qre.default=function(e){var t=e.userId,n=e.eventType,r=e.actionType,i=e.attributes,o=e.queueEvents,a=void 0===o||o,s=e.analyticsResponsePayload;lie=t?String(t):lie;var u={ts:Date.now(),attributes:i,action_type:r,user_id:oie.getPingbackId(),analytics_response_payload:s};lie&&(u.logged_in_user_id=lie),u.analytics_response_payload&&(u.analytics_response_payload=u.analytics_response_payload+(oie.Logger.ENABLED?"&mode=verification":"")),n&&(u.event_type=n),cie.push(u),a?fie():die()};var pie={};Object.defineProperty(pie,"__esModule",{value:!0}),function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=Fe&&Fe.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)},r=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.pingback=e.mergeAttributes=void 0;var i=Wre;Object.defineProperty(e,"mergeAttributes",{enumerable:!0,get:function(){return r(i).default}});var o=Qre;Object.defineProperty(e,"pingback",{enumerable:!0,get:function(){return r(o).default}}),n(pie,e)}(Hre);var hie=Fe&&Fe.__assign||function(){return hie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},hie.apply(this,arguments)};Object.defineProperty(Kre,"__esModule",{value:!0}),Kre.onGifHover=Kre.onGifClick=Kre.onGifSeen=void 0;var mie=Hre,gie=z8,vie=function(e){return function(t,n,r,i){void 0===i&&(i={}),t.analytics_response_payload&&mie.pingback({analyticsResponsePayload:t.analytics_response_payload,userId:n,actionType:e,attributes:hie({position:JSON.stringify(gie.getClientRect(r))},i)})}};Kre.onGifSeen=function(e,t,n,r){void 0===r&&(r={}),e.analytics_response_payload&&mie.pingback({analyticsResponsePayload:e.analytics_response_payload,userId:t,actionType:"SEEN",attributes:hie({position:JSON.stringify(n)},r)})},Kre.onGifClick=vie("CLICK"),Kre.onGifHover=vie("HOVER");var yie={};!function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.PingbackContext=void 0;var i=Hre,a=r(o);e.PingbackContext=a.createContext({});e.default=function(t){var n=t.attributes,r=t.children,o=a.useContext(e.PingbackContext).attributes,s=void 0===o?{}:o;return a.default.createElement(e.PingbackContext.Provider,{value:{attributes:i.mergeAttributes(s,n,"layout_type")}},r)}}(yie),function(e){var t=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},n=Fe&&Fe.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},r=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getColor=e.GRID_COLORS=void 0;var u=Vre,c=s(j9),l=Y9,d=z8,f=a(o),p=a(Kre),h=s(jee),m=s(G9),g=yie,v=c.default.div(b||(b=t(["\n display: block;\n &:focus {\n outline: unset;\n }\n ","\n img {\n display: block;\n }\n ."," {\n g {\n fill: white;\n }\n }\n ."," {\n opacity: 0;\n }\n"],["\n display: block;\n &:focus {\n outline: unset;\n }\n ","\n img {\n display: block;\n }\n ."," {\n g {\n fill: white;\n }\n }\n ."," {\n opacity: 0;\n }\n"])),(function(e){return e.borderRadius&&u.css(y||(y=t(["\n border-radius: ","px;\n overflow: hidden;\n "],["\n border-radius: ","px;\n overflow: hidden;\n "])),e.borderRadius)}),m.default.className,m.default.checkMarkClassName);e.GRID_COLORS=[l.giphyBlue,l.giphyGreen,l.giphyPurple,l.giphyRed,l.giphyYellow];e.getColor=function(){return e.GRID_COLORS[Math.round(Math.random()*(e.GRID_COLORS.length-1))]};var y,b,w=function(e){return f.default.createElement(v,n({as:e.href?"a":"div"},e))},x=!("undefined"==typeof window||!window.document||!window.document.createElement),_=function(){},S=function(t){var r=t.gif,i=t.width,o=t.height,a=t.onGifRightClick,s=void 0===a?_:a,u=t.className,c=void 0===u?"":u,l=t.onGifClick,m=void 0===l?_:l,v=t.onGifSeen,y=void 0===v?_:v,b=t.onGifVisible,k=void 0===b?_:b,C=t.user,E=void 0===C?{}:C,I=t.backgroundColor,O=t.overlay,T=t.hideAttribution,N=void 0!==T&&T,D=t.noLink,A=void 0!==D&&D,P=t.borderRadius,M=void 0===P?4:P,j=t.style,R=t.tabIndex,L=f.useState(!1),F=L[0],z=L[1],B=f.useState(!1),U=B[0],q=B[1],V=f.useState(!x),K=V[0],H=V[1],W=f.useState(""),G=W[0],Y=W[1],Q=f.useRef(e.getColor()),$=f.useRef(null),J=f.useRef(null),Z=f.useRef(),X=f.useRef(),ee=f.useRef(),te=f.useRef(_),ne=f.useContext(g.PingbackContext).attributes,re=O;re||N||(re=h.default);te.current=function(e){z(!0),d.Logger.debug("GIF "+r.id+" seen. "+r.title),p.onGifSeen(r,null==E?void 0:E.id,e.boundingClientRect,ne),null==y||y(r,e.boundingClientRect),X.current&&X.current.disconnect()};var ie=function(){X.current||(X.current=new IntersectionObserver((function(e){var t=e[0];t.isIntersecting&&te.current(t)}),{threshold:[.99]})),!F&&$.current&&X.current&&X.current.observe($.current)};f.useEffect((function(){var e,t;(null===(e=J.current)||void 0===e?void 0:e.complete)&&(ie(),k(r)),null===(t=X.current)||void 0===t||t.disconnect(),z(!1)}),[r.id]),f.useEffect((function(){return Z.current=new IntersectionObserver((function(e){var t=e[0].isIntersecting;H(t),!t&&X.current&&X.current.disconnect()})),Z.current.observe($.current),function(){Z.current&&Z.current.disconnect(),X.current&&X.current.disconnect(),ee.current&&clearTimeout(ee.current)}}),[]);var oe=o||d.getGifHeight(r,i),ae=d.getBestRendition(r.images,i,oe),se=r.images[ae.renditionName],ue=I||(r.is_sticker?"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4AQMAAACSSKldAAAABlBMVEUhIiIWFhYoSqvJAAAAGElEQVQY02MAAv7///8PWxqIPwDZw5UGABtgwz2xhFKxAAAAAElFTkSuQmCC') 0 0":Q.current);return f.default.createElement(w,{href:A?void 0:r.url,style:n({width:i,height:oe},j),borderRadius:M,className:[S.className,c].join(" "),onMouseOver:function(e){clearTimeout(ee.current),e.persist(),q(!0),ee.current=window.setTimeout((function(){p.onGifHover(r,null==E?void 0:E.id,e.target,ne)}),200)},onMouseLeave:function(){clearTimeout(ee.current),q(!1)},onClick:function(e){p.onGifClick(r,null==E?void 0:E.id,e.target,ne),m(r,e)},onContextMenu:function(e){return s(r,e)},tabIndex:R},f.default.createElement("div",{style:{width:i,height:oe,position:"relative"},ref:$},f.default.createElement("picture",null,f.default.createElement("source",{type:"image/webp",srcSet:se.webp}),f.default.createElement("img",{ref:J,suppressHydrationWarning:!0,className:[S.imgClassName,G].join(" "),src:K?se.url:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",style:{background:ue},width:i,height:oe,alt:d.getAltText(r),onLoad:K?function(e){ie(),k(r,e),Y(S.imgLoadedClassName)}:function(){}})),K?re&&f.default.createElement(re,{gif:r,isHovered:U,width:i,height:oe}):null))};S.className="giphy-gif",S.imgClassName="giphy-gif-img",S.imgLoadedClassName="giphy-img-loaded",e.default=S}(qre);var bie=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},wie=Fe&&Fe.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),xie=Fe&&Fe.__assign||function(){return xie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},xie.apply(this,arguments)},_ie=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),Sie=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),kie=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&_ie(t,e,n);return Sie(t,e),t},Cie=Fe&&Fe.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},Eie=Fe&&Fe.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},Iie=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($ee,"__esModule",{value:!0});var Oie,Tie,Nie,Die,Aie=Iie(j9),Pie=Jee,Mie=z8,jie=kie(o),Rie=jre,Lie=Iie(Lre),Fie=Iie(qre),zie=Iie(yie),Bie=Aie.default.div(Oie||(Oie=bie(["\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n white-space: nowrap;\n position: relative;\n"],["\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n white-space: nowrap;\n position: relative;\n"]))),Uie=Aie.default(Fie.default)(Tie||(Tie=bie(["\n position: relative;\n display: inline-block;\n list-style: none;\n margin-left: ","px;\n /* make sure gifs are fully visible with a scrollbar */\n margin-bottom: 1px;\n\n &:first-of-type {\n margin-left: 0;\n }\n ."," {\n position: absolute;\n top: 0;\n left: 0;\n }\n"],["\n position: relative;\n display: inline-block;\n list-style: none;\n margin-left: ","px;\n /* make sure gifs are fully visible with a scrollbar */\n margin-bottom: 1px;\n\n &:first-of-type {\n margin-left: 0;\n }\n ."," {\n position: absolute;\n top: 0;\n left: 0;\n }\n"])),(function(e){return e.ml}),Fie.default.imgClassName),qie=Aie.default(Lie.default)(Nie||(Nie=bie(["\n display: inline-block;\n"],["\n display: inline-block;\n"]))),Vie=Aie.default.div(Die||(Die=bie(["\n width: 30px;\n display: inline-block;\n opacity: ",";\n height: ","px;\n"],["\n width: 30px;\n display: inline-block;\n opacity: ",";\n height: ","px;\n"])),(function(e){return e.isFirstLoad?0:1}),(function(e){return e.height})),Kie=Object.freeze({gutter:6,user:{},initialGifs:[]}),Hie=Object.freeze({isFetching:!1,gifs:[],isLoaderVisible:!1,isDoneFetching:!1}),Wie=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state=xie(xie({},Hie),{gifs:t.props.initialGifs||[]}),t.unmounted=!1,t.paginator=Pie.gifPaginator(t.props.fetchGifs,t.state.gifs),t.onLoaderVisible=function(e){t.unmounted||t.setState({isLoaderVisible:e},t.onFetch)},t.onFetch=Rie.debounce(100,(function(){return Cie(t,void 0,void 0,(function(){var e,t,n,r,i,o;return Eie(this,(function(a){switch(a.label){case 0:if(this.unmounted)return[2];if(e=this.state,t=e.isFetching,n=e.isLoaderVisible,r=e.gifs,t||!n)return[3,5];this.setState({isFetching:!0}),i=void 0,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.paginator()];case 2:return i=a.sent(),[3,4];case 3:return a.sent(),this.setState({isFetching:!1}),[3,4];case 4:i&&(r.length===i.length?this.setState({isDoneFetching:!0}):(this.setState({gifs:i,isFetching:!1}),(o=this.props.onGifsFetched)&&o(i),this.onFetch())),a.label=5;case 5:return[2]}}))}))})),t}return wie(t,e),t.prototype.componentDidMount=function(){this.onFetch()},t.prototype.componentWillUnmount=function(){this.unmounted=!0},t.prototype.render=function(){var e=this.props,n=e.onGifVisible,r=e.onGifRightClick,i=e.gifHeight,o=e.gutter,a=e.className,s=void 0===a?t.className:a,u=e.onGifSeen,c=e.onGifClick,l=e.user,d=e.overlay,f=e.hideAttribution,p=e.noLink,h=e.noResultsMessage,m=e.backgroundColor,g=e.borderRadius,v=e.tabIndex,y=void 0===v?0:v,b=e.loaderConfig,w=this.state,x=w.gifs,_=!w.isDoneFetching,S=0===x.length;return jie.default.createElement(zie.default,{attributes:{layout_type:"CAROUSEL"}},jie.default.createElement(Bie,{className:s},x.map((function(e){var t=Mie.getGifWidth(e,i);return jie.default.createElement(Uie,{gif:e,key:e.id,tabIndex:y,width:t,onGifClick:c,onGifSeen:u,onGifVisible:n,onGifRightClick:r,user:l,ml:o,overlay:d,hideAttribution:f,noLink:p,borderRadius:g,backgroundColor:m})})),!_&&0===x.length&&h,_&&jie.default.createElement(qie,{onVisibleChange:this.onLoaderVisible,config:b},jie.default.createElement(Vie,{isFirstLoad:S,height:i}))))},t.className="giphy-carousel",t.defaultProps=Kie,t}(jie.PureComponent);$ee.default=Wie;var Gie={},Yie={},Qie=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},$ie=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Yie,"__esModule",{value:!0});var Jie,Zie=$ie(j9),Xie=Y9,eoe=$ie(o),toe=Zie.default.div(Jie||(Jie=Qie(["\n color: ",";\n display: flex;\n justify-content: center;\n margin: 30px 0;\n font-family: ",";\n font-size: 16px;\n font-weight: 600;\n a {\n color: ",";\n cursor: pointer;\n &:hover {\n color: white;\n }\n }\n"],["\n color: ",";\n display: flex;\n justify-content: center;\n margin: 30px 0;\n font-family: ",";\n font-size: 16px;\n font-weight: 600;\n a {\n color: ",";\n cursor: pointer;\n &:hover {\n color: white;\n }\n }\n"])),Xie.giphyLightGrey,Xie.fontFamily.body,Xie.giphyBlue);Yie.default=function(e){var t=e.onClick;return eoe.default.createElement(toe,null,"Error loading GIFs. ",eoe.default.createElement("a",{onClick:t},"Try again?"))};var noe={},roe=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},ioe=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(noe,"__esModule",{value:!0});var ooe,aoe,soe,uoe=Vre,coe=ioe(j9),loe=Y9,doe=ioe(o),foe=uoe.keyframes(ooe||(ooe=roe(["\n to {\n transform: scale(1.75) translateY(-20px);\n }\n"],["\n to {\n transform: scale(1.75) translateY(-20px);\n }\n"]))),poe=coe.default.div(aoe||(aoe=roe(["\n display: flex;\n align-items: center;\n height: ","px;\n padding-top: 15px;\n margin: 0 auto;\n text-align: center;\n justify-content: center;\n animation: pulse 0.8s ease-in-out 0s infinite alternate backwards;\n"],["\n display: flex;\n align-items: center;\n height: ","px;\n padding-top: 15px;\n margin: 0 auto;\n text-align: center;\n justify-content: center;\n animation: pulse 0.8s ease-in-out 0s infinite alternate backwards;\n"])),37),hoe=coe.default.div(soe||(soe=roe(["\n display: inline-block;\n height: 10px;\n width: 10px;\n margin: ","px 10px 10px 10px;\n position: relative;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);\n animation: "," cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75s infinite alternate;\n background: ",";\n animation-delay: ",";\n"],["\n display: inline-block;\n height: 10px;\n width: 10px;\n margin: ","px 10px 10px 10px;\n position: relative;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);\n animation: "," cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75s infinite alternate;\n background: ",";\n animation-delay: ",";\n"])),37,foe,(function(e){return e.color}),(function(e){return e.delay}));noe.default=function(e){var t=e.className,n=void 0===t?"":t;return doe.default.createElement(poe,{className:n},doe.default.createElement(hoe,{color:loe.giphyGreen,delay:"0"}),doe.default.createElement(hoe,{color:loe.giphyBlue,delay:".1s"}),doe.default.createElement(hoe,{color:loe.giphyPurple,delay:".2s"}),doe.default.createElement(hoe,{color:loe.giphyRed,delay:".3s"}),doe.default.createElement(hoe,{color:loe.giphyYellow,delay:".4s"}))};var moe={},goe=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),voe=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),yoe=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&goe(t,e,n);return voe(t,e),t};Object.defineProperty(moe,"__esModule",{value:!0});var boe=yoe(o);moe.default=boe.memo((function(e){var t=e.columns,n=e.gutter,r=e.useTransform,i=void 0===r||r,o=e.itemWidth,a=e.itemHeights,s=e.children,u=e.columnOffsets,c=void 0===u?[]:u,l={};return boe.default.createElement("div",{style:l},function(){var e,r=function(e,t){return void 0===t&&(t=[]),Array.apply(null,Array(e)).map((function(e,n){return t[n]||0}))}(t,c),u=boe.default.Children.map(s,(function(t,s){var u={position:"absolute"};e=r.indexOf(Math.min.apply(Math,r));var c=r[e]+"px",l=e*o+e*n+"px";i?u.transform="translate3d("+l+", "+c+", 0)":(u.top=c,u.left=l);var d=a[s];return d&&(r[e]+=d+n),boe.default.cloneElement(t,{style:u})}));return l.position="relative",l.width=t*o+(t-1)*n+"px",l.height=Math.max.apply(Math,r)-n+"px",u}())}));var woe=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},xoe=Fe&&Fe.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_oe=Fe&&Fe.__assign||function(){return _oe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},_oe.apply(this,arguments)},Soe=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),koe=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Coe=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Soe(t,e,n);return koe(t,e),t},Eoe=Fe&&Fe.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},Ioe=Fe&&Fe.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},Ooe=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Gie,"__esModule",{value:!0});var Toe,Noe=Ooe(j9),Doe=Jee,Aoe=z8,Poe=Coe(o),Moe=jre,joe=Ooe(Lre),Roe=Ooe(Yie),Loe=Ooe(qre),Foe=Ooe(noe),zoe=Ooe(moe),Boe=Ooe(yie),Uoe=Noe.default.div(Toe||(Toe=woe(["\n opacity: ",";\n"],["\n opacity: ",";\n"])),(function(e){return e.isFirstLoad?0:1})),qoe=Object.freeze({gutter:6,user:{},initialGifs:[]}),Voe=Object.freeze({isFetching:!1,isError:!1,gifWidth:0,gifs:[],isLoaderVisible:!1,isDoneFetching:!1}),Koe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.state=_oe(_oe({},Voe),{gifs:n.props.initialGifs||[]}),n.unmounted=!1,n.paginator=Doe.gifPaginator(n.props.fetchGifs,n.state.gifs),n.onLoaderVisible=function(e){n.unmounted||n.setState({isLoaderVisible:e},n.onFetch)},n.onFetch=Moe.debounce(t.fetchDebounce,(function(){return Eoe(n,void 0,void 0,(function(){var e,t,n,r,i,o,a,s,u;return Ioe(this,(function(c){switch(c.label){case 0:if(this.unmounted)return[2];if(e=this.state,t=e.isFetching,n=e.isLoaderVisible,r=e.gifs,i=r.length,t||!n)return[3,5];this.setState({isFetching:!0,isError:!1}),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,this.paginator()];case 2:return o=c.sent(),[3,4];case 3:return a=c.sent(),this.setState({isFetching:!1,isError:!0}),(s=this.props.onGifsFetchError)&&s(a),[3,4];case 4:o&&(i===o.length?this.setState({isDoneFetching:!0}):(this.setState({gifs:o,isFetching:!1}),(u=this.props.onGifsFetched)&&u(o),this.onFetch())),c.label=5;case 5:return[2]}}))}))})),n}return xoe(t,e),t.prototype.componentDidMount=function(){this.onFetch()},t.prototype.componentWillUnmount=function(){this.unmounted=!0},t.prototype.render=function(){var e=this.props,n=e.onGifVisible,r=e.onGifRightClick,i=e.className,o=void 0===i?t.className:i,a=e.onGifSeen,s=e.onGifClick,u=e.user,c=e.overlay,l=e.hideAttribution,d=e.noLink,f=e.borderRadius,p=e.noResultsMessage,h=e.columns,m=e.width,g=e.gutter,v=e.useTransform,y=e.columnOffsets,b=e.backgroundColor,w=e.loaderConfig,x=e.tabIndex,_=void 0===x?0:x,S=e.layoutType,k=void 0===S?"GRID":S,C=e.loader,E=void 0===C?Foe.default:C,I=this.state,O=I.gifWidth,T=I.gifs,N=I.isError,D=!I.isDoneFetching,A=0===T.length,P=T.map((function(e){return Aoe.getGifHeight(e,O)}));return Poe.default.createElement(Boe.default,{attributes:{layout_type:k}},Poe.default.createElement("div",{className:o,style:{width:m}},Poe.default.createElement(zoe.default,{itemHeights:P,useTransform:v,itemWidth:O,columns:h,gutter:g,columnOffsets:y},T.map((function(e){return Poe.default.createElement(Loe.default,{gif:e,tabIndex:_,key:e.id,width:O,onGifClick:s,onGifSeen:a,onGifVisible:n,onGifRightClick:r,user:u,overlay:c,backgroundColor:b,hideAttribution:l,noLink:d,borderRadius:f})}))),!D&&0===T.length&&p,N?Poe.default.createElement(Roe.default,{onClick:this.onFetch}):D&&Poe.default.createElement(joe.default,{onVisibleChange:this.onLoaderVisible,config:w},Poe.default.createElement(Uoe,{isFirstLoad:A},Poe.default.createElement(E,{className:t.loaderClassName})))))},t.className="giphy-grid",t.loaderClassName="loader",t.fetchDebounce=250,t.defaultProps=qoe,t.getDerivedStateFromProps=function(e,t){var n=e.columns,r=e.gutter,i=e.width,o=r*(n-1),a=Math.floor((i-o)/n);return t.gifWidth!==a?{gifWidth:a}:null},t}(Poe.PureComponent);Gie.default=Koe;var Hoe={},Woe={},Goe=Be(Wa),Yoe={};Object.defineProperty(Yoe,"__esModule",{value:!0});var Qoe=o;Yoe.default=function(e,t){void 0===t&&(t=0);var n=Qoe.useRef(!1),r=Qoe.useRef(),i=Qoe.useRef(e),o=Qoe.useCallback((function(){return n.current}),[]),a=Qoe.useCallback((function(){n.current=!1,r.current&&clearTimeout(r.current),r.current=setTimeout((function(){n.current=!0,i.current()}),t)}),[t]),s=Qoe.useCallback((function(){n.current=null,r.current&&clearTimeout(r.current)}),[]);return Qoe.useEffect((function(){i.current=e}),[e]),Qoe.useEffect((function(){return a(),s}),[t]),[o,s,a]},Object.defineProperty(Woe,"__esModule",{value:!0});var $oe=o,Joe=Goe.__importDefault(Yoe);Woe.default=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=[]);var r=Joe.default(e,t),i=r[0],o=r[1],a=r[2];return $oe.useEffect(a,n),[i,o]};var Zoe={};function Xoe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var eae=function(e,t){if("function"==typeof t){var n=t(e);if("production"!==Cs.env.NODE_ENV&&(null==n||"object"!=typeof n||Array.isArray(n)))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return n}if("production"!==Cs.env.NODE_ENV&&(null==t||"object"!=typeof t||Array.isArray(t)))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xoe(n,!0).forEach((function(t){T7(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xoe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{},t)},tae=j7((function(e){return j7((function(t){return eae(e,t)}))}));var nae=Object.freeze({__proto__:null,ThemeProvider:function(e){return x(d9.Consumer,null,(function(t){return e.theme!==t&&(t=tae(t)(e.theme)),x(d9.Provider,{value:t},e.children)}))},useTheme:function(){return o.useContext(d9)},withTheme:function(e){var t=e.displayName||e.name||"Component",n=w((function(t,n){return x(d9.Consumer,null,(function(r){return x(e,AH({theme:r,ref:n},t))}))}));return n.displayName="WithTheme("+t+")",yC(n,e)}}),rae=Be(nae),iae={},oae=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},aae=Fe&&Fe.__assign||function(){return aae=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},aae.apply(this,arguments)},sae=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(iae,"__esModule",{value:!0}),iae.getSize=iae.initTheme=void 0;var uae=Vre,cae=sae(j9);iae.initTheme=function(e){return aae({mode:"light",searchbarHeight:42,smallSearchbarHeight:35,condensedMediaQuery:(null==e?void 0:e.condensedMode)?"max-width: 99999px":"max-width: 480px"},e)};var lae,dae,fae;iae.getSize=function(e,t){return void 0===t&&(t=!1),uae.css(fae||(fae=oae(["\n height: ","px;\n ",";\n @media (",") {\n height: ","px;\n ",";\n }\n"],["\n height: ","px;\n ",";\n @media (",") {\n height: ","px;\n ",";\n }\n"])),e.searchbarHeight,t&&uae.css(lae||(lae=oae(["\n width: ","px;\n "],["\n width: ","px;\n "])),e.searchbarHeight),e.condensedMediaQuery,e.smallSearchbarHeight,t&&uae.css(dae||(dae=oae(["\n width: ","px;\n "],["\n width: ","px;\n "])),e.smallSearchbarHeight))},iae.default=cae.default,function(e){var t=Fe&&Fe.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)},n=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),r=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},a=Fe&&Fe.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},s=Fe&&Fe.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},u=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.SearchContext=void 0;var c=Jee,l=rae,d=i(o),f=u(yie),p=iae;e.SearchContext=d.createContext({});var h={data:[],pagination:{total_count:0,count:0,offset:0},meta:{status:200,msg:"OK",response_id:""}};e.default=function(n){var r,i,o=n.children,u=n.options,m=void 0===u?{}:u,g=n.apiKey,v=n.theme,y=n.initialTerm,b=void 0===y?"":y,w=n.initialChannel,x=n.shouldDefaultToTrending,_=void 0===x||x,S=d.useMemo((function(){return new c.GiphyFetch(g)}),[g]),k=d.useState(b),C=k[0],E=k[1],I=d.useState(!1),O=I[0],T=I[1],N="";C&&0===C.indexOf("@")&&(N=C.slice(1).split(" ")[0]);var D=d.useState(w),A=D[0],P=D[1],M=d.useCallback((function(e){P(e),E("")}),[]),j=d.useState([]),R=j[0],L=j[1],F=d.useCallback((function(e){return E(e)}),[]),z=[C,m.type,N,(null===(r=null==A?void 0:A.user)||void 0===r?void 0:r.username)||""].filter((function(e){return!!e})).join(" / "),B=d.useCallback((function(e){return a(void 0,void 0,void 0,(function(){var n,r;return s(this,(function(i){switch(i.label){case 0:return T(!0),n=h,C?[4,S.search(C,t(t({},m),{offset:e,channel:null===(r=null==A?void 0:A.user)||void 0===r?void 0:r.username}))]:[3,2];case 1:return n=i.sent(),[3,4];case 2:return _?[4,S.trending(t(t({},m),{offset:e}))]:[3,4];case 3:n=i.sent(),i.label=4;case 4:return T(!1),[2,n]}}))}))}),[null===(i=null==A?void 0:A.user)||void 0===i?void 0:i.username,S,m,C,_]),U=d.useCallback((function(e){return a(void 0,void 0,void 0,(function(){var t,n;return s(this,(function(r){switch(r.label){case 0:return t=m.limit||50,[4,S.animate(C,{offset:e,limit:t})];case 1:return(n=r.sent()).pagination||(n.pagination={count:t,total_count:t,offset:e}),[2,n]}}))}))}),[S,m.limit,C]),q=d.useCallback((function(e){return a(void 0,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,fetch(c.serverUrl+"channels/search?q="+encodeURIComponent(N)+"&offset="+e+"&api_key="+g)];case 1:return[4,t.sent().json()];case 2:return[2,t.sent().data]}}))}))}),[g,N]);return d.useEffect((function(){a(void 0,void 0,void 0,(function(){var e;return s(this,(function(t){switch(t.label){case 0:return[4,fetch(c.serverUrl+"trending/searches?api_key="+g)];case 1:return[4,t.sent().json()];case 2:return e=t.sent().data,L(e||[]),[2]}}))}))}),[g]),d.default.createElement(e.SearchContext.Provider,{value:{activeChannel:A,setActiveChannel:M,fetchChannelSearch:q,term:C,channelSearch:N,trendingSearches:R,setSearch:F,fetchGifs:B,fetchAnimatedText:U,searchKey:z,isFetching:O}},d.default.createElement(l.ThemeProvider,{theme:p.initTheme(v)},d.default.createElement(f.default,{attributes:{layout_type:"SEARCH"}},o)))}}(Zoe);var pae={},hae=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},mae=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),gae=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),vae=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&mae(t,e,n);return gae(t,e),t},yae=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(pae,"__esModule",{value:!0});var bae,wae,xae,_ae,Sae=Vre,kae=Y9,Cae=vae(o),Eae=yae(R9),Iae=yae(G9),Oae=Zoe,Tae=yae(iae),Nae=function(e){return e.searchbarHeight-12},Dae=function(e){return e.smallSearchbarHeight-6},Aae=function(e){return Sae.keyframes(bae||(bae=hae(["\nto {\n width: ","px;\n}\n"],["\nto {\n width: ","px;\n}\n"])),e)},Pae=Tae.default(Eae.default)(wae||(wae=hae(["\n height: ","px;\n margin: 0;\n width: 0;\n animation: "," 100ms ease-in-out forwards;\n @media (",") {\n height: ","px;\n animation: "," 100ms ease-in-out forwards;\n }\n"],["\n height: ","px;\n margin: 0;\n width: 0;\n animation: "," 100ms ease-in-out forwards;\n @media (",") {\n height: ","px;\n animation: "," 100ms ease-in-out forwards;\n }\n"])),(function(e){return Nae(e.theme)}),(function(e){return Aae(Nae(e.theme))}),(function(e){return e.theme.condensedMediaQuery}),(function(e){return Dae(e.theme)}),(function(e){return Aae(Dae(e.theme))})),Mae=Tae.default.div(xae||(xae=hae(["\n background: ",";\n display: flex;\n align-items: center;\n padding-left: ","px;\n"],["\n background: ",";\n display: flex;\n align-items: center;\n padding-left: ","px;\n"])),(function(e){return"dark"===e.theme.mode?kae.giphyCharcoal:kae.giphyWhite}),6),jae=Tae.default.div(_ae||(_ae=hae(["\n background: ",";\n display: flex;\n padding: 0 4px;\n color: ",";\n font-family: interface, Helvetica Neue, helvetica, sans-serif;\n font-weight: 600;\n font-size: 12px;\n align-items: center;\n height: ","px;\n @media (",") {\n display: none;\n }\n"],["\n background: ",";\n display: flex;\n padding: 0 4px;\n color: ",";\n font-family: interface, Helvetica Neue, helvetica, sans-serif;\n font-weight: 600;\n font-size: 12px;\n align-items: center;\n height: ","px;\n @media (",") {\n display: none;\n }\n"])),kae.giphyWhiteSmoke,kae.giphyDarkCharcoal,(function(e){return Nae(e.theme)}),(function(e){return e.theme.condensedMediaQuery}));pae.default=function(e){var t=e.className,n=void 0===t?"":t,r=Cae.useContext(Oae.SearchContext).activeChannel;return r?Cae.default.createElement(Mae,{className:n},Cae.default.createElement(Pae,{user:r.user}),Cae.default.createElement(jae,{key:r.id},Cae.default.createElement("div",null,"@",r.user.username),r.user.is_verified&&Cae.default.createElement(Iae.default,{size:14}))):null};var Rae={},Lae={},Fae={},zae={};Object.defineProperty(zae,"__esModule",{value:!0});var Bae=o;zae.default=function(e){Bae.useEffect(e,[])},Object.defineProperty(Fae,"__esModule",{value:!0});var Uae=o,qae=Goe.__importDefault(zae);Fae.default=function(e){var t=Uae.useRef(e);t.current=e,qae.default((function(){return function(){return t.current()}}))},Object.defineProperty(Lae,"__esModule",{value:!0});var Vae=o,Kae=Goe.__importDefault(Fae);Lae.default=function(e,t){void 0===t&&(t=200);var n=Vae.useState(e),r=n[0],i=n[1],o=Vae.useRef(),a=Vae.useRef(null),s=Vae.useRef(0);return Vae.useEffect((function(){if(o.current)a.current=e,s.current=!0;else{i(e);var n=function(){s.current?(s.current=!1,i(a.current),o.current=setTimeout(n,t)):o.current=void 0};o.current=setTimeout(n,t)}}),[e]),Kae.default((function(){o.current&&clearTimeout(o.current)})),r};var Hae={},Wae=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Hae,"__esModule",{value:!0});var Gae=Wae(o);Hae.default=function(e){var t=e.className,n=void 0===t?"":t;return Gae.default.createElement("svg",{viewBox:"0 0 30 30",version:"1.1",className:n},Gae.default.createElement("defs",null,Gae.default.createElement("path",{d:"M11.5482521,20.4090671 L4.24727698,28.2009189 C3.68084207,28.8054377 2.73159653,28.8363108 2.12707771,28.2698759 C1.5225589,27.703441 1.4916858,26.7541954 2.0581207,26.1496766 L9.40599838,18.3077689 C7.95982241,16.4371424 7.0978836,14.0789715 7.0978836,11.5181818 C7.0978836,5.44914339 11.9392549,0.518181818 17.9252787,0.518181818 C23.9113026,0.518181818 28.7526738,5.44914339 28.7526738,11.5181818 C28.7526738,17.5872202 23.9113026,22.5181818 17.9252787,22.5181818 C15.539851,22.5181818 13.3361963,21.7351359 11.5482521,20.4090671 Z M17.9252787,19.5181818 C22.242011,19.5181818 25.7526738,15.9425536 25.7526738,11.5181818 C25.7526738,7.09381 22.242011,3.51818182 17.9252787,3.51818182 C13.6085464,3.51818182 10.0978836,7.09381 10.0978836,11.5181818 C10.0978836,15.9425536 13.6085464,19.5181818 17.9252787,19.5181818 Z",id:"giphy-search-icon-path-1"})),Gae.default.createElement("g",{id:"search",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Gae.default.createElement("g",{id:"icons/search"},Gae.default.createElement("mask",{id:"giphy-search-icon-mask-2",fill:"white"},Gae.default.createElement("use",{xlinkHref:"#giphy-search-icon-path-1"})),Gae.default.createElement("use",{id:"Mask",fill:"#FFFFFF",fillRule:"nonzero",xlinkHref:"#giphy-search-icon-path-1"}),Gae.default.createElement("g",{mask:"url(#giphy-search-icon-mask-2)"},Gae.default.createElement("g",{transform:"translate(0.250000, 0.250000)"},Gae.default.createElement("g",null))))))};var Yae=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Qae=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),$ae=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Jae=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Qae(t,e,n);return $ae(t,e),t},Zae=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Rae,"__esModule",{value:!0});var Xae,ese,tse,nse,rse,ise,ose,ase,sse=Vre,use=Jae(o),cse=Zae(Lae),lse=Zoe,dse=Zae(Hae),fse=Jae(iae),pse="cubic-bezier(0.920, 0.240, 0.185, 0.730)",hse=sse.keyframes(Xae||(Xae=Yae(["\n 0% {\n transform: rotate(34deg) translate(-10px, 80px);\n };\n \n 100% {\n transform: rotate(34deg) translate(-10px, -20px);\n }\n"],["\n 0% {\n transform: rotate(34deg) translate(-10px, 80px);\n };\n \n 100% {\n transform: rotate(34deg) translate(-10px, -20px);\n }\n"]))),mse=sse.keyframes(ese||(ese=Yae(["\n 0% { \n transform: translate(0px, 0px);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: translate(10px, -17px);\n opacity: 0;\n }\n"],["\n 0% { \n transform: translate(0px, 0px);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: translate(10px, -17px);\n opacity: 0;\n }\n"]))),gse=sse.keyframes(tse||(tse=Yae(["\n 0% {\n opacity: 0;\n transform: translateX(-400%);\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateX(0);\n }\n"],["\n 0% {\n opacity: 0;\n transform: translateX(-400%);\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateX(0);\n }\n"]))),vse=fse.default.div(nse||(nse=Yae(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n cursor: pointer;\n @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n display: none;\n }\n ","\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n cursor: pointer;\n @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n display: none;\n }\n ","\n"])),(function(e){return fse.getSize(e.theme,!0)})),yse=fse.default.div(rse||(rse=Yae(["\n position: absolute;\n height: 100%;\n width: 100%;\n background: linear-gradient(45deg, "," 0%, "," 100%);\n overflow: hidden;\n &:before {\n animation: "," "," linear 0s infinite;\n background-image: linear-gradient(45deg, "," 0%, "," 50%, "," 100%);\n background-size: 400%;\n background-position: 0% 100%;\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n width: 400%;\n }\n"],["\n position: absolute;\n height: 100%;\n width: 100%;\n background: linear-gradient(45deg, "," 0%, "," 100%);\n overflow: hidden;\n &:before {\n animation: "," "," linear 0s infinite;\n background-image: linear-gradient(45deg, "," 0%, "," 50%, "," 100%);\n background-size: 400%;\n background-position: 0% 100%;\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n width: 400%;\n }\n"])),"#9933FF","#FF6666",gse,"2s","#9933FF","#FF6666","#9933FF"),bse=fse.default.div(ise||(ise=Yae(["\n width: 100%;\n height: 100%;\n position: absolute;\n overflow: hidden;\n &::after {\n content: '+';\n color: white;\n font-family: 'SS Standard';\n font-size: 8px;\n position: absolute;\n top: 65%;\n left: 66%;\n animation: "," 1s "," 0s 1 forwards;\n }\n"],["\n width: 100%;\n height: 100%;\n position: absolute;\n overflow: hidden;\n &::after {\n content: '+';\n color: white;\n font-family: 'SS Standard';\n font-size: 8px;\n position: absolute;\n top: 65%;\n left: 66%;\n animation: "," 1s "," 0s 1 forwards;\n }\n"])),mse,pse),wse=fse.default.div(ose||(ose=Yae(["\n position: absolute;\n width: 200%;\n height: 20px;\n background: rgba(255, 255, 255, 0.5);\n transform: rotate(34deg) translate(-10px, -20px);\n animation: "," 1s "," 0s 1;\n filter: blur(1px);\n"],["\n position: absolute;\n width: 200%;\n height: 20px;\n background: rgba(255, 255, 255, 0.5);\n transform: rotate(34deg) translate(-10px, -20px);\n animation: "," 1s "," 0s 1;\n filter: blur(1px);\n"])),hse,pse),xse=fse.default(dse.default)(ase||(ase=Yae(["\n z-index: 1;\n display: flex;\n width: 60%;\n height: 60%;\n"],["\n z-index: 1;\n display: flex;\n width: 60%;\n height: 60%;\n"])));Rae.default=function(){var e=use.useContext(lse.SearchContext).isFetching,t=cse.default(e,1e3);return use.default.createElement(vse,null,use.default.createElement(yse,null),use.default.createElement(xse,null),t&&use.default.createElement(bse,null,use.default.createElement(wse,null)))};var _se=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Sse=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),kse=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Cse=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Sse(t,e,n);return kse(t,e),t},Ese=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Hoe,"__esModule",{value:!0});var Ise=Vre,Ose=Y9,Tse=Cse(o),Nse=Ese(Woe),Dse=Zoe,Ase=Ese(pae),Pse=Ese(Rae),Mse=Cse(iae);function jse(e){var t=Tse.useRef(e);return Tse.useEffect((function(){t.current=e})),t.current}var Rse,Lse,Fse,zse=Mse.default.div(Rse||(Rse=_se(["\n display: flex;\n background: white;\n ","\n"],["\n display: flex;\n background: white;\n ","\n"])),(function(e){return Mse.getSize(e.theme)})),Bse=Mse.default.input(Fse||(Fse=_se(["\n background: ",";\n box-sizing: border-box;\n border: 0;\n appearance: none;\n font-weight: normal;\n font-family: interface, Helvetica Neue, helvetica, sans-serif;\n outline: 0;\n font-size: 15px;\n padding: 0 10px;\n border-radius: 0;\n text-overflow: ellipsis;\n color: ",";\n &::placeholder {\n color: ",";\n }\n min-width: 150px;\n flex: 1;\n ","\n"],["\n background: ",";\n box-sizing: border-box;\n border: 0;\n appearance: none;\n font-weight: normal;\n font-family: interface, Helvetica Neue, helvetica, sans-serif;\n outline: 0;\n font-size: 15px;\n padding: 0 10px;\n border-radius: 0;\n text-overflow: ellipsis;\n color: ",";\n &::placeholder {\n color: ",";\n }\n min-width: 150px;\n flex: 1;\n ","\n"])),(function(e){return"dark"===e.theme.mode?Ose.giphyCharcoal:Ose.giphyWhite}),(function(e){return"dark"===e.theme.mode?Ose.giphyWhite:Ose.giphyBlack}),(function(e){return e.theme.mode,Ose.giphyLightGrey}),(function(e){return e.isUsernameSearch&&Ise.css(Lse||(Lse=_se(["\n color: ",";\n "],["\n color: ",";\n "])),Ose.giphyIndigo)})),Use=function(e){var t=e.className,n=e.placeholder,r=void 0===n?"Search GIPHY":n,i=e.clear,o=void 0!==i&&i,a=e.autoFocus,s=Tse.useContext(Dse.SearchContext),u=s.setSearch,c=s.activeChannel,l=s.setActiveChannel,d=s.term,f=s.channelSearch,p=Tse.useState(d),h=p[0],m=p[1],g=jse(h);Nse.default((function(){return u(h)}),500,[h]);var v=Tse.useRef(null),y=jse(c);Tse.useEffect((function(){var e;a&&(null===(e=v.current)||void 0===e||e.focus())}),[a]),Tse.useEffect((function(){var e;c&&!y&&(null===(e=v.current)||void 0===e||e.focus(),m(""))}),[h,c,y]),Tse.useEffect((function(){m(d)}),[d]);var b=Tse.useState(o),w=b[0],x=b[1];Tse.useEffect((function(){x(o)}),[o]);return Tse.default.createElement(zse,{className:[Use.className,t].join(" ")},Tse.default.createElement(Ase.default,null),Tse.default.createElement(Bse,{isUsernameSearch:!!f,onChange:function(e){var t=e.target.value;w&&""===t||(x(!1),m(t))},value:w?"":h,placeholder:c?"Search "+c.display_name:r,autoCapitalize:"off",autoCorrect:"off",autoComplete:"off",ref:v,onKeyUp:function(e){switch(e.keyCode||e.key){case 8:case"Backspace":""===g&&l(void 0);break;case 27:case"Escape":l(void 0)}}}),Tse.default.createElement(Pse.default,null))};Use.className="giphy-search-bar",Hoe.default=Use;var qse={},Vse={},Kse={},Hse=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Kse,"__esModule",{value:!0});var Wse=Hse(o);Kse.default=function(e){var t=e.size,n=void 0===t?18:t,r=e.className;return Wse.default.createElement("svg",{width:n,height:n,viewBox:"0 0 18 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:r},Wse.default.createElement("g",{id:"trending",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Wse.default.createElement("g",null,Wse.default.createElement("rect",{id:"Rectangle",stroke:"#979797",fill:"#D8D8D8",opacity:"0",x:"0.5",y:"0.5",width:"17",height:"17"}),Wse.default.createElement("path",{d:"M12.6093329,3.12057664 L15.156896,3.12057664 L9.64199318,9.04253019 L6.88133868,6.8175119 C6.7544587,6.67603813 6.56616874,6.60087259 6.38404017,6.61897279 C6.2490402,6.63288422 6.11891631,6.69661171 6.02063992,6.79697337 C2.21226835,10.5943119 0.308082561,12.4929812 0.308082561,12.4929812 C0.308082561,12.4929812 0.527106106,12.8074292 0.710953088,13.0215425 C0.833517743,13.1642848 0.975497751,13.3098497 1.13689311,13.4582373 L6.47329888,8.13191205 L9.16381134,10.2953038 C9.40800276,10.5710787 9.68933701,10.7021044 10.019278,10.4570223 L16.0239805,4.04474473 C16.0239805,5.87956383 16.0239805,6.79697337 16.0239805,6.79697337 C16.0239805,6.79697337 16.4320205,6.79697337 17.2481004,6.79697337 L17.2481004,1.80604505 C14.1555887,1.80604505 12.6093329,1.80604505 12.6093329,1.80604505 C12.6093329,1.80604505 12.6093329,2.24422225 12.6093329,3.12057664 Z",id:"Shape",stroke:"#00CCFF",strokeWidth:"0.4",fill:"#00CCFF",fillRule:"nonzero",transform:"translate(8.778091, 7.632141) rotate(-2.000000) translate(-8.778091, -7.632141) "}))))};var Gse=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Yse=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),Qse=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),$se=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Yse(t,e,n);return Qse(t,e),t},Jse=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vse,"__esModule",{value:!0}),Vse.TrendingSearchPill=Vse.ChannelPill=void 0;var Zse=Y9,Xse=$se(o),eue=Jse(R9),tue=Jse(G9),nue=Zoe,rue=$se(iae),iue=Jse(Kse),oue=rue.default.div(cue||(cue=Gse(["\n background: ",";\n display: flex;\n padding-right: 4px;\n align-items: center;\n margin-right: ","px;\n cursor: pointer;\n"],["\n background: ",";\n display: flex;\n padding-right: 4px;\n align-items: center;\n margin-right: ","px;\n cursor: pointer;\n"])),Zse.giphyDarkestGrey,9),aue=rue.default.div(lue||(lue=Gse(["\n background: ",";\n display: flex;\n padding: 14px;\n align-items: center;\n margin-right: ","px;\n white-space: nowrap;\n cursor: pointer;\n font-style: italic;\n border-radius: 20px;\n"],["\n background: ",";\n display: flex;\n padding: 14px;\n align-items: center;\n margin-right: ","px;\n white-space: nowrap;\n cursor: pointer;\n font-style: italic;\n border-radius: 20px;\n"])),Zse.giphyDarkestGrey,9),sue=rue.default(eue.default)(due||(due=Gse(["\n ","\n"],["\n ","\n"])),(function(e){return rue.getSize(e.theme,!0)})),uue=rue.default(iue.default)(fue||(fue=Gse(["\n margin-right: 2px;\n"],["\n margin-right: 2px;\n"])));Vse.ChannelPill=function(e){var t=e.channel,n=Xse.useContext(nue.SearchContext).setActiveChannel;return Xse.default.createElement(oue,{key:t.id,onClick:function(){return n(t)}},Xse.default.createElement(sue,{user:t.user}),Xse.default.createElement("div",null,"@",t.user.username),t.user.is_verified&&Xse.default.createElement(tue.default,{size:14}))};var cue,lue,due,fue;Vse.TrendingSearchPill=function(e){var t=e.trendingSearch,n=Xse.useContext(nue.SearchContext).setSearch;return Xse.default.createElement(aue,{key:t,onClick:function(){return n(t)}},Xse.default.createElement(uue,{size:16}),t)};var pue=Fe&&Fe.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},hue=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),mue=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),gue=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&hue(t,e,n);return mue(t,e),t},vue=Fe&&Fe.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},yue=Fe&&Fe.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(qse,"__esModule",{value:!0});var bue,wue=gue(o),xue=Zoe,_ue=gue(iae),Sue=Vse,kue=_ue.default.div(bue||(bue=pue(["\n display: flex;\n color: white;\n flex-direction: row;\n font-family: 'interface';\n font-weight: 600;\n font-size: 14px;\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n padding-bottom: 10px;\n ","\n"],["\n display: flex;\n color: white;\n flex-direction: row;\n font-family: 'interface';\n font-weight: 600;\n font-size: 14px;\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n padding-bottom: 10px;\n ","\n"])),(function(e){return _ue.getSize(e.theme)}));qse.default=function(){var e=wue.useContext(xue.SearchContext),t=e.channelSearch,n=e.fetchChannelSearch,r=e.trendingSearches,i=e.activeChannel,o=wue.useState([]),a=o[0],s=o[1];return wue.useEffect((function(){!i&&t&&vue(void 0,void 0,void 0,(function(){var e;return yue(this,(function(t){switch(t.label){case 0:return[4,n(0)];case 1:return e=t.sent(),s(e||[]),[2]}}))})),t||i||s([])}),[t,i,n]),wue.default.createElement(kue,null,a.length>0?a.map((function(e){return wue.default.createElement(Sue.ChannelPill,{key:e.id,channel:e})})):r.map((function(e){return wue.default.createElement(Sue.TrendingSearchPill,{key:e,trendingSearch:e})})))};var Cue={},Eue=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return u((function(){return e.apply(void 0,t)}),t)}},Iue=function(e,t){var n=s(void 0);return[function(){var e=a(n);if(null==e)throw new Error("useReducerContext must be used inside a ReducerProvider.");return e},function(r){var i=r.children,o=r.initialState;return function(e,t){return x(n.Provider,e,t)}({value:p(e,void 0!==o?o:t)},i)},n]};function Oue(){var e=c(!0);return e.current?(e.current=!1,!0):e.current}var Tue=function(e,t){var n=Oue();l((function(){if(!n)return e()}),t)};function Nue(e){return function(t,n){return e.reduceRight((function(e,n){return n(t)(e)}),n)}}var Due=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Nue(e);return function(e,t,r){void 0===r&&(r=function(e){return e});var i=c(r(t)),o=d(i.current)[1],a=f((function(t){return i.current=e(i.current,t),o(i.current),t}),[e]),s=c(n({getState:function(){return i.current},dispatch:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.current.apply(s,e)}},a));return Tue((function(){s.current=n({getState:function(){return i.current},dispatch:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.current.apply(s,e)}},a)}),[a]),[i.current,s.current]}},Aue=function(e){var t=s(void 0);return[function(){var e=a(t);if(null==e)throw new Error("useStateContext must be used inside a StateProvider.");return e},function(n){var r=n.children,i=n.initialValue;return function(e,n){return x(t.Provider,e,n)}({value:d(void 0!==i?i:e)},r)},t]};function Pue(){var e=c(!1),t=f((function(){return e.current}),[]);return l((function(){return e.current=!0,function(){e.current=!1}}),[]),t}function Mue(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={loading:!1});var r=c(0),i=Pue(),o=d(n),a=o[0],s=o[1],u=f((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o=++r.current;return s((function(e){return Pa(Pa({},e),{loading:!0})})),e.apply(void 0,t).then((function(e){return i()&&o===r.current&&s({value:e,loading:!1}),e}),(function(e){return i()&&o===r.current&&s({error:e,loading:!1}),e}))}),t);return[a,u]}function jue(e,t){void 0===t&&(t=[]);var n=Mue(e,t,{loading:!0}),r=n[0],i=n[1];return l((function(){i()}),[i]),r}var Rue=function(e,t){void 0===t&&(t=[]);var n=d(0),r=n[0],i=n[1],o=jue(e,Ua(t,[r])),a=o.loading,s=f((function(){a?"development"===Cs.env.NODE_ENV&&console.log("You are calling useAsyncRetry hook retry() method while loading in progress, this is a no-op."):i((function(e){return e+1}))}),Ua(t,[a]));return Pa(Pa({},o),{retry:s})},Lue=function(e){void 0===e&&(e={});var t=d(e),n=t[0],r=t[1];return[n,f((function(e){r((function(t){return Object.assign({},t,e instanceof Function?e(t):e)}))}),[])]};function Fue(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}function zue(e){return function(t){var n,r;r=i.isValidElement(t)?(n=t).props:t;var o=Lue({buffered:[],time:0,duration:0,paused:!0,muted:!1,volume:1}),a=o[0],s=o[1],u=c(null),d=function(e,t){return function(n){try{t&&t(n)}finally{e&&e(n)}}},f=function(){return s({paused:!1})},p=function(){return s({paused:!0})},h=function(){var e=u.current;e&&s({muted:e.muted,volume:e.volume})},m=function(){var e=u.current;if(e){var t=e.duration,n=e.buffered;s({duration:t,buffered:Fue(n)})}},g=function(){var e=u.current;e&&s({time:e.currentTime})},v=function(){var e=u.current;e&&s({buffered:Fue(e.buffered)})};n=n?i.cloneElement(n,Pa(Pa({controls:!1},r),{ref:u,onPlay:d(r.onPlay,f),onPause:d(r.onPause,p),onVolumeChange:d(r.onVolumeChange,h),onDurationChange:d(r.onDurationChange,m),onTimeUpdate:d(r.onTimeUpdate,g),onProgress:d(r.onProgress,v)})):i.createElement(e,Pa(Pa({controls:!1},r),{ref:u,onPlay:d(r.onPlay,f),onPause:d(r.onPause,p),onVolumeChange:d(r.onVolumeChange,h),onDurationChange:d(r.onDurationChange,m),onTimeUpdate:d(r.onTimeUpdate,g),onProgress:d(r.onProgress,v)}));var y=!1,b={play:function(){var e=u.current;if(e&&!y){var t=e.play();if("object"==typeof t){y=!0;var n=function(){y=!1};t.then(n,n)}return t}},pause:function(){var e=u.current;if(e&&!y)return e.pause()},seek:function(e){var t=u.current;t&&void 0!==a.duration&&(e=Math.min(a.duration,Math.max(0,e)),t.currentTime=e)},volume:function(e){var t=u.current;t&&(e=Math.min(1,Math.max(0,e)),t.volume=e,s({volume:e}))},mute:function(){var e=u.current;e&&(e.muted=!0)},unmute:function(){var e=u.current;e&&(e.muted=!1)}};return l((function(){var t=u.current;t?(s({volume:t.volume,muted:t.muted,paused:t.paused}),r.autoPlay&&t.paused&&b.play()):"production"!==Cs.env.NODE_ENV&&("audio"===e?console.error("useAudio() ref to <audio> element is empty at mount. It seem you have not rendered the audio element, which it returns as the first argument const [audio] = useAudio(...)."):"video"===e&&console.error("useVideo() ref to <video> element is empty at mount. It seem you have not rendered the video element, which it returns as the first argument const [video] = useVideo(...)."))}),[r.src]),[n,a,b,u]}}var Bue=zue("audio"),Uue=function(){};function que(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function Vue(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var Kue="undefined"!=typeof window,Hue="undefined"!=typeof navigator,Wue=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(("_owner"!==a||!t.$$typeof)&&!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n},Gue=Hue?navigator:void 0;var Yue,Que=Gue&&"function"==typeof Gue.getBattery?function(){var e=d({isSupported:!0,fetched:!1}),t=e[0],n=e[1];return l((function(){var e=!0,r=null,i=function(){if(e&&r){var i={isSupported:!0,fetched:!0,level:r.level,charging:r.charging,dischargingTime:r.dischargingTime,chargingTime:r.chargingTime};!Wue(t,i)&&n(i)}};return Gue.getBattery().then((function(t){e&&(que(r=t,"chargingchange",i),que(r,"chargingtimechange",i),que(r,"dischargingtimechange",i),que(r,"levelchange",i),i())})),function(){e=!1,r&&(Vue(r,"chargingchange",i),Vue(r,"chargingtimechange",i),Vue(r,"dischargingtimechange",i),Vue(r,"levelchange",i))}}),[]),t}:function(){return{isSupported:!1}},$ue=function(e,t){void 0===e&&(e=!0);var n=f((function(n){if("function"!=typeof e||e())return n.preventDefault(),t&&(n.returnValue=t),t}),[e,t]);l((function(){if(e)return que(window,"beforeunload",n),function(){return Vue(window,"beforeunload",n)}}),[e,n])},Jue=function(e,t){return"boolean"==typeof t?t:!e},Zue=function(e){return p(Jue,e)},Xue=["mousedown","touchstart"],ece=function(e,t,n){void 0===n&&(n=Xue);var r=c(t);l((function(){r.current=t}),[t]),l((function(){for(var t=function(t){var n=e.current;n&&!n.contains(t.target)&&r.current(t)},i=0,o=n;i<o.length;i++){var a=o[i];que(document,a,t)}return function(){for(var e=0,r=n;e<r.length;e++){var i=r[e];Vue(document,i,t)}}}),[n,e])},tce={exports:{}};Yue=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function i(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},i.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var u in o)o[u]&&(s+="; "+u,!0!==o[u]&&(s+="="+o[u].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),u=s.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var c=t(s[0]);if(u=(r.read||r)(u,c)||t(u),n)try{u=JSON.parse(u)}catch(e){}if(i[c]=u,e===c)break}catch(e){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return a(e,!1)},i.getJSON=function(e){return a(e,!0)},i.remove=function(t,n){o(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}((function(){}))};var nce=tce.exports=Yue(),rce=function(e){var t=d((function(){return nce.get(e)||null})),n=t[0],r=t[1];return[n,f((function(t,n){nce.set(e,t,n),r(t)}),[e]),f((function(){nce.remove(e),r(null)}),[e])]},ice=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}},oce={"text/plain":"Text","text/html":"Url",default:"Text"};var ace=function(e,t){var n,r,i,o,a,s,u=!1;t||(t={}),n=t.debug||!1;try{if(i=ice(),o=document.createRange(),a=document.getSelection(),(s=document.createElement("span")).textContent=e,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=oce[t.format]||oce.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(s),o.selectNodeContents(s),a.addRange(o),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(i){n&&console.error("unable to copy using execCommand: ",i),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(i){n&&console.error("unable to copy using clipboardData: ",i),n&&console.error("falling back to prompt"),r=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(r,e)}}finally{a&&("function"==typeof a.removeRange?a.removeRange(o):a.removeAllRanges()),s&&document.body.removeChild(s),i()}return u},sce=function(){var e=Pue(),t=Lue({value:void 0,error:void 0,noUserInteraction:!0}),n=t[0],r=t[1];return[n,f((function(t){var n,i;if(e())try{if("string"!=typeof t&&"number"!=typeof t){var o=new Error("Cannot copy typeof "+typeof t+" to clipboard, must be a string");return"development"===Cs.env.NODE_ENV&&console.error(o),void r({value:t,error:o,noUserInteraction:!0})}if(""===t){o=new Error("Cannot copy empty string to clipboard.");return"development"===Cs.env.NODE_ENV&&console.error(o),void r({value:t,error:o,noUserInteraction:!0})}i=t.toString(),n=ace(i),r({value:i,error:void 0,noUserInteraction:n})}catch(o){r({value:i,error:o,noUserInteraction:n})}}),[])]},uce=function(e){return(e+1)%1e6};function cce(){return p(uce,0)[1]}function lce(e,t){return"function"==typeof e?e.length?e(t):e():e}function dce(e){var t=c(lce(e)),n=cce();return u((function(){return[function(){return t.current},function(e){t.current=lce(e,t.current),n()}]}),[])}function fce(e,t,n){void 0===e&&(e=0),void 0===t&&(t=null),void 0===n&&(n=null);var r=lce(e);"number"!=typeof r&&console.error("initialValue has to be a number, got "+typeof e),"number"==typeof n?r=Math.max(r,n):null!==n&&console.error("min has to be a number, got "+typeof n),"number"==typeof t?r=Math.min(r,t):null!==t&&console.error("max has to be a number, got "+typeof t);var i=dce(r),o=i[0],a=i[1];return[o(),u((function(){var e=function(e){var r=o(),i=lce(e,r);r!==i&&("number"==typeof n&&(i=Math.max(i,n)),"number"==typeof t&&(i=Math.min(i,t)),r!==i&&a(i))};return{get:o,set:e,inc:function(t){void 0===t&&(t=1);var n=lce(t,o());"number"!=typeof n&&console.error("delta has to be a number or function returning a number, got "+typeof n),e((function(e){return e+n}))},dec:function(t){void 0===t&&(t=1);var n=lce(t,o());"number"!=typeof n&&console.error("delta has to be a number or function returning a number, got "+typeof n),e((function(e){return e-n}))},reset:function(t){void 0===t&&(t=r);var n=lce(t,o());"number"!=typeof n&&console.error("value has to be a number or function returning a number, got "+typeof n),r=n,e(n)}}}),[r,n,t])]}var pce=/[A-Z]/g,hce=function(e,t,n){for(var r=[],i=0;i<n.length;i++){var o=n[i];t[o]||r.push(o)}if(r.length){for(var a='Addon "'+e+'" is missing the following dependencies:',s=0;s<r.length;s++)a+='\n require("nano-css/addon/'+r[s]+'").addon(nano);';throw new Error(a)}},mce={};mce.removeRule=function(e){var t=e.index,n=e.parentStyleSheet,r=n.cssRules||n.rules;for(t=Math.max(t,r.length-1);t>=0;){if(r[t]===e){n.deleteRule(t);break}t--}};var gce=mce.removeRule;var vce,yce=function e(t,n,r,i){var o,a,s={},u=!1;for(o in n)"object"!=typeof(a=n[o])&&(u=!0,s[o]=a);for(o in u&&(t[i]||(t[i]={}),t[i][r]=s),n)if("object"==typeof(a=n[o]))if("@"===o[0])e(t,a,r,o);else{var c=o.indexOf("&")>-1,l=r.split(",");if(c)for(var d=0;d<l.length;d++)l[d]=o.replace(/&/g,l[d]);else for(d=0;d<l.length;d++)l[d]=l[d]+" "+o;e(t,a,l.join(","),i)}},bce=Kue?_:l,wce=function(e){var t=(e=e||{}).assign||Object.assign,n="object"==typeof window;"production"!==Cs.env.NODE_ENV&&n&&("object"==typeof document&&document.getElementsByTagName("HTML")||console.error('nano-css detected browser environment because of "window" global, but "document" global seems to be defective.'));var r=t({raw:"",pfx:"_",client:n,assign:t,stringify:JSON.stringify,kebab:function(e){return e.replace(pce,"-$&").toLowerCase()},decl:function(e,t){return(e=r.kebab(e))+":"+t+";"},hash:function(e){return function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return"_"+(t>>>0).toString(36)}(r.stringify(e))},selector:function(e,t){return e+(":"===t[0]?"":" ")+t},putRaw:function(e){r.raw+=e}},e);return r.client&&(r.sh||document.head.appendChild(r.sh=document.createElement("style")),"production"!==Cs.env.NODE_ENV&&(r.sh.setAttribute("data-nano-css-dev",""),r.shTest=document.createElement("style"),r.shTest.setAttribute("data-nano-css-dev-tests",""),document.head.appendChild(r.shTest)),r.putRaw=function(t){if("production"===Cs.env.NODE_ENV){var n=r.sh.sheet;try{n.insertRule(t,n.cssRules.length)}catch(e){}}else{try{r.shTest.sheet.insertRule(t,r.shTest.sheet.cssRules.length)}catch(t){e.verbose&&console.error(t)}r.sh.appendChild(document.createTextNode(t))}}),r.put=function(e,t,n){var i,o,a="",s=[];for(i in t)(o=t[i])instanceof Object&&!(o instanceof Array)?s.push(i):"production"===Cs.env.NODE_ENV||r.sourcemaps?a+=r.decl(i,o,e,n):a+=" "+r.decl(i,o,e,n)+"\n";a&&(a="production"===Cs.env.NODE_ENV||r.sourcemaps?e+"{"+a+"}":"\n"+e+" {\n"+a+"}\n",r.putRaw(n?n+"{"+a+"}":a));for(var u=0;u<s.length;u++)"@"===(i=s[u])[0]&&"@font-face"!==i?r.putAt(e,t[i],i):r.put(r.selector(e,i),t[i],n)},r.putAt=r.put,r}();(vce=wce).client&&("production"!==Cs.env.NODE_ENV&&hce("cssom",vce,["sh"]),document.head.appendChild(vce.msh=document.createElement("style")),vce.createRule=function(e,t){var n=e+"{}";t&&(n=t+"{"+n+"}");var r=t?vce.msh.sheet:vce.sh.sheet,i=r.insertRule(n,r.cssRules.length),o=(r.cssRules||r.rules)[i];if(o.index=i,t){var a=(o.cssRules||o.rules)[0];o.style=a.style,o.styleMap=a.styleMap}return o}),function(e){if(e.client){"production"!==Cs.env.NODE_ENV&&hce("cssom",e,["createRule"]);var t=e.kebab;n.prototype.diff=function(e){var n,r=this.decl,i=this.rule.style;for(n in r)void 0===e[n]&&i.removeProperty(n);for(n in e)e[n]!==r[n]&&i.setProperty(t(n),e[n]);this.decl=e},n.prototype.del=function(){gce(this.rule)},r.prototype.diff=function(e){var t=this.tree;for(var r in t)if(void 0===e[r]){var i=t[r];for(var o in i)i[o].del()}for(var r in e)if(void 0===t[r])for(var o in e[r]){(u=new n(o,r)).diff(e[r][o]),e[r][o]=u}else{var a=t[r],s=e[r];for(var o in a)s[o]||a[o].del();for(var o in s){var u;(u=a[o])?(u.diff(s[o]),s[o]=u):((u=new n(o,r)).diff(s[o]),s[o]=u)}}this.tree=e},e.VRule=n,e.VSheet=r}function n(t,n){this.rule=e.createRule(t,n),this.decl={}}function r(){this.tree={}}}(wce);var xce=0,_ce=function(e){var t=u((function(){return"react-use-css-"+(xce++).toString(36)}),[]),n=u((function(){return new wce.VSheet}),[]);return bce((function(){var r={};return yce(r,e,"."+t,""),n.diff(r),function(){n.diff({})}})),t},Sce=function(e){return e!==Object(e)},kce=function(e,t,n){"production"!==Cs.env.NODE_ENV&&(t instanceof Array&&t.length||console.warn("`useCustomCompareEffect` should not be used with no dependencies. Use React.useEffect instead."),t.every(Sce)&&console.warn("`useCustomCompareEffect` should not be used with dependencies that are all primitive values. Use React.useEffect instead."),"function"!=typeof n&&console.warn("`useCustomCompareEffect` should be used with depsEqual callback for comparing deps list"));var r=c(void 0);r.current&&n(t,r.current)||(r.current=t),l(e,r.current)};function Cce(e,t){void 0===t&&(t=0);var n=c(!1),r=c(),i=c(e),o=f((function(){return n.current}),[]),a=f((function(){n.current=!1,r.current&&clearTimeout(r.current),r.current=setTimeout((function(){n.current=!0,i.current()}),t)}),[t]),s=f((function(){n.current=null,r.current&&clearTimeout(r.current)}),[]);return l((function(){i.current=e}),[e]),l((function(){return a(),s}),[t]),[o,s,a]}var Ece=function(e){return e!==Object(e)},Ice=function(e,t){"production"!==Cs.env.NODE_ENV&&(t instanceof Array&&t.length||console.warn("`useDeepCompareEffect` should not be used with no dependencies. Use React.useEffect instead."),t.every(Ece)&&console.warn("`useDeepCompareEffect` should not be used with dependencies that are all primitive values. Use React.useEffect instead.")),kce(e,t,Wue)},Oce=function(e,t){var n=d(t),r=n[0],i=n[1];return null==r?[e,i]:[r,i]},Tce=function(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var n=e.onFiles,r=e.onText,i=e.onUri,o=d(!1),a=o[0],s=o[1],c=f(s,[]),p=u((function(){return function(e){return function(t,n){var r=t.getData("text/uri-list");if(r)(e.onUri||Uue)(r,n);else if(t.files&&t.files.length)(e.onFiles||Uue)(Array.from(t.files),n);else if(n.clipboardData){var i=n.clipboardData.getData("text");(e.onText||Uue)(i,n)}}}(e)}),[n,r,i]);return l((function(){var e=function(e){e.preventDefault(),c(!0)},t=function(e){e.preventDefault(),c(!0)},n=function(){c(!1)},i=function(){c(!1)},o=function(e){e.preventDefault(),c(!1),p(e.dataTransfer,e)},a=function(e){p(e.clipboardData,e)};return que(document,"dragover",e),que(document,"dragenter",t),que(document,"dragleave",n),que(document,"dragexit",i),que(document,"drop",o),r&&que(document,"paste",a),function(){Vue(document,"dragover",e),Vue(document,"dragenter",t),Vue(document,"dragleave",n),Vue(document,"dragexit",i),Vue(document,"drop",o),Vue(document,"paste",a)}}),Ua([p],t)),{over:a}},Nce=function(e){void 0===e&&(e={});var t=e.onFiles,n=e.onText,r=e.onUri,i=Pue(),o=d(!1),a=o[0],s=o[1],c=u((function(){return function(e,t){return function(n,r){var i=n.getData("text/uri-list");i?(e.onUri||Uue)(i,r):n.files&&n.files.length?(e.onFiles||Uue)(Array.from(n.files),r):n.items&&n.items.length&&n.items[0].getAsString((function(n){t&&(e.onText||Uue)(n,r)}))}}(e,i())}),[t,n,r]),l=u((function(){return function(e,t){return{onDragOver:function(e){e.preventDefault()},onDragEnter:function(e){e.preventDefault(),t(!0)},onDragLeave:function(){t(!1)},onDrop:function(n){n.preventDefault(),n.persist(),t(!1),e(n.dataTransfer,n)},onPaste:function(t){t.persist(),e(t.clipboardData,t)}}}(c,s)}),[c,s]);return[l,{over:a}]},Dce=function(e){l(e,[])};function Ace(e){var t=c(e&&e.current);return l((function(){e&&(e.current=t.current)}),[e]),t}var Pce=Kue?window:null,Mce=function(e){return!!e.addEventListener},jce=function(e){return!!e.on},Rce=function(e,t,n,r){void 0===n&&(n=Pce),l((function(){if(t&&n)return Mce(n)?que(n,e,t,r):jce(n)&&n.on(e,t,r),function(){Mce(n)?Vue(n,e,t,r):jce(n)&&n.off(e,t,r)}}),[e,t,n,JSON.stringify(r)])},Lce=function(){var e=d(null),t=e[0],n=e[1];return l((function(){if(t)throw t}),[t]),f((function(e){n(e)}),[])},Fce=function(e){l((function(){var t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)}),[e])},zce={exports:{}};
@@ -142,7 +142,7 @@ var fhe=function(){return fhe=Object.assign||function(e){for(var t,n=1,r=argumen
142
142
  object-assign
143
143
  (c) Sindre Sorhus
144
144
  @license MIT
145
- */function sje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var uje=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=sje(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))oje.call(n,a)&&(i[a]=n[a]);if(ije){r=ije(n);for(var s=0;s<r.length;s++)aje.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},cje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",lje=function(){};if("production"!==process.env.NODE_ENV){var dje=cje,fje={},pje=Function.call.bind(Object.prototype.hasOwnProperty);lje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function hje(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(pje(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,r,n,null,dje)}catch(e){a=e}if(!a||a instanceof Error||lje((r||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in fje)){fje[a.message]=!0;var u=i?i():"";lje("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}hje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(fje={})};var mje=_e,gje=uje,vje=cje,yje=hje,bje=Function.call.bind(Object.prototype.hasOwnProperty),wje=function(){};function xje(){return null}"production"!==process.env.NODE_ENV&&(wje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function _je(){}function Sje(){}Sje.resetWarningCache=_je;if("production"!==process.env.NODE_ENV){var kje=_e;rje.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:s(xje),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,r,i,o+"["+u+"]",vje);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return mje.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+l(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var u=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+u+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return c(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(bje(s,c)){var d=e(s,c,r,i,o+"."+c,vje);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&wje(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),xje;function t(t,n,r,i,s){for(var u=t[n],c=0;c<e.length;c++)if(o(u,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+l+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&wje("Invalid argument supplied to oneOfType, expected an instance of array."),xje;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return wje("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),xje}return s((function(t,n,r,i,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,r,i,o,vje))return null;return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,o+"."+c,vje);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=gje({},t[n],e);for(var d in c){var f=e[d];if(!f)return new a("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,r,i,o+"."+d,vje);if(p)return p}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e){this.message=e,this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},i=0;function o(o,s,u,c,l,d,f){if(c=c||r,d=d||u,f!==vje){if(t){var p=new 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 p.name="Invariant Violation",p}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+u;!n[h]&&i<3&&(wje("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[u]?o?null===s[u]?new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,u,c,l,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function u(e){return s((function(t,n,r,i,o,s){var u=t[n];return l(u)!==e?new a("Invalid "+i+" `"+o+"` of type `"+d(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function l(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function d(e){if(null==e)return""+e;var t=l(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=d(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,i.checkPropTypes=yje,i.resetWarningCache=yje.resetWarningCache,i.PropTypes=i,i}(kje.isElement,!0)}else rje.exports=function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new 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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Sje,resetWarningCache:_je};return n.PropTypes=n,n}();var Cje=rje.exports,Eje=Object.freeze({__proto__:null,useCurrentUser:p0,useAccountApi:V0,useAuthenticationContext:xS,useEnvironmentConfig:Eg,useNotificationContext:f6,usePromise:hS,LinkContext:QC,TextLink:ZOe,logger:Qg,createId:Jg,ResourceContext:rE,usePluginSettings:function(){var e=a(V2).settings;return null!=e?e:{}},usePluginStorage:B4,usePluginDeviceStore:B4,usePluginSubscriptionStore:function(){return a(V2).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=a(V2).subscriptionStore,i=hS((function(){return r.get(e).catch(q4)}),void 0,xG(xG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return bG(n,void 0,void 0,(function(){var n;return wG(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),q4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return bG(n,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),q4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(V2).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=a(V2).userStore,i=hS((function(){return r.get(e).catch(q4)}),void 0,xG(xG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return bG(n,void 0,void 0,(function(){var n;return wG(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),q4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return bG(n,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),q4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Cg().apiEndpoint}},AccountType:$X,PeoplePicker:Swe,GutterToggle:function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,u=t.tooltipResourceKey,c=t.ariaLabelResourceKey,l=CC().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(hwe,fhe({className:o},{children:r?e(gwe,{},void 0):e(Jbe,fhe({resourceKey:u},{children:e(mwe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?l({id:c}):null},void 0)}),void 0)}),void 0)},EditorSettingsDialog:fwe,Spinner:L,SelectionMode:ee,EditorHighlight:function(t){var n=t.tooltipResourceKey,r=t.className,i=phe(t,["tooltipResourceKey","className"]);return e(Jbe,fhe({resourceKey:n,className:r},{children:e(Xbe,fhe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},useTheme:function(){return a($5).theme},useSubscriptionHandlePathBuilder:j2});var Ije=[{name:"@reach/core",packageDefinition:fhe({default:{}},Eje)}],Oje=[{name:"react",packageDefinition:fhe(fhe({},o),{default:o})},{name:"react-dom",packageDefinition:fhe(fhe({},Pe),{default:Pe})},{name:"react-is",packageDefinition:fhe(fhe({},_e),{default:_e})},{name:"prop-types",packageDefinition:fhe({default:Cje},Cje)},{name:"react-router-dom",packageDefinition:fhe({},pe)},{name:"styled-components",packageDefinition:{default:Se,createGlobalStyle:ke,css:Ce,useTheme:Ie,isStyledComponent:Oe,keyframes:Te,withTheme:Ne,ThemeProvider:Ee,ThemeContext:De,ThemeConsumer:Ae}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:U,Label:q,PrimaryButton:P,Icon:j,Link:T,TextField:A,ActionButton:D,IconButton:O,DefaultButton:M,Spinner:L,Dropdown:V,ProgressIndicator:K,Shimmer:H,ShimmerElementsGroup:W,ShimmerElementType:G,DirectionalHint:Y,PersonaSize:Q,TooltipHost:$,DialogType:J,Dialog:bhe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:KC,useIntl:CC,FormattedDate:HC,FormattedTime:WC,IntlProvider:MC}},{name:"@apollo/client",packageDefinition:{default:{},gql:vj,useQuery:function(e,t){return Rj(e,t,!1)},ApolloClient:cj,ApolloProvider:Ij,from:zA,ApolloLink:FA,fromPromise:AA,split:BA,HttpLink:YA,InMemoryCache:VM,useLazyQuery:function(e,t){return Rj(e,t,!0)},useMutation:function(e,t){var n=a(Cj()),r=d({called:!1,loading:!1}),i=r[0],o=r[1],s=t?Pa(Pa({},t),{mutation:e}):{mutation:e},u=c(),f=(u.current||(u.current=new Pj({options:s,context:n,result:i,setResult:o})),u.current);return f.setOptions(s),f.context=n,l((function(){return f.afterExecute()})),f.execute(i)},ApolloError:HM,useApolloClient:Oj,useSubscription:function(e,t){var n=p((function(e){return e+1}),0)[1],r=a(Cj()),i=t?Pa(Pa({},t),{subscription:e}):{subscription:e},o=d({loading:!i.skip,error:void 0,data:void 0}),s=o[0],u=o[1],f=c(),h=(f.current||(f.current=new Aj({options:i,context:r,setResult:u})),f.current);return h.setOptions(i,!0),h.context=r,__DEV__&&jj(n),l((function(){return h.afterExecute()})),l((function(){return function(){h.cleanup(),f.current=void 0}}),[]),h.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:zR}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:XR}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:ID}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:Lj}}],Tje=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=d(null),a=o[0],s=o[1],c=u((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return ja(void 0,void 0,void 0,(function(){return Ra(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return ja(void 0,void 0,void 0,(function(){return Ra(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return ja(void 0,void 0,void 0,(function(){return Ra(this,(function(n){return Qg.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(wS.Provider,Pa({value:c},{children:r}),void 0)},Nje="0.4.0-preview.402",Dje="101518",Aje="42791091eea86bc4a297599b5776ea4d5ebc5ac9",Pje=at,Mje=Xe,jje=Fr("match"),Rje=function(e){var t;return Pje(e)&&(void 0!==(t=e[jje])?!!t:"RegExp"==Mje(e))},Lje=Fr("match"),Fje=function(e){if(Rje(e))throw TypeError("The method doesn't accept regular expressions");return e},zje=nt,Bje=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Lje]=!1,"/./"[e](t)}catch(e){}}return!1};Sr({target:"String",proto:!0,forced:!Bje("includes")},{includes:function(e){return!!~String(zje(this)).indexOf(Fje(e),arguments.length>1?arguments[1]:void 0)}});var Uje,qje,Vje={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},userflow:{userflowToken:"ct_gjkrqpboc5edlg6vduhnxfti3e"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"}},Kje={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"},teamsAustralia:{clientId:"29942469-c421-4026-92ef-9bf24a6fc08c"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},userflow:{userflowToken:"ct_3um627fkk5cxvnkwawnaf2b4gy"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"}},Hje=["//localhost","//api:5000","//api.dev.reach.livetiles.io","//api.test.reach.livetiles.io","//api.staging.reach.livetiles.io","//api-dev.condense.ch","//api-test.condense.ch","//api-staging.condense.ch"],Wje=function(t){var n=t.children,r=Cg().apiEndpoint,i=u((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!Hje.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return Qg.info("Will use non prod client config..."),Pa({},Vje);return Pa(Pa({},Vje),Kje)}())}),[r]);return e(Rg.Provider,Pa({value:i},{children:n}),void 0)},Gje=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return ja(this,void 0,void 0,(function(){return Ra(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return ja(this,void 0,void 0,(function(){return Ra(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),Yje=new Gje,Qje=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e($je,Pa({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},$je=function(n){var r=n.subscriptionId,i=n.children,o=a(wS).setToken,s=JC(),c=function(){var e=SV().fetchFromApi,t=kV();return u((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/"+t).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,l=SV().fetchFromApi,d=a(YC),f=d.handleFatalError,p=d.handleAccessDeniedError,h=hS((function(){return ja(this,void 0,void 0,(function(){var e,t,n;return Ra(this,(function(i){switch(i.label){case 0:return e="Reach::PublicAccessToken::"+r,[4,s.getString(e)];case 1:return(t=i.sent())?(o(t),[2,!0]):[4,c(r)];case 2:return i.sent().allowPublicAccess?[4,b(r)]:[3,5];case 3:return n=i.sent(),o(n),[4,s.setString(e,n)];case 4:return i.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[r]),m=h[0],g=h[1],v=h[2];if(v)return Qg.error(v),f({error:v}),null;if(g)return null;if(!m){var y={message:"Public access is not enabled for the subscription "+r+"!"};return Qg.error(y.message),p({error:y}),null}return e(t,{children:i},void 0);function b(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},Jje=function(t){var n=t.children,r=d(),i=r[0],o=r[1],a=d(),s=a[0],c=a[1],l=d(),f=l[0],p=l[1],h=u((function(){return{handleFatalError:o,handleAccessDeniedError:c,handleNotFoundError:p}}),[o,c,p]);return e(YC.Provider,Pa({value:h},{children:e(Zje,Pa({fatalError:i,notFoundError:f,accessDeniedError:s},{children:n}),void 0)}),void 0)},Zje=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(Xje,{messageId:r.messageId,error:r.error},void 0):i?e(Xje,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(Xje,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},Xje=function(t){var r=t.messageId,i=t.error,o=CC().formatMessage,a=d(!1),s=a[0],u=a[1];return e(HMe,Pa({errorType:VMe.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!s)}},{children:s&&n(eRe,{children:[e(KC,{id:"Generic.error.details"},void 0),e(tRe,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},eRe=Se.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(Uje||(Uje=Ka(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),tRe=Se.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(qje||(qje=Ka(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),nRe=function(t){var n=t.children,r=R2(),i=u((function(){return{onShare:function(){return ja(void 0,void 0,void 0,(function(){return Ra(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(QC.Provider,Pa({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},rRe=function(){return null},iRe=Object.freeze({__proto__:null,Page:rRe,NavLinkSidebarItem:rRe,PageMenuActionItem:rRe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+Nje+" ("+Dje+") ["+Aje+"]"),window.__did_initialize_reach_context)return;ue()}();var oRe=function(r){var i,o,s,c,d=null!=a(kg);l((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||(H2.apply(void 0,ghe(["ReachCorePackages"],ghe(ghe([],Oje),Ije))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Pa({default:{}},e)},{name:"@reach/chrome",packageDefinition:Pa({default:{}},iRe)}],H2.apply(void 0,qa(["ReachComponentLibraryPackages"],t))))}),[]);var f=u((function(){var e,t,n,i,o,a,s,u;return{env:{deviceInfo:{},version:Nje,commitId:Aje,buildId:Dje},appConfig:{apiEndpoint:null!==(t=null===(e=r.config)||void 0===e?void 0:e.apiEndpoint)&&void 0!==t?t:"https://api.reach.livetiles.io/api/v1",webAppUrl:null!==(i=null===(n=r.config)||void 0===n?void 0:n.webAppUrl)&&void 0!==i?i:"https://reach.livetiles.io",api3Endpoint:null!==(a=null===(o=r.config)||void 0===o?void 0:o.api3Endpoint)&&void 0!==a?a:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:null!==(u=null===(s=r.config)||void 0===s?void 0:s.webSocketsEndpoint)&&void 0!==u?u:"wss://ws.reach.livetiles.io/api/v2"}}}),[null===(i=r.config)||void 0===i?void 0:i.apiEndpoint,null===(o=r.config)||void 0===o?void 0:o.webAppUrl,null===(s=r.config)||void 0===s?void 0:s.api3Endpoint,null===(c=r.config)||void 0===c?void 0:c.webSocketsEndpoint]);return d?(Qg.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(Pa({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0)):e("div",Pa({className:TG},{children:e(kg.Provider,Pa({value:f},{children:e(be,{children:e($C.Provider,Pa({value:Yje},{children:e(Wje,{children:e(YX,Pa({language:r.language},{children:e(J5,Pa({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(Jje,{children:e(Tje,Pa({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(eE,Pa({subscriptionId:r.subscriptionId},{children:e(Qje,Pa({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(nRe,{children:e(IT.Provider,Pa({value:{hideChrome:!1}},{children:e(aRe,{children:e(dK,Pa({gqlClientConfig:{endPoint:f.appConfig.api3Endpoint,webSocketsEndpoint:f.appConfig.webSocketsEndpoint}},{children:e(S2,{children:e(O6,{children:n(b6,{children:[e(S6,{},void 0),e(wwe,{},void 0),e(sRe,{},void 0),n(we,{children:[e(xe,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e(xe,{render:function(){return r.children}},void 0)]},void 0)]},void 0)},void 0)},void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)}),void 0)},void 0)}),void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)},aRe=function(t){var n,r=t.children,i=a($5).setTheme,o=a(rE).changeSettings,s=K0().getCurrentUser,c=hS((function(){var e,t;return ja(this,void 0,void 0,(function(){var n,r,a,u;return Ra(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,s()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&i(n.subscription.theme),r=j_(n.preferredUiLanguage,M_(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=dAe(n),o(r,a).then((function(){return null}),Qg.error),[2,n];case 2:throw u=c.sent(),Qg.error(u),u;case 3:return[2]}}))}))})),l=c[0],d=c[1],f=c[2],p=c[3],h=a(YC),m=h.handleFatalError,g=h.handleNotFoundError,v=h.handleAccessDeniedError,y=u((function(){return{user:l,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[l]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?v({error:f}):m({error:f}),null):d?null:null==l?(g({}),null):e(d0.Provider,Pa({value:y},{children:r}),void 0)},sRe=function(){return l((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),n(t,{children:[e(EG,{},void 0),e(OG,{},void 0)]},void 0)};var uRe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,cRe=/[\0-\x1F\x7F-\x9F]/,lRe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,dRe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;function fRe(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function pRe(e){return Object.prototype.toString.call(e)}function hRe(e){return"[object Function]"===pRe(e)}function mRe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var gRe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var vRe={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},yRe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function bRe(e){var t=e.re=function(e){var t={};return t.src_Any=uRe.source,t.src_Cc=cRe.source,t.src_Z=lRe.source,t.src_P=dRe.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,function(e){return"[object Object]"===pRe(e)}(n))return!function(e){return"[object RegExp]"===pRe(e)}(n.validate)?hRe(n.validate)?r.validate=n.validate:o(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(hRe(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===pRe(e)}(n)?o(t,n):i.push(t)}})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(mRe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function wRe(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function xRe(e,t){var n=new wRe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function _Re(e,t){if(!(this instanceof _Re))return new _Re(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||gRe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=fRe({},gRe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=fRe({},vRe,e),this.__compiled__={},this.__tlds__=yRe,this.__tlds_replaced__=!1,this.re={},bRe(this)}_Re.prototype.add=function(e,t){return this.__schemas__[e]=t,bRe(this),this},_Re.prototype.set=function(e){return this.__opts__=fRe(this.__opts__,e),this},_Re.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,u;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},_Re.prototype.pretest=function(e){return this.re.pretest.test(e)},_Re.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},_Re.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(xRe(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(xRe(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},_Re.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),bRe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,bRe(this),this)},_Re.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},_Re.prototype.onCompile=function(){};var SRe=_Re;function kRe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function CRe(){return CRe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CRe.apply(this,arguments)}function ERe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IRe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ORe(e,t,n){return t&&IRe(e.prototype,t),n&&IRe(e,n),e}function TRe(e){return TRe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},TRe(e)}function NRe(e){return NRe="function"==typeof Symbol&&"symbol"===TRe(Symbol.iterator)?function(e){return TRe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":TRe(e)},NRe(e)}function DRe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ARe(e,t){return!t||"object"!==NRe(t)&&"function"!=typeof t?DRe(e):t}function PRe(e){return PRe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},PRe(e)}function MRe(e,t){return MRe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},MRe(e,t)}function jRe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MRe(e,t)}function RRe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LRe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function FRe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function zRe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BRe(e){return function(e){if(Array.isArray(e))return zRe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return zRe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zRe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var URe=function(e){return e===Object(e)?Object.keys(e):[]},qRe=function(e){return e===Object(e)?Object.values(e):[]};function VRe(e,t){var n=Object.assign({},e);return WRe(e)&&WRe(t)&&URe(t).forEach((function(r){WRe(t[r])&&r in e?n[r]=VRe(e[r],t[r]):Object.assign(n,T7({},r,t[r]))})),n}var KRe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return VRe(e,t)}),e)},HRe=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},WRe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},GRe=function(e){return(e||[]).filter(Boolean)},YRe=function(e){return"&"===e[0]},QRe=function(e){return!YRe(e)},$Re=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},JRe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=URe(e),r={},i=0,o=n.length;i<o;i+=1){var a=n[i],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(r[a]=e[a])}return r},ZRe=function(e,t){for(var n=t.map($Re),r=URe(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf($Re(s))>=0)&&(i[s]=e[s])}return i},XRe=function e(t,n){for(var r=KRe.apply(void 0,[{},HRe(t,n)].concat(BRe(qRe(ZRe(t,n))))),i=URe(r).filter(YRe),o=0,a=i.length;o<a;o+=1){var s=i[o],u=e(r[s],n);n.indexOf(s)>=0?(delete r[s],r=KRe({},r,u)):r[s]=u}return r};function eLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eLe(Object(n),!0).forEach((function(t){T7(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var nLe=["animationName"],rLe=function(e){var t=e.style,n=e.className;return tLe(tLe({},t?{style:JRe(t,nLe)}:{}),n?{className:n}:{})},iLe=s(rLe);iLe.Provider;var oLe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return URe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},aLe={},sLe=function(e){return function(t,n){var r,i=n||aLe;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=oLe(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function uLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uLe(Object(n),!0).forEach((function(t){T7(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lLe=function(e){var t=e&&URe(e)[0];return t&&t.split("__")[0].split("--")[0]},dLe=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(BRe(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),BRe(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(BRe(i)):i}};function fLe(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rLe,o=n||lLe(r)||(null==t?void 0:t.className),a="function"==typeof t?t:sLe((function(e,n){var a=oLe(e);lhe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),lhe(!n||WRe(n),"Optional second parameter must be a plain object.");var s=a.filter(YRe),u=a.filter(QRe),c=u.length>0?function(e){return qRe(ZRe(e,u))}:function(e){return[e]},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(XRe(e,s))},d=dLe(o,u,s);return fLe(cLe(cLe(cLe({},(t||n)&&{style:KRe.apply(void 0,[{}].concat(BRe(l(n)),BRe(l(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=cLe({},"function"==typeof t?t:{style:t}),u=BRe(new Set([].concat(BRe(s.className?s.className.split(" "):[]),BRe(o?o.split(" "):[])))),c=r?GRe(u.map((function(e){return r[e]}))):u,l=i(cLe(cLe({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,l),a}function pLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pLe(Object(n),!0).forEach((function(t){T7(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mLe=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return hLe(hLe(hLe({},e),"function"==typeof t?t:{}),{},{style:hLe(hLe({},e.style),"function"==typeof t?t.style:t)})}),{})},gLe=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,s=a(iLe);return u((function(){return fLe({style:r,className:i,classNames:o},s)}),[r,i,o,s])(n,e)},vLe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},yLe="__id__",bLe="__display__",wLe=function(e,t){lhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(bLe),r=e.indexOf(yLe);return n<0&&(n=null),r<0&&(r=null),lhe(null!==n||null!==r,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==r?"id"===t&&r<=n||"display"===t&&n<=r?0:1:0},xLe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=LRe(t.exec(e.toString()),3),r=n[1],i=n[2];return lhe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},_Le=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},SLe=function(){},kLe=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:SLe,o=xLe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=_Le(t)+1,n})),u=0,c=0;null!==(r=o.exec(e));){var l=s.find((function(e){return!!r[e]})),d=s.indexOf(l),f=t[d],p=f.markup,h=f.displayTransform,m=l+wLe(p,"id"),g=l+wLe(p,"display"),v=r[m],y=h(v,r[g]),b=e.substring(u,r.index);i(b,u,c),c+=b.length,n(r[0],r.index,c,v,y,d,u),c+=y.length,u=o.lastIndex}u<e.length&&i(e.substring(u),u,c)},CLe=function(e,t){var n="";return kLe(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},ELe=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,i){void 0===r&&i+e.length>=n&&(r=t+n-i)},a=function(e,t,o,a,s,u,c){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return kLe(e,t,a,o),void 0===r?e.length:r},ILe=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},OLe=function(e,t){var n=[];return kLe(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},TLe=function(e,t){return"".concat(e,"-").concat(t)},NLe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},DLe=function(e){var t=vLe(e),n=e[e.indexOf(bLe)+bLe.length],r=e[e.indexOf(yLe)+yLe.length];return new RegExp(t.replace(bLe,"([^".concat(vLe(n||""),"]+?)")).replace(yLe,"([^".concat(vLe(r||""),"]+?)")))},ALe=function(e){return h.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?PLe(r,n):DLe(n),displayTransform:i||function(e,t){return t||e}}}))},PLe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=_Le(t);return lhe(n===r,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(r,")")),e},MLe=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],jLe=function(e){return function(e){var t=e;return MLe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},RLe=function(e,t,n){return n?jLe(e).indexOf(jLe(t)):e.toLowerCase().indexOf(t.toLowerCase())},LLe=function(e){return"number"==typeof e},FLe=function(e){return e===Object(e)?Object.keys(e):[]},zLe=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=(t=[]).concat.apply(t,r);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function BLe(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,u=FRe(r,["style","className","classNames"]),c=t?t(u):void 0,l=gLe(e,{style:i,className:a,classNames:s},c);return o.createElement(n,CRe({},u,{style:l}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var ULe=function(e){function t(){var e;return ERe(this,t),RRe(DRe(e=ARe(this,PRe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return jRe(t,v),ORe(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var r={left:t,top:n};this.setState(r),this.props.onCaretPositionChange(r)}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.selectionStart,i=n.selectionEnd,a=n.value,s=n.style,u=n.children,c=n.containerRef,l=ALe(u);r===i&&(e=ELe(a,l,r,"START"));var d=[],f={},p=d,h=0;return kLe(a,l,(function(e,n,r,i,o,a,s){var u=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(f,i);p.push(t.getMentionComponentForMatch(i,o,a,u))}),(function(n,r,i){if(LLe(e)&&e>=r&&e<=r+n.length){var o=e-r;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==d&&d.push(this.renderHighlighterCaret(p)),o.createElement("div",CRe({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",CRe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var i={id:e,display:t,key:r},a=h.toArray(this.props.children)[n];return o.cloneElement(a,i)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",CRe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();RRe(ULe,"propTypes",{selectionStart:rW.number,selectionEnd:rW.number,value:rW.string.isRequired,onCaretPositionChange:rW.func.isRequired,containerRef:rW.oneOfType([rW.func,rW.shape({current:"undefined"==typeof Element?rW.any:rW.instanceOf(Element)})]),children:rW.oneOfType([rW.element,rW.arrayOf(rW.element)]).isRequired}),RRe(ULe,"defaultProps",{value:""});var qLe=BLe({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(ULe),VLe=function(e){function t(){return ERe(this,t),ARe(this,PRe(t).apply(this,arguments))}return jRe(t,v),ORe(t,[{key:"render",value:function(){var e=zLe(this.props,["style","classNames","className"],FLe(t.propTypes));return o.createElement("li",CRe({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,r=e.suggestion,i=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(r,t,s,i,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,r=t.query,i=t.style,a=RLe(e,r,n);return-1===a?o.createElement("span",i("display"),e):o.createElement("span",i("display"),e.substring(0,a),o.createElement("b",i("highlight"),e.substring(a,a+r.length)),e.substring(a+r.length))}}]),t}();RRe(VLe,"propTypes",{id:rW.string.isRequired,query:rW.string.isRequired,index:rW.number.isRequired,ignoreAccents:rW.bool,suggestion:rW.oneOfType([rW.string,rW.shape({id:rW.oneOfType([rW.string,rW.number]).isRequired,display:rW.string})]).isRequired,renderSuggestion:rW.func,focused:rW.bool});var KLe=BLe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(VLe);function HLe(){var e=gLe(),t=e("spinner");return o.createElement("div",e,o.createElement("div",t,o.createElement("div",t(["element","element1"])),o.createElement("div",t(["element","element2"])),o.createElement("div",t(["element","element3"])),o.createElement("div",t(["element","element4"])),o.createElement("div",t(["element","element5"]))))}var WLe=function(e){function t(){var e,n;ERe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return RRe(DRe(n=ARe(this,(e=PRe(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),RRe(DRe(n),"select",(function(e,t){n.props.onSelect(e,t)})),RRe(DRe(n),"setUlElement",(function(e){n.ulElement=e})),n}return jRe(t,v),ORe(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,r=t.bottom,i=this.ulElement.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?this.ulElement.scrollTop=n:r>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=r-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,r=e.isOpened,i=e.style,a=e.onMouseDown,s=e.containerRef,u=e.position,c=e.left,l=e.top;return r?o.createElement("div",CRe({},mLe({position:u||"absolute",left:c,top:l},i),{onMouseDown:a,ref:s}),o.createElement("ul",CRe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},i("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,i=n.queryInfo;return[].concat(kRe(t),kRe(r.map((function(n,r){return e.renderSuggestion(n,i,t.length+r)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,i=n===this.props.focusIndex,a=t.childIndex,s=t.query,u=h.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return o.createElement(KLe,{style:this.props.style("item"),key:"".concat(a,"-").concat(GLe(e)),id:TLe(this.props.id,n),query:s,index:n,ignoreAccents:c,renderSuggestion:u,suggestion:e,focused:i,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(HLe,{style:this.props.style("loadingIndicator")})}}]),t}();RRe(WLe,"propTypes",{id:rW.string.isRequired,suggestions:rW.object.isRequired,a11ySuggestionsListLabel:rW.string,focusIndex:rW.number,position:rW.string,left:rW.number,top:rW.number,scrollFocusedIntoView:rW.bool,isLoading:rW.bool,isOpened:rW.bool.isRequired,onSelect:rW.func,ignoreAccents:rW.bool,containerRef:rW.oneOfType([rW.func,rW.shape({current:"undefined"==typeof Element?rW.any:rW.instanceOf(Element)})]),children:rW.oneOfType([rW.element,rW.arrayOf(rW.element)]).isRequired}),RRe(WLe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var GLe=function(e){return"string"==typeof e?e:e.id},YLe=BLe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(WLe);function QLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?QLe(n,!0).forEach((function(t){RRe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QLe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var JLe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},ZLe=!1,XLe={singleLine:rW.bool,allowSpaceInQuery:rW.bool,allowSuggestionsAboveCursor:rW.bool,forceSuggestionsAboveCursor:rW.bool,ignoreAccents:rW.bool,a11ySuggestionsListLabel:rW.string,value:rW.string,onKeyDown:rW.func,onSelect:rW.func,onBlur:rW.func,onChange:rW.func,suggestionsPortalHost:"undefined"==typeof Element?rW.any:rW.PropTypes.instanceOf(Element),inputRef:rW.oneOfType([rW.func,rW.shape({current:"undefined"==typeof Element?rW.any:rW.instanceOf(Element)})]),children:rW.oneOfType([rW.element,rW.arrayOf(rW.element)]).isRequired},eFe=function(e){function t(e){var n;return ERe(this,t),RRe(DRe(n=ARe(this,PRe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),RRe(DRe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return $Le({},zLe(n.props,["style","classNames","className"],FLe(XLe)),{},i("input"),{value:n.getPlainText()},!t&&!r&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":TLe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),RRe(DRe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,r=e.style,i=n.getInputProps();return o.createElement("div",r("control"),n.renderHighlighter(),t?n.renderInput(i):n.renderTextarea(i))})),RRe(DRe(n),"renderInput",(function(e){return o.createElement("input",CRe({type:"text",ref:n.setInputRef},e))})),RRe(DRe(n),"renderTextarea",(function(e){return o.createElement("textarea",CRe({ref:n.setInputRef},e))})),RRe(DRe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),RRe(DRe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),RRe(DRe(n),"renderSuggestionsOverlay",(function(){if(!LLe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(YLe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:r,top:i,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?Me.createPortal(a,n.props.suggestionsPortalHost):a})),RRe(DRe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,r=e.selectionEnd,i=n.props,a=i.singleLine,s=i.children,u=i.value,c=i.style;return o.createElement(qLe,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:u,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),RRe(DRe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),RRe(DRe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),RRe(DRe(n),"getPlainText",(function(){return CLe(n.props.value||"",ALe(n.props.children))})),RRe(DRe(n),"executeOnChange",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(r)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),RRe(DRe(n),"handleChange",(function(e){if(ZLe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=ALe(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=CLe(e,r),u=s.length-t.length;"undefined"===i&&(i=a+u),"undefined"===o&&(o=i),i===o&&o===a&&s.length===t.length&&(i-=1);var c=t.slice(i,a),l=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+u));var f=ELe(e,r,l,"START"),p=ELe(e,r,d,"END"),h=ELe(e,r,l,"NULL"),m=ELe(e,r,d,"NULL"),g=null===h||null===m,v=ILe(e,f,p,c);if(!g){var y=CLe(v,r);if(y!==t){for(l=0;t[l]===y[l];)l++;c=t.slice(l,a),d=s.lastIndexOf(t.substring(a)),f=ELe(e,r,l,"START"),p=ELe(e,r,d,"END"),v=ILe(e,f,p,c)}}return v}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=CLe(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,u=!1,c=function(e,t,n){var r=n,i=!1;if(kLe(e,t,(function(e,t,o,a,s,u,c){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r}(t,r,a);void 0!==c&&n.state.selectionEnd>c&&(s=a=c,u=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:u});var l=OLe(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,l)}})),RRe(DRe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!ZLe){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),RRe(DRe(n),"handleKeyDown",(function(e){if(0!==NLe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(JLe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case JLe.ESC:return void n.clearSuggestions();case JLe.DOWN:return void n.shiftFocus(1);case JLe.UP:return void n.shiftFocus(-1);case JLe.RETURN:case JLe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),RRe(DRe(n),"shiftFocus",(function(e){var t=NLe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),RRe(DRe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,i=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(kRe(e),kRe(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),RRe(DRe(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),RRe(DRe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),RRe(DRe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),RRe(DRe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,r=t.suggestionsPortalHost,i=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,u=s.getBoundingClientRect(),c=tFe(s,"font-size"),l={left:u.left+e.left,top:u.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var f={};if(r){f.position="fixed";var p=l.left,h=l.top;p-=tFe(a,"margin-left"),h-=tFe(a,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+a.offsetWidth>m?f.left=Math.max(0,m-a.offsetWidth):f.left=p,i&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?f.top=Math.max(0,h-a.offsetHeight-c):f.top=h}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=g,i&&l.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<u.top-c-s.scrollTop?f.top=v-a.offsetHeight-c:f.top=v}f.left===n.state.suggestionsPosition.left&&f.top===n.state.suggestionsPosition.top&&f.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:f})}}})),RRe(DRe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),RRe(DRe(n),"handleCompositionStart",(function(){ZLe=!0})),RRe(DRe(n),"handleCompositionEnd",(function(){ZLe=!1})),RRe(DRe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var r=n.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,t);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",e),i.select()}}})),RRe(DRe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=ALe(i),s=ELe(r,a,t,"NULL");if(null!==s){var u=function(e,t){var n=OLe(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,s),a),c=e.substring(u,t);o.Children.forEach(i,(function(t,r){if(t){var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,r=vLe(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(t.props.trigger,n.props),o=c.match(i);if(o){var a=u+c.indexOf(o[1],o.index);n.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),RRe(DRe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),RRe(DRe(n),"queryData",(function(e,t,r,i,o){var a=n.props,s=a.children,u=a.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,r){for(var i=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;RLe(s,n,t)>=0&&i.push(e[o])}return i}:e}(h.toArray(s)[t].props.data,u),l=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,i,o));l instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,i,o,l)})),RRe(DRe(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=$Le({},n.suggestions,RRe({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var u=n.state.focusIndex,c=NLe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:u>=c?Math.max(c-1,0):u})}})),RRe(DRe(n),"addMention",(function(e,t){var r=e.id,i=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",l=ALe(n.props.children),d=h.toArray(n.props.children)[o].props,f=d.markup,p=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,v=ELe(c,l,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(yLe,t).replace(bLe,n)}(f,r,i);m&&(b+=" ");var w=ILe(c,v,y,b);n.inputElement.focus();var x=p(r,i);m&&(x+=" ");var _=a+x.length;n.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var S={target:{value:w}},k=OLe(w,l),C=ILe(u,a,s,x);n.executeOnChange(S,w,C,k),g&&g(r,i,v,y),n.clearSuggestions()})),RRe(DRe(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),RRe(DRe(n),"isOpened",(function(){return LLe(n.state.selectionStart)&&(0!==NLe(n.state.suggestions)||n.isLoading())})),RRe(DRe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(DRe(n)),n.handleCut=n.handleCut.bind(DRe(n)),n.handlePaste=n.handlePaste.bind(DRe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return jRe(t,o.Component),ORe(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return o.createElement("div",CRe({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.value,a=i.children,s=ALe(a),u=ELe(o,s,n,"START"),c=ELe(o,s,r,"END"),l=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=ILe(o,u,c,l||d).replace(/\r/g,""),p=CLe(f,s),h={target:$Le({},e.target,{value:f})};this.executeOnChange(h,f,p,OLe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=ALe(o),u=ELe(a,s,n,"START"),c=ELe(a,s,r,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,r)),e.clipboardData.setData("text/react-mentions",a.slice(u,c))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=ALe(o),u=ELe(a,s,n,"START"),c=ELe(a,s,r,"END"),l=[a.slice(0,u),a.slice(c)].join(""),d=CLe(l,s),f={target:$Le({},e.target,{value:d})};this.executeOnChange(f,l,d,OLe(a,s))}}}]),t}();RRe(eFe,"propTypes",XLe),RRe(eFe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var tFe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},nFe=BLe({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:$Le({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(eFe),rFe={fontWeight:"inherit"},iFe=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=gLe(rFe,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};iFe.propTypes={onAdd:rW.func,onRemove:rW.func,renderSuggestion:rW.func,trigger:rW.oneOfType([rW.string,rW.instanceOf(RegExp)]),markup:rW.string,displayTransform:rW.func,allowSpaceInQuery:rW.bool,isLoading:rW.bool},iFe.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1};var oFe=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function aFe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=oFe.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var sFe=[".DS_Store","Thumbs.db"];function uFe(e){return ja(this,void 0,void 0,(function(){return Ra(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?lFe(e.dataTransfer,e.type):cFe(e))];var n}))}))}function cFe(e){return(null!==e.target&&e.target.files?fFe(e.target.files):[]).map((function(e){return aFe(e)}))}function lFe(e,t){return ja(this,void 0,void 0,(function(){var n;return Ra(this,(function(r){switch(r.label){case 0:return e.items?(n=fFe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(pFe))]):[3,2];case 1:return[2,dFe(hFe(r.sent()))];case 2:return[2,dFe(fFe(e.files).map((function(e){return aFe(e)})))]}}))}))}function dFe(e){return e.filter((function(e){return-1===sFe.indexOf(e.name)}))}function fFe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function pFe(e){if("function"!=typeof e.webkitGetAsEntry)return mFe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?vFe(t):mFe(e)}function hFe(e){return e.reduce((function(e,t){return Ba(e,Array.isArray(t)?hFe(t):[t])}),[])}function mFe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=aFe(t);return Promise.resolve(n)}function gFe(e){return ja(this,void 0,void 0,(function(){return Ra(this,(function(t){return[2,e.isDirectory?vFe(e):yFe(e)]}))}))}function vFe(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return ja(o,void 0,void 0,(function(){var o,a,s;return Ra(this,(function(u){switch(u.label){case 0:if(t.length)return[3,5];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=u.sent(),e(o),[3,4];case 3:return a=u.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(gFe)),r.push(s),i(),u.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function yFe(e){return ja(this,void 0,void 0,(function(){return Ra(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=aFe(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function bFe(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t}))}return!0}(e,t)}function wFe(e,t,n){if(xFe(e.size)){if(xFe(t)&&xFe(n))return e.size>=t&&e.size<=n;if(xFe(t))return e.size>=t;if(xFe(n))return e.size<=n}return!0}function xFe(e){return null!=e}function _Fe(e,t,n,r){return e.every((function(e){return bFe(e,t)&&wFe(e,n,r)}))}function SFe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function kFe(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function CFe(e){e.preventDefault()}function EFe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function IFe(e){return-1!==e.indexOf("Edge/")}function OFe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return EFe(e)||IFe(e)}function TFe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return!SFe(e)&&t&&t.apply(void 0,[e].concat(r)),SFe(e)}))}}function NFe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function DFe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function AFe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AFe(n,!0).forEach((function(t){MFe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function MFe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jFe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var RFe=w((function(e,t){var n=e.children,r=FFe(jFe(e,["children"])),i=r.open,a=jFe(r,["open"]);return S(t,(function(){return{open:i}}),[i]),o.createElement(k,null,n(PFe({},a,{open:i})))}));RFe.displayName="Dropzone",RFe.propTypes={children:rW.func,accept:rW.oneOfType([rW.string,rW.arrayOf(rW.string)]),multiple:rW.bool,preventDropOnDocument:rW.bool,noClick:rW.bool,noKeyboard:rW.bool,noDrag:rW.bool,noDragEventsBubbling:rW.bool,minSize:rW.number,maxSize:rW.number,disabled:rW.bool,getFilesFromEvent:rW.func,onFileDialogCancel:rW.func,onDragEnter:rW.func,onDragLeave:rW.func,onDragOver:rW.func,onDrop:rW.func,onDropAccepted:rW.func,onDropRejected:rW.func};var LFe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function FFe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,i=e.getFilesFromEvent,o=void 0===i?uFe:i,a=e.maxSize,s=void 0===a?1/0:a,d=e.minSize,h=void 0===d?0:d,m=e.multiple,g=void 0===m||m,v=e.onDragEnter,y=e.onDragLeave,b=e.onDragOver,w=e.onDrop,x=e.onDropAccepted,_=e.onDropRejected,S=e.onFileDialogCancel,k=e.preventDropOnDocument,C=void 0===k||k,E=e.noClick,I=void 0!==E&&E,O=e.noKeyboard,T=void 0!==O&&O,N=e.noDrag,D=void 0!==N&&N,A=e.noDragEventsBubbling,P=void 0!==A&&A,M=c(null),j=c(null),R=p(zFe,LFe),L=DFe(R,2),F=L[0],z=L[1],B=F.isFocused,U=F.isFileDialogActive,q=F.draggedFiles,V=f((function(){j.current&&(z({type:"openDialog"}),j.current.value=null,j.current.click())}),[z]),K=function(){U&&setTimeout((function(){j.current&&(j.current.files.length||(z({type:"closeDialog"}),"function"==typeof S&&S()))}),300)};l((function(){return window.addEventListener("focus",K,!1),function(){window.removeEventListener("focus",K,!1)}}),[j,U,S]);var H=f((function(e){M.current&&M.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),V()))}),[M,j]),W=f((function(){z({type:"focus"})}),[]),G=f((function(){z({type:"blur"})}),[]),Y=f((function(){I||(OFe()?setTimeout(V,0):V())}),[j,I]),Q=c([]),$=function(e){M.current&&M.current.contains(e.target)||(e.preventDefault(),Q.current=[])};l((function(){return C&&(document.addEventListener("dragover",CFe,!1),document.addEventListener("drop",$,!1)),function(){C&&(document.removeEventListener("dragover",CFe),document.removeEventListener("drop",$))}}),[M,C]);var J=f((function(e){e.preventDefault(),e.persist(),ie(e),-1===Q.current.indexOf(e.target)&&(Q.current=[].concat(NFe(Q.current),[e.target])),kFe(e)&&Promise.resolve(o(e)).then((function(t){SFe(e)&&!P||(z({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,P]),Z=f((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return kFe(e)&&b&&b(e),!1}),[b,P]),X=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=Q.current.filter((function(t){return t!==e.target&&M.current&&M.current.contains(t)}));Q.current=t,t.length>0||(z({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),kFe(e)&&y&&y(e))}),[M,y,P]),ee=f((function(e){e.preventDefault(),e.persist(),ie(e),Q.current=[],z({type:"reset"}),kFe(e)&&Promise.resolve(o(e)).then((function(n){if(!SFe(e)||P){var r=[],i=[];n.forEach((function(e){bFe(e,t)&&wFe(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,NFe(r.splice(0))),z({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),w&&w(r,i,e),i.length>0&&_&&_(i,e),r.length>0&&x&&x(r,e)}}))}),[g,t,h,s,o,w,x,_,P]),te=function(e){return r?null:e},ne=function(e){return T?null:te(e)},re=function(e){return D?null:te(e)},ie=function(e){P&&e.stopPropagation()},oe=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,u=e.onDragEnter,c=e.onDragOver,l=e.onDragLeave,d=e.onDrop,f=jFe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return PFe(MFe({onKeyDown:ne(TFe(i,H)),onFocus:ne(TFe(o,W)),onBlur:ne(TFe(a,G)),onClick:te(TFe(s,Y)),onDragEnter:re(TFe(u,J)),onDragOver:re(TFe(c,Z)),onDragLeave:re(TFe(l,X)),onDrop:re(TFe(d,ee))},n,M),r||T?{}:{tabIndex:0},{},f)}}),[M,H,W,G,Y,J,Z,X,ee,T,D,r]),ae=f((function(e){e.stopPropagation()}),[]),se=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,r=void 0===n?"ref":n,i=e.onChange,o=e.onClick,a=jFe(e,["refKey","onChange","onClick"]),s=MFe({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(TFe(i,ee)),onClick:te(TFe(o,ae)),autoComplete:"off",tabIndex:-1},r,j);return PFe({},s,{},a)}}),[j,t,g,ee,r]),ue=q.length,ce=g||ue<=1,le=ue>0&&_Fe(q,t,h,s),de=ue>0&&(!le||!ce);return PFe({},F,{isDragAccept:le,isDragReject:de,isFocused:B&&!r,getRootProps:oe,getInputProps:se,rootRef:M,inputRef:j,open:te(V)})}function zFe(e,t){switch(t.type){case"focus":return PFe({},e,{isFocused:!0});case"blur":return PFe({},e,{isFocused:!1});case"openDialog":return PFe({},e,{isFileDialogActive:!0});case"closeDialog":return PFe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return PFe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return PFe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return PFe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var BFe={exports:{}};!function(e,t){!function(t,n,r){e.exports=r(),e.exports.default=r()}(0,0,(function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function n(n,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},o=r.replacement||"-",a=n.split("").reduce((function(t,n){return t+(i[n]||e[n]||n)}),"").replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return r.lower&&(a=a.toLowerCase()),r.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n}))}(BFe);var UFe,qFe=BFe.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(UFe||(UFe={}));var VFe={exports:{}},KFe=ze(VFe.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=r.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e){return e&&e.__esModule?e:{default:e}}t.default=c;var o=n(3),a=i(n(4)),s=n(14),u=i(n(15));function c(e){var t=e.activeClassName,n=void 0===t?"":t,i=e.activeIndex,a=void 0===i?-1:i,c=e.activeStyle,l=e.autoEscape,d=e.caseSensitive,f=void 0!==d&&d,p=e.className,h=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,w=void 0===b?"mark":b,x=e.sanitize,_=e.searchWords,S=e.textToHighlight,k=e.unhighlightClassName,C=void 0===k?"":k,E=e.unhighlightStyle,I=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),O=(0,o.findAll)({autoEscape:l,caseSensitive:f,findChunks:h,sanitize:x,searchWords:_,textToHighlight:S}),T=w,N=-1,D="",A=void 0,P=(0,u.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",r({className:p},I,{children:O.map((function(e,t){var r=S.substr(e.start,e.end-e.start);if(e.highlight){N++;var i=void 0;i="object"==typeof g?f?g[r]:(g=P(g))[r.toLowerCase()]:g;var o=N===+a;D=i+" "+(o?n:""),A=!0===o&&null!=c?Object.assign({},y,c):y;var u={children:r,className:D,key:t,style:A};return"string"!=typeof T&&(u.highlightIndex=N),(0,s.createElement)(T,u)}return(0,s.createElement)("span",{children:r,className:C,key:t,style:E})}))}))}c.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,o=e.caseSensitive,a=void 0!==o&&o,s=e.findChunks,u=void 0===s?r:s,c=e.sanitize,l=e.searchWords,d=e.textToHighlight;return i({chunksToHighlight:n({chunks:u({autoEscape:t,caseSensitive:a,sanitize:c,searchWords:l,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,i=void 0===r?o:r,a=e.searchWords,s=e.textToHighlight;return s=i(s),a.filter((function(e){return e})).reduce((function(e,r){r=i(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(r,n?"g":"gi"),a=void 0;a=o.exec(s);){var u=a.index,c=o.lastIndex;c>u&&e.push({start:u,end:c}),a.index==o.lastIndex&&o.lastIndex++}return e}),[])};t.findChunks=r;var i=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],i=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)i(0,n,!1);else{var o=0;t.forEach((function(e){i(o,e.start,!1),i(e.start,e.end,!0),o=e.end})),i(o,n,!1)}return r};function o(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,d=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&p())}function p(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(t){var r=n(7),i=n(8),o=n(9),a=n(10),s=n(11),u=n(12);e.exports=function(e,n){var c="function"==typeof Symbol&&Symbol.iterator,l="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(r.thatReturnsNull),arrayOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<a.length;u++){var c=e(a,u,r,i,o+"["+u+"]",s);if(c instanceof Error)return c}return null}))},element:h((function(t,n,r,i,o){var a=t[n];return e(a)?null:new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(e){return h((function(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||l;return new p("Invalid "+i+" `"+o+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:l)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,i){return g(e[t])?null:new p("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],u=v(a);if("object"!==u)return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in a)if(a.hasOwnProperty(c)){var l=e(a,c,r,i,o+"."+c,s);if(l instanceof Error)return l}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(f(a,e[s]))return null;return new p("Invalid "+i+" `"+o+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var n=0;n<e.length;n++){var i=e[n];if("function"!=typeof i)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(i),n),r.thatReturnsNull}return h((function(t,n,r,i,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,i,o,s))return null;return new p("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return h((function(t,n,r,i,o){var a=t[n],u=v(a);if("object"!==u)return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var l=e[c];if(l){var d=l(a,c,r,i,o+"."+c,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,r,i,o){var u=t[n],c=v(u);if("object"!==c)return new p("Invalid "+i+" `"+o+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var l=a({},t[n],e);for(var d in l){var f=e[d];if(!f)return new p("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(u,d,r,i,o+"."+d,s);if(h)return h}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){this.message=e,this.stack=""}function h(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function u(u,c,d,f,h,m,g){if(f=f||l,m=m||d,g!==s)if(n)i(!1,"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");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=f+":"+d;!r[v]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,f),r[v]=!0,a++)}return null==c[d]?u?null===c[d]?new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `null`."):new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,d,f,h,m)}var c=u.bind(null,!1);return c.isRequired=u.bind(null,!0),c}function m(e){return h((function(t,n,r,i,o,a){var s=t[n];return v(s)!==e?new p("Invalid "+i+" `"+o+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,i=n.call(t);if(n!==t.entries){for(;!(r=i.next()).done;)if(!g(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=u,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,r,i,o,a,s,u){if(n(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,i,o,a,s,u],d=0;(c=new Error(t.replace(/%s/g,(function(){return l[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}}).call(t,n(5))},function(e,t,n){(function(t){var r=n(7);if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};r=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=r}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,s,u=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(u[l]=a[l]);if(n){s=n(a);for(var d=0;d<s.length;d++)i.call(a,s[d])&&(u[s[d]]=a[s[d]])}}return u}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var r=n(8),i=n(9),o=n(11),a={};e.exports=function(e,n,s,u,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var d;try{r("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",u||"React class",s,l,typeof e[l]),d=e[l](n,l,u,s,null,o)}catch(e){d=e}if(i(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",s,l,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var f=c?c():"";i(!1,"Failed %s type: %s%s",s,d.message,null!=f?f:"")}}}}).call(t,n(5))},function(e,t,n){var r=n(7),i=n(8),o=n(11);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"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")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){e.exports=o},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,i=[],o=void 0,a=!1,s=function(e,n){return t(e,i[n])},u=function(){for(var t=arguments.length,n=Array(t),u=0;u<t;u++)n[u]=arguments[u];return a&&r===this&&n.length===i.length&&n.every(s)?o:(a=!0,r=this,i=n,o=e.apply(this,n))};return u}}])),HFe={exports:{}},WFe=(HFe.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:G(e)}function r(e){return s(e)?e:Y(e)}function i(e){return u(e)?e:Q(e)}function o(e){return a(e)&&!c(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function S(e){e&&(e.value=!0)}function k(){}function C(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function E(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function I(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function O(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function N(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var P=0,M=1,j=2,R="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",F=R||L;function z(e){this.next=e}function B(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function U(){return{value:void 0,done:!0}}function q(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function K(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(R&&e[R]||e[L]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function G(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=P,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[F]=function(){return this},t(G,n),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(e,t){return de(this,e,t,!0)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,G),Y.prototype.toKeyedSeq=function(){return this},t(Q,G),Q.of=function(){return Q(arguments)},Q.prototype.toIndexedSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq [","]")},Q.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Q.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t($,G),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},G.isSeq=oe,G.Keyed=Y,G.Set=$,G.Indexed=Q;var J,Z,X,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return J||(J=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new ie(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return W(e)?new te(e):V(e)?new ie(e):q(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new z((function(){var e=i[n?o-a:a];return a++>o?U():B(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Q(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Q(e).map(me).toList():ge(e)?Y(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(X)return X;X=this}}function _e(){throw TypeError("Abstract")}function Se(){}function ke(){}function Ce(){}G.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[I(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new z((function(){return i>r?U():B(e,i,n[t?r-i++:i++])}))},t(ne,Y),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new z((function(){var a=r[t?i-o:o];return o++>i?U():B(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(V(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!V(n))return new z(U);var r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value)}))},t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new z((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return B(e,i,r[i++])}))},t(be,Q),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new be(this._value,D(t,n)-N(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,r=0;return new z((function(){return r<n.size?B(e,r++,n._value):U()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,Q),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+I(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=N(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new z((function(){var a=i;return i+=t?-r:r,o>n?U():B(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Se,_e),t(ke,_e),t(Ce,_e),_e.Keyed=Se,_e.Indexed=ke,_e.Set=Ce;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ie(e){return e>>>1&1073741824|3221225471&e}function Oe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ie(n)}if("string"===t)return e.length>ze?Te(e):Ne(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Ne(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=qe[e];return void 0===t&&(t=Ne(e),Ue===Be&&(Ue=0,qe={}),Ue++,qe[e]=t),t}function Ne(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ie(t)}function De(e){var t;if(Re&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Pe){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),Re)je.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pe)Object.defineProperty(e,Fe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Ae=Object.isExtensible,Pe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Me(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var je,Re="function"==typeof WeakMap;Re&&(je=new WeakMap);var Le=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var ze=16,Be=255,Ue=0,qe={};function Ve(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?it():He(e)&&!l(e)?e:it().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ge])}t(Ke,Se),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return ot(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return ot(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},Ke.prototype.merge=function(){return ft(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return ft(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return qt(dn(this,e))},Ke.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ke.isMap=He;var We,Ge="@@__IMMUTABLE_MAP__@@",Ye=Ke.prototype;function Qe(e,t){this.ownerID=e,this.entries=t}function $e(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Je(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Xe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return B(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var i=Object.create(Ye);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return We||(We=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===b?e:(S(s),S(a),new Xe(t,r,[i,o]))}function st(e){return e.constructor===Xe||e.constructor===Ze}function ut(e,t,n,r,i){if(e.keyHash===r)return new Ze(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new $e(t,1<<a|1<<s,a===s?[ut(e,t,n+g,r,i)]:(o=new Xe(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Xe(e,Oe(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function lt(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new $e(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Je(e,o+1,a)}function ft(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],u=r(s);a(s)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return ve(t,i)?t:i}}function mt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var u=o.value,c=i?b:e.get(u,b),l=gt(c,t,n,r);return l===c?e:l===b?e.remove(u):(i?it():e).set(u,l)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var i=r?e:C(e);return i[t]=n,i}function bt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ye[Ge]=!0,Ye[m]=Ye.remove,Ye.removeIn=Ye.deleteIn,Qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Qe.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),!s||1!==u.length){if(!d&&!s&&u.length>=xt)return ct(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Qe(e,p)}},$e.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},$e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===b)return this;var d=vt(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=_t)return dt(e,f,c,s,h);if(l&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=l?h?c:c^u:c|u,w=l?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new $e(e,v,w)},Je.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Je.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=i===b,c=this.nodes,l=c[s];if(u&&!l)return this;var d=at(l,e,t+g,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<St)return lt(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Je(e,f,h)},Ze.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=i===b;if(n!==this.keyHash)return s?this:(S(a),S(o),ut(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),s&&2===l)return new Xe(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ze(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Xe.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,u=ve(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(S(a),s?void S(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Xe(e,this.keyHash,[r,i]):(S(o),ut(this,e,t,Oe(r),[r,i])))},Qe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},$e.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Xe.prototype.iterate=function(e,t){return e(this.entry)},t(et,z),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return U()};var xt=v/4,_t=v/2,St=v/4;function kt(e){var t=Mt();if(null==e)return t;if(Ct(e))return e;var n=i(e),r=n.size;return 0===r?t:(Ve(r),r>0&&r<v?Pt(0,r,g,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ct(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=I(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return jt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return zt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){zt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return zt(this,1)},kt.prototype.merge=function(){return Bt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},kt.prototype.setSize=function(e){return zt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:zt(this,N(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=At(this,t);return new z((function(){var t=r();return t===Dt?U():B(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=At(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=Ct;var Et="@@__IMMUTABLE_LIST__@@",It=kt.prototype;function Ot(e,t){this.array=e,this.ownerID=t}It[Et]=!0,It[m]=It.remove,It.setIn=Ye.setIn,It.deleteIn=It.removeIn=Ye.removeIn,It.update=Ye.update,It.updateIn=Ye.updateIn,It.mergeIn=Ye.mergeIn,It.mergeDeepIn=Ye.mergeDeepIn,It.withMutations=Ye.withMutations,It.asMutable=Ye.asMutable,It.asImmutable=Ye.asImmutable,It.wasAltered=Ye.wasAltered,Ot.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new Ot([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ot.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Nt,Dt={};function At(e,t){var n=e._origin,r=e._capacity,i=Ut(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(u===c)return Dt;var e=t?--c:u++;return s&&s[e]}}function u(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>v&&(l=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===l)return Dt;var n=t?--l:c++;s=a(u&&u[n],i-g,o+(n<<i))}}}}function Pt(e,t,n,r,i,o,a){var s=Object.create(It);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Tt||(Tt=Pt(0,0,g))}function jt(e,t,n){if((t=I(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=_(x);return t>=Ut(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,o):i=Rt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Pt(e._origin,e._capacity,e._level,i,r):e}function Rt(e,t,n,r,i,o){var a,s=r>>>n&y,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=Rt(c,t,n-g,r,i,o);return l===c?e:((a=Lt(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(S(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new Ot(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=g);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=Ut(o),f=Ut(s);f>=1<<u+g;)c=new Ot(c&&c.array.length?[c]:[],r),u+=g;var p=e._tail,h=f<d?Ft(e,s-1):f>d?new Ot([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=u;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var w=a>>>u&y;if(w!==f>>>u&y)break;w&&(l+=(1<<u)*w),u-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Pt(a,s,u,c,h)}function Bt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var u=n[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Ut(e){return e<v?0:e-1>>>g<<g}function qt(e){return null==e?Ht():Vt(e)?e:Ht().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Vt(e){return He(e)&&l(e)}function Kt(e,t,n,r){var i=Object.create(qt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ht(){return Nt||(Nt=Kt(it(),Mt()))}function Wt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===b){if(!u)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Kt(r,i)}function Gt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function $t(e){this._iter=e,this.size=e.size}function Jt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var r=e.__iterator(t,n);return new z((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?P:M,n)},t}function Zt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(j,i);return new z((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return B(r,s,t.call(n,a[1],s,e),i)}))},r}function Xt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Jt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(j,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(t.call(n,l,c,e))return B(i,r?c:s++,l,o)}}))},i}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(l(e)?qt():Ke()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=yn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),T(t,n,i))return e;var o=N(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=I(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new z((function(){for(;a++<o;)i.next();if(++u>s)return U();var e=i.next();return r||t===M?e:B(t,u-1,t===P?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(j,i),s=!0;return new z((function(){if(!s)return U();var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?r===j?e:B(r,u,c,e):(s=!1,U())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(j,o),u=!0,c=0;return new z((function(){var e,o,l;do{if((e=s.next()).done)return r||i===M?e:B(i,c++,i===P?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return i===j?e:B(i,o,l,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||u(e)&&u(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?u(e,c+1):!1===r(e,n?i:o++,l)&&(s=!0),!s}),i)}return u(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],u=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===j&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:B(r,u++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return U()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(M,r),a=0;return new z((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?B(n,a++,t):B(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Y(o):u(e)?Q(o):$(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=bn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),K(i?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?U():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ve(e.size),E(e)}function yn(e){return s(e)?r:u(e)?i:o}function bn(e){return Object.create((s(e)?Y:u(e)?Q:$).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function Sn(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);In(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Ke(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(qt,Ke),qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ht()},qt.prototype.set=function(e,t){return Wt(this,e,t)},qt.prototype.remove=function(e){return Wt(this,e,b)},qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Vt,qt.prototype[h]=!0,qt.prototype[m]=qt.prototype.remove,t(Gt,Y),Gt.prototype.get=function(e,t){return this._iter.get(e,t)},Gt.prototype.has=function(e){return this._iter.has(e)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Gt.prototype.map=function(e,t){var n=this,r=Zt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Gt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Gt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),r=t?vn(this):0;return new z((function(){var i=n.next();return i.done?i:B(e,t?--r:r++,i.value,i)}))},Gt.prototype[h]=!0,t(Yt,Q),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value,t)}))},t(Qt,$),Qt.prototype.has=function(e){return this._iter.includes(e)},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){var t=n.next();return t.done?t:B(e,t.value,t.value,t)}))},t($t,Y),$t.prototype.entrySeq=function(){return this._iter.toSeq()},$t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},$t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return B(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Yt.prototype.cacheResult=Gt.prototype.cacheResult=Qt.prototype.cacheResult=$t.prototype.cacheResult=wn,t(Sn,Se),Sn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},Sn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Sn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Cn(this,it()))},Sn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Cn(this,n)},Sn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Cn(this,t)},Sn.prototype.wasAltered=function(){return this._map.wasAltered()},Sn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Sn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Sn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Cn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=Sn.prototype;function Cn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function En(e){return e._name||e.constructor.name||"Record"}function In(e,t){try{t.forEach(On.bind(void 0,e))}catch(e){}}function On(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?Rn():Nn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ye.removeIn,kn.merge=Ye.merge,kn.mergeWith=Ye.mergeWith,kn.mergeIn=Ye.mergeIn,kn.mergeDeep=Ye.mergeDeep,kn.mergeDeepWith=Ye.mergeDeepWith,kn.mergeDeepIn=Ye.mergeDeepIn,kn.setIn=Ye.setIn,kn.update=Ye.update,kn.updateIn=Ye.updateIn,kn.withMutations=Ye.withMutations,kn.asMutable=Ye.asMutable,kn.asImmutable=Ye.asImmutable,t(Tn,Ce),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Mn(this,this._map.clear())},Tn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Tn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Tn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Tn.isSet=Nn;var Dn,An="@@__IMMUTABLE_SET__@@",Pn=Tn.prototype;function Mn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function jn(e,t){var n=Object.create(Pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Dn||(Dn=jn(it()))}function Ln(e){return null==e?qn():Fn(e)?e:qn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Nn(e)&&l(e)}Pn[An]=!0,Pn[m]=Pn.remove,Pn.mergeDeep=Pn.merge,Pn.mergeDeepWith=Pn.mergeWith,Pn.withMutations=Ye.withMutations,Pn.asMutable=Ye.asMutable,Pn.asImmutable=Ye.asImmutable,Pn.__empty=Rn,Pn.__make=jn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=Fn;var zn,Bn=Ln.prototype;function Un(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qn(){return zn||(zn=Un(Ht()))}function Vn(e){return null==e?Qn():Kn(e)?e:Qn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Un,t(Vn,ke),Vn.of=function(){return this(arguments)},Vn.prototype.toString=function(){return this.__toString("Stack [","]")},Vn.prototype.get=function(e,t){var n=this._head;for(e=I(this,e);n&&e--;)n=n.next;return n?n.value:t},Vn.prototype.peek=function(){return this._head&&this._head.value},Vn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yn(e,t)},Vn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Ve(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yn(t,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.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):Qn()},Vn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=N(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yn(r,i)},Vn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new z((function(){if(r){var t=r.value;return r=r.next,B(e,n++,t)}return U()}))},Vn.isStack=Kn;var Hn,Wn="@@__IMMUTABLE_STACK__@@",Gn=Vn.prototype;function Yn(e,t,n,r){var i=Object.create(Gn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qn(){return Hn||(Hn=Yn(0))}function $n(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Gn[Wn]=!0,Gn.withMutations=Ye.withMutations,Gn.asMutable=Ye.asMutable,Gn.asImmutable=Ye.asImmutable,Gn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){Ve(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Gt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(P)},map:function(e,t){return mn(this,Zt(this,e,t))},reduce:function(e,t,n){var r,i;return Ve(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Xt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(O)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(this,e,!0))},fromEntrySeq:function(){return new $t(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Xn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(this,t?nr(t):or,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Jn=n.prototype;Jn[d]=!0,Jn[F]=Jn.values,Jn.__toJS=Jn.toArray,Jn.__toStringMapper=rr,Jn.inspect=Jn.toSource=function(){return this.toString()},Jn.chain=Jn.flatMap,Jn.contains=Jn.includes,function(){try{Object.defineProperty(Jn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.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. "+e),this.size}}})}catch(e){}}(),$n(r,{flip:function(){return mn(this,Jt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Zn=r.prototype;function Xn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return C(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(Oe(e),Oe(t))|0}:function(e,t){r=r+ur(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}function sr(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ie((t=Ee(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[f]=!0,Zn[F]=Jn.entries,Zn.__toJS=Jn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},$n(i,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Xt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=N(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=I(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=I(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,ln(this,e))},interleave:function(){var e=[this].concat(C(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(C(arguments))))},zipWith:function(e){var t=C(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!0,$n(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Jn.includes,$n(Y,r.prototype),$n(Q,i.prototype),$n($,o.prototype),$n(Se,r.prototype),$n(ke,i.prototype),$n(Ce,o.prototype),{Iterable:n,Seq:G,Collection:_e,Map:Ke,OrderedMap:qt,List:kt,Stack:Vn,Set:Tn,OrderedSet:Ln,Record:Sn,Range:xe,Repeat:be,is:ve,fromJS:pe}}()).OrderedMap,GFe={createFromArray:function(e){return WFe(e.map((function(e){return[e.getKey(),e]})))}},YFe=GFe;var QFe=HFe.exports,$Fe=QFe.Map,JFe=QFe.OrderedSet,ZFe=QFe.Record,XFe=JFe(),eze={style:XFe,entity:null},tze=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(e){return this.getStyle().includes(e)},r.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return r.create(n)},r.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return r.create(n)},r.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return r.create(n)},r.create=function(e){if(!e)return nze;var t=$Fe({style:XFe,entity:null}).merge(e),n=rze.get(t);if(n)return n;var i=new r(t);return rze=rze.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?JFe(t):t,entity:Array.isArray(n)?JFe(n):n})},r}(ZFe(eze)),nze=new tze,rze=$Fe([[$Fe(eze),nze]]);tze.EMPTY=nze;var ize=tze;var oze=function(e,t,n,r){if(e.size){var i=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&r(i,a),i=a),o})),n(e.last())&&r(i,e.count())}};var aze=ize,sze=oze,uze=HFe.exports,cze=uze.List,lze=uze.Map,dze=uze.OrderedSet,fze=uze.Record,pze=uze.Repeat,hze=dze(),mze=fze({key:"",type:"unstyled",text:"",characterList:cze(),depth:0,data:lze()}),gze=function(e){var t,n;function r(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=cze(pze(aze.EMPTY,n.length))),e}(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():hze},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){sze(this.getCharacterList(),vze,e,t)},i.findEntityRanges=function(e,t){sze(this.getCharacterList(),yze,e,t)},r}(mze);function vze(e,t){return e.getStyle()===t.getStyle()}function yze(e,t){return e.getEntity()===t.getEntity()}var bze=gze;var wze=ize,xze=oze,_ze=HFe.exports,Sze=_ze.List,kze=_ze.Map,Cze=_ze.OrderedSet,Eze=_ze.Record,Ize=_ze.Repeat,Oze=Cze(),Tze={parent:null,characterList:Sze(),data:kze(),depth:0,key:"",text:"",type:"unstyled",children:Sze(),prevSibling:null,nextSibling:null},Nze=function(e,t){return e.getStyle()===t.getStyle()},Dze=function(e,t){return e.getEntity()===t.getEntity()},Aze=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Sze(Ize(wze.EMPTY,n.length))),e},Pze=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tze;return e.call(this,Aze(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Oze},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(e,t){xze(this.getCharacterList(),Nze,e,t)},i.findEntityRanges=function(e,t){xze(this.getCharacterList(),Dze,e,t)},r}(Eze(Tze)),Mze=Pze,jze=ize,Rze=HFe.exports.Map;function Lze(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),u=t.getEndOffset(),c=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(Rze([[s,i.get(s)]])).map((function(e,t){var i,c;o===s?(i=a,c=u):(i=t===o?a:0,c=t===s?u:e.getLength());for(var l,d=e.getCharacterList();i<c;)l=d.get(i),d=d.set(i,r?jze.applyStyle(l,n):jze.removeStyle(l,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var Fze={add:function(e,t,n){return Lze(e,t,n,!0)},remove:function(e,t,n){return Lze(e,t,n,!1)}},zze=ize;var Bze=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,zze.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},Uze=HFe.exports;var qze=function(e,t,n){var r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(Uze.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,u=t===a?s:e.getLength();return Bze(e,r,u,n)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})},Vze={getRemovalRange:function(e,t,n,r,i){var o=n.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=r,u=null,c=null,l=0;l<o.length;l++){if(e<(a=s+o[l].length)&&s<t)null!==u||(u=s),c=a;else if(null!==u)break;s=a}var d=r+n.length,f=u===r,p=c===d;return(!f&&p||f&&!p)&&("forward"===i?c!==d&&c++:u!==r&&u--),{start:u,end:c}}},Kze="production"!==Cs.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var Hze=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(Kze(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(r[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},Wze=Hze;var Gze=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||("production"!==Cs.env.NODE_ENV?Wze(!1,"Entity key not found in this range."):Wze(!1)),n},Yze=Vze,Qze=Gze,$ze=Hze;function Jze(e,t,n,r,i,o,a){var s=n.getStartOffset(),u=n.getEndOffset(),c=e.__get(i).getMutability(),l=a?s:u;if("MUTABLE"===c)return n;var d=Qze(t,i).filter((function(e){return l<=e.end&&l>=e.start}));1!=d.length&&("production"!==Cs.env.NODE_ENV?$ze(!1,"There should only be one entity range within this removal range."):$ze(!1));var f=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});o||(a?u=f.end:s=f.start);var p=Yze.getRemovalRange(s,u,t.getText().slice(f.start,f.end),f.start,r);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var Zze=function(e,t,n,r,i){var o=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(o),u=n.getEntityAt(a-1);if(!s&&!u)return r;var c=r;if(s&&s===u)c=Jze(e,t,c,i,s,!0,!0);else if(s&&u){var l=Jze(e,t,c,i,s,!1,!0),d=Jze(e,n,c,i,u,!1,!1);c=c.merge({anchorOffset:l.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=Jze(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(u){var p=Jze(e,n,c,i,u,!1,!1);c=c.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return c},Xze={},eBe=Math.pow(2,24);var tBe=function(){for(var e;void 0===e||Xze.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*eBe).toString(32);return Xze[e]=!0,e},nBe=Mze,rBe=tBe,iBe=HFe.exports.OrderedMap,oBe=function(e){return e.first()instanceof nBe?function(e){var t,n={};return iBe(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),u=r.getChildKeys(),c=r.getParentKey(),l=rBe();if(n[o]=l,a&&(e.get(a)?e.setIn([a,"prevSibling"],l):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],l):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(r.getKey()),l))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],l),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);u.forEach((function(t){e.get(t)?e.setIn([t,"parent"],l):e.setIn([o,"children"],r.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return iBe(e.toArray().map((function(e){var t=rBe();return[t,e.set("key",t)]})))}(e)},aBe=ize,sBe=oze,uBe=Hze;function cBe(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,o=n<r.count()?r.get(n):void 0,a=i?i.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var u,c=function(e,t,n){var r;return sBe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!=typeof r&&("production"!==Cs.env.NODE_ENV?uBe(!1,"Removal range must exist within character list."):uBe(!1)),r}(r,s,n),l=c.start,d=c.end;l<d;)u=r.get(l),r=r.set(l,aBe.applyEntity(u,null)),l++;return t.set("characterList",r)}return t}var lBe=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),u=cBe(r,s,a);u!==s&&(i[o]=u);var c=t.getEndKey(),l=t.getEndOffset(),d=n.get(c);o===c&&(d=u);var f=cBe(r,d,l);return f!==d&&(i[c]=f),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},dBe=oBe,fBe=lBe,pBe=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=fBe(e,t).getBlockMap(),s=a.keySeq(),u=s.indexOf(n),c=s.indexOf(i)+1;return dBe(a.slice(u,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===i?e.merge({text:a.slice(r,o),characterList:s.slice(r,o)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===i?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var hBe=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var i=r.slice(0,n),o=r.slice(n);r=i.concat(t,o).toList()}return r},mBe=YFe,gBe=Mze,vBe=hBe,yBe=Hze,bBe=oBe,wBe=HFe.exports.List,xBe=function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(i),u=s.getText(),c=s.getCharacterList(),l=i,d=o+r.getText().length,f=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var p=s.getType();u&&"unstyled"===p&&(p=r.getType());var h=s.merge({text:u.slice(0,o)+r.getText()+u.slice(o),characterList:vBe(c,r.getCharacterList(),o),type:p,data:f});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:l,anchorOffset:d,focusKey:l,focusOffset:d,isBackward:!1})})},_Be=function(e,t,n,r,i,o){var a=n.first()instanceof gBe,s=[],u=r.size,c=n.get(i),l=r.first(),d=r.last(),f=d.getLength(),p=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!l.getChildKeys().isEmpty());n.forEach((function(e,t){t===i?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.slice(0,t),a=i.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,r)),r.slice(h?0:1,u-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.length,a=r.slice(t,o),s=i.slice(t,o),u=n.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(e,o,r))):s.push(e)}));var m=mBe.createFromArray(s);return a&&(m=function(e,t,n,r){return e.withMutations((function(t){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),u=function(e,t){var n=e.getKey(),r=e,i=[];for(t.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=t.get(o)}return i}(r,e),c=u[u.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),u.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var l=e.get(s).getChildKeys(),d=l.indexOf(i)+1,f=l.toArray();f.splice.apply(f,[d,0].concat(u)),t.setIn([s,"children"],wBe(f))}}))}(m,0,c,l)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},SBe=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Cs.env.NODE_ENV?yBe(!1,"`insertFragment` should only be called with a collapsed selection state."):yBe(!1));var i=e.getBlockMap(),o=bBe(n),a=t.getStartKey(),s=t.getStartOffset(),u=i.get(a);return u instanceof gBe&&(u.getChildKeys().isEmpty()||("production"!==Cs.env.NODE_ENV?yBe(!1,"`insertFragment` should not be called when a container node is selected."):yBe(!1))),1===o.size?xBe(e,t,i,o.first(),a,s,r):_Be(e,t,i,o,a,s)},kBe=hBe,CBe=Hze,EBe=HFe.exports.Repeat;var IBe=function(e,t,n,r){t.isCollapsed()||("production"!==Cs.env.NODE_ENV?CBe(!1,"`insertText` should only be called with a collapsed range."):CBe(!1));var i=null;if(null!=n&&(i=n.length),null==i||0===i)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),u=o.get(a),c=u.getText(),l=u.merge({text:c.slice(0,s)+n+c.slice(s,u.getLength()),characterList:kBe(u.getCharacterList(),EBe(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,l),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},OBe=HFe.exports.Map;var TBe=function(e,t,n){var r=t.getStartKey(),i=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===i})).concat(OBe([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},NBe=Mze,DBe=function(e,t){if(!(e instanceof NBe))return null;var n=e.getNextSiblingKey();if(n)return n;var r=e.getParentKey();if(!r)return null;for(var i=t.get(r);i&&!i.getNextSiblingKey();){var o=i.getParentKey();i=o?t.get(o):null}return i?i.getNextSiblingKey():null},ABe=Mze,PBe=DBe,MBe=HFe.exports;MBe.List;var jBe=MBe.Map,RBe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},LBe=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var i=r.getParentKey();i&&n.push(i),r=i?t.get(i):null}return n},FBe=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},zBe=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},BBe=function(e,t,n,r){return e.withMutations((function(i){if(RBe(t.getKey(),i,(function(e){return e.merge({nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})})),RBe(n.getKey(),i,(function(e){return e.merge({nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})})),LBe(t.getKey(),r).forEach((function(e){return RBe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})}))})),RBe(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),RBe(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:FBe(e,i,r)})})),RBe(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:zBe(e,i,r)})})),RBe(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),LBe(n.getKey(),r).forEach((function(e){RBe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=PBe(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?PBe(i,t):null}return n}(n,r).forEach((function(e){return RBe(e,i,(function(e){return e.merge({nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();RBe(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),RBe(o,i,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){RBe(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var u=e.get(s);RBe(s,i,(function(e){return e.merge({children:u.getChildKeys().concat(t.getChildKeys())})}))}RBe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},UBe=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var r=e.slice(0,t),i=e.slice(n);e=r.concat(i).toList()}return e},qBe=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=r.get(i),c=r.get(a),l=u instanceof ABe,d=[];if(l){var f=c.getChildKeys(),p=LBe(a,r);c.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(LBe(PBe(c,r),r))}n=u===c?UBe(u.getCharacterList(),o,s):u.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=u.merge({text:u.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=l&&0===o&&0===s&&c.getParentKey()===i&&null==c.getPrevSiblingKey()?jBe([[i,null]]):r.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(jBe([[a,null]])).map((function(e,t){return t===i?h:null})),g=r.merge(m).filter((function(e){return!!e}));return l&&u!==c&&(g=BBe(g,u,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},VBe=Mze,KBe=tBe,HBe=HFe.exports,WBe=Hze,GBe=TBe,YBe=HBe.List,QBe=HBe.Map,$Be=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},JBe=function(e,t){t.isCollapsed()||("production"!==Cs.env.NODE_ENV?WBe(!1,"Selection range must be collapsed."):WBe(!1));var n=t.getAnchorKey(),r=e.getBlockMap(),i=r.get(n),o=i.getText();if(!o){var a=i.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return GBe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),u=i.getCharacterList(),c=KBe(),l=i instanceof VBe,d=i.merge({text:o.slice(0,s),characterList:u.slice(0,s)}),f=d.merge({key:c,text:o.slice(s),characterList:u.slice(s),data:QBe()}),p=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=p.concat([[n,d],[c,f]],h).toOrderedMap();return l&&(i.getChildKeys().isEmpty()||("production"!==Cs.env.NODE_ENV?WBe(!1,"ContentBlockNode must not have children"):WBe(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();$Be(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,o=t.toArray();return o.splice(n,0,i),e.merge({children:YBe(o)})})),$Be(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),$Be(r,e,(function(e){return e.merge({nextSibling:i})})),$Be(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,f)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},ZBe=ize,XBe=Fze,eUe=qze,tUe=Zze,nUe=pBe,rUe=SBe,iUe=IBe,oUe=Hze,aUe=TBe,sUe=lBe,uUe=qBe,cUe=JBe,lUe=HFe.exports.OrderedSet,dUe={replaceText:function(e,t,n,r,i){var o=sUe(e,t),a=uUe(o,t),s=ZBe.create({style:r||lUe(),entity:i||null});return iUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Cs.env.NODE_ENV?oUe(!1,"Target range must be collapsed for `insertText`."):oUe(!1)),dUe.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=nUe(e,t),i=dUe.removeRange(e,t,"backward");return dUe.replaceWithFragment(i,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=sUe(e,t),o=uUe(i,t);return rUe(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,i,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(r),a=e.getBlockForKey(i);var s=t.getStartOffset(),u=t.getEndOffset(),c=o.getEntityAt(s),l=a.getEntityAt(u-1);if(r===i&&c&&c===l){var d=tUe(e.getEntityMap(),o,a,t,n);return uUe(e,d)}var f=sUe(e,t);return uUe(f,t)},splitBlock:function(e,t){var n=sUe(e,t),r=uUe(n,t);return cUe(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return XBe.add(e,t,n)},removeInlineStyle:function(e,t,n){return XBe.remove(e,t,n)},setBlockType:function(e,t,n){return aUe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return aUe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return aUe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=sUe(e,t);return eUe(r,t,n)}},fUe=dUe;var pUe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function hUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mUe=oze,gUe=pUe,vUe=HFe.exports,yUe=vUe.List,bUe=vUe.Repeat,wUe=vUe.Record,xUe=function(){return!0},_Ue=wUe({start:null,end:null}),SUe=wUe({start:null,end:null,decoratorKey:null,leaves:null}),kUe={generate:function(e,t,n){var r=t.getLength();if(!r)return yUe.of(new SUe({start:0,end:0,decoratorKey:null,leaves:yUe.of(new _Ue({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):yUe(bUe(null,r)),a=t.getCharacterList();return mUe(o,EUe,xUe,(function(e,t){i.push(new SUe({start:e,end:t,decoratorKey:o.get(e),leaves:CUe(a.slice(e,t).toList(),e)}))})),yUe(i)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["leaves"]);return new SUe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){hUe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?yUe(Array.isArray(t)?t:gUe(t)).map((function(e){return _Ue(e)})):null}))}};function CUe(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return mUe(r,EUe,xUe,(function(e,r){n.push(new _Ue({start:e+t,end:r+t}))})),yUe(n)}function EUe(e,t){return e===t}var IUe=kUe;var OUe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}((0,HFe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),TUe=OUe;var NUe=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))};function DUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var AUe=TUe,PUe=Hze,MUe=NUe,jUe=(0,HFe.exports.Map)(),RUe=MUe();function LUe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var FUe={getLastCreatedEntityKey:function(){return LUe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),FUe.__getLastCreatedEntityKey()},create:function(e,t,n){return LUe("DraftEntity.create","contentState.createEntity"),FUe.__create(e,t,n)},add:function(e){return LUe("DraftEntity.add","contentState.addEntity"),FUe.__add(e)},get:function(e){return LUe("DraftEntity.get","contentState.getEntity"),FUe.__get(e)},__getAll:function(){return jUe},__loadWithEntities:function(e){jUe=e,RUe=MUe()},mergeData:function(e,t){return LUe("DraftEntity.mergeData","contentState.mergeEntityData"),FUe.__mergeData(e,t)},replaceData:function(e,t){return LUe("DraftEntity.replaceData","contentState.replaceEntityData"),FUe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return RUe},__create:function(e,t,n){return FUe.__add(new AUe({type:e,mutability:t,data:n||{}}))},__add:function(e){return RUe=MUe(),jUe=jUe.set(RUe,e),RUe},__get:function(e){var t=jUe.get(e);return t||("production"!==Cs.env.NODE_ENV?PUe(!1,"Unknown DraftEntity key: %s.",e):PUe(!1)),t},__mergeData:function(e,t){var n=FUe.__get(e),r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){DUe(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return jUe=jUe.set(e,i),i},__replaceData:function(e,t){var n=FUe.__get(e).set("data",t);return jUe=jUe.set(e,n),n}},zUe=FUe;var BUe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),i=this.getFocusKey();if(r===i&&r===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==r&&e!==i)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,HFe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),UUe=BUe,qUe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},VUe=new RegExp("\r","g");var KUe=function(e){return e.replace(VUe,"")};function HUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){WUe(e,t,n[t])}))}return e}function WUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GUe=YFe,YUe=ize,QUe=bze,$Ue=Mze,JUe=zUe,ZUe=UUe,XUe=tBe,eqe=pUe,tqe=qUe,nqe=HFe.exports,rqe=KUe,iqe=nqe.List,oqe=nqe.Record,aqe=nqe.Repeat,sqe=nqe.Map,uqe=nqe.OrderedMap,cqe=oqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),lqe=tqe("draft_tree_data_support")?$Ue:QUe,dqe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getEntityMap=function(){return JUe},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(e){return this.getBlockMap().get(e)},i.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},i.getLastCreatedEntityKey=function(){return JUe.__getLastCreatedEntityKey()},i.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(e,t,n){return JUe.__create(e,t,n),this},i.mergeEntityData=function(e,t){return JUe.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return JUe.__replaceData(e,t),this},i.addEntity=function(e){return JUe.__add(e),this},i.getEntity=function(e){return JUe.__get(e)},i.getAllEntities=function(){return JUe.__getAll()},i.loadWithEntities=function(e){return JUe.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=GUe.createFromArray(n),o=i.isEmpty()?new ZUe:ZUe.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||JUe,selectionBefore:o,selectionAfter:o})},r.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),i=n.map((function(e){return e=rqe(e),new lqe({key:XUe(),text:e,type:"unstyled",characterList:iqe(aqe(YUe.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(HUe({},e,{blockMap:uqe(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new ZUe(e.selectionBefore),selectionAfter:new ZUe(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new lqe(HUe({},e,{data:sqe(e.data),characterList:null!=t?iqe((Array.isArray(t)?t:eqe(t)).map((function(e){return YUe.fromJS(e)}))):void 0}))},r}(cqe),fqe=dqe,pqe=Hze,hqe=null;function mqe(e){return"LTR"===e||"RTL"===e}function gqe(e){return mqe(e)||("production"!==Cs.env.NODE_ENV?pqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):pqe(!1)),"LTR"===e?"ltr":"rtl"}function vqe(e){hqe=e}var yqe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:mqe,getHTMLDir:gqe,getHTMLDirIfDifferent:function(e,t){return mqe(e)||("production"!==Cs.env.NODE_ENV?pqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):pqe(!1)),mqe(t)||("production"!==Cs.env.NODE_ENV?pqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):pqe(!1)),e===t?null:gqe(e)},setGlobalDir:vqe,initGlobalDir:function(){vqe("LTR")},getGlobalDir:function(){return hqe||this.initGlobalDir(),hqe||("production"!==Cs.env.NODE_ENV?pqe(!1,"Global direction not set."):pqe(!1)),hqe}},bqe=yqe,wqe=Hze,xqe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",_qe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",Sqe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+xqe+_qe+"]"),kqe=new RegExp("["+xqe+_qe+"]");function Cqe(e){var t=Sqe.exec(e);return null==t?null:t[0]}function Eqe(e){var t=Cqe(e);return null==t?bqe.NEUTRAL:kqe.exec(t)?bqe.RTL:bqe.LTR}function Iqe(e,t){if(t=t||bqe.NEUTRAL,!e.length)return t;var n=Eqe(e);return n===bqe.NEUTRAL?t:n}function Oqe(e,t){return t||(t=bqe.getGlobalDir()),bqe.isStrong(t)||("production"!==Cs.env.NODE_ENV?wqe(!1,"Fallback direction must be a strong direction"):wqe(!1)),Iqe(e,t)}var Tqe={firstStrongChar:Cqe,firstStrongCharDir:Eqe,resolveBlockDir:Iqe,getDirection:Oqe,isDirectionLTR:function(e,t){return Oqe(e,t)===bqe.LTR},isDirectionRTL:function(e,t){return Oqe(e,t)===bqe.RTL}};function Nqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dqe,Aqe=Tqe,Pqe=yqe,Mqe=Hze,jqe=function(){function e(e){Nqe(this,"_defaultDir",void 0),Nqe(this,"_lastDir",void 0),e?Pqe.isStrong(e)||("production"!==Cs.env.NODE_ENV?Mqe(!1,"Default direction must be a strong direction (LTR or RTL)"):Mqe(!1)):e=Pqe.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=Aqe.getDirection(e,this._lastDir),this._lastDir},e}(),Rqe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Lqe=jqe,Fqe=HFe.exports,zqe=Rqe,Bqe=Fqe.OrderedMap,Uqe={getDirectionMap:function(e,t){Dqe?Dqe.reset():Dqe=new Lqe;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return zqe(Dqe).getDirection(e.getText())})),i=Bqe(n.keySeq().zip(r));return null!=t&&Fqe.is(t,i)?t:i}};function qqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Vqe(e,t,n[t])}))}return e}function Vqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kqe=IUe,Hqe=fqe,Wqe=Uqe,Gqe=UUe,Yqe=HFe.exports,Qqe=Yqe.OrderedSet,$qe=Yqe.Record,Jqe=Yqe.Stack,Zqe=Yqe.OrderedMap,Xqe=Yqe.List,eVe=$qe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:Jqe(),selection:null,treeMap:null,undoStack:Jqe()}),tVe=function(){t.createEmpty=function(e){return t.createWithContent(Hqe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:Jqe(),redoStack:Jqe(),decorator:n||null,selection:Gqe.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=qqe({},e,{treeMap:rVe(n,e.decorator),directionMap:Wqe.getDirectionMap(n)});return new t(new eVe(r))},t.fromJS=function(e){return new t(new eVe(qqe({},e,{directionMap:null!=e.directionMap?Zqe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?Qqe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?Hqe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?Jqe(e.redoStack.map((function(e){return Hqe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new Gqe(e.selection):e.selection,treeMap:null!=e.treeMap?Zqe(e.treeMap).map((function(e){return Xqe(e).map((function(e){return Kqe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?Jqe(e.undoStack.map((function(e){return Hqe.fromJS(e)}))):e.undoStack,currentContent:Hqe.fromJS(e.currentContent)})))},t.set=function(e,n){var r=e.getImmutable().withMutations((function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var o=n.currentContent||e.getCurrentContent();if(i!==r){var a,s=t.get("treeMap");return a=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return Kqe.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):rVe(o,i),void t.merge({decorator:i,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),o=i.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return Kqe.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){Vqe(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r>0)return i.getInlineStyleAt(r-1);if(i.getLength())return i.getInlineStyleAt(0);return oVe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r<i.getLength())return i.getInlineStyleAt(r);if(r>0)return i.getInlineStyleAt(r-1);return oVe(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return nVe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),nVe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new Gqe({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=Wqe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),u=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||iVe(e,r)?(u=u.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(c=c.set("selectionBefore",s.getSelectionBefore()));var l=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(l=null);var f={currentContent:c,directionMap:o,undoStack:u,redoStack:Jqe(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:l};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=Wqe.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=Wqe.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:e.getUndoStack().push(i),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function nVe(e,t,n){return tVe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function rVe(e,t){return e.getBlockMap().map((function(n){return Kqe.generate(e,n,t)})).toOrderedMap()}function iVe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function oVe(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):Qqe()}var aVe=tVe,sVe=Mze,uVe=DBe,cVe=HFe.exports,lVe=Hze,dVe=cVe.OrderedMap,fVe=cVe.List,pVe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},hVe=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),u=t.getParentKey(),c=t.getNextSiblingKey(),l=t.getPrevSiblingKey(),d=n.getParentKey(),f=o?n.getNextSiblingKey():s,p=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){pVe(u,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),pVe(l,e,(function(e){return e.merge({nextSibling:c})})),pVe(c,e,(function(e){return e.merge({prevSibling:l})})),pVe(f,e,(function(e){return e.merge({prevSibling:a})})),pVe(p,e,(function(e){return e.merge({nextSibling:a})})),pVe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=o?n+1:0!==n?n-1:0,i=t.toArray();return i.splice(r,0,a),e.merge({children:fVe(i)})})),pVe(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},mVe=function(e,t,n,r){"replace"===r&&("production"!==Cs.env.NODE_ENV?lVe(!1,"Replacing blocks is not supported."):lVe(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Cs.env.NODE_ENV?lVe(!1,"Block cannot be moved next to itself."):lVe(!1));var a=e.getBlockMap(),s=t instanceof sVe,u=[t],c=a.delete(o);s&&(u=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=uVe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),i=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(i||a||s)})).forEach((function(t){u.push(t),e.delete(t.getKey())}))})));var l=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),f=u.map((function(e){return[e.getKey(),e]})),p=dVe();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Cs.env.NODE_ENV?lVe(!1,"Block cannot be moved next to itself."):lVe(!1)),p=l.concat([].concat(f,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Cs.env.NODE_ENV?lVe(!1,"Block cannot be moved next to itself."):lVe(!1)),p=l.concat([[i,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:hVe(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function gVe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){vVe(e,t,n[t])}))}return e}function vVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yVe=YFe,bVe=ize,wVe=bze,xVe=Mze,_Ve=fUe,SVe=aVe,kVe=tBe,CVe=HFe.exports,EVe=mVe,IVe=qUe("draft_tree_data_support"),OVe=IVe?xVe:wVe,TVe=CVe.List,NVe=CVe.Repeat,DVe={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=_Ve.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=_Ve.splitBlock(o,a),u=s.getSelectionAfter(),c=_Ve.setBlockType(s,u,"atomic"),l=bVe.create({entity:t}),d={key:kVe(),type:"atomic",text:n,characterList:TVe(NVe(l,n.length))},f={key:kVe(),type:"unstyled"};IVe&&(d=gVe({},d,{nextSibling:f.key}),f=gVe({},f,{prevSibling:d.key}));var p=[new OVe(d),new OVe(f)],h=yVe.createFromArray(p),m=_Ve.replaceWithFragment(c,u,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return SVe.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=EVe(o,t,s,r)}else{var u=_Ve.removeRange(o,n,"backward"),c=u.getSelectionAfter(),l=u.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=EVe(u,t,l,"before");else if(c.getEndOffset()===l.getLength())i=EVe(u,t,l,"after");else{var d=_Ve.splitBlock(u,c),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());i=EVe(d,t,p,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return SVe.push(e,h,"move-block")}};var AVe=HFe.exports.List,PVe=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(r,i){var o=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var i=t;i<n;i++)e[i]=r}(n,e,t,i+"."+o),o++)}),t)})),AVe(n)},t.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},t.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();var MVe=PVe;function jVe(e){return e.replace(/\//g,"-")}var RVe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(jVe).join(" "):Array.prototype.map.call(arguments,jVe).join(" ")},LVe=o,FVe=RVe,zVe=(0,HFe.exports.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:LVe.createElement("ul",{className:FVe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:LVe.createElement("ol",{className:FVe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:LVe.createElement("pre",{className:FVe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),BVe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},UVe={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",u="model",c="name",l="type",d="vendor",f="version",p="architecture",h="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",w="Amazon",x="Apple",_="ASUS",S="BlackBerry",k="Firefox",C="Google",E="Huawei",I="LG",O="Microsoft",T="Motorola",N="Opera",D="Samsung",A="Sony",P="Xiaomi",M="Zebra",j="Facebook",R=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},L=function(e,t){return typeof e===s&&-1!==F(t).indexOf(F(e))},F=function(e){return e.toLowerCase()},z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},B=function(e,t){for(var n,o,s,u,c,l,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=o=0;n<f.length&&!c;)if(c=f[n++].exec(e))for(s=0;s<p.length;s++)l=c[++o],typeof(u=p[s])===a&&u.length>0?2===u.length?typeof u[1]==i?this[u[0]]=u[1].call(this,l):this[u[0]]=u[1]:3===u.length?typeof u[1]!==i||u[1].exec&&u[1].test?this[u[0]]=l?l.replace(u[1],u[2]):r:this[u[0]]=l?u[1].call(this,l,u[2]):r:4===u.length&&(this[u[0]]=l?u[3].call(this,l.replace(u[1],u[2])):r):this[u]=l||r;d+=2}},U=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(L(t[n][i],e))return"?"===n?r:n}else if(L(t[n],e))return"?"===n?r:n;return e},q={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"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,f],[/opios[\/ ]+([\w\.]+)/i],[f,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[c,N]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,j],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[f,U,{"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],[c,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[c,"Firefox 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],[c,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,F]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",F]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,F]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[d,D],[l,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[d,D],[l,m]],[/\((ip(?:hone|od)[\w ]*);/i],[u,[d,x],[l,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[d,x],[l,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[d,E],[l,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[u,[d,E],[l,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[d,P],[l,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[d,P],[l,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[d,"OPPO"],[l,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[d,"Vivo"],[l,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[d,"Realme"],[l,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],[u,[d,T],[l,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[d,T],[l,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[d,I],[l,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[d,I],[l,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[d,"Lenovo"],[l,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[d,"Nokia"],[l,m]],[/(pixel c)\b/i],[u,[d,C],[l,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[d,C],[l,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[d,A],[l,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[d,A],[l,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[d,"OnePlus"],[l,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[d,w],[l,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[d,w],[l,m]],[/(playbook);[-\w\),; ]+(rim)/i],[u,d,[l,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[d,S],[l,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[d,_],[l,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[d,_],[l,m]],[/(nexus 9)/i],[u,[d,"HTC"],[l,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[u,/_/g," "],[l,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[d,"Acer"],[l,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[d,"Meizu"],[l,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[d,"Sharp"],[l,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,u,[l,m]],[/(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,u,[l,g]],[/(surface duo)/i],[u,[d,O],[l,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[d,"Fairphone"],[l,m]],[/(u304aa)/i],[u,[d,"AT&T"],[l,m]],[/\bsie-(\w*)/i],[u,[d,"Siemens"],[l,m]],[/\b(rct\w+) b/i],[u,[d,"RCA"],[l,g]],[/\b(venue[\d ]{2,7}) b/i],[u,[d,"Dell"],[l,g]],[/\b(q(?:mv|ta)\w+) b/i],[u,[d,"Verizon"],[l,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[d,"Barnes & Noble"],[l,g]],[/\b(tm\d{3}\w+) b/i],[u,[d,"NuVision"],[l,g]],[/\b(k88) b/i],[u,[d,"ZTE"],[l,g]],[/\b(nx\d{3}j) b/i],[u,[d,"ZTE"],[l,m]],[/\b(gen\d{3}) b.+49h/i],[u,[d,"Swiss"],[l,m]],[/\b(zur\d{3}) b/i],[u,[d,"Swiss"],[l,g]],[/\b((zeki)?tb.*\b) b/i],[u,[d,"Zeki"],[l,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],u,[l,g]],[/\b(ns-?\w{0,9}) b/i],[u,[d,"Insignia"],[l,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[d,"NextBook"],[l,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],u,[l,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],u,[l,m]],[/\b(ph-1) /i],[u,[d,"Essential"],[l,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[d,"Envizen"],[l,g]],[/\b(trio[-\w\. ]+) b/i],[u,[d,"MachSpeed"],[l,g]],[/\btu_(1491) b/i],[u,[d,"Rotor"],[l,g]],[/(shield[\w ]+) b/i],[u,[d,"Nvidia"],[l,g]],[/(sprint) (\w+)/i],[d,u,[l,m]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[d,O],[l,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[d,M],[l,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[d,M],[l,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,u,[l,h]],[/droid.+; (shield) bui/i],[u,[d,"Nvidia"],[l,h]],[/(playstation [345portablevi]+)/i],[u,[d,A],[l,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[d,O],[l,h]],[/smart-tv.+(samsung)/i],[d,[l,v]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[d,D],[l,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,I],[l,v]],[/(apple) ?tv/i],[d,[u,"Apple TV"],[l,v]],[/crkey/i],[[u,"Chromecast"],[d,C],[l,v]],[/droid.+aft(\w)( bui|\))/i],[u,[d,w],[l,v]],[/\(dtv[\);].+(aquos)/i],[u,[d,"Sharp"],[l,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[u,z],[l,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,v]],[/((pebble))app/i],[d,u,[l,y]],[/droid.+; (glass) \d/i],[u,[d,C],[l,y]],[/droid.+; (wt63?0{2,3})\)/i],[u,[d,M],[l,y]],[/(quest( 2)?)/i],[u,[d,j],[l,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[l,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[l,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[l,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[l,m]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[c,"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],[c,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[f,U,q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[f,U,q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,f],[/\(bb(10);/i],[f,[c,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],f],[/(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],[c,f],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,f]]},K=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof K))return new K(e,t).getResult();var i=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),u=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(V,t):V;return this.getBrowser=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r}(e.version),e},this.getCPU=function(){var e={};return e.architecture=r,B.call(e,i,u.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,B.call(e,i,u.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.os),e},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 i},this.setUA=function(e){return i=typeof e===s&&e.length>255?z(e,255):e,this},this.setUA(i),this};K.VERSION="0.7.31",K.BROWSER=R([c,f,"major"]),K.CPU=R([p]),K.DEVICE=R([u,d,l,h,m,v,g,y,b]),K.ENGINE=K.OS=R([c,f]),e.exports&&(t=e.exports=K),t.UAParser=K;var H=typeof n!==o&&(n.jQuery||n.Zepto);if(H&&!H.ua){var W=new K;H.ua=W.getResult(),H.ua.get=function(){return W.getUA()},H.ua.set=function(e){W.setUA(e);var t=W.getResult();for(var n in t)H.ua[n]=t[n]}}}("object"==typeof window?window:Fe)}(UVe,UVe.exports);var qVe="Unknown",VVe={"Mac OS":"Mac OS X"};var KVe=(new(0,UVe.exports)).getResult(),HVe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(KVe.browser.version),WVe={browserArchitecture:KVe.cpu.architecture||qVe,browserFullVersion:KVe.browser.version||qVe,browserMinorVersion:HVe.minor||qVe,browserName:KVe.browser.name||qVe,browserVersion:KVe.browser.major||qVe,deviceName:KVe.device.model||qVe,engineName:KVe.engine.name||qVe,engineVersion:KVe.engine.version||qVe,platformArchitecture:KVe.cpu.architecture||qVe,platformName:function(e){return VVe[e]||e}(KVe.os.name)||qVe,platformVersion:KVe.os.version||qVe,platformFullVersion:KVe.os.version||qVe},GVe=WVe,YVe=Hze,QVe=/\./,$Ve=/\|\|/,JVe=/\s+\-\s+/,ZVe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,XVe=/^(\d*)(.*)/;function eKe(e,t){var n=e.split($Ve);return n.length>1?n.some((function(e){return dKe.contains(e,t)})):function(e,t){var n=e.split(JVe);if(n.length>0&&n.length<=2||("production"!==Cs.env.NODE_ENV?YVe(!1,'the "-" operator expects exactly 2 operands'):YVe(!1)),1===n.length)return tKe(n[0],t);var r=n[0],i=n[1];return aKe(r)&&aKe(i)||("production"!==Cs.env.NODE_ENV?YVe(!1,'operands to the "-" operator must be simple (no modifiers)'):YVe(!1)),tKe(">="+r,t)&&tKe("<="+i,t)}(e=n[0].trim(),t)}function tKe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(QVe),r=iKe(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return nKe(n,o);case"<=":return function(e,t){var n=lKe(e,t);return-1===n||0===n}(n,o);case">=":return rKe(n,o);case">":return function(e,t){return 1===lKe(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var i=r.length-1,o=parseInt(r[i],10);oKe(o)&&(r[i]=o+1+"");return rKe(e,n)&&nKe(e,r)}(n,o);default:return function(e,t){return 0===lKe(e,t)}(n,o)}}function nKe(e,t){return-1===lKe(e,t)}function rKe(e,t){var n=lKe(e,t);return 1===n||0===n}function iKe(e){var t=e.split(QVe),n=t[0].match(ZVe);return n||("production"!==Cs.env.NODE_ENV?YVe(!1,"expected regex to match but it did not"):YVe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function oKe(e){return!isNaN(e)&&isFinite(e)}function aKe(e){return!iKe(e).modifier}function sKe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function uKe(e,t){var n=e.match(XVe)[1],r=t.match(XVe)[1],i=parseInt(n,10),o=parseInt(r,10);return oKe(i)&&oKe(o)&&i!==o?cKe(i,o):cKe(e,t)}function cKe(e,t){return typeof e!=typeof t&&("production"!==Cs.env.NODE_ENV?YVe(!1,'"a" and "b" must be of the same type'):YVe(!1)),e>t?1:e<t?-1:0}function lKe(e,t){for(var n=function(e,t){sKe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var i=n;i<e.length;i++)e[i]="0"}return sKe(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=uKe(r[o],i[o]);if(a)return a}return 0}var dKe={contains:function(e,t){return eKe(e.trim(),t.trim())}},fKe=dKe,pKe=Object.prototype.hasOwnProperty;var hKe=function(e,t,n){if(!e)return null;var r={};for(var i in e)pKe.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var mKe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},gKe=GVe,vKe=fKe;function yKe(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,vKe.contains(i,t))}function bKe(e){return"Windows"===gKe.platformName?e.replace(/^\s*NT/,""):e}var wKe=hKe({isBrowser:function(e){return yKe(gKe.browserName,gKe.browserFullVersion,e)},isBrowserArchitecture:function(e){return yKe(gKe.browserArchitecture,null,e)},isDevice:function(e){return yKe(gKe.deviceName,null,e)},isEngine:function(e){return yKe(gKe.engineName,gKe.engineVersion,e)},isPlatform:function(e){return yKe(gKe.platformName,gKe.platformFullVersion,e,bKe)},isPlatformArchitecture:function(e){return yKe(gKe.platformArchitecture,null,e)}},mKe);var xKe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var _Ke=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},SKe=_Ke;var kKe=function e(t){if(SKe(t)){var n=t,r=n.getAttribute("data-offset-key");if(r)return r;for(var i=0;i<n.childNodes.length;i++){var o=e(n.childNodes[i]);if(o)return o}}return null},CKe=xKe,EKe=kKe;var IKe=function(e){for(var t=e;t&&t!==CKe(e).documentElement;){var n=EKe(t);if(null!=n)return n;t=t.parentNode}return null};var OKe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function TKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NKe=wKe,DKe=IKe,AKe=OKe,PKe=Hze,MKe=Rqe,jKe=HFe.exports.Map,RKe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},LKe=NKe.isBrowser("IE <= 11"),FKe=function(){function e(e){var t=this;TKe(this,"observer",void 0),TKe(this,"container",void 0),TKe(this,"mutations",void 0),TKe(this,"onCharData",void 0),this.container=e,this.mutations=jKe();var n=AKe(e);n.MutationObserver&&!LKe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Cs.env.NODE_ENV?PKe(!1,"Expected target to be an instance of Node"):PKe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,RKe):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=jKe(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return LKe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=MKe(DKe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),zKe={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}},BKe={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},UKe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var qKe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},VKe=Hze,KKe=qKe;var HKe=function(e){var t=e.editorContainer;return t||("production"!==Cs.env.NODE_ENV?VKe(!1,"Missing editorNode"):VKe(!1)),KKe(t.firstChild)||("production"!==Cs.env.NODE_ENV?VKe(!1,"editorNode.firstChild is not an HTMLElement"):VKe(!1)),t.firstChild},WKe=zKe,GKe=Rqe;var YKe=function(e,t,n,r,i){var o=GKe(e.getSelection());if(!t||!r)return"production"!==Cs.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=WKe.decode(t),s=a.blockKey,u=e.getBlockTree(s),c=u&&u.getIn([a.decoratorKey,"leaves",a.leafKey]),l=WKe.decode(r),d=l.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([l.decoratorKey,"leaves",l.leafKey]);if(!c||!p)return"production"!==Cs.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=p.get("start"),g=c?h+n:null,v=p?m+i:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var w=c.get("end"),x=p.get("end");b=m===h&&x===w?i<n:m<h}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=_===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},QKe=IKe,$Ke=kKe,JKe=YKe,ZKe=Hze,XKe=_Ke,eHe=Rqe;function tHe(e,t,n){var r=t,i=QKe(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Cs.env.NODE_ENV?ZKe(!1,"Unknown node in selection range."):ZKe(!1)),e===r)&&(r=r.firstChild,XKe(r)||("production"!==Cs.env.NODE_ENV?ZKe(!1,"Invalid DraftEditorContents node."):ZKe(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Cs.env.NODE_ENV?ZKe(!1,"Invalid DraftEditorContents structure."):ZKe(!1)),n>0&&(n=r.childNodes.length));if(0===n){var o=null;if(null!=i)o=i;else{var a=function(e){for(;e.firstChild&&(XKe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||$Ke(e.firstChild));)e=e.firstChild;return e}(r);o=eHe($Ke(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],u=null,c=null;if($Ke(s)){var l=function(e){for(;e.lastChild&&(XKe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||$Ke(e.lastChild));)e=e.lastChild;return e}(s);u=eHe($Ke(l)),c=nHe(l)}else u=eHe(i),c=nHe(s);return{key:u,offset:c}}function nHe(e){var t=e.textContent;return"\n"===t?0:t.length}var rHe=function(e,t,n,r,i,o){var a=n.nodeType===Node.TEXT_NODE,s=i.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:JKe(e,eHe(QKe(n)),r,eHe(QKe(i)),o),needsRecovery:!1};var u=null,c=null,l=!0;return a?(u={key:eHe(QKe(n)),offset:r},c=tHe(t,i,o)):s?(c={key:eHe(QKe(i)),offset:o},u=tHe(t,n,r)):(u=tHe(t,n,r),c=tHe(t,i,o),n===i&&r===o&&(l=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:JKe(e,u.key,u.offset,c.key,c.offset),needsRecovery:l}},iHe=rHe;var oHe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==r||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:iHe(e,t,r,i,o,a)},aHe=UKe,sHe=aVe,uHe=HKe,cHe=oHe;var lHe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();aHe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=cHe(n,uHe(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?sHe.forceSelection(n,i):sHe.acceptSelection(n,i),e.update(n))}};var dHe={notEmptyKey:function(e){return null!=e&&""!=e}},fHe=dHe.notEmptyKey;function pHe(e,t){return fHe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var hHe=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:pHe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),pHe(e.getEntityMap(),n)},mHe=FKe,gHe=fUe,vHe=zKe,yHe=aVe,bHe=BKe,wHe=HKe,xHe=oHe,_He=hHe,SHe=Rqe,kHe=!1,CHe=!1,EHe=null;var IHe={onCompositionStart:function(e){CHe=!0,function(e){EHe||(EHe=new mHe(wHe(e))).start()}(e)},onCompositionEnd:function(e){kHe=!1,CHe=!1,setTimeout((function(){kHe||IHe.resolveComposition(e)}),20)},onSelect:lHe,onKeyDown:function(e,t){if(!CHe)return IHe.resolveComposition(e),void e._onKeyDown(t);t.which!==bHe.RIGHT&&t.which!==bHe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===bHe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!CHe){var t=SHe(EHe).stopAndFlushMutations();EHe=null,kHe=!0;var n=yHe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=vHe.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,u=n.getBlockTree(o).getIn([a,"leaves",s]),c=u.start,l=u.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:l,isBackward:!1}),f=_He(r,d),p=r.getBlockForKey(o).getInlineStyleAt(c);r=gHe.replaceText(r,d,e,p,f),n=yHe.set(n,{currentContent:r})}));var i=xHe(n,wHe(e)).selectionState;e.restoreEditorDOM();var o=yHe.acceptSelection(n,i);e.update(yHe.push(o,r,"insert-characters"))}else e.update(n)}}},OHe=IHe,THe=UH;function NHe(){return NHe=THe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NHe.apply(this,arguments)}var DHe=zKe,AHe=o,PHe=Tqe,MHe=yqe,jHe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,i=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,u=e.text,c=t.getKey(),l=s.get("leaves"),d=i.getComponentForKey(o),f=i.getPropsForKey(o),p=DHe.encode(c,parseInt(o,10),0),h=u.slice(l.first().get("start"),l.last().get("end")),m=MHe.getHTMLDirIfDifferent(PHe.getDirection(h),a);return AHe.createElement(d,NHe({},f,{contentState:r,decoratedText:h,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},r}(AHe.Component),RHe=jHe;function LHe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zHe=o,BHe=Hze,UHe=_Ke,qHe=wKe.isBrowser("IE <= 11");var VHe=function(e){var t,n;function r(t){var n;return FHe(LHe(n=e.call(this,t)||this),"_forceFlag",void 0),FHe(LHe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;UHe(t)||("production"!==Cs.env.NODE_ENV?BHe(!1,"node is not an Element"):BHe(!1));var r=t;return n?!function(e){return qHe?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},qHe?zHe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):zHe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return qHe?zHe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):zHe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):zHe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(zHe.Component),KHe=VHe,HHe=_Ke;var WHe=function(e){return!(!e||!e.ownerDocument)&&(HHe(e)&&"BR"===e.nodeName)};var GHe=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))};var YHe=function(e){return GHe(e)&&3==e.nodeType};var QHe=function e(t,n){return!(!t||!n)&&(t===n||!YHe(t)&&(YHe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var $He=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}},JHe=UKe,ZHe=QHe,XHe=$He,eWe=xKe,tWe=Hze,nWe=_Ke,rWe=wKe.isBrowser("IE");function iWe(e,t){if(!e)return"[empty]";var n=oWe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(nWe(n)||("production"!==Cs.env.NODE_ENV?tWe(!1,"Node must be an Element if it is not a text node."):tWe(!1)),n.outerHTML)}function oWe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return eWe(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)i.appendChild(oWe(o[a],t));return i}function aWe(e,t){for(var n=e,r=n;n;){if(nWe(n)&&r.hasAttribute("contenteditable"))return iWe(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function sWe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function uWe(e,t,n,r){var i=XHe();if(e.extend&&null!=t&&ZHe(i,t)){n>sWe(t)&&JHe.logSelectionStateFailure({anonymizedDom:aWe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw JHe.logSelectionStateFailure({anonymizedDom:aWe(t,(function(t){var n=[];return t===i&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function cWe(e,t,n,r){var i=eWe(t).createRange();if(n>sWe(t)&&JHe.logSelectionStateFailure({anonymizedDom:aWe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),rWe)try{e.addRange(i)}catch(e){"production"!==Cs.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var lWe=function(e,t,n,r,i){var o=eWe(t);if(ZHe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),u=e.getAnchorOffset(),c=e.getFocusKey(),l=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var f=s,p=u;s=c,u=l,c=f,l=p,d=!1}var h=s===n&&r<=u&&i>=u,m=c===n&&r<=l&&i>=l;if(h&&m)return a.removeAllRanges(),cWe(a,t,u-r,e),void uWe(a,t,l-r,e);if(d){if(m&&(a.removeAllRanges(),cWe(a,t,l-r,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),cWe(a,t,u-r,e),uWe(a,g,v,e)}}else h&&(a.removeAllRanges(),cWe(a,t,u-r,e)),m&&uWe(a,t,l-r,e)}},dWe=UH;function fWe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hWe=KHe,mWe=o,gWe=Hze,vWe=WHe,yWe=lWe,bWe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return pWe(fWe(t=e.call.apply(e,[this].concat(r))||this),"leaf",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,i=t.text,o=n.getKey(),a=r+i.length;if(e.hasEdgeWithin(o,r,a)){var s=this.leaf;s||("production"!==Cs.env.NODE_ENV?gWe(!1,"Missing node"):gWe(!1));var u,c=s.firstChild;c||("production"!==Cs.env.NODE_ENV?gWe(!1,"Missing child"):gWe(!1)),c.nodeType===Node.TEXT_NODE?u=c:vWe(c)?u=s:(u=c.firstChild)||("production"!==Cs.env.NODE_ENV?gWe(!1,"Missing targetNode"):gWe(!1)),yWe(e,u,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Cs.env.NODE_ENV?gWe(!1,"Missing leafNode"):gWe(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var r=this.props,i=r.customStyleMap,o=r.customStyleFn,a=r.offsetKey,s=r.styleSet,u=s.reduce((function(e,t){var n={},r=i[t];return void 0!==r&&e.textDecoration!==r.textDecoration&&(n.textDecoration=[e.textDecoration,r.textDecoration].join(" ").trim()),dWe(e,r,n)}),{});if(o){var c=o(s,t);u=dWe(u,c)}return mWe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:u},mWe.createElement(hWe,null,n))},r}(mWe.Component),wWe=bWe;var xWe=RHe,_We=wWe,SWe=zKe,kWe=o,CWe=RVe;HFe.exports.List;var EWe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,r=e.customStyleFn,i=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,u=e.hasSelection,c=e.selection,l=e.tree,d=t.getKey(),f=t.getText(),p=l.size-1,h=this.props.children||l.map((function(e,l){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=SWe.encode(d,l,n),a=e.get("start"),m=e.get("end");return kWe.createElement(_We,{key:o,offsetKey:o,block:t,start:a,selection:u?c:null,forceSelection:s,text:f.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===p&&n===g})})).toArray();return h&&o?kWe.createElement(xWe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:l}):v})).toArray();return kWe.createElement("div",{"data-offset-key":SWe.encode(d,0,0),className:CWe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(kWe.Component),IWe=EWe;function OWe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var TWe={getTop:function(e){var t=e.ownerDocument;return OWe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;OWe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return OWe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;OWe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},NWe=TWe,DWe=/-(.)/g;var AWe=/([A-Z])/g;var PWe=function(e){return e.replace(DWe,(function(e,t){return t.toUpperCase()}))},MWe=function(e){return e.replace(AWe,"-$1").toLowerCase()};function jWe(e){return null==e?e:String(e)}var RWe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return jWe(n.getPropertyValue(MWe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return jWe(n.getPropertyValue(MWe(t)));if("display"===t)return"none"}return e.currentStyle?jWe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[PWe(t)]):jWe(e.style&&e.style[PWe(t)])};function LWe(e,t){var n=FWe.get(e,t);return"auto"===n||"scroll"===n}var FWe={get:RWe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(LWe(e,"overflow")||LWe(e,"overflowY")||LWe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},zWe=FWe,BWe=QHe;var UWe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!BWe(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}};var qWe=function(e){var t=UWe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},VWe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var KWe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:VWe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var HWe=KWe,WWe=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}};var GWe=function(e){var t=HWe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=WWe(e),r=e===t?e.ownerDocument.documentElement:e,i=e.scrollWidth-r.clientWidth,o=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,i)),n.y=Math.max(0,Math.min(n.y,o)),n};function YWe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function QWe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function $We(){return{width:window.innerWidth||YWe(),height:window.innerHeight||QWe()}}$We.withoutScrollbars=function(){return{width:YWe(),height:QWe()}};var JWe=$We,ZWe=UH;function XWe(){return XWe=ZWe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XWe.apply(this,arguments)}function eGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){nGe(e,t,n[t])}))}return e}function nGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rGe=IWe,iGe=zKe,oGe=o,aGe=NWe,sGe=zWe,uGe=qWe,cGe=GWe,lGe=JWe,dGe=Hze,fGe=qKe;HFe.exports.List;var pGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},hGe=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},mGe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},gGe=function(e,t,n,r,i,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=r(e);return s&&(a.className=s),void 0!==i.customEditable&&(a=tGe({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},vGe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return nGe(eGe(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",oGe.createRef()),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,i=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||i!==e.tree||r!==e.direction||pGe(e.selection,e.block.getKey())&&e.forceSelection;return o||a},i.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,i=sGe.getScrollParent(n),o=cGe(i);if(i===window){var a=uGe(n);(r=a.y+a.height-lGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{fGe(n)||("production"!==Cs.env.NODE_ENV?dGe(!1,"blockNode is not an HTMLElement"):dGe(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&aGe.setTop(i,aGe.getTop(i)+r+10)}}}},i.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,u=t.decorator,c=t.editorKey,l=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var u=iGe.encode(n,0,0),d=s.getBlockForKey(n),f=mGe(d,o),p=f.CustomComponent||r,h=hGe(d,i),m=h.Element,g=h.wrapperTemplate,v=gGe(d,c,u,a,f,null),y=tGe({},e.props,{tree:l.getBlockTree(n),blockProps:f.customProps,offsetKey:u,block:d});return t.push(oGe.createElement(m,v,oGe.createElement(p,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,u=n.reverse()[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var c=s.value;if(c.type!==t)break;r.push(c)}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var l=r.reverse(),d=l[0].key;n.push(oGe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":iGe.encode(d,0,0)},l))}(g,m,t),t}),[]));var y=n.getKey(),b=iGe.encode(y,0,0),w=mGe(n,o),x=w.CustomComponent,_=null!=x?oGe.createElement(x,XWe({},this.props,{tree:l.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):oGe.createElement(rGe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:u,direction:p,forceSelection:h,hasSelection:pGe(m,y),selection:m,tree:g});if(n.getParentKey())return _;var S=hGe(n,i).Element,k=gGe(n,c,b,a,w,this.wrapperRef);return oGe.createElement(S,k,_)},r}(oGe.Component),yGe=UH;function bGe(){return bGe=yGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bGe.apply(this,arguments)}var wGe=vGe,xGe=zKe,_Ge=o,SGe=Rqe,kGe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||u!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,u=e.textDirectionality,c=a.getCurrentContent(),l=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=SGe(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:c,customStyleFn:o,customStyleMap:i,decorator:f,editorKey:s,editorState:a,forceSelection:d,selection:l,block:m,direction:u||p.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:_Ge.createElement(wGe,bGe({key:g},v)),wrapperTemplate:y,key:g,offsetKey:xGe.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?c.getBlockForKey(b):null}for(var w=[],x=0;x<h.length;){var _=h[x];if(_.wrapperTemplate){var S=[];do{S.push(h[x].block),x++}while(x<h.length&&h[x].wrapperTemplate===_.wrapperTemplate);var k=_Ge.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},S);w.push(k)}else w.push(_.block),x++}return _Ge.createElement("div",{"data-contents":"true"},w)},r}(_Ge.Component),CGe=kGe,EGe=UH;function IGe(){return IGe=EGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IGe.apply(this,arguments)}function OGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NGe=wWe,DGe=zKe,AGe=o,PGe=NWe,MGe=zWe,jGe=Tqe,RGe=yqe,LGe=RVe,FGe=qWe,zGe=GWe,BGe=JWe,UGe=Hze,qGe=qKe,VGe=Rqe,KGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},HGe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return TGe(OGe(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||KGe(e.selection,e.block.getKey())&&e.forceSelection},i.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var r,i=MGe.getScrollParent(n),o=zGe(i);if(i===window){var a=FGe(n);(r=a.y+a.height-BGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{qGe(n)||("production"!==Cs.env.NODE_ENV?UGe(!1,"blockNode is not an HTMLElement"):UGe(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&PGe.setTop(i,PGe.getTop(i)+r+10)}}}}},i._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),i=this.props.tree.size-1,o=KGe(this.props.selection,n);return this.props.tree.map((function(a,s){var u=a.get("leaves");if(0===u.size)return null;var c=u.size-1,l=u.map((function(a,u){var l=DGe.encode(n,s,u),d=a.get("start"),f=a.get("end");return AGe.createElement(NGe,{key:l,offsetKey:l,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===i&&u===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return l;if(!e.props.decorator)return l;var f=VGe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return l;var h=f.getPropsForKey(d),m=DGe.encode(n,s,0),g=u.first().get("start"),v=u.last().get("end"),y=r.slice(g,v),b=t.getEntityAt(a.get("start")),w=RGe.getHTMLDirIfDifferent(jGe.getDirection(y),e.props.direction),x={contentState:e.props.contentState,decoratedText:y,dir:w,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return AGe.createElement(p,IGe({},h,x,{key:m}),l)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=LGe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return AGe.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(AGe.Component),WGe=HGe;var GGe=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var i=arguments[r];i&&(t=(t?t+" ":"")+i)}return t},YGe=UH;function QGe(){return QGe=YGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QGe.apply(this,arguments)}function $Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){JGe(e,t,n[t])}))}return e}function JGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ZGe=WGe,XGe=zKe,eYe=o,tYe=RVe,nYe=GGe,rYe=Rqe,iYe=function(e,t,n,r){return tYe({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},oYe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||u!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,u=e.preventScroll,c=e.textDirectionality,l=a.getCurrentContent(),d=a.getSelection(),f=a.mustForceSelection(),p=a.getDecorator(),h=rYe(a.getDirectionMap()),m=l.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var w=m[b],x=w.getKey(),_=w.getType(),S=n(w),k=void 0,C=void 0,E=void 0;S&&(k=S.component,C=S.props,E=S.editable);var I=c||h.get(x),O=XGe.encode(x,0,0),T={contentState:l,block:w,blockProps:C,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:p,direction:I,forceSelection:f,offsetKey:O,preventScroll:u,selection:d,tree:a.getBlockTree(x)},N=t.get(_)||t.get("unstyled"),D=N.wrapper,A=N.element||t.get("unstyled").element,P=w.getDepth(),M="";if(r&&(M=r(w)),"li"===A)M=nYe(M,iYe(_,P,y!==D||null===v||P>v,I));var j=k||ZGe,R={className:M,"data-block":!0,"data-editor":s,"data-offset-key":O,key:x};void 0!==E&&(R=$Ge({},R,{contentEditable:E,suppressContentEditableWarning:!0}));var L=eYe.createElement(A,R,eYe.createElement(j,QGe({},T,{key:x})));g.push({block:L,wrapperTemplate:D,key:x,offsetKey:O}),v=D?w.getDepth():null,y=D}for(var F=[],z=0;z<g.length;){var B=g[z];if(B.wrapperTemplate){var U=[];do{U.push(g[z].block),z++}while(z<g.length&&g[z].wrapperTemplate===B.wrapperTemplate);var q=eYe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},U);F.push(q)}else F.push(B.block),z++}return eYe.createElement("div",{"data-contents":"true"},F)},r}(eYe.Component),aYe=oYe,sYe=qUe("draft_tree_data_support")?CGe:aYe,uYe={isImage:function(e){return"image"===cYe(e)[0]},isJpeg:function(e){var t=cYe(e);return uYe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function cYe(e){return e.split("/")}var lYe=uYe,dYe=Hze;var fYe=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&("production"!==Cs.env.NODE_ENV?dYe(!1,"toArray: Array-like object expected"):dYe(!1)),"number"!=typeof t&&("production"!==Cs.env.NODE_ENV?dYe(!1,"toArray: Object needs a length property"):dYe(!1)),0===t||t-1 in e||("production"!==Cs.env.NODE_ENV?dYe(!1,"toArray: Object should have keys for indices"):dYe(!1)),"function"==typeof e.callee&&("production"!==Cs.env.NODE_ENV?dYe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):dYe(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}(e):[e]};function pYe(e){return function(){return e}}var hYe=function(){};hYe.thatReturns=pYe,hYe.thatReturnsFalse=pYe(!1),hYe.thatReturnsTrue=pYe(!0),hYe.thatReturnsNull=pYe(null),hYe.thatReturnsThis=function(){return this},hYe.thatReturnsArgument=function(e){return e};var mYe=hYe,gYe=lYe,vYe=fYe,yYe=mYe,bYe=new RegExp("\r\n","g"),wYe={"text/rtf":1,"text/html":1};function xYe(e){if("file"==e.kind)return e.getAsFile()}var _Ye=function(){function e(e){this.data=e,this.types=e.types?vYe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return wYe[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(bYe,"\n"):null},t.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")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.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},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var r=t[n].type;if(!gYe.isImage(r))return!1}return!0},t.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},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(xYe).filter(yYe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),SYe=_Ye,kYe=Hze,CYe=/\.textClipping$/,EYe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var IYe=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!Fe.FileReader||e.type&&!(e.type in EYe))return void t("");if(""===e.type){var n="";return CYe.test(e.name)&&(n=e.name.replace(CYe,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Cs.env.NODE_ENV?kYe(!1,'We should be calling "FileReader.readAsText" which returns a string'):kYe(!1)),t(e)},r.onerror=function(){t("")},r.readAsText(e)}(i,(function(i){n++,i&&r.push(i.slice(0,5e3)),n==e.length&&t(r.join("\r"))}))}))};var OYe=function(e){return"handled"===e||!0===e},TYe=SYe,NYe=fUe,DYe=aVe,AYe=IKe,PYe=xKe,MYe=IYe,jYe=YKe,RYe=OKe,LYe=OYe,FYe=Rqe;var zYe={onDragEnd:function(e){e.exitCurrentMode(),BYe(e)},onDrop:function(e,t){var n=new TYe(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=PYe(e.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=FYe(n),r=FYe(r);var a=FYe(AYe(n));return jYe(t,a,r,a,r)}(t.nativeEvent,r);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=i){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&LYe(e.props.handleDroppedFiles(i,o)))return;MYe(o,(function(t){t&&e.update(UYe(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&LYe(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=NYe.moveText(e.getCurrentContent(),e.getSelection(),t);return DYe.push(e,n,"insert-fragment")}(r,i)):e.update(UYe(r,i,n.getText()))),BYe(e)}}}};function BYe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:RYe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function UYe(e,t,n){var r=NYe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return DYe.push(e,r,"insert-fragment")}var qYe=zYe;var VYe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),i=t.getStartOffset(),o=!1;return r.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,r,i,o=1,a={},s=!1,u=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Cs.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&d(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var e=u.documentElement;n=function(t){var n=u.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return a[o]=i,n(o),o++},c.clearImmediate=l}function l(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{l(e),s=!1}}}}}("undefined"==typeof self?Fe:self);var KYe=Fe.setImmediate,HYe=fUe,WYe=aVe,GYe=hHe,YYe=OYe,QYe=VYe,$Ye=Rqe,JYe=KYe,ZYe=wKe.isBrowser("Firefox");function XYe(e,t,n,r,i){var o=HYe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return WYe.push(e,o,"insert-characters",i)}var eQe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&YYe(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var i=n.getSelection(),o=i.getStartOffset(),a=i.getAnchorKey();if(!i.isCollapsed())return t.preventDefault(),void e.update(XYe(n,r,n.getCurrentInlineStyle(),GYe(n.getCurrentContent(),n.getSelection()),!0));var s,u=XYe(n,r,n.getCurrentInlineStyle(),GYe(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=QYe(e._latestCommittedEditorState)),!c){var l=n.getBlockTree(a),d=u.getBlockTree(a);c=l.size!==d.size||l.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),u=s+(s>=o?r.length:0),c=n.get("start"),l=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||u!==l||null!=d&&l-c!=s-i}))}if(c||(s=r,c=ZYe&&("'"==s||"/"==s)),c||(c=$Ye(u.getDirectionMap()).get(a)!==$Ye(n.getDirectionMap()).get(a)),c)return t.preventDefault(),u=WYe.set(u,{forceSelection:!0}),void e.update(u);u=WYe.set(u,{nativelyRenderedContent:u.getCurrentContent()}),e._pendingStateFromBeforeInput=u,JYe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},tQe=aVe,nQe=QHe,rQe=$He;var iQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&rQe(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&nQe(i,r.anchorNode)&&nQe(i,r.focusNode)&&r.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(tQe.acceptSelection(o,s))}},oQe=aVe;var aQe=function(e,t){e.setMode("composite"),e.update(oQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},sQe=pBe;var uQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:sQe(e.getCurrentContent(),t)},cQe=uQe;var lQe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(cQe(e._latestEditorState))};var dQe=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1},fQe=fUe,pQe=aVe,hQe=zWe,mQe=uQe,gQe=GWe,vQe=dQe;var yQe=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(vQe(o)){var a=o;n=gQe(hQe.getScrollParent(a))}var s=mQe(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=fQe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return pQe.push(e,t,"remove-range")}(r))}),0)}};var bQe=function(e,t){e.setMode("drag"),t.preventDefault()};var wQe=function(e){e._internalDrag=!0,e.setMode("drag")},xQe=aVe,_Qe=wKe;var SQe=function(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var i=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),_Qe.isBrowser("Chrome < 60.0.3081.0")?e.update(xQe.forceSelection(n,i)):e.update(xQe.acceptSelection(n,i))}},kQe=Hze,CQe=/[\uD800-\uDFFF]/;function EQe(e){return 55296<=e&&e<=57343}function IQe(e){return CQe.test(e)}function OQe(e,t){return 1+EQe(e.charCodeAt(t))}function TQe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!IQe(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var i=0;if(t>0){for(;t>0&&i<r;t--)i+=OQe(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=OQe(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=OQe(e,o);return e.substring(i,o)}var NQe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=OQe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:OQe,hasSurrogateUnit:IQe,isCodeUnitInSurrogateRange:EQe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Cs.env.NODE_ENV?kQe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):kQe(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=r&&r<=57343},strlen:function(e){if(!IQe(e))return e.length;for(var t=0,n=0;n<e.length;n+=OQe(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-t);return TQe(e,t=t<n?t:n,r)},substr:TQe},DQe=NQe,AQe=mYe;function PQe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var MQe="production"!==Cs.env.NODE_ENV?function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];PQe.apply(void 0,[t].concat(r))}}:AQe,jQe=MQe,RQe=jQe;var LQe=function(e,t){var n=e.getSelection();"production"!==Cs.env.NODE_ENV&&RQe(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var r=e.getCurrentContent(),i=n.getStartKey(),o=n.getStartOffset(),a=i,s=0;if(t>o){var u=r.getKeyBefore(i);if(null==u)a=i;else a=u,s=r.getBlockForKey(u).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},FQe=fUe,zQe=qUe("draft_tree_data_support");var BQe=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),u=i.getBlockForKey(a);if(zQe&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(zQe)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var c=i.getBlockForKey(u.nextSibling);if(!c||0===c.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return FQe.removeRange(i,o,n)},UQe=aVe,qQe=DQe,VQe=LQe,KQe=BQe;var HQe=function(e){var t=KQe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return VQe(e,o?qQe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return UQe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},WQe=fUe,GQe=zKe,YQe=aVe,QQe=dHe.notEmptyKey,$Qe=IKe,JQe=HQe,ZQe=Rqe,XQe=wKe.isEngine("Gecko");var e$e=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.isCollapsed,o=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!o){if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var a=r.parentNode;if(null==a)return;r.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==r&&a.removeChild(s)}var u=r.textContent,c=e._latestEditorState,l=ZQe($Qe(r)),d=GQe.decode(l),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(f).getIn([p,"leaves",h]),g=m.start,v=m.end,y=c.getCurrentContent(),b=y.getBlockForKey(f),w=b.getText().slice(g,v);if(u.endsWith("\n\n")&&(u=u.slice(0,-1)),u!==w){var x,_,S,k,C=c.getSelection(),E=C.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),I=b.getEntityAt(g),O=QQe(I)?y.getEntity(I):null,T="MUTABLE"===(null!=O?O.getMutability():null),N=T?"spellcheck-change":"apply-entity",D=WQe.replaceText(y,E,u,b.getInlineStyleAt(g),T?b.getEntityAt(g):null);if(XQe)x=n.anchorOffset,_=n.focusOffset,k=(S=g+Math.min(x,_))+Math.abs(x-_),x=S,_=k;else{var A=u.length-w.length;S=C.getStartOffset(),k=C.getEndOffset(),x=i?k+A:S,_=k+A}var P=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:C.merge({anchorOffset:x,focusOffset:_})});e.update(YQe.push(c,P,N))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?JQe(t):t}(M,c);if(j!==c)return e.restoreEditorDOM(),void e.update(j)}}}},t$e=BKe;var n$e=function(e){return e.which===t$e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},r$e=n$e,i$e=wKe.isPlatform("Mac OS X"),o$e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return i$e&&e.altKey},usesMacOSHeuristics:function(){return i$e},hasCommandModifier:function(e){return i$e?!!e.metaKey&&!e.altKey:o$e.isCtrlKeyCommand(e)},isSoftNewlineEvent:r$e},a$e=o$e,s$e=fUe,u$e=aVe,c$e=pBe,l$e=Rqe,d$e=null,f$e={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),r=null;if(n.isCollapsed()){var i=n.getAnchorKey(),o=t.getBlockForKey(i).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(i);if(null==a)return e;r=n.set("focusKey",a).set("focusOffset",0)}else r=n.set("focusOffset",o)}else r=n;r=l$e(r),d$e=c$e(t,r);var s=s$e.removeRange(t,r,"forward");return s===t?e:u$e.push(e,s,"remove-range")},paste:function(e){if(!d$e)return e;var t=s$e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),d$e);return u$e.push(e,t,"insert-fragment")}},p$e=Hze;var h$e=wKe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),i)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(r)}"production"!==Cs.env.NODE_ENV?p$e(!1,"Found an unexpected detached subtree when getting range client rects."):p$e(!1)}:function(e){return Array.from(e.getClientRects())},m$e=DQe,g$e=xKe,v$e=h$e,y$e=Hze;function b$e(e,t){for(var n=1/0,r=1/0,i=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=r&&i-n<t&&o-r<t}function w$e(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}var x$e=aVe,_$e=function(e){e.collapsed||("production"!==Cs.env.NODE_ENV?y$e(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):y$e(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=g$e(e),r=n.createElement("div");r.style.fontFamily=t.fontFamily,r.style.fontSize=t.fontSize,r.style.fontStyle=t.fontStyle,r.style.fontWeight=t.fontWeight,r.style.lineHeight=t.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||("production"!==Cs.env.NODE_ENV?y$e(!1,"Missing document.body"):y$e(!1)),i.appendChild(r);var o=r.getBoundingClientRect();return i.removeChild(r),o.height}(t),r=e.endContainer,i=e.endOffset;for(e.setStart(e.startContainer,0);b$e(v$e(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Cs.env.NODE_ENV?y$e(!1,"Found unexpected detached subtree when traversing."):y$e(!1)),e.setStartBefore(r),1!==r.nodeType||"inline"===getComputedStyle(r).display););for(var o=r,a=i-1;;){for(var s=o.nodeValue,u=a;u>=0;u--)if(!(null!=s&&u>0&&m$e.isSurrogatePair(s,u-1))){if(e.setStart(o,u),!b$e(v$e(e),n))break;r=o,i=u}if(-1===u||0===o.childNodes.length)break;a=w$e(o=o.childNodes[u])}return e.setStart(r,i),e},S$e=rHe,k$e=LQe,C$e=BQe;var E$e=function(e,t){var n=C$e(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return k$e(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=_$e(r),S$e(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:x$e.push(e,n,"remove-range")},I$e="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),O$e=new RegExp("^(?:"+I$e+")*(?:['‘’]|(?!"+I$e+").)*(?:(?!"+I$e+").)"),T$e=new RegExp("(?:(?!"+I$e+").)(?:['‘’]|(?!"+I$e+").)*(?:"+I$e+")*$");function N$e(e,t){var n=t?T$e.exec(e):O$e.exec(e);return n?n[0]:e}var D$e={getBackward:function(e){return N$e(e,!0)},getForward:function(e){return N$e(e,!1)}},A$e=D$e,P$e=aVe,M$e=LQe,j$e=BQe;var R$e=jQe;var L$e=function(e,t){var n=e.getSelection();"production"!==Cs.env.NODE_ENV&&R$e(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var r,i=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=i;return t>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+t,n.merge({focusKey:s,focusOffset:r})},F$e=D$e,z$e=aVe,B$e=L$e,U$e=BQe;var q$e=fUe,V$e=aVe;var K$e=aVe;var H$e=aVe;var W$e=aVe,G$e=DQe,Y$e=L$e,Q$e=BQe;var $$e=fUe,J$e=aVe,Z$e=pBe;var X$e=aVe;var eJe=function(e,t,n){var r=X$e.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(X$e.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(X$e.set(r,{nativelyRenderedContent:i}))}},tJe=fUe,nJe=aVe,rJe=BKe,iJe=f$e,oJe=wKe,aJe=OYe,sJe=E$e,uJe=function(e){var t=j$e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return M$e(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=A$e.getBackward(i);return M$e(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:P$e.push(e,t,"remove-range")},cJe=function(e){var t=U$e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=F$e.getForward(i);return B$e(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:z$e.push(e,t,"remove-range")},lJe=function(e){var t=q$e.splitBlock(e.getCurrentContent(),e.getSelection());return V$e.push(e,t,"split-block")},dJe=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return K$e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},fJe=function(e){var t=e.getSelection(),n=t.getStartKey();return H$e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},pJe=HQe,hJe=function(e){var t=Q$e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return Y$e(e,o?G$e.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return W$e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},mJe=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r,i,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(r=t.set("anchorOffset",n-1),i=t):i=(r=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var u=Z$e(a,r),c=$$e.removeRange(a,r,"backward"),l=c.getSelectionAfter(),d=l.getAnchorOffset()-1,f=l.merge({anchorOffset:d,focusOffset:d}),p=$$e.replaceWithFragment(c,f,u),h=J$e.push(e,p,"insert-fragment");return J$e.acceptSelection(h,i)},gJe=eJe,vJe=a$e.isOptionKeyCommand,yJe=oJe.isBrowser("Chrome");var bJe=function(e,t){var n=t.which,r=e._latestEditorState;function i(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case rJe.RETURN:if(t.preventDefault(),e.props.handleReturn&&aJe(e.props.handleReturn(t,r)))return;break;case rJe.ESC:if(t.preventDefault(),i("onEscape"))return;break;case rJe.TAB:if(i("onTab"))return;break;case rJe.UP:if(i("onUpArrow"))return;break;case rJe.RIGHT:if(i("onRightArrow"))return;break;case rJe.DOWN:if(i("onDownArrow"))return;break;case rJe.LEFT:if(i("onLeftArrow"))return;break;case rJe.SPACE:yJe&&vJe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!aJe(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return nJe.redo(t);case"delete":return hJe(t);case"delete-word":return cJe(t);case"backspace":return pJe(t);case"backspace-word":return uJe(t);case"backspace-to-start-of-line":return sJe(t,n);case"split-block":return lJe(t);case"transpose-characters":return mJe(t);case"move-selection-to-start-of-block":return fJe(t);case"move-selection-to-end-of-block":return dJe(t);case"secondary-cut":return iJe.cut(t);case"secondary-paste":return iJe.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else gJe(t,r,e.update);else if(n===rJe.SPACE&&yJe&&vJe(t)){var s=tJe.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(nJe.push(r,s,"insert-characters"))}};var wJe=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_uri",void 0),this._uri=e}return e.prototype.toString=function(){return this._uri},e}(),xJe=wJe,_Je=Hze,SJe=wKe.isBrowser("IE <= 9");var kJe=function(e){var t,n=null;return!SJe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Cs.env.NODE_ENV?_Je(!1,"Missing doc.documentElement"):_Je(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},CJe=_Ke;var EJe=function(e){return!(!e||!e.ownerDocument)&&(CJe(e)&&"A"===e.nodeName)},IJe=_Ke;var OJe,TJe=function(e){return!(!e||!e.ownerDocument)&&(IJe(e)&&"IMG"===e.nodeName)};function NJe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){DJe(e,t,n[t])}))}return e}function DJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var AJe=ize,PJe=bze,MJe=Mze,jJe=zVe,RJe=zUe,LJe=xJe,FJe=RVe,zJe=tBe,BJe=kJe,UJe=qUe,qJe=HFe.exports,VJe=qJe.List,KJe=qJe.Map,HJe=qJe.OrderedSet,WJe=EJe,GJe=WHe,YJe=qKe,QJe=TJe,$Je=UJe("draft_tree_data_support"),JJe=new RegExp("\r","g"),ZJe=new RegExp("\n","g"),XJe=new RegExp("^\n","g"),eZe=new RegExp("&nbsp;","g"),tZe=new RegExp("&#13;?","g"),nZe=new RegExp("&#8203;?","g"),rZe=["bold","bolder","500","600","700","800","900"],iZe=["light","lighter","normal","100","200","300","400"],oZe=["className","href","rel","target","title"],aZe=["alt","className","height","src","width"],sZe=(DJe(OJe={},FJe("public/DraftStyleDefault/depth0"),0),DJe(OJe,FJe("public/DraftStyleDefault/depth1"),1),DJe(OJe,FJe("public/DraftStyleDefault/depth2"),2),DJe(OJe,FJe("public/DraftStyleDefault/depth3"),3),DJe(OJe,FJe("public/DraftStyleDefault/depth4"),4),OJe),uZe=KJe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),cZe=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),KJe(t)},lZe=function(e){if(YJe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},dZe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(sZe).some((function(n){e.classList.contains(n)&&(t=sZe[n])})),t},fZe=function(e){if(!WJe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},pZe=function(e){if(!QJe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},hZe=function(e,t){if(!YJe(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){rZe.indexOf(r)>=0?e.add("BOLD"):iZe.indexOf(r)>=0&&e.remove("BOLD"),"italic"===i?e.add("ITALIC"):"normal"===i&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},mZe=function(e){return"ul"===e||"ol"===e},gZe=function(){function e(e,t){DJe(this,"characterList",VJe()),DJe(this,"currentBlockType","unstyled"),DJe(this,"currentDepth",0),DJe(this,"currentEntity",null),DJe(this,"currentText",""),DJe(this,"wrapper",null),DJe(this,"blockConfigs",[]),DJe(this,"contentBlocks",[]),DJe(this,"entityMap",RJe),DJe(this,"blockTypeMap",void 0),DJe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=VJe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=RJe,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],HJe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&($Je?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||zJe(),n=NJe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:VJe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=VJe(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=i.nodeName.toLowerCase();if("body"===o||mZe(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;mZe(o)&&(this.wrapper=o,mZe(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var u=this.blockTypeMap.get(o);if(void 0===u)if("#text"!==o)if("br"!==o)if(pZe(i))this._addImgNode(i,t);else if(fZe(i))this._addAnchorNode(i,n,t);else{var c=t;uZe.has(o)&&(c=c.add(uZe.get(o))),c=hZe(i,c);var l=lZe(i);null!=l&&(c=c.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(o,this.wrapper)||u[0]||"unstyled"),!$Je&&YJe(i)&&("unordered-list-item"===u||"ordered-list-item"===u)){var p=i;this.currentDepth=dZe(p,this.currentDepth)}var h=zJe(),m=this._toBlockConfigs(Array.from(i.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:m,type:u})),this.currentDepth=d,this.wrapper=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=AJe.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(r))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=VJe()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(XJe,"")).replace(ZJe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){GJe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(QJe(e)){var n=e,r={};aZe.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),UJe("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(WJe(e)){var r=e,i={};oZe.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new LJe(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,r=0;r<=n;r++){var i=e[r];i.parent=t,i.prevSibling=r>0?e[r-1].key:null,i.nextSibling=r<n?e[r+1].key:null,i.children=VJe(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new MJe(NJe({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return VJe(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),r=n.text,i=n.characterList;t.contentBlocks.push(new PJe(NJe({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=VJe(),i=0;i<=t;i++){var o=e[i];n+=o.text,r=r.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}(),vZe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BJe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:jJe,r=t(e=e.trim().replace(JJe,"").replace(eZe," ").replace(tZe,"").replace(nZe,""));if(!r)return null;var i=cZe(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new gZe(i,o).addDOMNode(r).getContentBlocks()};function yZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bZe=bze,wZe=Mze,xZe=vZe,_Ze=tBe,SZe=kJe,kZe=qUe,CZe=HFe.exports,EZe=KUe,IZe=CZe.List,OZe=CZe.Repeat,TZe=kZe("draft_tree_data_support"),NZe=TZe?wZe:bZe,DZe={processHTML:function(e,t){return xZe(e,SZe,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=EZe(r);var o=_Ze(),a={key:o,type:n,text:r,characterList:IZe(OZe(t,r.length))};if(TZe&&0!==i){var s=i-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){yZe(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new NZe(a)),e}),[])}};var AZe=function(e,t,n,r){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},PZe=fUe,MZe=aVe,jZe=AZe,RZe=Rqe,LZe={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return LZe.toggleInlineStyle(e,"BOLD");case"italic":return LZe.toggleInlineStyle(e,"ITALIC");case"underline":return LZe.toggleInlineStyle(e,"UNDERLINE");case"code":return LZe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return LZe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return LZe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=PZe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=MZe.push(e,t,"insert-characters");return MZe.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var o=n.getBlockMap().delete(i.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return MZe.push(e,a,"remove-range")}var s=LZe.tryToRemoveBlockStyle(e);return s?MZe.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockForKey(r).getLength();if(t.getStartOffset()<i)return null;var o=n.getBlockAfter(r);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=PZe.removeRange(n,a,"forward");return s!==n?MZe.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),i=r.getAnchorKey();if(i!==r.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(i),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var u=a.getDepth();if(!e.shiftKey&&u===n)return t;var c=jZe(o,r,e.shiftKey?-1:1,n);return MZe.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),i=n.getEndKey(),o=e.getCurrentContent(),a=n;if(r!==i&&0===n.getEndOffset()){var s=RZe(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()})))return e;var u=o.getBlockForKey(r).getType()===t?"unstyled":t;return MZe.push(e,PZe.setBlockType(o,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?LZe.toggleBlockType(e,"code-block"):LZe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return MZe.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?PZe.removeInlineStyle(o,n,t):PZe.applyInlineStyle(o,n,t),MZe.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=PZe.applyEntity(e.getCurrentContent(),t,n);return MZe.push(e,r,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var r=t.getAnchorKey(),i=e.getCurrentContent(),o=i.getBlockForKey(r).getType(),a=i.getBlockBefore(r);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return PZe.setBlockType(i,t,"unstyled")}return null}},FZe=LZe,zZe=/\r\n?|\n/g;var BZe=YFe,UZe=ize,qZe=SYe,VZe=fUe,KZe=DZe,HZe=aVe,WZe=FZe,GZe=hHe,YZe=IYe,QZe=OYe,$Ze=function(e){return e.split(zZe)};function JZe(e,t,n){var r=VZe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return HZe.push(e,r.set("entityMap",n),"insert-fragment")}var ZZe=function(e,t){t.preventDefault();var n=new qZe(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&QZe(e.props.handlePastedFiles(r)))return;return void YZe(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=$Ze(t),o=UZe.create({style:n.getCurrentInlineStyle(),entity:GZe(n.getCurrentContent(),n.getSelection())}),a=WZe.getCurrentBlockType(n),s=KZe.processText(r,o,a),u=BZe.createFromArray(s),c=VZe.replaceWithFragment(n.getCurrentContent(),n.getSelection(),u);e.update(HZe.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),u=e._latestEditorState;if(!e.props.handlePastedText||!QZe(e.props.handlePastedText(a,s,u))){if(a&&(o=$Ze(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(JZe(e._latestEditorState,c))}else if(c&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,c))return void e.update(JZe(e._latestEditorState,c));if(s){var l=KZe.processHTML(s,e.props.blockRenderMap);if(l){var d=l.contentBlocks,f=l.entityMap;if(d){var p=BZe.createFromArray(d);return void e.update(JZe(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=UZe.create({style:u.getCurrentInlineStyle(),entity:GZe(u.getCurrentContent(),u.getSelection())}),m=WZe.getCurrentBlockType(u),g=KZe.processText(o,h,m),v=BZe.createFromArray(g);e.update(JZe(e._latestEditorState,v))}}},XZe=wKe,eXe=eQe,tXe=iQe,nXe=aQe,rXe=lQe,iXe=yQe,oXe=bQe,aXe=wQe,sXe=SQe,uXe=e$e,cXe=bJe,lXe=ZZe,dXe=lHe,fXe=XZe.isBrowser("Chrome"),pXe=XZe.isBrowser("Firefox"),hXe=fXe||pXe?dXe:function(e){},mXe={onBeforeInput:eXe,onBlur:tXe,onCompositionStart:nXe,onCopy:rXe,onCut:iXe,onDragOver:oXe,onDragStart:aXe,onFocus:sXe,onInput:uXe,onKeyDown:cXe,onPaste:lXe,onSelect:dXe,onMouseUp:hXe,onKeyUp:hXe},gXe=Me.unstable_flushControlled;var vXe=o,yXe=RVe,bXe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},i.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=yXe({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return vXe.createElement("div",{className:t},vXe.createElement("div",{className:yXe("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(vXe.Component),wXe=bXe,xXe=a$e,_Xe=BKe,SXe=wKe,kXe=SXe.isPlatform("Mac OS X"),CXe=kXe&&SXe.isBrowser("Firefox < 29"),EXe=xXe.hasCommandModifier,IXe=xXe.isCtrlKeyCommand;function OXe(e){return kXe&&e.altKey||IXe(e)}var TXe=function(e){switch(e.keyCode){case 66:return EXe(e)?"bold":null;case 68:return IXe(e)?"delete":null;case 72:return IXe(e)?"backspace":null;case 73:return EXe(e)?"italic":null;case 74:return EXe(e)?"code":null;case 75:return kXe&&IXe(e)?"secondary-cut":null;case 77:case 79:return IXe(e)?"split-block":null;case 84:return kXe&&IXe(e)?"transpose-characters":null;case 85:return EXe(e)?"underline":null;case 87:return kXe&&IXe(e)?"backspace-word":null;case 89:return IXe(e)?kXe?"secondary-paste":"redo":null;case 90:return function(e){return EXe(e)?e.shiftKey?"redo":"undo":null}(e)||null;case _Xe.RETURN:return"split-block";case _Xe.DELETE:return function(e){return!kXe&&e.shiftKey?null:OXe(e)?"delete-word":"delete"}(e);case _Xe.BACKSPACE:return function(e){return EXe(e)&&kXe?"backspace-to-start-of-line":OXe(e)?"backspace-word":"backspace"}(e);case _Xe.LEFT:return CXe&&EXe(e)?"move-selection-to-start-of-block":null;case _Xe.RIGHT:return CXe&&EXe(e)?"move-selection-to-end-of-block":null;default:return null}},NXe=UH;function DXe(){return DXe=NXe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DXe.apply(this,arguments)}function AXe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){MXe(e,t,n[t])}))}return e}function PXe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jXe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var RXe=zVe,LXe=BVe,FXe=OHe,zXe=sYe,BXe=qYe,UXe=mXe,qXe=gXe,VXe=wXe,KXe=aVe,HXe=o,WXe=NWe,GXe=zWe,YXe=RVe,QXe=tBe,$Xe=TXe,JXe=GWe,ZXe=qUe,XXe=Hze,e0e=qKe,t0e=Rqe,n0e=wKe.isBrowser("IE"),r0e=!n0e,i0e={edit:UXe,composite:FXe,drag:BXe,cut:null,render:null},o0e=!1,a0e=function(e){function t(){return e.apply(this,arguments)||this}jXe(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(HXe.Component),s0e=function(e){function t(t){var n;return MXe(PXe(n=e.call(this,t)||this),"_blockSelectEvents",void 0),MXe(PXe(n),"_clipboard",void 0),MXe(PXe(n),"_handler",void 0),MXe(PXe(n),"_dragCount",void 0),MXe(PXe(n),"_internalDrag",void 0),MXe(PXe(n),"_editorKey",void 0),MXe(PXe(n),"_placeholderAccessibilityID",void 0),MXe(PXe(n),"_latestEditorState",void 0),MXe(PXe(n),"_latestCommittedEditorState",void 0),MXe(PXe(n),"_pendingStateFromBeforeInput",void 0),MXe(PXe(n),"_onBeforeInput",void 0),MXe(PXe(n),"_onBlur",void 0),MXe(PXe(n),"_onCharacterData",void 0),MXe(PXe(n),"_onCompositionEnd",void 0),MXe(PXe(n),"_onCompositionStart",void 0),MXe(PXe(n),"_onCopy",void 0),MXe(PXe(n),"_onCut",void 0),MXe(PXe(n),"_onDragEnd",void 0),MXe(PXe(n),"_onDragOver",void 0),MXe(PXe(n),"_onDragStart",void 0),MXe(PXe(n),"_onDrop",void 0),MXe(PXe(n),"_onInput",void 0),MXe(PXe(n),"_onFocus",void 0),MXe(PXe(n),"_onKeyDown",void 0),MXe(PXe(n),"_onKeyPress",void 0),MXe(PXe(n),"_onKeyUp",void 0),MXe(PXe(n),"_onMouseDown",void 0),MXe(PXe(n),"_onMouseUp",void 0),MXe(PXe(n),"_onPaste",void 0),MXe(PXe(n),"_onSelect",void 0),MXe(PXe(n),"editor",void 0),MXe(PXe(n),"editorContainer",void 0),MXe(PXe(n),"focus",void 0),MXe(PXe(n),"blur",void 0),MXe(PXe(n),"setMode",void 0),MXe(PXe(n),"exitCurrentMode",void 0),MXe(PXe(n),"restoreEditorDOM",void 0),MXe(PXe(n),"setClipboard",void 0),MXe(PXe(n),"getClipboard",void 0),MXe(PXe(n),"getEditorKey",void 0),MXe(PXe(n),"update",void 0),MXe(PXe(n),"onDragEnter",void 0),MXe(PXe(n),"onDragLeave",void 0),MXe(PXe(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),MXe(PXe(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=GXe.getScrollParent(i),a=e||JXe(o),s=a.x,u=a.y;e0e(i)||("production"!==Cs.env.NODE_ENV?XXe(!1,"editorNode is not an HTMLElement"):XXe(!1)),i.focus(),o===window?window.scrollTo(s,u):WXe.setTop(o,u),r||n.update(KXe.forceSelection(t,t.getSelection()))}})),MXe(PXe(n),"blur",(function(){var e=n.editor;e&&(e0e(e)||("production"!==Cs.env.NODE_ENV?XXe(!1,"editorNode is not an HTMLElement"):XXe(!1)),e.blur())})),MXe(PXe(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=AXe({},i0e.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=AXe({},i0e,{edit:a});n._handler=s[e]})),MXe(PXe(n),"exitCurrentMode",(function(){n.setMode("edit")})),MXe(PXe(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),MXe(PXe(n),"setClipboard",(function(e){n._clipboard=e})),MXe(PXe(n),"getClipboard",(function(){return n._clipboard})),MXe(PXe(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),MXe(PXe(n),"onDragEnter",(function(){n._dragCount++})),MXe(PXe(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=t.editorKey||QXe(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},"production"!==Cs.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),n.state={contentsKey:0},n}jXe(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(qXe?qXe((function(){return r(t,n)})):r(t,n))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:t0e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return HXe.createElement(VXe,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,u=e.readOnly,c=e.textAlignment,l=e.textDirectionality,d=YXe({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:AXe({},LXe,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:l};return HXe.createElement("div",{className:d},this._renderPlaceholder(),HXe.createElement("div",{className:YXe("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},HXe.createElement("div",{"aria-activedescendant":u?null:this.props.ariaActiveDescendantID,"aria-autocomplete":u?null:this.props.ariaAutoComplete,"aria-controls":u?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":u?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":u?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:YXe({notranslate:!u,"public/DraftEditor/content":!0}),contentEditable:!u,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:u?null:f,spellCheck:r0e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},HXe.createElement(a0e,{editor:this,editorState:a}),HXe.createElement(zXe,DXe({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!o0e&&ZXe("draft_ods_enabled")&&(o0e=!0),this.setMode("edit"),n0e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Fe.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(HXe.Component);MXe(s0e,"defaultProps",{blockRenderMap:RXe,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:$Xe,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var u0e=s0e,c0e=Be(Object.freeze({__proto__:null})),l0e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},d0e=l0e,f0e=DQe.strlen;var p0e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(r,i){var o=e.getText(),a=e.getEntityAt(r);n.push({offset:f0e(o.slice(0,r)),length:f0e(o.slice(r,i)),key:Number(t[d0e.stringify(a)])})})),n},h0e=DQe,m0e=oze,g0e=function(e,t){return e===t},v0e=function(e){return!!e},y0e=[];var b0e=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var r=[],i=t.map((function(e){return e.has(n)})).toList();return m0e(i,g0e,v0e,(function(t,i){var o=e.getText();r.push({offset:h0e.strlen(o.slice(0,t)),length:h0e.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(y0e,n.toJS())};function w0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x0e=bze,_0e=Mze,S0e=l0e,k0e=p0e,C0e=b0e,E0e=Hze,I0e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:C0e(e),entityRanges:k0e(e,t),data:e.getData().toObject()}},O0e=function(e,t,n,r){if(e instanceof x0e)n.push(I0e(e,t));else{e instanceof _0e||("production"!==Cs.env.NODE_ENV?E0e(!1,"block is not a BlockNode"):E0e(!1));var i=e.getParentKey(),o=r[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){w0e(e,t,n[t])}))}return e}({},I0e(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},T0e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],i={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),i=S0e.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),O0e(e,n,r,i)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,i={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(S0e.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function N0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){D0e(e,t,n[t])}))}return e}function D0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A0e=tBe,P0e=Hze,M0e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},j0e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Cs.env.NODE_ENV?P0e(!1,"Invalid raw state"):P0e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var i=r.children;Array.isArray(i)||("production"!==Cs.env.NODE_ENV?P0e(!1,"Invalid tree raw block"):P0e(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=N0e({},e);M0e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?N0e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,N0e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=M0e(e),i=e.depth||0,o=N0e({},e,{children:[]});if(r){var a=n[0];if(null==a&&0===i)t.push(o);else if(null==a||a.depth<i-1){var s={key:A0e(),text:"",depth:i-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===i?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===i-1)a.children.push(o);else{for(;null!=a&&a.depth>=i;)n.shift(),a=n[0];i>0?a.children.push(o):t.push(o)}}else t.push(o)})),N0e({},e,{blocks:t})}},R0e=j0e,L0e=jQe,F0e={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is missing parent -> child pointer on %s",n),!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==n)return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==i&&i===o?("production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Cs.env.NODE_ENV&&L0e(!0,"Leaf node %s has children",n),!1)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),i=[];null!=r;){var o=e.get(r),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var u=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==Cs.env.NODE_ENV&&L0e(!0,"%s has no first child",r),!1;r=u.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is not connected. %s nodes were seen instead of %s",n,e.size),!1)},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}},z0e=F0e,B0e=ize,U0e=HFe.exports.List;var q0e=function(e,t){var n=e.map((function(e,n){var r=t[n];return B0e.create({style:e,entity:r})}));return U0e(n)},V0e=DQe.substr;var K0e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=V0e(e,0,t.offset).length,i=r+V0e(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},H0e=DQe,W0e=HFe.exports.OrderedSet,G0e=H0e.substr,Y0e=W0e();var Q0e=function(e,t){var n=Array(e.length).fill(Y0e);return t&&t.forEach((function(t){for(var r=G0e(e,0,t.offset).length,i=r+G0e(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function $0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){J0e(e,t,n[t])}))}return e}function J0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z0e=bze,X0e=Mze,e1e=fqe,t1e=zUe,n1e=R0e,r1e=z0e,i1e=UUe,o1e=q0e,a1e=K0e,s1e=Q0e,u1e=tBe,c1e=HFe.exports,l1e=Hze,d1e=qUe("draft_tree_data_support"),f1e=c1e.List,p1e=c1e.Map,h1e=c1e.OrderedMap,m1e=function(e,t){var n=e.key,r=e.type,i=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||u1e(),data:p1e(i),characterList:g1e(e,t)}},g1e=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return o1e(s1e(n,i||[]),a1e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return $0e({},e,{key:t[e.key]})}))))},v1e=function(e){return $0e({},e,{key:e.key||u1e()})},y1e=function(e,t,n){var r=t.map((function(e){return $0e({},e,{parentRef:n})}));return e.concat(r.reverse())},b1e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=d1e&&!n?n1e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!d1e)return function(e,t){return h1e(e.map((function(e){var n=new Z0e(m1e(e,t));return[n.getKey(),n]})))}(n?n1e.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(v1e).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Cs.env.NODE_ENV?l1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):l1e(!1));var o=r.children.map(v1e),a=new X0e($0e({},m1e(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:f1e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=y1e([],o,a);s.length>0;){var u=s.pop(),c=u.parentRef,l=c.getChildKeys(),d=l.indexOf(u.key),f=Array.isArray(u.children);if(!f){f||("production"!==Cs.env.NODE_ENV?l1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):l1e(!1));break}var p=u.children.map(v1e),h=new X0e($0e({},m1e(u,t),{parent:c.getKey(),children:f1e(p.map((function(e){return e.key}))),prevSibling:0===d?null:l.get(d-1),nextSibling:d===l.size-1?null:l.get(d+1)}));n=n.set(h.getKey(),h),s=y1e(s,p,h)}return n}),h1e())}(r,t);return"production"!==Cs.env.NODE_ENV&&(r1e.isValidTree(i)||("production"!==Cs.env.NODE_ENV?l1e(!1,"Should be a valid tree"):l1e(!1))),i},w1e=function(e){Array.isArray(e.blocks)||("production"!==Cs.env.NODE_ENV?l1e(!1,"invalid RawDraftContentState"):l1e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],i=r.type,o=r.mutability,a=r.data;n[e]=t1e.__create(i,o,a||{})})),n}(e),n=b1e(e,t),r=n.isEmpty()?new i1e:i1e.createEmpty(n.first().getKey());return new e1e({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},x1e=h$e;var _1e=function(e){var t=x1e(e),n=0,r=0,i=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,i=a.bottom,o=a.left}else{var s=t[0];n=s.top,r=s.right,i=s.bottom,o=s.left}for(var u=1;u<t.length;u++){var c=t[u];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}};var S1e={Editor:u0e,EditorBlock:WGe,EditorState:aVe,CompositeDecorator:MVe,Entity:zUe,EntityInstance:TUe,BlockMapBuilder:YFe,CharacterMetadata:ize,ContentBlock:bze,ContentState:fqe,RawDraftContentState:c0e,SelectionState:UUe,AtomicBlockUtils:DVe,KeyBindingUtil:a$e,Modifier:fUe,RichUtils:FZe,DefaultDraftBlockRenderMap:zVe,DefaultDraftInlineStyle:BVe,convertFromHTML:vZe,convertFromRaw:w1e,convertToRaw:T0e,genKey:tBe,getDefaultKeyBinding:TXe,getVisibleSelectionRect:function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=_1e(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r}},k1e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset};o.createElement("p",null),o.createElement("p",null),o.createElement("h1",null),o.createElement("h2",null),o.createElement("h3",null),o.createElement("h4",null),o.createElement("h5",null),o.createElement("h6",null),o.createElement("blockquote",null),o.createElement("li",null),o.createElement("ul",null),o.createElement("li",null),o.createElement("figure",null),o.createElement("figure",null);var C1e={exports:{}};C1e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:G(e)}function r(e){return s(e)?e:Y(e)}function i(e){return u(e)?e:Q(e)}function o(e){return a(e)&&!c(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function S(e){e&&(e.value=!0)}function k(){}function C(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function E(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function I(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function O(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function N(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var P=0,M=1,j=2,R="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",F=R||L;function z(e){this.next=e}function B(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function U(){return{value:void 0,done:!0}}function q(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function K(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(R&&e[R]||e[L]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function G(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=P,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[F]=function(){return this},t(G,n),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(e,t){return de(this,e,t,!0)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,G),Y.prototype.toKeyedSeq=function(){return this},t(Q,G),Q.of=function(){return Q(arguments)},Q.prototype.toIndexedSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq [","]")},Q.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Q.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t($,G),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},G.isSeq=oe,G.Keyed=Y,G.Set=$,G.Indexed=Q;var J,Z,X,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return J||(J=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new ie(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return W(e)?new te(e):V(e)?new ie(e):q(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new z((function(){var e=i[n?o-a:a];return a++>o?U():B(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Q(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Q(e).map(me).toList():ge(e)?Y(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(X)return X;X=this}}function _e(){throw TypeError("Abstract")}function Se(){}function ke(){}function Ce(){}G.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[I(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new z((function(){return i>r?U():B(e,i,n[t?r-i++:i++])}))},t(ne,Y),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new z((function(){var a=r[t?i-o:o];return o++>i?U():B(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(V(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!V(n))return new z(U);var r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value)}))},t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new z((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return B(e,i,r[i++])}))},t(be,Q),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new be(this._value,D(t,n)-N(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,r=0;return new z((function(){return r<n.size?B(e,r++,n._value):U()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,Q),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+I(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=N(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new z((function(){var a=i;return i+=t?-r:r,o>n?U():B(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Se,_e),t(ke,_e),t(Ce,_e),_e.Keyed=Se,_e.Indexed=ke,_e.Set=Ce;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ie(e){return e>>>1&1073741824|3221225471&e}function Oe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ie(n)}if("string"===t)return e.length>ze?Te(e):Ne(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Ne(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=qe[e];return void 0===t&&(t=Ne(e),Ue===Be&&(Ue=0,qe={}),Ue++,qe[e]=t),t}function Ne(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ie(t)}function De(e){var t;if(Re&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Pe){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),Re)je.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pe)Object.defineProperty(e,Fe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Ae=Object.isExtensible,Pe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Me(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var je,Re="function"==typeof WeakMap;Re&&(je=new WeakMap);var Le=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var ze=16,Be=255,Ue=0,qe={};function Ve(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?it():He(e)&&!l(e)?e:it().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ge])}t(Ke,Se),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return ot(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return ot(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},Ke.prototype.merge=function(){return ft(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return ft(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return qt(dn(this,e))},Ke.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ke.isMap=He;var We,Ge="@@__IMMUTABLE_MAP__@@",Ye=Ke.prototype;function Qe(e,t){this.ownerID=e,this.entries=t}function $e(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Je(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Xe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return B(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var i=Object.create(Ye);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return We||(We=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===b?e:(S(s),S(a),new Xe(t,r,[i,o]))}function st(e){return e.constructor===Xe||e.constructor===Ze}function ut(e,t,n,r,i){if(e.keyHash===r)return new Ze(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new $e(t,1<<a|1<<s,a===s?[ut(e,t,n+g,r,i)]:(o=new Xe(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Xe(e,Oe(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function lt(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new $e(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Je(e,o+1,a)}function ft(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],u=r(s);a(s)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return ve(t,i)?t:i}}function mt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var u=o.value,c=i?b:e.get(u,b),l=gt(c,t,n,r);return l===c?e:l===b?e.remove(u):(i?it():e).set(u,l)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var i=r?e:C(e);return i[t]=n,i}function bt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ye[Ge]=!0,Ye[m]=Ye.remove,Ye.removeIn=Ye.deleteIn,Qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Qe.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),!s||1!==u.length){if(!d&&!s&&u.length>=xt)return ct(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Qe(e,p)}},$e.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},$e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===b)return this;var d=vt(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=_t)return dt(e,f,c,s,h);if(l&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=l?h?c:c^u:c|u,w=l?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new $e(e,v,w)},Je.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Je.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=i===b,c=this.nodes,l=c[s];if(u&&!l)return this;var d=at(l,e,t+g,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<St)return lt(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Je(e,f,h)},Ze.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=i===b;if(n!==this.keyHash)return s?this:(S(a),S(o),ut(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),s&&2===l)return new Xe(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ze(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Xe.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,u=ve(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(S(a),s?void S(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Xe(e,this.keyHash,[r,i]):(S(o),ut(this,e,t,Oe(r),[r,i])))},Qe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},$e.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Xe.prototype.iterate=function(e,t){return e(this.entry)},t(et,z),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return U()};var xt=v/4,_t=v/2,St=v/4;function kt(e){var t=Mt();if(null==e)return t;if(Ct(e))return e;var n=i(e),r=n.size;return 0===r?t:(Ve(r),r>0&&r<v?Pt(0,r,g,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ct(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=I(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return jt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return zt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){zt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return zt(this,1)},kt.prototype.merge=function(){return Bt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},kt.prototype.setSize=function(e){return zt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:zt(this,N(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=At(this,t);return new z((function(){var t=r();return t===Dt?U():B(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=At(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=Ct;var Et="@@__IMMUTABLE_LIST__@@",It=kt.prototype;function Ot(e,t){this.array=e,this.ownerID=t}It[Et]=!0,It[m]=It.remove,It.setIn=Ye.setIn,It.deleteIn=It.removeIn=Ye.removeIn,It.update=Ye.update,It.updateIn=Ye.updateIn,It.mergeIn=Ye.mergeIn,It.mergeDeepIn=Ye.mergeDeepIn,It.withMutations=Ye.withMutations,It.asMutable=Ye.asMutable,It.asImmutable=Ye.asImmutable,It.wasAltered=Ye.wasAltered,Ot.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new Ot([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ot.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Nt,Dt={};function At(e,t){var n=e._origin,r=e._capacity,i=Ut(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(u===c)return Dt;var e=t?--c:u++;return s&&s[e]}}function u(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>v&&(l=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===l)return Dt;var n=t?--l:c++;s=a(u&&u[n],i-g,o+(n<<i))}}}}function Pt(e,t,n,r,i,o,a){var s=Object.create(It);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Tt||(Tt=Pt(0,0,g))}function jt(e,t,n){if((t=I(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=_(x);return t>=Ut(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,o):i=Rt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Pt(e._origin,e._capacity,e._level,i,r):e}function Rt(e,t,n,r,i,o){var a,s=r>>>n&y,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=Rt(c,t,n-g,r,i,o);return l===c?e:((a=Lt(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(S(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new Ot(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=g);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=Ut(o),f=Ut(s);f>=1<<u+g;)c=new Ot(c&&c.array.length?[c]:[],r),u+=g;var p=e._tail,h=f<d?Ft(e,s-1):f>d?new Ot([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=u;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var w=a>>>u&y;if(w!==f>>>u&y)break;w&&(l+=(1<<u)*w),u-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Pt(a,s,u,c,h)}function Bt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var u=n[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Ut(e){return e<v?0:e-1>>>g<<g}function qt(e){return null==e?Ht():Vt(e)?e:Ht().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Vt(e){return He(e)&&l(e)}function Kt(e,t,n,r){var i=Object.create(qt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ht(){return Nt||(Nt=Kt(it(),Mt()))}function Wt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===b){if(!u)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Kt(r,i)}function Gt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function $t(e){this._iter=e,this.size=e.size}function Jt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var r=e.__iterator(t,n);return new z((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?P:M,n)},t}function Zt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(j,i);return new z((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return B(r,s,t.call(n,a[1],s,e),i)}))},r}function Xt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Jt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(j,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(t.call(n,l,c,e))return B(i,r?c:s++,l,o)}}))},i}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(l(e)?qt():Ke()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=yn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),T(t,n,i))return e;var o=N(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=I(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new z((function(){for(;a++<o;)i.next();if(++u>s)return U();var e=i.next();return r||t===M?e:B(t,u-1,t===P?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(j,i),s=!0;return new z((function(){if(!s)return U();var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?r===j?e:B(r,u,c,e):(s=!1,U())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(j,o),u=!0,c=0;return new z((function(){var e,o,l;do{if((e=s.next()).done)return r||i===M?e:B(i,c++,i===P?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return i===j?e:B(i,o,l,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||u(e)&&u(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?u(e,c+1):!1===r(e,n?i:o++,l)&&(s=!0),!s}),i)}return u(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],u=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===j&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:B(r,u++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return U()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(M,r),a=0;return new z((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?B(n,a++,t):B(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Y(o):u(e)?Q(o):$(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=bn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),K(i?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?U():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ve(e.size),E(e)}function yn(e){return s(e)?r:u(e)?i:o}function bn(e){return Object.create((s(e)?Y:u(e)?Q:$).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function Sn(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);In(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Ke(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(qt,Ke),qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ht()},qt.prototype.set=function(e,t){return Wt(this,e,t)},qt.prototype.remove=function(e){return Wt(this,e,b)},qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Vt,qt.prototype[h]=!0,qt.prototype[m]=qt.prototype.remove,t(Gt,Y),Gt.prototype.get=function(e,t){return this._iter.get(e,t)},Gt.prototype.has=function(e){return this._iter.has(e)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Gt.prototype.map=function(e,t){var n=this,r=Zt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Gt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Gt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),r=t?vn(this):0;return new z((function(){var i=n.next();return i.done?i:B(e,t?--r:r++,i.value,i)}))},Gt.prototype[h]=!0,t(Yt,Q),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value,t)}))},t(Qt,$),Qt.prototype.has=function(e){return this._iter.includes(e)},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){var t=n.next();return t.done?t:B(e,t.value,t.value,t)}))},t($t,Y),$t.prototype.entrySeq=function(){return this._iter.toSeq()},$t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},$t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return B(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Yt.prototype.cacheResult=Gt.prototype.cacheResult=Qt.prototype.cacheResult=$t.prototype.cacheResult=wn,t(Sn,Se),Sn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},Sn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Sn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Cn(this,it()))},Sn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Cn(this,n)},Sn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Cn(this,t)},Sn.prototype.wasAltered=function(){return this._map.wasAltered()},Sn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Sn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Sn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Cn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=Sn.prototype;function Cn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function En(e){return e._name||e.constructor.name||"Record"}function In(e,t){try{t.forEach(On.bind(void 0,e))}catch(e){}}function On(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?Rn():Nn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ye.removeIn,kn.merge=Ye.merge,kn.mergeWith=Ye.mergeWith,kn.mergeIn=Ye.mergeIn,kn.mergeDeep=Ye.mergeDeep,kn.mergeDeepWith=Ye.mergeDeepWith,kn.mergeDeepIn=Ye.mergeDeepIn,kn.setIn=Ye.setIn,kn.update=Ye.update,kn.updateIn=Ye.updateIn,kn.withMutations=Ye.withMutations,kn.asMutable=Ye.asMutable,kn.asImmutable=Ye.asImmutable,t(Tn,Ce),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Mn(this,this._map.clear())},Tn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Tn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Tn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Tn.isSet=Nn;var Dn,An="@@__IMMUTABLE_SET__@@",Pn=Tn.prototype;function Mn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function jn(e,t){var n=Object.create(Pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Dn||(Dn=jn(it()))}function Ln(e){return null==e?qn():Fn(e)?e:qn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Nn(e)&&l(e)}Pn[An]=!0,Pn[m]=Pn.remove,Pn.mergeDeep=Pn.merge,Pn.mergeDeepWith=Pn.mergeWith,Pn.withMutations=Ye.withMutations,Pn.asMutable=Ye.asMutable,Pn.asImmutable=Ye.asImmutable,Pn.__empty=Rn,Pn.__make=jn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=Fn;var zn,Bn=Ln.prototype;function Un(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qn(){return zn||(zn=Un(Ht()))}function Vn(e){return null==e?Qn():Kn(e)?e:Qn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Un,t(Vn,ke),Vn.of=function(){return this(arguments)},Vn.prototype.toString=function(){return this.__toString("Stack [","]")},Vn.prototype.get=function(e,t){var n=this._head;for(e=I(this,e);n&&e--;)n=n.next;return n?n.value:t},Vn.prototype.peek=function(){return this._head&&this._head.value},Vn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yn(e,t)},Vn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Ve(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yn(t,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.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):Qn()},Vn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=N(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yn(r,i)},Vn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new z((function(){if(r){var t=r.value;return r=r.next,B(e,n++,t)}return U()}))},Vn.isStack=Kn;var Hn,Wn="@@__IMMUTABLE_STACK__@@",Gn=Vn.prototype;function Yn(e,t,n,r){var i=Object.create(Gn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qn(){return Hn||(Hn=Yn(0))}function $n(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Gn[Wn]=!0,Gn.withMutations=Ye.withMutations,Gn.asMutable=Ye.asMutable,Gn.asImmutable=Ye.asImmutable,Gn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){Ve(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Gt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(P)},map:function(e,t){return mn(this,Zt(this,e,t))},reduce:function(e,t,n){var r,i;return Ve(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Xt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(O)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(this,e,!0))},fromEntrySeq:function(){return new $t(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Xn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(this,t?nr(t):or,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Jn=n.prototype;Jn[d]=!0,Jn[F]=Jn.values,Jn.__toJS=Jn.toArray,Jn.__toStringMapper=rr,Jn.inspect=Jn.toSource=function(){return this.toString()},Jn.chain=Jn.flatMap,Jn.contains=Jn.includes,function(){try{Object.defineProperty(Jn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.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. "+e),this.size}}})}catch(e){}}(),$n(r,{flip:function(){return mn(this,Jt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Zn=r.prototype;function Xn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return C(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(Oe(e),Oe(t))|0}:function(e,t){r=r+ur(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}function sr(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ie((t=Ee(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[f]=!0,Zn[F]=Jn.entries,Zn.__toJS=Jn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},$n(i,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Xt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=N(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=I(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=I(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,ln(this,e))},interleave:function(){var e=[this].concat(C(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(C(arguments))))},zipWith:function(e){var t=C(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!0,$n(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Jn.includes,$n(Y,r.prototype),$n(Q,i.prototype),$n($,o.prototype),$n(Se,r.prototype),$n(ke,i.prototype),$n(Ce,o.prototype),{Iterable:n,Seq:G,Collection:_e,Map:Ke,OrderedMap:qt,List:kt,Stack:Vn,Set:Tn,OrderedSet:Ln,Record:Sn,Range:xe,Repeat:be,is:ve,fromJS:pe}}();var E1e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function I1e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=E1e(e)):t=E1e(e);return t.body}var O1e=new RegExp("\r","g"),T1e=new RegExp("\n","g"),N1e=new RegExp("&nbsp;","g"),D1e=new RegExp("\r","g"),A1e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],P1e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},M1e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},j1e=function(e,t,n){},R1e=function(e,t,n){return n},L1e=function(e,t){},F1e=function(e){return[]},z1e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function B1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:C1e.exports.Map();return!0===n?{text:"\r",inlines:[C1e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[C1e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function U1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C1e.exports.Map();return{text:"\r",inlines:[C1e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function q1e(e,t){switch(e){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===t?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function V1e(e,t,n){return q1e(e,n)}function K1e(e,t,n){var r=P1e[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var i=t;n=n.withMutations((function(e){"bold"===i.style.fontWeight&&e.add("BOLD"),"italic"===i.style.fontStyle&&e.add("ITALIC"),"underline"===i.style.textDecoration&&e.add("UNDERLINE"),"line-through"===i.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function H1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C1e.exports.OrderedSet();return K1e(e,t,n)}function W1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.text.slice(0,1),i=e.text.slice(-1),o="\r"===i&&"\r"===r,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(" "===t.text||"\n"===t.text)return e;" "!==r&&"\n"!==r||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var u=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:u}}function G1e(e,t,n,r,i,o,a,s,u,c,l,d,f,p,h,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==r)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:" ",inlines:[C1e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(b=b.replace(T1e," "));var w=Array(b.length).fill(m),x=0;return u(b,l,d,f,p).sort(k1e).forEach((function(e){var t=e.entity,n=e.offset,r=e.length,i=e.result,o=n+x;null==i&&(i=b.substr(o,r));var a=b.split("");a.splice.bind(a,o,r).apply(a,i.split("")),b=a.join(""),w.splice.bind(w,o,r).apply(w,Array(i.length).fill(t)),x+=i.length-r})),{text:b,inlines:Array(b.length).fill(t),entities:w,blocks:[]}}if("br"===g){var _=r;return null===_?B1e("unstyled",o,!0):B1e(_||"unstyled",o,h.flat)}var S={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=K1e(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,r=null);var k,C,E=c(g,e,n,r);if(!1===E)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(E=E||{})?(k=E,C=C1e.exports.Map()):(k="string"==typeof E?E:E.type,C=E.data?C1e.exports.Map(E.data):C1e.exports.Map()),r||-1===i.indexOf(g)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==g)r&&"atomic"!==r&&"atomic"===k&&(r=k,v=!0,S=B1e(k,o,!0,C));else{var I=q1e(g,n);S=U1e(I,o),r=I,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else S=U1e(k||q1e(g,n),o,C),r=k||q1e(g,n),v=!0;var O=e.firstChild;null!=O||!m||"atomic"!==k&&"atomic"!==r||(O=document.createTextNode("a")),null!=O&&(g=O.nodeName.toLowerCase());for(var T=null;O;){T=s(g,O,l,d,f,p),S=W1e(S,G1e(O,t,n,r,i,o,a,s,u,c,l,d,f,p,h,T||m),h.flat);var N=O.nextSibling;if(N&&i.indexOf(g)>=0&&r){var D=c(g,O,n,r),A=void 0,P=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,P=C1e.exports.Map()):(A=D.type||q1e(g,n),P=D.data?C1e.exports.Map(D.data):C1e.exports.Map()),S=W1e(S,B1e(A,o,h.flat,P),h.flat))}N&&(g=N.nodeName.toLowerCase()),O=N}return v&&(S=W1e(S,U1e(y,o,C1e.exports.Map()),h.flat)),S}function Y1e(e,t,n,r,i,o,a,s,u,c,l){var d=l(e=e.trim().replace(O1e,"").replace(N1e," "));if(!d)return null;var f=function(e){return A1e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?A1e.concat(["div"]):["div"],p=G1e(d,C1e.exports.OrderedSet(),"ul",null,f,-1,t,n,r,i,o,a,s,u,c);return 0===p.text.indexOf("\r")&&(p={text:p.text.slice(1),inlines:p.inlines.slice(1),entities:p.entities.slice(1),blocks:p.blocks}),"\r"===p.text.slice(-1)&&(p.text=p.text.slice(0,-1),p.inlines=p.inlines.slice(0,-1),p.entities=p.entities.slice(0,-1),p.blocks.pop()),0===p.blocks.length&&p.blocks.push({type:"unstyled",data:C1e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:C1e.exports.Map(),depth:0}),p}function Q1e(e,t,n,r,i,o,a,s,u,c,l,d){var f=Y1e(e,t,n,r,i,o,a,s,u,c,l);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(D1e,"");var n=p+e.length,r=z1e(f).inlines.slice(p,n),i=z1e(f).entities.slice(p,n),o=C1e.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),S1e.CharacterMetadata.create(n)})));return p=n+1,new S1e.ContentBlock({key:d(),type:z1e(f).blocks[t].type,data:z1e(f).blocks[t].data,depth:z1e(f).blocks[t].depth,text:e,characterList:o})}))}var $1e=function(e){var t=e.htmlToStyle,n=void 0===t?R1e:t,r=e.htmlToEntity,i=void 0===r?L1e:r,o=e.textToEntity,a=void 0===o?F1e:o,s=e.htmlToBlock,u=void 0===s?j1e:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I1e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:S1e.genKey,s=S1e.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():S1e.Entity.create.apply(S1e.Entity,arguments)},l=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):S1e.Entity.get.apply(S1e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):S1e.Entity.mergeData.apply(S1e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):S1e.Entity.replaceData.apply(S1e.Entity,arguments)},p=Q1e(e,M1e(n,H1e),M1e(i,L1e),M1e(a,F1e),M1e(u,V1e),c,l,d,f,t,r,o),h=S1e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:h,selectionBefore:S1e.SelectionState.createEmpty(m),selectionAfter:S1e.SelectionState.createEmpty(m)})}};nG('/**\n * Draft v0.11.6\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}');var J1e={};function Z1e(e){e&&(e.value=!0)}function X1e(){}function e2e(e){return void 0===e.size&&(e.size=e.__iterate(n2e)),e.size}function t2e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?e2e(e)+t:t}function n2e(){return!0}function r2e(e,t,n){return(0===e&&!s2e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function i2e(e,t){return a2e(e,t,0)}function o2e(e,t){return a2e(e,t,t)}function a2e(e,t,n){return void 0===e?n:s2e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function s2e(e){return e<0||0===e&&1/e==-1/0}function u2e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function c2e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function l2e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function d2e(e){return c2e(e)||l2e(e)}var f2e=function(e){return u2e(e)?e:A2e(e)},p2e=function(e){function t(e){return c2e(e)?e:P2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(f2e),h2e=function(e){function t(e){return l2e(e)?e:M2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(f2e),m2e=function(e){function t(e){return u2e(e)&&!d2e(e)?e:j2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(f2e);f2e.Keyed=p2e,f2e.Indexed=h2e,f2e.Set=m2e;function g2e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function v2e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function y2e(e){return u2e(e)||v2e(e)}var b2e="@@__IMMUTABLE_ORDERED__@@";function w2e(e){return Boolean(e&&e[b2e])}var x2e="function"==typeof Symbol&&Symbol.iterator,_2e=x2e||"@@iterator",S2e=function(e){this.next=e};function k2e(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function C2e(){return{value:void 0,done:!0}}function E2e(e){return!!T2e(e)}function I2e(e){return e&&"function"==typeof e.next}function O2e(e){var t=T2e(e);return t&&t.call(e)}function T2e(e){var t=e&&(x2e&&e[x2e]||e["@@iterator"]);if("function"==typeof t)return t}S2e.prototype.toString=function(){return"[Iterator]"},S2e.KEYS=0,S2e.VALUES=1,S2e.ENTRIES=2,S2e.prototype.inspect=S2e.prototype.toSource=function(){return this.toString()},S2e.prototype[_2e]=function(){return this};var N2e=Object.prototype.hasOwnProperty;function D2e(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var A2e=function(e){function t(e){return null==e?B2e():y2e(e)?e.toSeq():function(e){var t=V2e(e);if(t)return t;if("object"==typeof e)return new L2e(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var r=n.length,i=0;i!==r;){var o=n[t?r-++i:i++];if(!1===e(o[1],o[0],this))break}return i}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,i=0;return new S2e((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return k2e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(f2e),P2e=function(e){function t(e){return null==e?B2e().toKeyedSeq():u2e(e)?c2e(e)?e.toSeq():e.fromEntrySeq():v2e(e)?e.toSeq():U2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(A2e),M2e=function(e){function t(e){return null==e?B2e():u2e(e)?c2e(e)?e.entrySeq():e.toIndexedSeq():v2e(e)?e.toSeq().entrySeq():q2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(A2e),j2e=function(e){function t(e){return(u2e(e)&&!d2e(e)?e:M2e(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(A2e);A2e.isSeq=g2e,A2e.Keyed=P2e,A2e.Set=j2e,A2e.Indexed=M2e,A2e.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var R2e=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[t2e(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,i=0;i!==r;){var o=t?r-++i:i++;if(!1===e(n[o],o,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,i=0;return new S2e((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return k2e(e,o,n[o])}))},t}(M2e),L2e=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return N2e.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length,o=0;o!==i;){var a=r[t?i-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length,o=0;return new S2e((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return k2e(e,a,n[a])}))},t}(P2e);L2e.prototype[b2e]=!0;var F2e,z2e=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=O2e(this._collection),r=0;if(I2e(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=O2e(this._collection);if(!I2e(n))return new S2e(C2e);var r=0;return new S2e((function(){var t=n.next();return t.done?t:k2e(e,r++,t.value)}))},t}(M2e);function B2e(){return F2e||(F2e=new R2e([]))}function U2e(e){var t=Array.isArray(e)?new R2e(e):E2e(e)?new z2e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new L2e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function q2e(e){var t=V2e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function V2e(e){return D2e(e)?new R2e(e):E2e(e)?new z2e(e):void 0}function K2e(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function H2e(e){return K2e(e)&&w2e(e)}function W2e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function G2e(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(W2e(e)&&W2e(t)&&e.equals(t))}var Y2e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Q2e(e){return e>>>1&1073741824|3221225471&e}var $2e=Object.prototype.valueOf;function J2e(e){switch(typeof e){case"boolean":return e?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return Q2e(t)}(e);case"string":return e.length>o4e?function(e){var t=u4e[e];void 0===t&&(t=Z2e(e),s4e===a4e&&(s4e=0,u4e={}),s4e++,u4e[e]=t);return t}(e):Z2e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?Q2e(e.hashCode(e)):(e.valueOf!==$2e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(n4e&&void 0!==(t=t4e.get(e)))return t;if(void 0!==(t=e[i4e]))return t;if(!e4e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[i4e]))return t;if(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e),void 0!==t)return t}t=++r4e,1073741824&r4e&&(r4e=0);if(n4e)t4e.set(e,t);else{if(void 0!==X2e&&!1===X2e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(e4e)Object.defineProperty(e,i4e,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[i4e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[i4e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Z2e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Z2e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Q2e(t)}var X2e=Object.isExtensible,e4e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var t4e,n4e="function"==typeof WeakMap;n4e&&(t4e=new WeakMap);var r4e=0,i4e="__immutablehash__";"function"==typeof Symbol&&(i4e=Symbol(i4e));var o4e=16,a4e=255,s4e=0,u4e={},c4e=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=m4e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=h4e(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(P2e);c4e.prototype[b2e]=!0;var l4e=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,r=0;return t&&e2e(this),this._iter.__iterate((function(i){return e(i,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(1,t),i=0;return t&&e2e(this),new S2e((function(){var o=r.next();return o.done?o:k2e(e,t?n.size-++i:i++,o.value,o)}))},t}(M2e),d4e=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new S2e((function(){var t=n.next();return t.done?t:k2e(e,t.value,t.value,t)}))},t}(j2e),f4e=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){E4e(t);var r=u2e(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new S2e((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){E4e(r);var i=u2e(r);return k2e(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(P2e);function p4e(e){var t=O4e(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=T4e,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new S2e((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function h4e(e,t,n){var r=O4e(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,J1e);return o===J1e?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(2,i);return new S2e((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return k2e(r,s,t.call(n,a[1],s,e),i)}))},r}function m4e(e,t){var n=this,r=O4e(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=p4e(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=T4e,r.__iterate=function(n,r){var i=this,o=0;return r&&e2e(e),e.__iterate((function(e,a){return n(e,t?a:r?i.size-++o:o++,i)}),!r)},r.__iterator=function(r,i){var o=0;i&&e2e(e);var a=e.__iterator(2,!i);return new S2e((function(){var e=a.next();if(e.done)return e;var s=e.value;return k2e(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function g4e(e,t,n,r){var i=O4e(e);return r&&(i.has=function(r){var i=e.get(r,J1e);return i!==J1e&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,J1e);return o!==J1e&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(2,o),s=0;return new S2e((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return k2e(i,r?c:s++,l,o)}}))},i}function v4e(e,t,n,r){var i=e.size;if(r2e(t,n,i))return e;var o=i2e(t,i),a=o2e(n,i);if(o!=o||a!=a)return v4e(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=O4e(e);return c.size=0===s?s:e.size&&s||void 0,!r&&g2e(e)&&s>=0&&(c.get=function(t,n){return(t=t2e(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new S2e(C2e);var i=e.__iterator(t,n),a=0,u=0;return new S2e((function(){for(;a++<o;)i.next();if(++u>s)return{value:void 0,done:!0};var e=i.next();return r||1===t||e.done?e:k2e(t,u-1,0===t?void 0:e.value[1],e)}))},c}function y4e(e,t,n,r){var i=O4e(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),u=!0,c=0;return new S2e((function(){var e,o,l;do{if((e=s.next()).done)return r||1===i?e:k2e(i,c++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return 2===i?e:k2e(i,o,l,e)}))},i}function b4e(e,t){var n=c2e(e),r=[e].concat(t).map((function(e){return u2e(e)?n&&(e=p2e(e)):e=n?U2e(e):q2e(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var i=r[0];if(i===e||n&&c2e(i)||l2e(e)&&l2e(i))return i}var o=new R2e(r);return n?o=o.toKeyedSeq():l2e(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function w4e(e,t,n){var r=O4e(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(u,c){u.__iterate((function(o,u){return(!t||c<t)&&u2e(o)?e(o,c+1):(a++,!1===i(o,n?u:a-1,r)&&(s=!0)),!s}),o)}(e,0),a},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e.__iterator(r,i),a=[],s=0;return new S2e((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(2===r&&(u=u[1]),t&&!(a.length<t)||!u2e(u))return n?e:k2e(r,s++,u,e);a.push(o),o=u.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function x4e(e,t,n){t||(t=N4e);var r=c2e(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?P2e(o):l2e(e)?M2e(o):j2e(o)}function _4e(e,t,n){if(t||(t=N4e),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return S4e(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return S4e(t,e,n)?n:e}))}function S4e(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function k4e(e,t,n,r){var i=O4e(e),o=new R2e(n).map((function(e){return e.size}));return i.size=r?o.max():o.min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=n.map((function(e){return e=f2e(e),O2e(i?e.reverse():e)})),a=0,s=!1;return new S2e((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:k2e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function C4e(e,t){return e===t?e:g2e(e)?t:e.constructor(t)}function E4e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function I4e(e){return c2e(e)?p2e:l2e(e)?h2e:m2e}function O4e(e){return Object.create((c2e(e)?P2e:l2e(e)?M2e:j2e).prototype)}function T4e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):A2e.prototype.cacheResult.call(this)}function N4e(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function D4e(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function A4e(e,t){if(!e)throw new Error(t)}function P4e(e){A4e(e!==1/0,"Cannot perform this action with an infinite size.")}function M4e(e){if(D2e(e)&&"string"!=typeof e)return e;if(w2e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function j4e(e){return"object"==typeof e&&(y2e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function R4e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function L4e(e,t,n){return y2e(e)?e.get(t,n):function(e,t){return y2e(e)?e.has(t):j4e(e)&&N2e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function F4e(e){if(Array.isArray(e))return D4e(e);var t={};for(var n in e)N2e.call(e,n)&&(t[n]=e[n]);return t}function z4e(e,t,n,r){r||(r=n,n=void 0);var i=B4e(y2e(e),e,M4e(t),0,n,r);return i===J1e?n:i}function B4e(e,t,n,r,i,o){var a=t===J1e;if(r===n.length){var s=a?i:t,u=o(s);return u===s?t:u}if(!a&&!j4e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(R4e)+"]: "+t);var c=n[r],l=a?J1e:L4e(t,c,J1e),d=B4e(l===J1e?e:y2e(l),l,n,r+1,i,o);return d===l?t:d===J1e?function(e,t){if(!j4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(y2e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!N2e.call(e,t))return e;var n=F4e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!j4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(y2e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(N2e.call(e,t)&&n===e[t])return e;var r=F4e(e);return r[t]=n,r}(a?e?p3e():{}:t,c,d)}function U4e(e,t){return function(e,t,n){return z4e(e,t,J1e,(function(){return n}))}(this,e,t)}function q4e(e){return function(e,t){return z4e(e,t,(function(){return J1e}))}(this,e)}function V4e(e,t,n,r){return z4e(e,[t],n,r)}function K4e(e,t,n){return 1===arguments.length?e(this):V4e(this,e,t,n)}function H4e(e,t,n){return z4e(this,e,t,n)}function W4e(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=p2e(t[i]);0!==o.size&&r.push(o)}return 0===r.length?e:0!==e.toSeq().size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var t=n?function(t,r){V4e(e,r,J1e,(function(e){return e===J1e?t:n(e,t,r)}))}:function(t,n){e.set(n,t)},i=0;i<r.length;i++)r[i].forEach(t)})):e.constructor(r[0])}function G4e(e,t,n){return Y4e(e,t,function(e){function t(n,r,i){return j4e(n)&&j4e(r)?Y4e(n,[r],t):e?e(n,r,i):r}return t}(n))}function Y4e(e,t,n){if(!j4e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(y2e(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var r=Array.isArray(e),i=e,o=r?h2e:p2e,a=r?function(t){i===e&&(i=F4e(i)),i.push(t)}:function(t,r){var o=N2e.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=F4e(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function Q4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return z4e(this,e,p3e(),(function(e){return Y4e(e,t)}))}function $4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return z4e(this,e,p3e(),(function(e){return G4e(e,t)}))}function J4e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Z4e(){return this.__ownerID?this:this.__ensureOwner(new X1e)}function X4e(){return this.__ensureOwner()}function e3e(){return this.__altered}l4e.prototype.cacheResult=c4e.prototype.cacheResult=d4e.prototype.cacheResult=f4e.prototype.cacheResult=T4e;var t3e=function(e){function t(t){return null==t?p3e():K2e(t)&&!w2e(t)?t:p3e().withMutations((function(n){var r=e(t);P4e(r.size),r.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return p3e().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return h3e(this,e,t)},t.prototype.remove=function(e){return h3e(this,e,J1e)},t.prototype.deleteAll=function(e){var t=f2e(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):p3e()},t.prototype.sort=function(e){return F3e(x4e(this,e))},t.prototype.sortBy=function(e,t){return F3e(x4e(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(r,i){n.set(i,e.call(t,r,i,n))}))}))},t.prototype.__iterator=function(e,t){return new c3e(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?f3e(this.size,this._root,e,this.__hash):0===this.size?p3e():(this.__ownerID=e,this.__altered=!1,this)},t}(p2e);t3e.isMap=K2e;var n3e=t3e.prototype;n3e["@@__IMMUTABLE_MAP__@@"]=!0,n3e.delete=n3e.remove,n3e.removeAll=n3e.deleteAll,n3e.setIn=U4e,n3e.removeIn=n3e.deleteIn=q4e,n3e.update=K4e,n3e.updateIn=H4e,n3e.merge=n3e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return W4e(this,e)},n3e.mergeWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return W4e(this,t,e)},n3e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return G4e(this,e)},n3e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return G4e(this,t,e)},n3e.mergeIn=Q4e,n3e.mergeDeepIn=$4e,n3e.withMutations=J4e,n3e.wasAltered=e3e,n3e.asImmutable=X4e,n3e["@@transducer/init"]=n3e.asMutable=Z4e,n3e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},n3e["@@transducer/result"]=function(e){return e.asImmutable()};var r3e=function(e,t){this.ownerID=e,this.entries=t};r3e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(G2e(n,i[o][0]))return i[o][1];return r},r3e.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===J1e,u=this.entries,c=0,l=u.length;c<l&&!G2e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(Z1e(a),(s||!d)&&Z1e(o),!s||1!==u.length){if(!d&&!s&&u.length>=w3e)return function(e,t,n,r){e||(e=new X1e);for(var i=new s3e(e,J2e(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:D4e(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new r3e(e,p)}};var i3e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};i3e.prototype.get=function(e,t,n,r){void 0===t&&(t=J2e(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[y3e(o&i-1)].get(e+5,t,n,r)},i3e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=J2e(r));var s=31&(0===t?n:n>>>t),u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===J1e)return this;var d=y3e(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=m3e(p,e,t+5,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=x3e)return function(e,t,n,r,i){for(var o=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new o3e(e,o+1,a)}(e,f,c,s,h);if(l&&!h&&2===f.length&&g3e(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&g3e(h))return h;var m=e&&e===this.ownerID,g=l?h?c:c^u:c|u,v=l?h?b3e(f,d,h,m):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}(f,d,m):function(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(f,d,h,m);return m?(this.bitmap=g,this.nodes=v,this):new i3e(e,g,v)};var o3e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};o3e.prototype.get=function(e,t,n,r){void 0===t&&(t=J2e(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},o3e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=J2e(r));var s=31&(0===t?n:n>>>t),u=i===J1e,c=this.nodes,l=c[s];if(u&&!l)return this;var d=m3e(l,e,t+5,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<_3e)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new i3e(e,i,a)}(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=b3e(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new o3e(e,f,h)};var a3e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};a3e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(G2e(n,i[o][0]))return i[o][1];return r},a3e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=J2e(r));var s=i===J1e;if(n!==this.keyHash)return s?this:(Z1e(a),Z1e(o),v3e(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!G2e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(Z1e(a),(s||!d)&&Z1e(o),s&&2===l)return new s3e(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:D4e(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new a3e(e,this.keyHash,p)};var s3e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};s3e.prototype.get=function(e,t,n,r){return G2e(n,this.entry[0])?this.entry[1]:r},s3e.prototype.update=function(e,t,n,r,i,o,a){var s=i===J1e,u=G2e(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(Z1e(a),s?void Z1e(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new s3e(e,this.keyHash,[r,i]):(Z1e(o),v3e(this,e,t,J2e(r),[r,i])))},r3e.prototype.iterate=a3e.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},i3e.prototype.iterate=o3e.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},s3e.prototype.iterate=function(e,t){return e(this.entry)};var u3e,c3e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&d3e(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,r=t.index++,i=void 0;if(n.entry){if(0===r)return l3e(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return l3e(e,n.entries[this._reverse?i-r:r])}else if(r<=(i=n.nodes.length-1)){var o=n.nodes[this._reverse?i-r:r];if(o){if(o.entry)return l3e(e,o.entry);t=this._stack=d3e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(S2e);function l3e(e,t){return k2e(e,t[0],t[1])}function d3e(e,t){return{node:e,index:0,__prev:t}}function f3e(e,t,n,r){var i=Object.create(n3e);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function p3e(){return u3e||(u3e=f3e(0))}function h3e(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=m3e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===J1e?-1:1:0)}else{if(n===J1e)return e;i=1,r=new r3e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?f3e(i,r):p3e()}function m3e(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===J1e?e:(Z1e(s),Z1e(a),new s3e(t,r,[i,o]))}function g3e(e){return e.constructor===s3e||e.constructor===a3e}function v3e(e,t,n,r,i){if(e.keyHash===r)return new a3e(t,r,[e.entry,i]);var o,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n),u=a===s?[v3e(e,t,n+5,r,i)]:(o=new s3e(t,r,i),a<s?[e,o]:[o,e]);return new i3e(t,1<<a|1<<s,u)}function y3e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function b3e(e,t,n,r){var i=r?e:D4e(e);return i[t]=n,i}var w3e=8,x3e=16,_3e=8;function S3e(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var k3e=function(e){function t(t){var n=D3e();if(null==t)return n;if(S3e(t))return t;var r=e(t),i=r.size;return 0===i?n:(P4e(i),i>0&&i<32?N3e(0,i,5,null,new E3e(r.toArray())):n.withMutations((function(e){e.setSize(i),r.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=t2e(this,e))>=0&&e<this.size){var n=M3e(this,e+=this._origin);return n&&n.array[31&e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=t2e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?j3e(e,t).set(0,n):j3e(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=R3e(e._capacity)?r=A3e(r,e.__ownerID,0,t,n,o):i=A3e(i,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return N3e(e._origin,e._capacity,e._level,i,r)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.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):D3e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){j3e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return j3e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){j3e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return j3e(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var i=t[r],o=e("string"!=typeof i&&E2e(i)?i:[i]);0!==o.size&&n.push(o)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return j3e(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var i=0;i<n.size;i++)r.set(i,e.call(t,r.get(i),i,r))}))},t.prototype.slice=function(e,t){var n=this.size;return r2e(e,t,n)?this:j3e(this,i2e(e,n),o2e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=T3e(this,t);return new S2e((function(){var i=r();return i===O3e?{value:void 0,done:!0}:k2e(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=T3e(this,t);(n=i())!==O3e&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?N3e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?D3e():(this.__ownerID=e,this.__altered=!1,this)},t}(h2e);k3e.isList=S3e;var C3e=k3e.prototype;C3e["@@__IMMUTABLE_LIST__@@"]=!0,C3e.delete=C3e.remove,C3e.merge=C3e.concat,C3e.setIn=U4e,C3e.deleteIn=C3e.removeIn=q4e,C3e.update=K4e,C3e.updateIn=H4e,C3e.mergeIn=Q4e,C3e.mergeDeepIn=$4e,C3e.withMutations=J4e,C3e.wasAltered=e3e,C3e.asImmutable=X4e,C3e["@@transducer/init"]=C3e.asMutable=Z4e,C3e["@@transducer/step"]=function(e,t){return e.push(t)},C3e["@@transducer/result"]=function(e){return e.asImmutable()};var E3e=function(e,t){this.array=e,this.ownerID=t};E3e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&31;if(r>=this.array.length)return new E3e([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!i)return this;var s=P3e(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},E3e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&31;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-5,n))===o&&i===this.array.length-1)return this}var a=P3e(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var I3e,O3e={};function T3e(e,t){var n=e._origin,r=e._capacity,i=R3e(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,u){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;c>32&&(c=32);return function(){if(u===c)return O3e;var e=t?--c:u++;return s&&s[e]}}(e,u):function(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);l>32&&(l=32);return function(){for(;;){if(s){var e=s();if(e!==O3e)return e;s=null}if(c===l)return O3e;var n=t?--l:c++;s=a(u&&u[n],i-5,o+(n<<i))}}}(e,s,u)}}function N3e(e,t,n,r,i,o,a){var s=Object.create(C3e);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function D3e(){return I3e||(I3e=N3e(0,0,5))}function A3e(e,t,n,r,i,o){var a,s=r>>>n&31,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=A3e(c,t,n-5,r,i,o);return l===c?e:((a=P3e(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(o&&Z1e(o),a=P3e(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function P3e(e,t){return t&&e&&t===e.ownerID?e:new E3e(e?e.array.slice():[],t)}function M3e(e,t){if(t>=R3e(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&31],r-=5;return n}}function j3e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new X1e,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new E3e(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=5);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=R3e(o),f=R3e(s);f>=1<<u+5;)c=new E3e(c&&c.array.length?[c]:[],r),u+=5;var p=e._tail,h=f<d?M3e(e,s-1):f>d?new E3e([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=P3e(c,r),g=u;g>5;g-=5){var v=d>>>g&31;m=m.array[v]=P3e(m.array[v],r)}m.array[d>>>5&31]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var y=a>>>u&31;if(y!==f>>>u&31)break;y&&(l+=(1<<u)*y),u-=5,c=c.array[y]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):N3e(a,s,u,c,h)}function R3e(e){return e<32?0:e-1>>>5<<5}var L3e,F3e=function(e){function t(e){return null==e?B3e():H2e(e)?e:B3e().withMutations((function(t){var n=p2e(e);P4e(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):B3e()},t.prototype.set=function(e,t){return U3e(this,e,t)},t.prototype.remove=function(e){return U3e(this,e,J1e)},t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?z3e(t,n,e,this.__hash):0===this.size?B3e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(t3e);function z3e(e,t,n,r){var i=Object.create(F3e.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function B3e(){return L3e||(L3e=z3e(p3e(),D3e()))}function U3e(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===J1e){if(!u)return e;a.size>=32&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):z3e(r,i)}F3e.isOrderedMap=H2e,F3e.prototype[b2e]=!0,F3e.prototype.delete=F3e.prototype.remove;function q3e(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var V3e=function(e){function t(e){return null==e?G3e():q3e(e)?e:G3e().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=t2e(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):W3e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&q3e(t))return t;P4e(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):W3e(n,r)},t.prototype.pop=function(){return this.slice(1)},t.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):G3e()},t.prototype.slice=function(t,n){if(r2e(t,n,this.size))return this;var r=i2e(t,this.size);if(o2e(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var i=this.size-r,o=this._head;r--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):W3e(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?W3e(this.size,this._head,e,this.__hash):0===this.size?G3e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new R2e(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,i=this._head;i&&!1!==e(i.value,r++,this);)i=i.next;return r},t.prototype.__iterator=function(e,t){if(t)return new R2e(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new S2e((function(){if(r){var t=r.value;return r=r.next,k2e(e,n++,t)}return{value:void 0,done:!0}}))},t}(h2e);V3e.isStack=q3e;var K3e,H3e=V3e.prototype;function W3e(e,t,n,r){var i=Object.create(H3e);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function G3e(){return K3e||(K3e=W3e(0))}H3e["@@__IMMUTABLE_STACK__@@"]=!0,H3e.shift=H3e.pop,H3e.unshift=H3e.push,H3e.unshiftAll=H3e.pushAll,H3e.withMutations=J4e,H3e.wasAltered=e3e,H3e.asImmutable=X4e,H3e["@@transducer/init"]=H3e.asMutable=Z4e,H3e["@@transducer/step"]=function(e,t){return e.unshift(t)},H3e["@@transducer/result"]=function(e){return e.asImmutable()};function Y3e(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function Q3e(e){return Y3e(e)&&w2e(e)}function $3e(e,t){if(e===t)return!0;if(!u2e(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||c2e(e)!==c2e(t)||l2e(e)!==l2e(t)||w2e(e)!==w2e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!d2e(e);if(w2e(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&G2e(i[1],e)&&(n||G2e(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,r){if(n?!e.has(t):i?!G2e(t,e.get(r,J1e)):!G2e(e.get(r,J1e),t))return a=!1,!1}));return a&&e.size===s}function J3e(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function Z3e(e){if(!e||"object"!=typeof e)return e;if(!u2e(e)){if(!j4e(e))return e;e=A2e(e)}if(c2e(e)){var t={};return e.__iterate((function(e,n){t[n]=Z3e(e)})),t}var n=[];return e.__iterate((function(e){n.push(Z3e(e))})),n}var X3e=function(e){function t(t){return null==t?i5e():Y3e(t)&&!w2e(t)?t:i5e().withMutations((function(n){var r=e(t);P4e(r.size),r.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(p2e(e).keySeq())},t.intersect=function(e){return(e=f2e(e).toArray()).length?t5e.intersect.apply(t(e.pop()),e):i5e()},t.union=function(e){return(e=f2e(e).toArray()).length?t5e.union.apply(t(e.pop()),e):i5e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return n5e(this,this._map.set(e,e))},t.prototype.remove=function(e){return n5e(this,this._map.remove(e))},t.prototype.clear=function(){return n5e(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=[],i=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(r.push(o),i.push(a))})),this.withMutations((function(e){r.forEach((function(t){return e.remove(t)})),i.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var r=0;r<t.length;r++)e(t[r]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return w5e(x4e(this,e))},t.prototype.sortBy=function(e,t){return w5e(x4e(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(m2e);X3e.isSet=Y3e;var e5e,t5e=X3e.prototype;function n5e(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function r5e(e,t){var n=Object.create(t5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function i5e(){return e5e||(e5e=r5e(p3e()))}t5e["@@__IMMUTABLE_SET__@@"]=!0,t5e.delete=t5e.remove,t5e.merge=t5e.concat=t5e.union,t5e.withMutations=J4e,t5e.asImmutable=X4e,t5e["@@transducer/init"]=t5e.asMutable=Z4e,t5e["@@transducer/step"]=function(e,t){return e.add(t)},t5e["@@transducer/result"]=function(e){return e.asImmutable()},t5e.__empty=i5e,t5e.__make=r5e;var o5e,a5e=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(A4e(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(o5e)return o5e;o5e=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+t2e(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return r2e(e,n,this.size)?this:(e=i2e(e,this.size),(n=o2e(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;o!==n&&!1!==e(i,t?n-++o:o++,this);)i+=t?-r:r;return o},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;return new S2e((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,k2e(e,t?n-++o:o++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:$3e(this,e)},t}(M2e);function s5e(e,t,n){for(var r=M4e(t),i=0;i!==r.length;)if((e=L4e(e,r[i++],J1e))===J1e)return n;return e}function u5e(){P4e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}f2e.isIterable=u2e,f2e.isKeyed=c2e,f2e.isIndexed=l2e,f2e.isAssociative=d2e,f2e.isOrdered=w2e,f2e.Iterator=S2e,J3e(f2e,{toArray:function(){P4e(this.size);var e=new Array(this.size||0),t=c2e(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new l4e(this)},toJS:function(){return Z3e(this)},toKeyedSeq:function(){return new c4e(this,!0)},toMap:function(){return t3e(this.toKeyedSeq())},toObject:u5e,toOrderedMap:function(){return F3e(this.toKeyedSeq())},toOrderedSet:function(){return w5e(c2e(this)?this.valueSeq():this)},toSet:function(){return X3e(c2e(this)?this.valueSeq():this)},toSetSeq:function(){return new d4e(this)},toSeq:function(){return l2e(this)?this.toIndexedSeq():c2e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return V3e(c2e(this)?this.valueSeq():this)},toList:function(){return k3e(c2e(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return C4e(this,b4e(this,e))},includes:function(e){return this.some((function(t){return G2e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){P4e(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return C4e(this,g4e(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return P4e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){P4e(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return C4e(this,h4e(this,e,t))},reduce:function(e,t,n){return f5e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return f5e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return C4e(this,m4e(this,!0))},slice:function(e,t){return C4e(this,v4e(this,e,t,!0))},some:function(e,t){return!this.every(m5e(e),t)},sort:function(e){return C4e(this,x4e(this,e))},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(e,t){return e2e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=t3e().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return $3e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new R2e(e._cache);var t=e.toSeq().map(h5e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(m5e(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(n2e,null,e)},flatMap:function(e,t){return C4e(this,function(e,t,n){var r=I4e(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return C4e(this,w4e(this,e,!0))},fromEntrySeq:function(){return new f4e(this)},get:function(e,t){return this.find((function(t,n){return G2e(n,e)}),void 0,t)},getIn:function(e,t){return s5e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=c2e(e),i=(w2e(e)?F3e():t3e()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=I4e(e);return i.map((function(t){return C4e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,J1e)!==J1e},hasIn:function(e){return function(e,t){return s5e(e,t,J1e)!==J1e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:f2e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:f2e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return G2e(t,e)}))},keySeq:function(){return this.toSeq().map(p5e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return _4e(this,e)},maxBy:function(e,t){return _4e(this,t,e)},min:function(e){return _4e(this,e?g5e(e):y5e)},minBy:function(e,t){return _4e(this,t?g5e(t):y5e,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return C4e(this,y4e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(m5e(e),t)},sortBy:function(e,t){return C4e(this,x4e(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return C4e(this,function(e,t,n){var r=O4e(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(2,i),s=!0;return new S2e((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?2===r?e:k2e(r,u,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(m5e(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=w2e(e),n=c2e(e),r=t?1:0;return function(e,t){return t=Y2e(t,3432918353),t=Y2e(t<<15|t>>>-15,461845907),t=Y2e(t<<13|t>>>-13,5),t=Y2e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Q2e((t=Y2e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+b5e(J2e(e),J2e(t))|0}:function(e,t){r=r+b5e(J2e(e),J2e(t))|0}:t?function(e){r=31*r+J2e(e)|0}:function(e){r=r+J2e(e)|0}),r)}(this))}});var c5e=f2e.prototype;c5e["@@__IMMUTABLE_ITERABLE__@@"]=!0,c5e[_2e]=c5e.values,c5e.toJSON=c5e.toArray,c5e.__toStringMapper=R4e,c5e.inspect=c5e.toSource=function(){return this.toString()},c5e.chain=c5e.flatMap,c5e.contains=c5e.includes,J3e(p2e,{flip:function(){return C4e(this,p4e(this))},mapEntries:function(e,t){var n=this,r=0;return C4e(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return C4e(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var l5e=p2e.prototype;l5e["@@__IMMUTABLE_KEYED__@@"]=!0,l5e[_2e]=c5e.entries,l5e.toJSON=u5e,l5e.__toStringMapper=function(e,t){return R4e(t)+": "+R4e(e)},J3e(h2e,{toKeyedSeq:function(){return new c4e(this,!1)},filter:function(e,t){return C4e(this,g4e(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return C4e(this,m4e(this,!1))},slice:function(e,t){return C4e(this,v4e(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=i2e(e,e<0?this.count():this.size);var r=this.slice(0,e);return C4e(this,1===n?r:r.concat(D4e(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return C4e(this,w4e(this,e,!1))},get:function(e,t){return(e=t2e(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=t2e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return C4e(this,function(e,t){var n=O4e(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(1,r),a=0;return new S2e((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?k2e(n,a++,t):k2e(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(D4e(arguments)),t=k4e(this.toSeq(),M2e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),C4e(this,n)},keySeq:function(){return a5e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return C4e(this,y4e(this,e,t,!1))},zip:function(){var e=[this].concat(D4e(arguments));return C4e(this,k4e(this,v5e,e))},zipAll:function(){var e=[this].concat(D4e(arguments));return C4e(this,k4e(this,v5e,e,!0))},zipWith:function(e){var t=D4e(arguments);return t[0]=this,C4e(this,k4e(this,e,t))}});var d5e=h2e.prototype;function f5e(e,t,n,r,i,o){return P4e(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function p5e(e,t){return t}function h5e(e,t){return[t,e]}function m5e(e){return function(){return!e.apply(this,arguments)}}function g5e(e){return function(){return-e.apply(this,arguments)}}function v5e(){return D4e(arguments)}function y5e(e,t){return e<t?1:e>t?-1:0}function b5e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}d5e["@@__IMMUTABLE_INDEXED__@@"]=!0,d5e[b2e]=!0,J3e(m2e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),m2e.prototype.has=c5e.includes,m2e.prototype.contains=m2e.prototype.includes,J3e(P2e,p2e.prototype),J3e(M2e,h2e.prototype),J3e(j2e,m2e.prototype);var w5e=function(e){function t(e){return null==e?k5e():Q3e(e)?e:k5e().withMutations((function(t){var n=m2e(e);P4e(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(p2e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(X3e);w5e.isOrderedSet=Q3e;var x5e,_5e=w5e.prototype;function S5e(e,t){var n=Object.create(_5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function k5e(){return x5e||(x5e=S5e(B3e()))}_5e[b2e]=!0,_5e.zip=d5e.zip,_5e.zipWith=d5e.zipWith,_5e.__empty=k5e,_5e.__make=S5e;var C5e={exports:{}};
145
+ */function sje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var uje=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=sje(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))oje.call(n,a)&&(i[a]=n[a]);if(ije){r=ije(n);for(var s=0;s<r.length;s++)aje.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},cje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",lje=function(){};if("production"!==process.env.NODE_ENV){var dje=cje,fje={},pje=Function.call.bind(Object.prototype.hasOwnProperty);lje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function hje(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(pje(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,r,n,null,dje)}catch(e){a=e}if(!a||a instanceof Error||lje((r||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in fje)){fje[a.message]=!0;var u=i?i():"";lje("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}hje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(fje={})};var mje=_e,gje=uje,vje=cje,yje=hje,bje=Function.call.bind(Object.prototype.hasOwnProperty),wje=function(){};function xje(){return null}"production"!==process.env.NODE_ENV&&(wje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function _je(){}function Sje(){}Sje.resetWarningCache=_je;if("production"!==process.env.NODE_ENV){var kje=_e;rje.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:s(xje),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,r,i,o+"["+u+"]",vje);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return mje.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+l(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var u=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+u+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return c(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(bje(s,c)){var d=e(s,c,r,i,o+"."+c,vje);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&wje(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),xje;function t(t,n,r,i,s){for(var u=t[n],c=0;c<e.length;c++)if(o(u,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+l+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&wje("Invalid argument supplied to oneOfType, expected an instance of array."),xje;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return wje("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),xje}return s((function(t,n,r,i,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,r,i,o,vje))return null;return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,o+"."+c,vje);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=gje({},t[n],e);for(var d in c){var f=e[d];if(!f)return new a("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,r,i,o+"."+d,vje);if(p)return p}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e){this.message=e,this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},i=0;function o(o,s,u,c,l,d,f){if(c=c||r,d=d||u,f!==vje){if(t){var p=new 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 p.name="Invariant Violation",p}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+u;!n[h]&&i<3&&(wje("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[u]?o?null===s[u]?new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,u,c,l,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function u(e){return s((function(t,n,r,i,o,s){var u=t[n];return l(u)!==e?new a("Invalid "+i+" `"+o+"` of type `"+d(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function l(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function d(e){if(null==e)return""+e;var t=l(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=d(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,i.checkPropTypes=yje,i.resetWarningCache=yje.resetWarningCache,i.PropTypes=i,i}(kje.isElement,!0)}else rje.exports=function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new 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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Sje,resetWarningCache:_je};return n.PropTypes=n,n}();var Cje=rje.exports,Eje=Object.freeze({__proto__:null,useCurrentUser:p0,useAccountApi:V0,useAuthenticationContext:xS,useEnvironmentConfig:Eg,useNotificationContext:f6,usePromise:hS,LinkContext:QC,TextLink:ZOe,logger:Qg,createId:Jg,ResourceContext:rE,usePluginSettings:function(){var e=a(V2).settings;return null!=e?e:{}},usePluginStorage:B4,usePluginDeviceStore:B4,usePluginSubscriptionStore:function(){return a(V2).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=a(V2).subscriptionStore,i=hS((function(){return r.get(e).catch(q4)}),void 0,xG(xG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return bG(n,void 0,void 0,(function(){var n;return wG(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),q4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return bG(n,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),q4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(V2).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=a(V2).userStore,i=hS((function(){return r.get(e).catch(q4)}),void 0,xG(xG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return bG(n,void 0,void 0,(function(){var n;return wG(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),q4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return bG(n,void 0,void 0,(function(){var t;return wG(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),q4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Cg().apiEndpoint}},AccountType:$X,PeoplePicker:Swe,GutterToggle:function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,u=t.tooltipResourceKey,c=t.ariaLabelResourceKey,l=CC().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(hwe,fhe({className:o},{children:r?e(gwe,{},void 0):e(Jbe,fhe({resourceKey:u},{children:e(mwe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?l({id:c}):null},void 0)}),void 0)}),void 0)},EditorSettingsDialog:fwe,Spinner:L,SelectionMode:ee,EditorHighlight:function(t){var n=t.tooltipResourceKey,r=t.className,i=phe(t,["tooltipResourceKey","className"]);return e(Jbe,fhe({resourceKey:n,className:r},{children:e(Xbe,fhe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},useTheme:function(){return a($5).theme},useSubscriptionHandlePathBuilder:j2});var Ije=[{name:"@reach/core",packageDefinition:fhe({default:{}},Eje)}],Oje=[{name:"react",packageDefinition:fhe(fhe({},o),{default:o})},{name:"react-dom",packageDefinition:fhe(fhe({},Pe),{default:Pe})},{name:"react-is",packageDefinition:fhe(fhe({},_e),{default:_e})},{name:"prop-types",packageDefinition:fhe({default:Cje},Cje)},{name:"react-router-dom",packageDefinition:fhe({},pe)},{name:"styled-components",packageDefinition:{default:Se,createGlobalStyle:ke,css:Ce,useTheme:Ie,isStyledComponent:Oe,keyframes:Te,withTheme:Ne,ThemeProvider:Ee,ThemeContext:De,ThemeConsumer:Ae}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:U,Label:q,PrimaryButton:P,Icon:j,Link:T,TextField:A,ActionButton:D,IconButton:O,DefaultButton:M,Spinner:L,Dropdown:V,ProgressIndicator:K,Shimmer:H,ShimmerElementsGroup:W,ShimmerElementType:G,DirectionalHint:Y,PersonaSize:Q,TooltipHost:$,DialogType:J,Dialog:bhe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:KC,useIntl:CC,FormattedDate:HC,FormattedTime:WC,IntlProvider:MC}},{name:"@apollo/client",packageDefinition:{default:{},gql:vj,useQuery:function(e,t){return Rj(e,t,!1)},ApolloClient:cj,ApolloProvider:Ij,from:zA,ApolloLink:FA,fromPromise:AA,split:BA,HttpLink:YA,InMemoryCache:VM,useLazyQuery:function(e,t){return Rj(e,t,!0)},useMutation:function(e,t){var n=a(Cj()),r=d({called:!1,loading:!1}),i=r[0],o=r[1],s=t?Pa(Pa({},t),{mutation:e}):{mutation:e},u=c(),f=(u.current||(u.current=new Pj({options:s,context:n,result:i,setResult:o})),u.current);return f.setOptions(s),f.context=n,l((function(){return f.afterExecute()})),f.execute(i)},ApolloError:HM,useApolloClient:Oj,useSubscription:function(e,t){var n=p((function(e){return e+1}),0)[1],r=a(Cj()),i=t?Pa(Pa({},t),{subscription:e}):{subscription:e},o=d({loading:!i.skip,error:void 0,data:void 0}),s=o[0],u=o[1],f=c(),h=(f.current||(f.current=new Aj({options:i,context:r,setResult:u})),f.current);return h.setOptions(i,!0),h.context=r,__DEV__&&jj(n),l((function(){return h.afterExecute()})),l((function(){return function(){h.cleanup(),f.current=void 0}}),[]),h.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:zR}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:XR}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:ID}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:Lj}}],Tje=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=d(null),a=o[0],s=o[1],c=u((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return ja(void 0,void 0,void 0,(function(){return Ra(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return ja(void 0,void 0,void 0,(function(){return Ra(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return ja(void 0,void 0,void 0,(function(){return Ra(this,(function(n){return Qg.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(wS.Provider,Pa({value:c},{children:r}),void 0)},Nje="0.4.0-preview.404",Dje="101536",Aje="f09d2a31f67556f17db105d11e8fda5438f5e805",Pje=at,Mje=Xe,jje=Fr("match"),Rje=function(e){var t;return Pje(e)&&(void 0!==(t=e[jje])?!!t:"RegExp"==Mje(e))},Lje=Fr("match"),Fje=function(e){if(Rje(e))throw TypeError("The method doesn't accept regular expressions");return e},zje=nt,Bje=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Lje]=!1,"/./"[e](t)}catch(e){}}return!1};Sr({target:"String",proto:!0,forced:!Bje("includes")},{includes:function(e){return!!~String(zje(this)).indexOf(Fje(e),arguments.length>1?arguments[1]:void 0)}});var Uje,qje,Vje={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},userflow:{userflowToken:"ct_gjkrqpboc5edlg6vduhnxfti3e"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"}},Kje={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"},teamsAustralia:{clientId:"29942469-c421-4026-92ef-9bf24a6fc08c"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},userflow:{userflowToken:"ct_3um627fkk5cxvnkwawnaf2b4gy"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"}},Hje=["//localhost","//api:5000","//api.dev.reach.livetiles.io","//api.test.reach.livetiles.io","//api.staging.reach.livetiles.io","//api-dev.condense.ch","//api-test.condense.ch","//api-staging.condense.ch"],Wje=function(t){var n=t.children,r=Cg().apiEndpoint,i=u((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!Hje.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return Qg.info("Will use non prod client config..."),Pa({},Vje);return Pa(Pa({},Vje),Kje)}())}),[r]);return e(Rg.Provider,Pa({value:i},{children:n}),void 0)},Gje=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return ja(this,void 0,void 0,(function(){return Ra(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return ja(this,void 0,void 0,(function(){return Ra(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),Yje=new Gje,Qje=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e($je,Pa({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},$je=function(n){var r=n.subscriptionId,i=n.children,o=a(wS).setToken,s=JC(),c=function(){var e=SV().fetchFromApi,t=kV();return u((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/"+t).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,l=SV().fetchFromApi,d=a(YC),f=d.handleFatalError,p=d.handleAccessDeniedError,h=hS((function(){return ja(this,void 0,void 0,(function(){var e,t,n;return Ra(this,(function(i){switch(i.label){case 0:return e="Reach::PublicAccessToken::"+r,[4,s.getString(e)];case 1:return(t=i.sent())?(o(t),[2,!0]):[4,c(r)];case 2:return i.sent().allowPublicAccess?[4,b(r)]:[3,5];case 3:return n=i.sent(),o(n),[4,s.setString(e,n)];case 4:return i.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[r]),m=h[0],g=h[1],v=h[2];if(v)return Qg.error(v),f({error:v}),null;if(g)return null;if(!m){var y={message:"Public access is not enabled for the subscription "+r+"!"};return Qg.error(y.message),p({error:y}),null}return e(t,{children:i},void 0);function b(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},Jje=function(t){var n=t.children,r=d(),i=r[0],o=r[1],a=d(),s=a[0],c=a[1],l=d(),f=l[0],p=l[1],h=u((function(){return{handleFatalError:o,handleAccessDeniedError:c,handleNotFoundError:p}}),[o,c,p]);return e(YC.Provider,Pa({value:h},{children:e(Zje,Pa({fatalError:i,notFoundError:f,accessDeniedError:s},{children:n}),void 0)}),void 0)},Zje=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(Xje,{messageId:r.messageId,error:r.error},void 0):i?e(Xje,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(Xje,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},Xje=function(t){var r=t.messageId,i=t.error,o=CC().formatMessage,a=d(!1),s=a[0],u=a[1];return e(HMe,Pa({errorType:VMe.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!s)}},{children:s&&n(eRe,{children:[e(KC,{id:"Generic.error.details"},void 0),e(tRe,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},eRe=Se.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(Uje||(Uje=Ka(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),tRe=Se.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(qje||(qje=Ka(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),nRe=function(t){var n=t.children,r=R2(),i=u((function(){return{onShare:function(){return ja(void 0,void 0,void 0,(function(){return Ra(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(QC.Provider,Pa({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},rRe=function(){return null},iRe=Object.freeze({__proto__:null,Page:rRe,NavLinkSidebarItem:rRe,PageMenuActionItem:rRe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+Nje+" ("+Dje+") ["+Aje+"]"),window.__did_initialize_reach_context)return;ue()}();var oRe=function(r){var i,o,s,c,d=null!=a(kg);l((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||(H2.apply(void 0,ghe(["ReachCorePackages"],ghe(ghe([],Oje),Ije))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Pa({default:{}},e)},{name:"@reach/chrome",packageDefinition:Pa({default:{}},iRe)}],H2.apply(void 0,qa(["ReachComponentLibraryPackages"],t))))}),[]);var f=u((function(){var e,t,n,i,o,a,s,u;return{env:{deviceInfo:{},version:Nje,commitId:Aje,buildId:Dje},appConfig:{apiEndpoint:null!==(t=null===(e=r.config)||void 0===e?void 0:e.apiEndpoint)&&void 0!==t?t:"https://api.reach.livetiles.io/api/v1",webAppUrl:null!==(i=null===(n=r.config)||void 0===n?void 0:n.webAppUrl)&&void 0!==i?i:"https://reach.livetiles.io",api3Endpoint:null!==(a=null===(o=r.config)||void 0===o?void 0:o.api3Endpoint)&&void 0!==a?a:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:null!==(u=null===(s=r.config)||void 0===s?void 0:s.webSocketsEndpoint)&&void 0!==u?u:"wss://ws.reach.livetiles.io/api/v2"}}}),[null===(i=r.config)||void 0===i?void 0:i.apiEndpoint,null===(o=r.config)||void 0===o?void 0:o.webAppUrl,null===(s=r.config)||void 0===s?void 0:s.api3Endpoint,null===(c=r.config)||void 0===c?void 0:c.webSocketsEndpoint]);return d?(Qg.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(Pa({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0)):e("div",Pa({className:TG},{children:e(kg.Provider,Pa({value:f},{children:e(be,{children:e($C.Provider,Pa({value:Yje},{children:e(Wje,{children:e(YX,Pa({language:r.language},{children:e(J5,Pa({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(Jje,{children:e(Tje,Pa({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(eE,Pa({subscriptionId:r.subscriptionId},{children:e(Qje,Pa({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(nRe,{children:e(IT.Provider,Pa({value:{hideChrome:!1}},{children:e(aRe,{children:e(dK,Pa({gqlClientConfig:{endPoint:f.appConfig.api3Endpoint,webSocketsEndpoint:f.appConfig.webSocketsEndpoint}},{children:e(S2,{children:e(O6,{children:n(b6,{children:[e(S6,{},void 0),e(wwe,{},void 0),e(sRe,{},void 0),n(we,{children:[e(xe,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e(xe,{render:function(){return r.children}},void 0)]},void 0)]},void 0)},void 0)},void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)}),void 0)},void 0)}),void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)},aRe=function(t){var n,r=t.children,i=a($5).setTheme,o=a(rE).changeSettings,s=K0().getCurrentUser,c=hS((function(){var e,t;return ja(this,void 0,void 0,(function(){var n,r,a,u;return Ra(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,s()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&i(n.subscription.theme),r=j_(n.preferredUiLanguage,M_(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=dAe(n),o(r,a).then((function(){return null}),Qg.error),[2,n];case 2:throw u=c.sent(),Qg.error(u),u;case 3:return[2]}}))}))})),l=c[0],d=c[1],f=c[2],p=c[3],h=a(YC),m=h.handleFatalError,g=h.handleNotFoundError,v=h.handleAccessDeniedError,y=u((function(){return{user:l,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[l]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?v({error:f}):m({error:f}),null):d?null:null==l?(g({}),null):e(d0.Provider,Pa({value:y},{children:r}),void 0)},sRe=function(){return l((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),n(t,{children:[e(EG,{},void 0),e(OG,{},void 0)]},void 0)};var uRe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,cRe=/[\0-\x1F\x7F-\x9F]/,lRe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,dRe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;function fRe(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function pRe(e){return Object.prototype.toString.call(e)}function hRe(e){return"[object Function]"===pRe(e)}function mRe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var gRe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var vRe={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},yRe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function bRe(e){var t=e.re=function(e){var t={};return t.src_Any=uRe.source,t.src_Cc=cRe.source,t.src_Z=lRe.source,t.src_P=dRe.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,function(e){return"[object Object]"===pRe(e)}(n))return!function(e){return"[object RegExp]"===pRe(e)}(n.validate)?hRe(n.validate)?r.validate=n.validate:o(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(hRe(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===pRe(e)}(n)?o(t,n):i.push(t)}})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(mRe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function wRe(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function xRe(e,t){var n=new wRe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function _Re(e,t){if(!(this instanceof _Re))return new _Re(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||gRe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=fRe({},gRe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=fRe({},vRe,e),this.__compiled__={},this.__tlds__=yRe,this.__tlds_replaced__=!1,this.re={},bRe(this)}_Re.prototype.add=function(e,t){return this.__schemas__[e]=t,bRe(this),this},_Re.prototype.set=function(e){return this.__opts__=fRe(this.__opts__,e),this},_Re.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,u;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},_Re.prototype.pretest=function(e){return this.re.pretest.test(e)},_Re.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},_Re.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(xRe(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(xRe(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},_Re.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),bRe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,bRe(this),this)},_Re.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},_Re.prototype.onCompile=function(){};var SRe=_Re;function kRe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function CRe(){return CRe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CRe.apply(this,arguments)}function ERe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IRe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ORe(e,t,n){return t&&IRe(e.prototype,t),n&&IRe(e,n),e}function TRe(e){return TRe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},TRe(e)}function NRe(e){return NRe="function"==typeof Symbol&&"symbol"===TRe(Symbol.iterator)?function(e){return TRe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":TRe(e)},NRe(e)}function DRe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ARe(e,t){return!t||"object"!==NRe(t)&&"function"!=typeof t?DRe(e):t}function PRe(e){return PRe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},PRe(e)}function MRe(e,t){return MRe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},MRe(e,t)}function jRe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MRe(e,t)}function RRe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LRe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function FRe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function zRe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BRe(e){return function(e){if(Array.isArray(e))return zRe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return zRe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zRe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var URe=function(e){return e===Object(e)?Object.keys(e):[]},qRe=function(e){return e===Object(e)?Object.values(e):[]};function VRe(e,t){var n=Object.assign({},e);return WRe(e)&&WRe(t)&&URe(t).forEach((function(r){WRe(t[r])&&r in e?n[r]=VRe(e[r],t[r]):Object.assign(n,T7({},r,t[r]))})),n}var KRe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return VRe(e,t)}),e)},HRe=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},WRe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},GRe=function(e){return(e||[]).filter(Boolean)},YRe=function(e){return"&"===e[0]},QRe=function(e){return!YRe(e)},$Re=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},JRe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=URe(e),r={},i=0,o=n.length;i<o;i+=1){var a=n[i],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(r[a]=e[a])}return r},ZRe=function(e,t){for(var n=t.map($Re),r=URe(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf($Re(s))>=0)&&(i[s]=e[s])}return i},XRe=function e(t,n){for(var r=KRe.apply(void 0,[{},HRe(t,n)].concat(BRe(qRe(ZRe(t,n))))),i=URe(r).filter(YRe),o=0,a=i.length;o<a;o+=1){var s=i[o],u=e(r[s],n);n.indexOf(s)>=0?(delete r[s],r=KRe({},r,u)):r[s]=u}return r};function eLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eLe(Object(n),!0).forEach((function(t){T7(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var nLe=["animationName"],rLe=function(e){var t=e.style,n=e.className;return tLe(tLe({},t?{style:JRe(t,nLe)}:{}),n?{className:n}:{})},iLe=s(rLe);iLe.Provider;var oLe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return URe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},aLe={},sLe=function(e){return function(t,n){var r,i=n||aLe;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=oLe(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function uLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uLe(Object(n),!0).forEach((function(t){T7(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lLe=function(e){var t=e&&URe(e)[0];return t&&t.split("__")[0].split("--")[0]},dLe=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(BRe(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),BRe(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(BRe(i)):i}};function fLe(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rLe,o=n||lLe(r)||(null==t?void 0:t.className),a="function"==typeof t?t:sLe((function(e,n){var a=oLe(e);lhe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),lhe(!n||WRe(n),"Optional second parameter must be a plain object.");var s=a.filter(YRe),u=a.filter(QRe),c=u.length>0?function(e){return qRe(ZRe(e,u))}:function(e){return[e]},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(XRe(e,s))},d=dLe(o,u,s);return fLe(cLe(cLe(cLe({},(t||n)&&{style:KRe.apply(void 0,[{}].concat(BRe(l(n)),BRe(l(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=cLe({},"function"==typeof t?t:{style:t}),u=BRe(new Set([].concat(BRe(s.className?s.className.split(" "):[]),BRe(o?o.split(" "):[])))),c=r?GRe(u.map((function(e){return r[e]}))):u,l=i(cLe(cLe({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,l),a}function pLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pLe(Object(n),!0).forEach((function(t){T7(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mLe=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return hLe(hLe(hLe({},e),"function"==typeof t?t:{}),{},{style:hLe(hLe({},e.style),"function"==typeof t?t.style:t)})}),{})},gLe=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,s=a(iLe);return u((function(){return fLe({style:r,className:i,classNames:o},s)}),[r,i,o,s])(n,e)},vLe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},yLe="__id__",bLe="__display__",wLe=function(e,t){lhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(bLe),r=e.indexOf(yLe);return n<0&&(n=null),r<0&&(r=null),lhe(null!==n||null!==r,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==r?"id"===t&&r<=n||"display"===t&&n<=r?0:1:0},xLe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=LRe(t.exec(e.toString()),3),r=n[1],i=n[2];return lhe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},_Le=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},SLe=function(){},kLe=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:SLe,o=xLe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=_Le(t)+1,n})),u=0,c=0;null!==(r=o.exec(e));){var l=s.find((function(e){return!!r[e]})),d=s.indexOf(l),f=t[d],p=f.markup,h=f.displayTransform,m=l+wLe(p,"id"),g=l+wLe(p,"display"),v=r[m],y=h(v,r[g]),b=e.substring(u,r.index);i(b,u,c),c+=b.length,n(r[0],r.index,c,v,y,d,u),c+=y.length,u=o.lastIndex}u<e.length&&i(e.substring(u),u,c)},CLe=function(e,t){var n="";return kLe(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},ELe=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,i){void 0===r&&i+e.length>=n&&(r=t+n-i)},a=function(e,t,o,a,s,u,c){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return kLe(e,t,a,o),void 0===r?e.length:r},ILe=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},OLe=function(e,t){var n=[];return kLe(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},TLe=function(e,t){return"".concat(e,"-").concat(t)},NLe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},DLe=function(e){var t=vLe(e),n=e[e.indexOf(bLe)+bLe.length],r=e[e.indexOf(yLe)+yLe.length];return new RegExp(t.replace(bLe,"([^".concat(vLe(n||""),"]+?)")).replace(yLe,"([^".concat(vLe(r||""),"]+?)")))},ALe=function(e){return h.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?PLe(r,n):DLe(n),displayTransform:i||function(e,t){return t||e}}}))},PLe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=_Le(t);return lhe(n===r,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(r,")")),e},MLe=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],jLe=function(e){return function(e){var t=e;return MLe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},RLe=function(e,t,n){return n?jLe(e).indexOf(jLe(t)):e.toLowerCase().indexOf(t.toLowerCase())},LLe=function(e){return"number"==typeof e},FLe=function(e){return e===Object(e)?Object.keys(e):[]},zLe=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=(t=[]).concat.apply(t,r);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function BLe(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,u=FRe(r,["style","className","classNames"]),c=t?t(u):void 0,l=gLe(e,{style:i,className:a,classNames:s},c);return o.createElement(n,CRe({},u,{style:l}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var ULe=function(e){function t(){var e;return ERe(this,t),RRe(DRe(e=ARe(this,PRe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return jRe(t,v),ORe(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var r={left:t,top:n};this.setState(r),this.props.onCaretPositionChange(r)}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.selectionStart,i=n.selectionEnd,a=n.value,s=n.style,u=n.children,c=n.containerRef,l=ALe(u);r===i&&(e=ELe(a,l,r,"START"));var d=[],f={},p=d,h=0;return kLe(a,l,(function(e,n,r,i,o,a,s){var u=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(f,i);p.push(t.getMentionComponentForMatch(i,o,a,u))}),(function(n,r,i){if(LLe(e)&&e>=r&&e<=r+n.length){var o=e-r;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==d&&d.push(this.renderHighlighterCaret(p)),o.createElement("div",CRe({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",CRe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var i={id:e,display:t,key:r},a=h.toArray(this.props.children)[n];return o.cloneElement(a,i)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",CRe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();RRe(ULe,"propTypes",{selectionStart:rW.number,selectionEnd:rW.number,value:rW.string.isRequired,onCaretPositionChange:rW.func.isRequired,containerRef:rW.oneOfType([rW.func,rW.shape({current:"undefined"==typeof Element?rW.any:rW.instanceOf(Element)})]),children:rW.oneOfType([rW.element,rW.arrayOf(rW.element)]).isRequired}),RRe(ULe,"defaultProps",{value:""});var qLe=BLe({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(ULe),VLe=function(e){function t(){return ERe(this,t),ARe(this,PRe(t).apply(this,arguments))}return jRe(t,v),ORe(t,[{key:"render",value:function(){var e=zLe(this.props,["style","classNames","className"],FLe(t.propTypes));return o.createElement("li",CRe({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,r=e.suggestion,i=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(r,t,s,i,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,r=t.query,i=t.style,a=RLe(e,r,n);return-1===a?o.createElement("span",i("display"),e):o.createElement("span",i("display"),e.substring(0,a),o.createElement("b",i("highlight"),e.substring(a,a+r.length)),e.substring(a+r.length))}}]),t}();RRe(VLe,"propTypes",{id:rW.string.isRequired,query:rW.string.isRequired,index:rW.number.isRequired,ignoreAccents:rW.bool,suggestion:rW.oneOfType([rW.string,rW.shape({id:rW.oneOfType([rW.string,rW.number]).isRequired,display:rW.string})]).isRequired,renderSuggestion:rW.func,focused:rW.bool});var KLe=BLe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(VLe);function HLe(){var e=gLe(),t=e("spinner");return o.createElement("div",e,o.createElement("div",t,o.createElement("div",t(["element","element1"])),o.createElement("div",t(["element","element2"])),o.createElement("div",t(["element","element3"])),o.createElement("div",t(["element","element4"])),o.createElement("div",t(["element","element5"]))))}var WLe=function(e){function t(){var e,n;ERe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return RRe(DRe(n=ARe(this,(e=PRe(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),RRe(DRe(n),"select",(function(e,t){n.props.onSelect(e,t)})),RRe(DRe(n),"setUlElement",(function(e){n.ulElement=e})),n}return jRe(t,v),ORe(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,r=t.bottom,i=this.ulElement.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?this.ulElement.scrollTop=n:r>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=r-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,r=e.isOpened,i=e.style,a=e.onMouseDown,s=e.containerRef,u=e.position,c=e.left,l=e.top;return r?o.createElement("div",CRe({},mLe({position:u||"absolute",left:c,top:l},i),{onMouseDown:a,ref:s}),o.createElement("ul",CRe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},i("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,i=n.queryInfo;return[].concat(kRe(t),kRe(r.map((function(n,r){return e.renderSuggestion(n,i,t.length+r)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,i=n===this.props.focusIndex,a=t.childIndex,s=t.query,u=h.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return o.createElement(KLe,{style:this.props.style("item"),key:"".concat(a,"-").concat(GLe(e)),id:TLe(this.props.id,n),query:s,index:n,ignoreAccents:c,renderSuggestion:u,suggestion:e,focused:i,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(HLe,{style:this.props.style("loadingIndicator")})}}]),t}();RRe(WLe,"propTypes",{id:rW.string.isRequired,suggestions:rW.object.isRequired,a11ySuggestionsListLabel:rW.string,focusIndex:rW.number,position:rW.string,left:rW.number,top:rW.number,scrollFocusedIntoView:rW.bool,isLoading:rW.bool,isOpened:rW.bool.isRequired,onSelect:rW.func,ignoreAccents:rW.bool,containerRef:rW.oneOfType([rW.func,rW.shape({current:"undefined"==typeof Element?rW.any:rW.instanceOf(Element)})]),children:rW.oneOfType([rW.element,rW.arrayOf(rW.element)]).isRequired}),RRe(WLe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var GLe=function(e){return"string"==typeof e?e:e.id},YLe=BLe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(WLe);function QLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?QLe(n,!0).forEach((function(t){RRe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QLe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var JLe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},ZLe=!1,XLe={singleLine:rW.bool,allowSpaceInQuery:rW.bool,allowSuggestionsAboveCursor:rW.bool,forceSuggestionsAboveCursor:rW.bool,ignoreAccents:rW.bool,a11ySuggestionsListLabel:rW.string,value:rW.string,onKeyDown:rW.func,onSelect:rW.func,onBlur:rW.func,onChange:rW.func,suggestionsPortalHost:"undefined"==typeof Element?rW.any:rW.PropTypes.instanceOf(Element),inputRef:rW.oneOfType([rW.func,rW.shape({current:"undefined"==typeof Element?rW.any:rW.instanceOf(Element)})]),children:rW.oneOfType([rW.element,rW.arrayOf(rW.element)]).isRequired},eFe=function(e){function t(e){var n;return ERe(this,t),RRe(DRe(n=ARe(this,PRe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),RRe(DRe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return $Le({},zLe(n.props,["style","classNames","className"],FLe(XLe)),{},i("input"),{value:n.getPlainText()},!t&&!r&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":TLe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),RRe(DRe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,r=e.style,i=n.getInputProps();return o.createElement("div",r("control"),n.renderHighlighter(),t?n.renderInput(i):n.renderTextarea(i))})),RRe(DRe(n),"renderInput",(function(e){return o.createElement("input",CRe({type:"text",ref:n.setInputRef},e))})),RRe(DRe(n),"renderTextarea",(function(e){return o.createElement("textarea",CRe({ref:n.setInputRef},e))})),RRe(DRe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),RRe(DRe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),RRe(DRe(n),"renderSuggestionsOverlay",(function(){if(!LLe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(YLe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:r,top:i,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?Me.createPortal(a,n.props.suggestionsPortalHost):a})),RRe(DRe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,r=e.selectionEnd,i=n.props,a=i.singleLine,s=i.children,u=i.value,c=i.style;return o.createElement(qLe,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:u,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),RRe(DRe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),RRe(DRe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),RRe(DRe(n),"getPlainText",(function(){return CLe(n.props.value||"",ALe(n.props.children))})),RRe(DRe(n),"executeOnChange",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(r)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),RRe(DRe(n),"handleChange",(function(e){if(ZLe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=ALe(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=CLe(e,r),u=s.length-t.length;"undefined"===i&&(i=a+u),"undefined"===o&&(o=i),i===o&&o===a&&s.length===t.length&&(i-=1);var c=t.slice(i,a),l=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+u));var f=ELe(e,r,l,"START"),p=ELe(e,r,d,"END"),h=ELe(e,r,l,"NULL"),m=ELe(e,r,d,"NULL"),g=null===h||null===m,v=ILe(e,f,p,c);if(!g){var y=CLe(v,r);if(y!==t){for(l=0;t[l]===y[l];)l++;c=t.slice(l,a),d=s.lastIndexOf(t.substring(a)),f=ELe(e,r,l,"START"),p=ELe(e,r,d,"END"),v=ILe(e,f,p,c)}}return v}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=CLe(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,u=!1,c=function(e,t,n){var r=n,i=!1;if(kLe(e,t,(function(e,t,o,a,s,u,c){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r}(t,r,a);void 0!==c&&n.state.selectionEnd>c&&(s=a=c,u=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:u});var l=OLe(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,l)}})),RRe(DRe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!ZLe){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),RRe(DRe(n),"handleKeyDown",(function(e){if(0!==NLe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(JLe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case JLe.ESC:return void n.clearSuggestions();case JLe.DOWN:return void n.shiftFocus(1);case JLe.UP:return void n.shiftFocus(-1);case JLe.RETURN:case JLe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),RRe(DRe(n),"shiftFocus",(function(e){var t=NLe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),RRe(DRe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,i=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(kRe(e),kRe(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),RRe(DRe(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),RRe(DRe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),RRe(DRe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),RRe(DRe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,r=t.suggestionsPortalHost,i=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,u=s.getBoundingClientRect(),c=tFe(s,"font-size"),l={left:u.left+e.left,top:u.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var f={};if(r){f.position="fixed";var p=l.left,h=l.top;p-=tFe(a,"margin-left"),h-=tFe(a,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+a.offsetWidth>m?f.left=Math.max(0,m-a.offsetWidth):f.left=p,i&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?f.top=Math.max(0,h-a.offsetHeight-c):f.top=h}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=g,i&&l.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<u.top-c-s.scrollTop?f.top=v-a.offsetHeight-c:f.top=v}f.left===n.state.suggestionsPosition.left&&f.top===n.state.suggestionsPosition.top&&f.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:f})}}})),RRe(DRe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),RRe(DRe(n),"handleCompositionStart",(function(){ZLe=!0})),RRe(DRe(n),"handleCompositionEnd",(function(){ZLe=!1})),RRe(DRe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var r=n.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,t);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",e),i.select()}}})),RRe(DRe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=ALe(i),s=ELe(r,a,t,"NULL");if(null!==s){var u=function(e,t){var n=OLe(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,s),a),c=e.substring(u,t);o.Children.forEach(i,(function(t,r){if(t){var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,r=vLe(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(t.props.trigger,n.props),o=c.match(i);if(o){var a=u+c.indexOf(o[1],o.index);n.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),RRe(DRe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),RRe(DRe(n),"queryData",(function(e,t,r,i,o){var a=n.props,s=a.children,u=a.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,r){for(var i=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;RLe(s,n,t)>=0&&i.push(e[o])}return i}:e}(h.toArray(s)[t].props.data,u),l=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,i,o));l instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,i,o,l)})),RRe(DRe(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=$Le({},n.suggestions,RRe({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var u=n.state.focusIndex,c=NLe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:u>=c?Math.max(c-1,0):u})}})),RRe(DRe(n),"addMention",(function(e,t){var r=e.id,i=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",l=ALe(n.props.children),d=h.toArray(n.props.children)[o].props,f=d.markup,p=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,v=ELe(c,l,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(yLe,t).replace(bLe,n)}(f,r,i);m&&(b+=" ");var w=ILe(c,v,y,b);n.inputElement.focus();var x=p(r,i);m&&(x+=" ");var _=a+x.length;n.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var S={target:{value:w}},k=OLe(w,l),C=ILe(u,a,s,x);n.executeOnChange(S,w,C,k),g&&g(r,i,v,y),n.clearSuggestions()})),RRe(DRe(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),RRe(DRe(n),"isOpened",(function(){return LLe(n.state.selectionStart)&&(0!==NLe(n.state.suggestions)||n.isLoading())})),RRe(DRe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(DRe(n)),n.handleCut=n.handleCut.bind(DRe(n)),n.handlePaste=n.handlePaste.bind(DRe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return jRe(t,o.Component),ORe(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return o.createElement("div",CRe({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.value,a=i.children,s=ALe(a),u=ELe(o,s,n,"START"),c=ELe(o,s,r,"END"),l=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=ILe(o,u,c,l||d).replace(/\r/g,""),p=CLe(f,s),h={target:$Le({},e.target,{value:f})};this.executeOnChange(h,f,p,OLe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=ALe(o),u=ELe(a,s,n,"START"),c=ELe(a,s,r,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,r)),e.clipboardData.setData("text/react-mentions",a.slice(u,c))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=ALe(o),u=ELe(a,s,n,"START"),c=ELe(a,s,r,"END"),l=[a.slice(0,u),a.slice(c)].join(""),d=CLe(l,s),f={target:$Le({},e.target,{value:d})};this.executeOnChange(f,l,d,OLe(a,s))}}}]),t}();RRe(eFe,"propTypes",XLe),RRe(eFe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var tFe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},nFe=BLe({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:$Le({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(eFe),rFe={fontWeight:"inherit"},iFe=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=gLe(rFe,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};iFe.propTypes={onAdd:rW.func,onRemove:rW.func,renderSuggestion:rW.func,trigger:rW.oneOfType([rW.string,rW.instanceOf(RegExp)]),markup:rW.string,displayTransform:rW.func,allowSpaceInQuery:rW.bool,isLoading:rW.bool},iFe.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1};var oFe=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function aFe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=oFe.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var sFe=[".DS_Store","Thumbs.db"];function uFe(e){return ja(this,void 0,void 0,(function(){return Ra(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?lFe(e.dataTransfer,e.type):cFe(e))];var n}))}))}function cFe(e){return(null!==e.target&&e.target.files?fFe(e.target.files):[]).map((function(e){return aFe(e)}))}function lFe(e,t){return ja(this,void 0,void 0,(function(){var n;return Ra(this,(function(r){switch(r.label){case 0:return e.items?(n=fFe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(pFe))]):[3,2];case 1:return[2,dFe(hFe(r.sent()))];case 2:return[2,dFe(fFe(e.files).map((function(e){return aFe(e)})))]}}))}))}function dFe(e){return e.filter((function(e){return-1===sFe.indexOf(e.name)}))}function fFe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function pFe(e){if("function"!=typeof e.webkitGetAsEntry)return mFe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?vFe(t):mFe(e)}function hFe(e){return e.reduce((function(e,t){return Ba(e,Array.isArray(t)?hFe(t):[t])}),[])}function mFe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=aFe(t);return Promise.resolve(n)}function gFe(e){return ja(this,void 0,void 0,(function(){return Ra(this,(function(t){return[2,e.isDirectory?vFe(e):yFe(e)]}))}))}function vFe(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return ja(o,void 0,void 0,(function(){var o,a,s;return Ra(this,(function(u){switch(u.label){case 0:if(t.length)return[3,5];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=u.sent(),e(o),[3,4];case 3:return a=u.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(gFe)),r.push(s),i(),u.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function yFe(e){return ja(this,void 0,void 0,(function(){return Ra(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=aFe(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function bFe(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t}))}return!0}(e,t)}function wFe(e,t,n){if(xFe(e.size)){if(xFe(t)&&xFe(n))return e.size>=t&&e.size<=n;if(xFe(t))return e.size>=t;if(xFe(n))return e.size<=n}return!0}function xFe(e){return null!=e}function _Fe(e,t,n,r){return e.every((function(e){return bFe(e,t)&&wFe(e,n,r)}))}function SFe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function kFe(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function CFe(e){e.preventDefault()}function EFe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function IFe(e){return-1!==e.indexOf("Edge/")}function OFe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return EFe(e)||IFe(e)}function TFe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return!SFe(e)&&t&&t.apply(void 0,[e].concat(r)),SFe(e)}))}}function NFe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function DFe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function AFe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AFe(n,!0).forEach((function(t){MFe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function MFe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jFe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var RFe=w((function(e,t){var n=e.children,r=FFe(jFe(e,["children"])),i=r.open,a=jFe(r,["open"]);return S(t,(function(){return{open:i}}),[i]),o.createElement(k,null,n(PFe({},a,{open:i})))}));RFe.displayName="Dropzone",RFe.propTypes={children:rW.func,accept:rW.oneOfType([rW.string,rW.arrayOf(rW.string)]),multiple:rW.bool,preventDropOnDocument:rW.bool,noClick:rW.bool,noKeyboard:rW.bool,noDrag:rW.bool,noDragEventsBubbling:rW.bool,minSize:rW.number,maxSize:rW.number,disabled:rW.bool,getFilesFromEvent:rW.func,onFileDialogCancel:rW.func,onDragEnter:rW.func,onDragLeave:rW.func,onDragOver:rW.func,onDrop:rW.func,onDropAccepted:rW.func,onDropRejected:rW.func};var LFe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function FFe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,i=e.getFilesFromEvent,o=void 0===i?uFe:i,a=e.maxSize,s=void 0===a?1/0:a,d=e.minSize,h=void 0===d?0:d,m=e.multiple,g=void 0===m||m,v=e.onDragEnter,y=e.onDragLeave,b=e.onDragOver,w=e.onDrop,x=e.onDropAccepted,_=e.onDropRejected,S=e.onFileDialogCancel,k=e.preventDropOnDocument,C=void 0===k||k,E=e.noClick,I=void 0!==E&&E,O=e.noKeyboard,T=void 0!==O&&O,N=e.noDrag,D=void 0!==N&&N,A=e.noDragEventsBubbling,P=void 0!==A&&A,M=c(null),j=c(null),R=p(zFe,LFe),L=DFe(R,2),F=L[0],z=L[1],B=F.isFocused,U=F.isFileDialogActive,q=F.draggedFiles,V=f((function(){j.current&&(z({type:"openDialog"}),j.current.value=null,j.current.click())}),[z]),K=function(){U&&setTimeout((function(){j.current&&(j.current.files.length||(z({type:"closeDialog"}),"function"==typeof S&&S()))}),300)};l((function(){return window.addEventListener("focus",K,!1),function(){window.removeEventListener("focus",K,!1)}}),[j,U,S]);var H=f((function(e){M.current&&M.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),V()))}),[M,j]),W=f((function(){z({type:"focus"})}),[]),G=f((function(){z({type:"blur"})}),[]),Y=f((function(){I||(OFe()?setTimeout(V,0):V())}),[j,I]),Q=c([]),$=function(e){M.current&&M.current.contains(e.target)||(e.preventDefault(),Q.current=[])};l((function(){return C&&(document.addEventListener("dragover",CFe,!1),document.addEventListener("drop",$,!1)),function(){C&&(document.removeEventListener("dragover",CFe),document.removeEventListener("drop",$))}}),[M,C]);var J=f((function(e){e.preventDefault(),e.persist(),ie(e),-1===Q.current.indexOf(e.target)&&(Q.current=[].concat(NFe(Q.current),[e.target])),kFe(e)&&Promise.resolve(o(e)).then((function(t){SFe(e)&&!P||(z({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,P]),Z=f((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return kFe(e)&&b&&b(e),!1}),[b,P]),X=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=Q.current.filter((function(t){return t!==e.target&&M.current&&M.current.contains(t)}));Q.current=t,t.length>0||(z({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),kFe(e)&&y&&y(e))}),[M,y,P]),ee=f((function(e){e.preventDefault(),e.persist(),ie(e),Q.current=[],z({type:"reset"}),kFe(e)&&Promise.resolve(o(e)).then((function(n){if(!SFe(e)||P){var r=[],i=[];n.forEach((function(e){bFe(e,t)&&wFe(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,NFe(r.splice(0))),z({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),w&&w(r,i,e),i.length>0&&_&&_(i,e),r.length>0&&x&&x(r,e)}}))}),[g,t,h,s,o,w,x,_,P]),te=function(e){return r?null:e},ne=function(e){return T?null:te(e)},re=function(e){return D?null:te(e)},ie=function(e){P&&e.stopPropagation()},oe=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,u=e.onDragEnter,c=e.onDragOver,l=e.onDragLeave,d=e.onDrop,f=jFe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return PFe(MFe({onKeyDown:ne(TFe(i,H)),onFocus:ne(TFe(o,W)),onBlur:ne(TFe(a,G)),onClick:te(TFe(s,Y)),onDragEnter:re(TFe(u,J)),onDragOver:re(TFe(c,Z)),onDragLeave:re(TFe(l,X)),onDrop:re(TFe(d,ee))},n,M),r||T?{}:{tabIndex:0},{},f)}}),[M,H,W,G,Y,J,Z,X,ee,T,D,r]),ae=f((function(e){e.stopPropagation()}),[]),se=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,r=void 0===n?"ref":n,i=e.onChange,o=e.onClick,a=jFe(e,["refKey","onChange","onClick"]),s=MFe({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(TFe(i,ee)),onClick:te(TFe(o,ae)),autoComplete:"off",tabIndex:-1},r,j);return PFe({},s,{},a)}}),[j,t,g,ee,r]),ue=q.length,ce=g||ue<=1,le=ue>0&&_Fe(q,t,h,s),de=ue>0&&(!le||!ce);return PFe({},F,{isDragAccept:le,isDragReject:de,isFocused:B&&!r,getRootProps:oe,getInputProps:se,rootRef:M,inputRef:j,open:te(V)})}function zFe(e,t){switch(t.type){case"focus":return PFe({},e,{isFocused:!0});case"blur":return PFe({},e,{isFocused:!1});case"openDialog":return PFe({},e,{isFileDialogActive:!0});case"closeDialog":return PFe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return PFe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return PFe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return PFe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var BFe={exports:{}};!function(e,t){!function(t,n,r){e.exports=r(),e.exports.default=r()}(0,0,(function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function n(n,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},o=r.replacement||"-",a=n.split("").reduce((function(t,n){return t+(i[n]||e[n]||n)}),"").replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return r.lower&&(a=a.toLowerCase()),r.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n}))}(BFe);var UFe,qFe=BFe.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(UFe||(UFe={}));var VFe={exports:{}},KFe=ze(VFe.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=r.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e){return e&&e.__esModule?e:{default:e}}t.default=c;var o=n(3),a=i(n(4)),s=n(14),u=i(n(15));function c(e){var t=e.activeClassName,n=void 0===t?"":t,i=e.activeIndex,a=void 0===i?-1:i,c=e.activeStyle,l=e.autoEscape,d=e.caseSensitive,f=void 0!==d&&d,p=e.className,h=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,w=void 0===b?"mark":b,x=e.sanitize,_=e.searchWords,S=e.textToHighlight,k=e.unhighlightClassName,C=void 0===k?"":k,E=e.unhighlightStyle,I=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),O=(0,o.findAll)({autoEscape:l,caseSensitive:f,findChunks:h,sanitize:x,searchWords:_,textToHighlight:S}),T=w,N=-1,D="",A=void 0,P=(0,u.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",r({className:p},I,{children:O.map((function(e,t){var r=S.substr(e.start,e.end-e.start);if(e.highlight){N++;var i=void 0;i="object"==typeof g?f?g[r]:(g=P(g))[r.toLowerCase()]:g;var o=N===+a;D=i+" "+(o?n:""),A=!0===o&&null!=c?Object.assign({},y,c):y;var u={children:r,className:D,key:t,style:A};return"string"!=typeof T&&(u.highlightIndex=N),(0,s.createElement)(T,u)}return(0,s.createElement)("span",{children:r,className:C,key:t,style:E})}))}))}c.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,o=e.caseSensitive,a=void 0!==o&&o,s=e.findChunks,u=void 0===s?r:s,c=e.sanitize,l=e.searchWords,d=e.textToHighlight;return i({chunksToHighlight:n({chunks:u({autoEscape:t,caseSensitive:a,sanitize:c,searchWords:l,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,i=void 0===r?o:r,a=e.searchWords,s=e.textToHighlight;return s=i(s),a.filter((function(e){return e})).reduce((function(e,r){r=i(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(r,n?"g":"gi"),a=void 0;a=o.exec(s);){var u=a.index,c=o.lastIndex;c>u&&e.push({start:u,end:c}),a.index==o.lastIndex&&o.lastIndex++}return e}),[])};t.findChunks=r;var i=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],i=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)i(0,n,!1);else{var o=0;t.forEach((function(e){i(o,e.start,!1),i(e.start,e.end,!0),o=e.end})),i(o,n,!1)}return r};function o(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,d=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&p())}function p(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(t){var r=n(7),i=n(8),o=n(9),a=n(10),s=n(11),u=n(12);e.exports=function(e,n){var c="function"==typeof Symbol&&Symbol.iterator,l="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(r.thatReturnsNull),arrayOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<a.length;u++){var c=e(a,u,r,i,o+"["+u+"]",s);if(c instanceof Error)return c}return null}))},element:h((function(t,n,r,i,o){var a=t[n];return e(a)?null:new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(e){return h((function(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||l;return new p("Invalid "+i+" `"+o+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:l)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,i){return g(e[t])?null:new p("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],u=v(a);if("object"!==u)return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in a)if(a.hasOwnProperty(c)){var l=e(a,c,r,i,o+"."+c,s);if(l instanceof Error)return l}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(f(a,e[s]))return null;return new p("Invalid "+i+" `"+o+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var n=0;n<e.length;n++){var i=e[n];if("function"!=typeof i)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(i),n),r.thatReturnsNull}return h((function(t,n,r,i,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,i,o,s))return null;return new p("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return h((function(t,n,r,i,o){var a=t[n],u=v(a);if("object"!==u)return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var l=e[c];if(l){var d=l(a,c,r,i,o+"."+c,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,r,i,o){var u=t[n],c=v(u);if("object"!==c)return new p("Invalid "+i+" `"+o+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var l=a({},t[n],e);for(var d in l){var f=e[d];if(!f)return new p("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(u,d,r,i,o+"."+d,s);if(h)return h}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){this.message=e,this.stack=""}function h(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function u(u,c,d,f,h,m,g){if(f=f||l,m=m||d,g!==s)if(n)i(!1,"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");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=f+":"+d;!r[v]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,f),r[v]=!0,a++)}return null==c[d]?u?null===c[d]?new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `null`."):new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,d,f,h,m)}var c=u.bind(null,!1);return c.isRequired=u.bind(null,!0),c}function m(e){return h((function(t,n,r,i,o,a){var s=t[n];return v(s)!==e?new p("Invalid "+i+" `"+o+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,i=n.call(t);if(n!==t.entries){for(;!(r=i.next()).done;)if(!g(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=u,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,r,i,o,a,s,u){if(n(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,i,o,a,s,u],d=0;(c=new Error(t.replace(/%s/g,(function(){return l[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}}).call(t,n(5))},function(e,t,n){(function(t){var r=n(7);if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};r=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=r}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,s,u=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(u[l]=a[l]);if(n){s=n(a);for(var d=0;d<s.length;d++)i.call(a,s[d])&&(u[s[d]]=a[s[d]])}}return u}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var r=n(8),i=n(9),o=n(11),a={};e.exports=function(e,n,s,u,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var d;try{r("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",u||"React class",s,l,typeof e[l]),d=e[l](n,l,u,s,null,o)}catch(e){d=e}if(i(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",s,l,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var f=c?c():"";i(!1,"Failed %s type: %s%s",s,d.message,null!=f?f:"")}}}}).call(t,n(5))},function(e,t,n){var r=n(7),i=n(8),o=n(11);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"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")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){e.exports=o},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,i=[],o=void 0,a=!1,s=function(e,n){return t(e,i[n])},u=function(){for(var t=arguments.length,n=Array(t),u=0;u<t;u++)n[u]=arguments[u];return a&&r===this&&n.length===i.length&&n.every(s)?o:(a=!0,r=this,i=n,o=e.apply(this,n))};return u}}])),HFe={exports:{}},WFe=(HFe.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:G(e)}function r(e){return s(e)?e:Y(e)}function i(e){return u(e)?e:Q(e)}function o(e){return a(e)&&!c(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function S(e){e&&(e.value=!0)}function k(){}function C(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function E(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function I(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function O(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function N(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var P=0,M=1,j=2,R="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",F=R||L;function z(e){this.next=e}function B(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function U(){return{value:void 0,done:!0}}function q(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function K(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(R&&e[R]||e[L]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function G(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=P,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[F]=function(){return this},t(G,n),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(e,t){return de(this,e,t,!0)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,G),Y.prototype.toKeyedSeq=function(){return this},t(Q,G),Q.of=function(){return Q(arguments)},Q.prototype.toIndexedSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq [","]")},Q.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Q.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t($,G),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},G.isSeq=oe,G.Keyed=Y,G.Set=$,G.Indexed=Q;var J,Z,X,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return J||(J=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new ie(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return W(e)?new te(e):V(e)?new ie(e):q(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new z((function(){var e=i[n?o-a:a];return a++>o?U():B(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Q(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Q(e).map(me).toList():ge(e)?Y(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(X)return X;X=this}}function _e(){throw TypeError("Abstract")}function Se(){}function ke(){}function Ce(){}G.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[I(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new z((function(){return i>r?U():B(e,i,n[t?r-i++:i++])}))},t(ne,Y),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new z((function(){var a=r[t?i-o:o];return o++>i?U():B(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(V(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!V(n))return new z(U);var r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value)}))},t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new z((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return B(e,i,r[i++])}))},t(be,Q),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new be(this._value,D(t,n)-N(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,r=0;return new z((function(){return r<n.size?B(e,r++,n._value):U()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,Q),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+I(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=N(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new z((function(){var a=i;return i+=t?-r:r,o>n?U():B(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Se,_e),t(ke,_e),t(Ce,_e),_e.Keyed=Se,_e.Indexed=ke,_e.Set=Ce;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ie(e){return e>>>1&1073741824|3221225471&e}function Oe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ie(n)}if("string"===t)return e.length>ze?Te(e):Ne(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Ne(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=qe[e];return void 0===t&&(t=Ne(e),Ue===Be&&(Ue=0,qe={}),Ue++,qe[e]=t),t}function Ne(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ie(t)}function De(e){var t;if(Re&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Pe){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),Re)je.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pe)Object.defineProperty(e,Fe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Ae=Object.isExtensible,Pe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Me(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var je,Re="function"==typeof WeakMap;Re&&(je=new WeakMap);var Le=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var ze=16,Be=255,Ue=0,qe={};function Ve(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?it():He(e)&&!l(e)?e:it().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ge])}t(Ke,Se),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return ot(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return ot(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},Ke.prototype.merge=function(){return ft(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return ft(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return qt(dn(this,e))},Ke.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ke.isMap=He;var We,Ge="@@__IMMUTABLE_MAP__@@",Ye=Ke.prototype;function Qe(e,t){this.ownerID=e,this.entries=t}function $e(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Je(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Xe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return B(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var i=Object.create(Ye);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return We||(We=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===b?e:(S(s),S(a),new Xe(t,r,[i,o]))}function st(e){return e.constructor===Xe||e.constructor===Ze}function ut(e,t,n,r,i){if(e.keyHash===r)return new Ze(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new $e(t,1<<a|1<<s,a===s?[ut(e,t,n+g,r,i)]:(o=new Xe(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Xe(e,Oe(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function lt(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new $e(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Je(e,o+1,a)}function ft(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],u=r(s);a(s)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return ve(t,i)?t:i}}function mt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var u=o.value,c=i?b:e.get(u,b),l=gt(c,t,n,r);return l===c?e:l===b?e.remove(u):(i?it():e).set(u,l)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var i=r?e:C(e);return i[t]=n,i}function bt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ye[Ge]=!0,Ye[m]=Ye.remove,Ye.removeIn=Ye.deleteIn,Qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Qe.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),!s||1!==u.length){if(!d&&!s&&u.length>=xt)return ct(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Qe(e,p)}},$e.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},$e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===b)return this;var d=vt(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=_t)return dt(e,f,c,s,h);if(l&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=l?h?c:c^u:c|u,w=l?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new $e(e,v,w)},Je.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Je.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=i===b,c=this.nodes,l=c[s];if(u&&!l)return this;var d=at(l,e,t+g,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<St)return lt(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Je(e,f,h)},Ze.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=i===b;if(n!==this.keyHash)return s?this:(S(a),S(o),ut(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),s&&2===l)return new Xe(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ze(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Xe.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,u=ve(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(S(a),s?void S(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Xe(e,this.keyHash,[r,i]):(S(o),ut(this,e,t,Oe(r),[r,i])))},Qe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},$e.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Xe.prototype.iterate=function(e,t){return e(this.entry)},t(et,z),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return U()};var xt=v/4,_t=v/2,St=v/4;function kt(e){var t=Mt();if(null==e)return t;if(Ct(e))return e;var n=i(e),r=n.size;return 0===r?t:(Ve(r),r>0&&r<v?Pt(0,r,g,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ct(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=I(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return jt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return zt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){zt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return zt(this,1)},kt.prototype.merge=function(){return Bt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},kt.prototype.setSize=function(e){return zt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:zt(this,N(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=At(this,t);return new z((function(){var t=r();return t===Dt?U():B(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=At(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=Ct;var Et="@@__IMMUTABLE_LIST__@@",It=kt.prototype;function Ot(e,t){this.array=e,this.ownerID=t}It[Et]=!0,It[m]=It.remove,It.setIn=Ye.setIn,It.deleteIn=It.removeIn=Ye.removeIn,It.update=Ye.update,It.updateIn=Ye.updateIn,It.mergeIn=Ye.mergeIn,It.mergeDeepIn=Ye.mergeDeepIn,It.withMutations=Ye.withMutations,It.asMutable=Ye.asMutable,It.asImmutable=Ye.asImmutable,It.wasAltered=Ye.wasAltered,Ot.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new Ot([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ot.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Nt,Dt={};function At(e,t){var n=e._origin,r=e._capacity,i=Ut(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(u===c)return Dt;var e=t?--c:u++;return s&&s[e]}}function u(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>v&&(l=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===l)return Dt;var n=t?--l:c++;s=a(u&&u[n],i-g,o+(n<<i))}}}}function Pt(e,t,n,r,i,o,a){var s=Object.create(It);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Tt||(Tt=Pt(0,0,g))}function jt(e,t,n){if((t=I(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=_(x);return t>=Ut(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,o):i=Rt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Pt(e._origin,e._capacity,e._level,i,r):e}function Rt(e,t,n,r,i,o){var a,s=r>>>n&y,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=Rt(c,t,n-g,r,i,o);return l===c?e:((a=Lt(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(S(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new Ot(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=g);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=Ut(o),f=Ut(s);f>=1<<u+g;)c=new Ot(c&&c.array.length?[c]:[],r),u+=g;var p=e._tail,h=f<d?Ft(e,s-1):f>d?new Ot([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=u;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var w=a>>>u&y;if(w!==f>>>u&y)break;w&&(l+=(1<<u)*w),u-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Pt(a,s,u,c,h)}function Bt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var u=n[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Ut(e){return e<v?0:e-1>>>g<<g}function qt(e){return null==e?Ht():Vt(e)?e:Ht().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Vt(e){return He(e)&&l(e)}function Kt(e,t,n,r){var i=Object.create(qt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ht(){return Nt||(Nt=Kt(it(),Mt()))}function Wt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===b){if(!u)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Kt(r,i)}function Gt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function $t(e){this._iter=e,this.size=e.size}function Jt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var r=e.__iterator(t,n);return new z((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?P:M,n)},t}function Zt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(j,i);return new z((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return B(r,s,t.call(n,a[1],s,e),i)}))},r}function Xt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Jt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(j,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(t.call(n,l,c,e))return B(i,r?c:s++,l,o)}}))},i}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(l(e)?qt():Ke()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=yn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),T(t,n,i))return e;var o=N(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=I(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new z((function(){for(;a++<o;)i.next();if(++u>s)return U();var e=i.next();return r||t===M?e:B(t,u-1,t===P?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(j,i),s=!0;return new z((function(){if(!s)return U();var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?r===j?e:B(r,u,c,e):(s=!1,U())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(j,o),u=!0,c=0;return new z((function(){var e,o,l;do{if((e=s.next()).done)return r||i===M?e:B(i,c++,i===P?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return i===j?e:B(i,o,l,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||u(e)&&u(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?u(e,c+1):!1===r(e,n?i:o++,l)&&(s=!0),!s}),i)}return u(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],u=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===j&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:B(r,u++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return U()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(M,r),a=0;return new z((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?B(n,a++,t):B(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Y(o):u(e)?Q(o):$(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=bn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),K(i?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?U():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ve(e.size),E(e)}function yn(e){return s(e)?r:u(e)?i:o}function bn(e){return Object.create((s(e)?Y:u(e)?Q:$).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function Sn(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);In(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Ke(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(qt,Ke),qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ht()},qt.prototype.set=function(e,t){return Wt(this,e,t)},qt.prototype.remove=function(e){return Wt(this,e,b)},qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Vt,qt.prototype[h]=!0,qt.prototype[m]=qt.prototype.remove,t(Gt,Y),Gt.prototype.get=function(e,t){return this._iter.get(e,t)},Gt.prototype.has=function(e){return this._iter.has(e)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Gt.prototype.map=function(e,t){var n=this,r=Zt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Gt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Gt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),r=t?vn(this):0;return new z((function(){var i=n.next();return i.done?i:B(e,t?--r:r++,i.value,i)}))},Gt.prototype[h]=!0,t(Yt,Q),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value,t)}))},t(Qt,$),Qt.prototype.has=function(e){return this._iter.includes(e)},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){var t=n.next();return t.done?t:B(e,t.value,t.value,t)}))},t($t,Y),$t.prototype.entrySeq=function(){return this._iter.toSeq()},$t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},$t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return B(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Yt.prototype.cacheResult=Gt.prototype.cacheResult=Qt.prototype.cacheResult=$t.prototype.cacheResult=wn,t(Sn,Se),Sn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},Sn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Sn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Cn(this,it()))},Sn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Cn(this,n)},Sn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Cn(this,t)},Sn.prototype.wasAltered=function(){return this._map.wasAltered()},Sn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Sn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Sn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Cn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=Sn.prototype;function Cn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function En(e){return e._name||e.constructor.name||"Record"}function In(e,t){try{t.forEach(On.bind(void 0,e))}catch(e){}}function On(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?Rn():Nn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ye.removeIn,kn.merge=Ye.merge,kn.mergeWith=Ye.mergeWith,kn.mergeIn=Ye.mergeIn,kn.mergeDeep=Ye.mergeDeep,kn.mergeDeepWith=Ye.mergeDeepWith,kn.mergeDeepIn=Ye.mergeDeepIn,kn.setIn=Ye.setIn,kn.update=Ye.update,kn.updateIn=Ye.updateIn,kn.withMutations=Ye.withMutations,kn.asMutable=Ye.asMutable,kn.asImmutable=Ye.asImmutable,t(Tn,Ce),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Mn(this,this._map.clear())},Tn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Tn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Tn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Tn.isSet=Nn;var Dn,An="@@__IMMUTABLE_SET__@@",Pn=Tn.prototype;function Mn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function jn(e,t){var n=Object.create(Pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Dn||(Dn=jn(it()))}function Ln(e){return null==e?qn():Fn(e)?e:qn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Nn(e)&&l(e)}Pn[An]=!0,Pn[m]=Pn.remove,Pn.mergeDeep=Pn.merge,Pn.mergeDeepWith=Pn.mergeWith,Pn.withMutations=Ye.withMutations,Pn.asMutable=Ye.asMutable,Pn.asImmutable=Ye.asImmutable,Pn.__empty=Rn,Pn.__make=jn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=Fn;var zn,Bn=Ln.prototype;function Un(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qn(){return zn||(zn=Un(Ht()))}function Vn(e){return null==e?Qn():Kn(e)?e:Qn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Un,t(Vn,ke),Vn.of=function(){return this(arguments)},Vn.prototype.toString=function(){return this.__toString("Stack [","]")},Vn.prototype.get=function(e,t){var n=this._head;for(e=I(this,e);n&&e--;)n=n.next;return n?n.value:t},Vn.prototype.peek=function(){return this._head&&this._head.value},Vn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yn(e,t)},Vn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Ve(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yn(t,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.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):Qn()},Vn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=N(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yn(r,i)},Vn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new z((function(){if(r){var t=r.value;return r=r.next,B(e,n++,t)}return U()}))},Vn.isStack=Kn;var Hn,Wn="@@__IMMUTABLE_STACK__@@",Gn=Vn.prototype;function Yn(e,t,n,r){var i=Object.create(Gn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qn(){return Hn||(Hn=Yn(0))}function $n(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Gn[Wn]=!0,Gn.withMutations=Ye.withMutations,Gn.asMutable=Ye.asMutable,Gn.asImmutable=Ye.asImmutable,Gn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){Ve(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Gt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(P)},map:function(e,t){return mn(this,Zt(this,e,t))},reduce:function(e,t,n){var r,i;return Ve(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Xt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(O)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(this,e,!0))},fromEntrySeq:function(){return new $t(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Xn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(this,t?nr(t):or,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Jn=n.prototype;Jn[d]=!0,Jn[F]=Jn.values,Jn.__toJS=Jn.toArray,Jn.__toStringMapper=rr,Jn.inspect=Jn.toSource=function(){return this.toString()},Jn.chain=Jn.flatMap,Jn.contains=Jn.includes,function(){try{Object.defineProperty(Jn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.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. "+e),this.size}}})}catch(e){}}(),$n(r,{flip:function(){return mn(this,Jt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Zn=r.prototype;function Xn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return C(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(Oe(e),Oe(t))|0}:function(e,t){r=r+ur(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}function sr(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ie((t=Ee(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[f]=!0,Zn[F]=Jn.entries,Zn.__toJS=Jn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},$n(i,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Xt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=N(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=I(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=I(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,ln(this,e))},interleave:function(){var e=[this].concat(C(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(C(arguments))))},zipWith:function(e){var t=C(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!0,$n(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Jn.includes,$n(Y,r.prototype),$n(Q,i.prototype),$n($,o.prototype),$n(Se,r.prototype),$n(ke,i.prototype),$n(Ce,o.prototype),{Iterable:n,Seq:G,Collection:_e,Map:Ke,OrderedMap:qt,List:kt,Stack:Vn,Set:Tn,OrderedSet:Ln,Record:Sn,Range:xe,Repeat:be,is:ve,fromJS:pe}}()).OrderedMap,GFe={createFromArray:function(e){return WFe(e.map((function(e){return[e.getKey(),e]})))}},YFe=GFe;var QFe=HFe.exports,$Fe=QFe.Map,JFe=QFe.OrderedSet,ZFe=QFe.Record,XFe=JFe(),eze={style:XFe,entity:null},tze=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(e){return this.getStyle().includes(e)},r.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return r.create(n)},r.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return r.create(n)},r.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return r.create(n)},r.create=function(e){if(!e)return nze;var t=$Fe({style:XFe,entity:null}).merge(e),n=rze.get(t);if(n)return n;var i=new r(t);return rze=rze.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?JFe(t):t,entity:Array.isArray(n)?JFe(n):n})},r}(ZFe(eze)),nze=new tze,rze=$Fe([[$Fe(eze),nze]]);tze.EMPTY=nze;var ize=tze;var oze=function(e,t,n,r){if(e.size){var i=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&r(i,a),i=a),o})),n(e.last())&&r(i,e.count())}};var aze=ize,sze=oze,uze=HFe.exports,cze=uze.List,lze=uze.Map,dze=uze.OrderedSet,fze=uze.Record,pze=uze.Repeat,hze=dze(),mze=fze({key:"",type:"unstyled",text:"",characterList:cze(),depth:0,data:lze()}),gze=function(e){var t,n;function r(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=cze(pze(aze.EMPTY,n.length))),e}(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():hze},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){sze(this.getCharacterList(),vze,e,t)},i.findEntityRanges=function(e,t){sze(this.getCharacterList(),yze,e,t)},r}(mze);function vze(e,t){return e.getStyle()===t.getStyle()}function yze(e,t){return e.getEntity()===t.getEntity()}var bze=gze;var wze=ize,xze=oze,_ze=HFe.exports,Sze=_ze.List,kze=_ze.Map,Cze=_ze.OrderedSet,Eze=_ze.Record,Ize=_ze.Repeat,Oze=Cze(),Tze={parent:null,characterList:Sze(),data:kze(),depth:0,key:"",text:"",type:"unstyled",children:Sze(),prevSibling:null,nextSibling:null},Nze=function(e,t){return e.getStyle()===t.getStyle()},Dze=function(e,t){return e.getEntity()===t.getEntity()},Aze=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Sze(Ize(wze.EMPTY,n.length))),e},Pze=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tze;return e.call(this,Aze(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Oze},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(e,t){xze(this.getCharacterList(),Nze,e,t)},i.findEntityRanges=function(e,t){xze(this.getCharacterList(),Dze,e,t)},r}(Eze(Tze)),Mze=Pze,jze=ize,Rze=HFe.exports.Map;function Lze(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),u=t.getEndOffset(),c=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(Rze([[s,i.get(s)]])).map((function(e,t){var i,c;o===s?(i=a,c=u):(i=t===o?a:0,c=t===s?u:e.getLength());for(var l,d=e.getCharacterList();i<c;)l=d.get(i),d=d.set(i,r?jze.applyStyle(l,n):jze.removeStyle(l,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var Fze={add:function(e,t,n){return Lze(e,t,n,!0)},remove:function(e,t,n){return Lze(e,t,n,!1)}},zze=ize;var Bze=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,zze.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},Uze=HFe.exports;var qze=function(e,t,n){var r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(Uze.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,u=t===a?s:e.getLength();return Bze(e,r,u,n)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})},Vze={getRemovalRange:function(e,t,n,r,i){var o=n.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=r,u=null,c=null,l=0;l<o.length;l++){if(e<(a=s+o[l].length)&&s<t)null!==u||(u=s),c=a;else if(null!==u)break;s=a}var d=r+n.length,f=u===r,p=c===d;return(!f&&p||f&&!p)&&("forward"===i?c!==d&&c++:u!==r&&u--),{start:u,end:c}}},Kze="production"!==Cs.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var Hze=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(Kze(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(r[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},Wze=Hze;var Gze=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||("production"!==Cs.env.NODE_ENV?Wze(!1,"Entity key not found in this range."):Wze(!1)),n},Yze=Vze,Qze=Gze,$ze=Hze;function Jze(e,t,n,r,i,o,a){var s=n.getStartOffset(),u=n.getEndOffset(),c=e.__get(i).getMutability(),l=a?s:u;if("MUTABLE"===c)return n;var d=Qze(t,i).filter((function(e){return l<=e.end&&l>=e.start}));1!=d.length&&("production"!==Cs.env.NODE_ENV?$ze(!1,"There should only be one entity range within this removal range."):$ze(!1));var f=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});o||(a?u=f.end:s=f.start);var p=Yze.getRemovalRange(s,u,t.getText().slice(f.start,f.end),f.start,r);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var Zze=function(e,t,n,r,i){var o=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(o),u=n.getEntityAt(a-1);if(!s&&!u)return r;var c=r;if(s&&s===u)c=Jze(e,t,c,i,s,!0,!0);else if(s&&u){var l=Jze(e,t,c,i,s,!1,!0),d=Jze(e,n,c,i,u,!1,!1);c=c.merge({anchorOffset:l.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=Jze(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(u){var p=Jze(e,n,c,i,u,!1,!1);c=c.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return c},Xze={},eBe=Math.pow(2,24);var tBe=function(){for(var e;void 0===e||Xze.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*eBe).toString(32);return Xze[e]=!0,e},nBe=Mze,rBe=tBe,iBe=HFe.exports.OrderedMap,oBe=function(e){return e.first()instanceof nBe?function(e){var t,n={};return iBe(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),u=r.getChildKeys(),c=r.getParentKey(),l=rBe();if(n[o]=l,a&&(e.get(a)?e.setIn([a,"prevSibling"],l):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],l):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(r.getKey()),l))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],l),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);u.forEach((function(t){e.get(t)?e.setIn([t,"parent"],l):e.setIn([o,"children"],r.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return iBe(e.toArray().map((function(e){var t=rBe();return[t,e.set("key",t)]})))}(e)},aBe=ize,sBe=oze,uBe=Hze;function cBe(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,o=n<r.count()?r.get(n):void 0,a=i?i.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var u,c=function(e,t,n){var r;return sBe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!=typeof r&&("production"!==Cs.env.NODE_ENV?uBe(!1,"Removal range must exist within character list."):uBe(!1)),r}(r,s,n),l=c.start,d=c.end;l<d;)u=r.get(l),r=r.set(l,aBe.applyEntity(u,null)),l++;return t.set("characterList",r)}return t}var lBe=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),u=cBe(r,s,a);u!==s&&(i[o]=u);var c=t.getEndKey(),l=t.getEndOffset(),d=n.get(c);o===c&&(d=u);var f=cBe(r,d,l);return f!==d&&(i[c]=f),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},dBe=oBe,fBe=lBe,pBe=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=fBe(e,t).getBlockMap(),s=a.keySeq(),u=s.indexOf(n),c=s.indexOf(i)+1;return dBe(a.slice(u,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===i?e.merge({text:a.slice(r,o),characterList:s.slice(r,o)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===i?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var hBe=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var i=r.slice(0,n),o=r.slice(n);r=i.concat(t,o).toList()}return r},mBe=YFe,gBe=Mze,vBe=hBe,yBe=Hze,bBe=oBe,wBe=HFe.exports.List,xBe=function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(i),u=s.getText(),c=s.getCharacterList(),l=i,d=o+r.getText().length,f=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var p=s.getType();u&&"unstyled"===p&&(p=r.getType());var h=s.merge({text:u.slice(0,o)+r.getText()+u.slice(o),characterList:vBe(c,r.getCharacterList(),o),type:p,data:f});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:l,anchorOffset:d,focusKey:l,focusOffset:d,isBackward:!1})})},_Be=function(e,t,n,r,i,o){var a=n.first()instanceof gBe,s=[],u=r.size,c=n.get(i),l=r.first(),d=r.last(),f=d.getLength(),p=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!l.getChildKeys().isEmpty());n.forEach((function(e,t){t===i?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.slice(0,t),a=i.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,r)),r.slice(h?0:1,u-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.length,a=r.slice(t,o),s=i.slice(t,o),u=n.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(e,o,r))):s.push(e)}));var m=mBe.createFromArray(s);return a&&(m=function(e,t,n,r){return e.withMutations((function(t){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),u=function(e,t){var n=e.getKey(),r=e,i=[];for(t.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=t.get(o)}return i}(r,e),c=u[u.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),u.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var l=e.get(s).getChildKeys(),d=l.indexOf(i)+1,f=l.toArray();f.splice.apply(f,[d,0].concat(u)),t.setIn([s,"children"],wBe(f))}}))}(m,0,c,l)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},SBe=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Cs.env.NODE_ENV?yBe(!1,"`insertFragment` should only be called with a collapsed selection state."):yBe(!1));var i=e.getBlockMap(),o=bBe(n),a=t.getStartKey(),s=t.getStartOffset(),u=i.get(a);return u instanceof gBe&&(u.getChildKeys().isEmpty()||("production"!==Cs.env.NODE_ENV?yBe(!1,"`insertFragment` should not be called when a container node is selected."):yBe(!1))),1===o.size?xBe(e,t,i,o.first(),a,s,r):_Be(e,t,i,o,a,s)},kBe=hBe,CBe=Hze,EBe=HFe.exports.Repeat;var IBe=function(e,t,n,r){t.isCollapsed()||("production"!==Cs.env.NODE_ENV?CBe(!1,"`insertText` should only be called with a collapsed range."):CBe(!1));var i=null;if(null!=n&&(i=n.length),null==i||0===i)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),u=o.get(a),c=u.getText(),l=u.merge({text:c.slice(0,s)+n+c.slice(s,u.getLength()),characterList:kBe(u.getCharacterList(),EBe(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,l),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},OBe=HFe.exports.Map;var TBe=function(e,t,n){var r=t.getStartKey(),i=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===i})).concat(OBe([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},NBe=Mze,DBe=function(e,t){if(!(e instanceof NBe))return null;var n=e.getNextSiblingKey();if(n)return n;var r=e.getParentKey();if(!r)return null;for(var i=t.get(r);i&&!i.getNextSiblingKey();){var o=i.getParentKey();i=o?t.get(o):null}return i?i.getNextSiblingKey():null},ABe=Mze,PBe=DBe,MBe=HFe.exports;MBe.List;var jBe=MBe.Map,RBe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},LBe=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var i=r.getParentKey();i&&n.push(i),r=i?t.get(i):null}return n},FBe=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},zBe=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},BBe=function(e,t,n,r){return e.withMutations((function(i){if(RBe(t.getKey(),i,(function(e){return e.merge({nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})})),RBe(n.getKey(),i,(function(e){return e.merge({nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})})),LBe(t.getKey(),r).forEach((function(e){return RBe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})}))})),RBe(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),RBe(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:FBe(e,i,r)})})),RBe(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:zBe(e,i,r)})})),RBe(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),LBe(n.getKey(),r).forEach((function(e){RBe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=PBe(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?PBe(i,t):null}return n}(n,r).forEach((function(e){return RBe(e,i,(function(e){return e.merge({nextSibling:FBe(e,i,r),prevSibling:zBe(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();RBe(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),RBe(o,i,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){RBe(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var u=e.get(s);RBe(s,i,(function(e){return e.merge({children:u.getChildKeys().concat(t.getChildKeys())})}))}RBe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},UBe=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var r=e.slice(0,t),i=e.slice(n);e=r.concat(i).toList()}return e},qBe=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=r.get(i),c=r.get(a),l=u instanceof ABe,d=[];if(l){var f=c.getChildKeys(),p=LBe(a,r);c.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(LBe(PBe(c,r),r))}n=u===c?UBe(u.getCharacterList(),o,s):u.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=u.merge({text:u.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=l&&0===o&&0===s&&c.getParentKey()===i&&null==c.getPrevSiblingKey()?jBe([[i,null]]):r.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(jBe([[a,null]])).map((function(e,t){return t===i?h:null})),g=r.merge(m).filter((function(e){return!!e}));return l&&u!==c&&(g=BBe(g,u,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},VBe=Mze,KBe=tBe,HBe=HFe.exports,WBe=Hze,GBe=TBe,YBe=HBe.List,QBe=HBe.Map,$Be=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},JBe=function(e,t){t.isCollapsed()||("production"!==Cs.env.NODE_ENV?WBe(!1,"Selection range must be collapsed."):WBe(!1));var n=t.getAnchorKey(),r=e.getBlockMap(),i=r.get(n),o=i.getText();if(!o){var a=i.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return GBe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),u=i.getCharacterList(),c=KBe(),l=i instanceof VBe,d=i.merge({text:o.slice(0,s),characterList:u.slice(0,s)}),f=d.merge({key:c,text:o.slice(s),characterList:u.slice(s),data:QBe()}),p=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=p.concat([[n,d],[c,f]],h).toOrderedMap();return l&&(i.getChildKeys().isEmpty()||("production"!==Cs.env.NODE_ENV?WBe(!1,"ContentBlockNode must not have children"):WBe(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();$Be(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,o=t.toArray();return o.splice(n,0,i),e.merge({children:YBe(o)})})),$Be(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),$Be(r,e,(function(e){return e.merge({nextSibling:i})})),$Be(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,f)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},ZBe=ize,XBe=Fze,eUe=qze,tUe=Zze,nUe=pBe,rUe=SBe,iUe=IBe,oUe=Hze,aUe=TBe,sUe=lBe,uUe=qBe,cUe=JBe,lUe=HFe.exports.OrderedSet,dUe={replaceText:function(e,t,n,r,i){var o=sUe(e,t),a=uUe(o,t),s=ZBe.create({style:r||lUe(),entity:i||null});return iUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Cs.env.NODE_ENV?oUe(!1,"Target range must be collapsed for `insertText`."):oUe(!1)),dUe.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=nUe(e,t),i=dUe.removeRange(e,t,"backward");return dUe.replaceWithFragment(i,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=sUe(e,t),o=uUe(i,t);return rUe(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,i,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(r),a=e.getBlockForKey(i);var s=t.getStartOffset(),u=t.getEndOffset(),c=o.getEntityAt(s),l=a.getEntityAt(u-1);if(r===i&&c&&c===l){var d=tUe(e.getEntityMap(),o,a,t,n);return uUe(e,d)}var f=sUe(e,t);return uUe(f,t)},splitBlock:function(e,t){var n=sUe(e,t),r=uUe(n,t);return cUe(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return XBe.add(e,t,n)},removeInlineStyle:function(e,t,n){return XBe.remove(e,t,n)},setBlockType:function(e,t,n){return aUe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return aUe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return aUe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=sUe(e,t);return eUe(r,t,n)}},fUe=dUe;var pUe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function hUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mUe=oze,gUe=pUe,vUe=HFe.exports,yUe=vUe.List,bUe=vUe.Repeat,wUe=vUe.Record,xUe=function(){return!0},_Ue=wUe({start:null,end:null}),SUe=wUe({start:null,end:null,decoratorKey:null,leaves:null}),kUe={generate:function(e,t,n){var r=t.getLength();if(!r)return yUe.of(new SUe({start:0,end:0,decoratorKey:null,leaves:yUe.of(new _Ue({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):yUe(bUe(null,r)),a=t.getCharacterList();return mUe(o,EUe,xUe,(function(e,t){i.push(new SUe({start:e,end:t,decoratorKey:o.get(e),leaves:CUe(a.slice(e,t).toList(),e)}))})),yUe(i)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["leaves"]);return new SUe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){hUe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?yUe(Array.isArray(t)?t:gUe(t)).map((function(e){return _Ue(e)})):null}))}};function CUe(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return mUe(r,EUe,xUe,(function(e,r){n.push(new _Ue({start:e+t,end:r+t}))})),yUe(n)}function EUe(e,t){return e===t}var IUe=kUe;var OUe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}((0,HFe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),TUe=OUe;var NUe=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))};function DUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var AUe=TUe,PUe=Hze,MUe=NUe,jUe=(0,HFe.exports.Map)(),RUe=MUe();function LUe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var FUe={getLastCreatedEntityKey:function(){return LUe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),FUe.__getLastCreatedEntityKey()},create:function(e,t,n){return LUe("DraftEntity.create","contentState.createEntity"),FUe.__create(e,t,n)},add:function(e){return LUe("DraftEntity.add","contentState.addEntity"),FUe.__add(e)},get:function(e){return LUe("DraftEntity.get","contentState.getEntity"),FUe.__get(e)},__getAll:function(){return jUe},__loadWithEntities:function(e){jUe=e,RUe=MUe()},mergeData:function(e,t){return LUe("DraftEntity.mergeData","contentState.mergeEntityData"),FUe.__mergeData(e,t)},replaceData:function(e,t){return LUe("DraftEntity.replaceData","contentState.replaceEntityData"),FUe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return RUe},__create:function(e,t,n){return FUe.__add(new AUe({type:e,mutability:t,data:n||{}}))},__add:function(e){return RUe=MUe(),jUe=jUe.set(RUe,e),RUe},__get:function(e){var t=jUe.get(e);return t||("production"!==Cs.env.NODE_ENV?PUe(!1,"Unknown DraftEntity key: %s.",e):PUe(!1)),t},__mergeData:function(e,t){var n=FUe.__get(e),r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){DUe(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return jUe=jUe.set(e,i),i},__replaceData:function(e,t){var n=FUe.__get(e).set("data",t);return jUe=jUe.set(e,n),n}},zUe=FUe;var BUe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),i=this.getFocusKey();if(r===i&&r===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==r&&e!==i)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,HFe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),UUe=BUe,qUe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},VUe=new RegExp("\r","g");var KUe=function(e){return e.replace(VUe,"")};function HUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){WUe(e,t,n[t])}))}return e}function WUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GUe=YFe,YUe=ize,QUe=bze,$Ue=Mze,JUe=zUe,ZUe=UUe,XUe=tBe,eqe=pUe,tqe=qUe,nqe=HFe.exports,rqe=KUe,iqe=nqe.List,oqe=nqe.Record,aqe=nqe.Repeat,sqe=nqe.Map,uqe=nqe.OrderedMap,cqe=oqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),lqe=tqe("draft_tree_data_support")?$Ue:QUe,dqe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getEntityMap=function(){return JUe},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(e){return this.getBlockMap().get(e)},i.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},i.getLastCreatedEntityKey=function(){return JUe.__getLastCreatedEntityKey()},i.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(e,t,n){return JUe.__create(e,t,n),this},i.mergeEntityData=function(e,t){return JUe.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return JUe.__replaceData(e,t),this},i.addEntity=function(e){return JUe.__add(e),this},i.getEntity=function(e){return JUe.__get(e)},i.getAllEntities=function(){return JUe.__getAll()},i.loadWithEntities=function(e){return JUe.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=GUe.createFromArray(n),o=i.isEmpty()?new ZUe:ZUe.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||JUe,selectionBefore:o,selectionAfter:o})},r.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),i=n.map((function(e){return e=rqe(e),new lqe({key:XUe(),text:e,type:"unstyled",characterList:iqe(aqe(YUe.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(HUe({},e,{blockMap:uqe(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new ZUe(e.selectionBefore),selectionAfter:new ZUe(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new lqe(HUe({},e,{data:sqe(e.data),characterList:null!=t?iqe((Array.isArray(t)?t:eqe(t)).map((function(e){return YUe.fromJS(e)}))):void 0}))},r}(cqe),fqe=dqe,pqe=Hze,hqe=null;function mqe(e){return"LTR"===e||"RTL"===e}function gqe(e){return mqe(e)||("production"!==Cs.env.NODE_ENV?pqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):pqe(!1)),"LTR"===e?"ltr":"rtl"}function vqe(e){hqe=e}var yqe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:mqe,getHTMLDir:gqe,getHTMLDirIfDifferent:function(e,t){return mqe(e)||("production"!==Cs.env.NODE_ENV?pqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):pqe(!1)),mqe(t)||("production"!==Cs.env.NODE_ENV?pqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):pqe(!1)),e===t?null:gqe(e)},setGlobalDir:vqe,initGlobalDir:function(){vqe("LTR")},getGlobalDir:function(){return hqe||this.initGlobalDir(),hqe||("production"!==Cs.env.NODE_ENV?pqe(!1,"Global direction not set."):pqe(!1)),hqe}},bqe=yqe,wqe=Hze,xqe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",_qe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",Sqe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+xqe+_qe+"]"),kqe=new RegExp("["+xqe+_qe+"]");function Cqe(e){var t=Sqe.exec(e);return null==t?null:t[0]}function Eqe(e){var t=Cqe(e);return null==t?bqe.NEUTRAL:kqe.exec(t)?bqe.RTL:bqe.LTR}function Iqe(e,t){if(t=t||bqe.NEUTRAL,!e.length)return t;var n=Eqe(e);return n===bqe.NEUTRAL?t:n}function Oqe(e,t){return t||(t=bqe.getGlobalDir()),bqe.isStrong(t)||("production"!==Cs.env.NODE_ENV?wqe(!1,"Fallback direction must be a strong direction"):wqe(!1)),Iqe(e,t)}var Tqe={firstStrongChar:Cqe,firstStrongCharDir:Eqe,resolveBlockDir:Iqe,getDirection:Oqe,isDirectionLTR:function(e,t){return Oqe(e,t)===bqe.LTR},isDirectionRTL:function(e,t){return Oqe(e,t)===bqe.RTL}};function Nqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dqe,Aqe=Tqe,Pqe=yqe,Mqe=Hze,jqe=function(){function e(e){Nqe(this,"_defaultDir",void 0),Nqe(this,"_lastDir",void 0),e?Pqe.isStrong(e)||("production"!==Cs.env.NODE_ENV?Mqe(!1,"Default direction must be a strong direction (LTR or RTL)"):Mqe(!1)):e=Pqe.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=Aqe.getDirection(e,this._lastDir),this._lastDir},e}(),Rqe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Lqe=jqe,Fqe=HFe.exports,zqe=Rqe,Bqe=Fqe.OrderedMap,Uqe={getDirectionMap:function(e,t){Dqe?Dqe.reset():Dqe=new Lqe;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return zqe(Dqe).getDirection(e.getText())})),i=Bqe(n.keySeq().zip(r));return null!=t&&Fqe.is(t,i)?t:i}};function qqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Vqe(e,t,n[t])}))}return e}function Vqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kqe=IUe,Hqe=fqe,Wqe=Uqe,Gqe=UUe,Yqe=HFe.exports,Qqe=Yqe.OrderedSet,$qe=Yqe.Record,Jqe=Yqe.Stack,Zqe=Yqe.OrderedMap,Xqe=Yqe.List,eVe=$qe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:Jqe(),selection:null,treeMap:null,undoStack:Jqe()}),tVe=function(){t.createEmpty=function(e){return t.createWithContent(Hqe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:Jqe(),redoStack:Jqe(),decorator:n||null,selection:Gqe.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=qqe({},e,{treeMap:rVe(n,e.decorator),directionMap:Wqe.getDirectionMap(n)});return new t(new eVe(r))},t.fromJS=function(e){return new t(new eVe(qqe({},e,{directionMap:null!=e.directionMap?Zqe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?Qqe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?Hqe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?Jqe(e.redoStack.map((function(e){return Hqe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new Gqe(e.selection):e.selection,treeMap:null!=e.treeMap?Zqe(e.treeMap).map((function(e){return Xqe(e).map((function(e){return Kqe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?Jqe(e.undoStack.map((function(e){return Hqe.fromJS(e)}))):e.undoStack,currentContent:Hqe.fromJS(e.currentContent)})))},t.set=function(e,n){var r=e.getImmutable().withMutations((function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var o=n.currentContent||e.getCurrentContent();if(i!==r){var a,s=t.get("treeMap");return a=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return Kqe.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):rVe(o,i),void t.merge({decorator:i,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),o=i.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return Kqe.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){Vqe(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r>0)return i.getInlineStyleAt(r-1);if(i.getLength())return i.getInlineStyleAt(0);return oVe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r<i.getLength())return i.getInlineStyleAt(r);if(r>0)return i.getInlineStyleAt(r-1);return oVe(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return nVe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),nVe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new Gqe({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=Wqe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),u=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||iVe(e,r)?(u=u.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(c=c.set("selectionBefore",s.getSelectionBefore()));var l=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(l=null);var f={currentContent:c,directionMap:o,undoStack:u,redoStack:Jqe(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:l};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=Wqe.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=Wqe.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:e.getUndoStack().push(i),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function nVe(e,t,n){return tVe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function rVe(e,t){return e.getBlockMap().map((function(n){return Kqe.generate(e,n,t)})).toOrderedMap()}function iVe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function oVe(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):Qqe()}var aVe=tVe,sVe=Mze,uVe=DBe,cVe=HFe.exports,lVe=Hze,dVe=cVe.OrderedMap,fVe=cVe.List,pVe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},hVe=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),u=t.getParentKey(),c=t.getNextSiblingKey(),l=t.getPrevSiblingKey(),d=n.getParentKey(),f=o?n.getNextSiblingKey():s,p=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){pVe(u,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),pVe(l,e,(function(e){return e.merge({nextSibling:c})})),pVe(c,e,(function(e){return e.merge({prevSibling:l})})),pVe(f,e,(function(e){return e.merge({prevSibling:a})})),pVe(p,e,(function(e){return e.merge({nextSibling:a})})),pVe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=o?n+1:0!==n?n-1:0,i=t.toArray();return i.splice(r,0,a),e.merge({children:fVe(i)})})),pVe(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},mVe=function(e,t,n,r){"replace"===r&&("production"!==Cs.env.NODE_ENV?lVe(!1,"Replacing blocks is not supported."):lVe(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Cs.env.NODE_ENV?lVe(!1,"Block cannot be moved next to itself."):lVe(!1));var a=e.getBlockMap(),s=t instanceof sVe,u=[t],c=a.delete(o);s&&(u=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=uVe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),i=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(i||a||s)})).forEach((function(t){u.push(t),e.delete(t.getKey())}))})));var l=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),f=u.map((function(e){return[e.getKey(),e]})),p=dVe();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Cs.env.NODE_ENV?lVe(!1,"Block cannot be moved next to itself."):lVe(!1)),p=l.concat([].concat(f,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Cs.env.NODE_ENV?lVe(!1,"Block cannot be moved next to itself."):lVe(!1)),p=l.concat([[i,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:hVe(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function gVe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){vVe(e,t,n[t])}))}return e}function vVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yVe=YFe,bVe=ize,wVe=bze,xVe=Mze,_Ve=fUe,SVe=aVe,kVe=tBe,CVe=HFe.exports,EVe=mVe,IVe=qUe("draft_tree_data_support"),OVe=IVe?xVe:wVe,TVe=CVe.List,NVe=CVe.Repeat,DVe={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=_Ve.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=_Ve.splitBlock(o,a),u=s.getSelectionAfter(),c=_Ve.setBlockType(s,u,"atomic"),l=bVe.create({entity:t}),d={key:kVe(),type:"atomic",text:n,characterList:TVe(NVe(l,n.length))},f={key:kVe(),type:"unstyled"};IVe&&(d=gVe({},d,{nextSibling:f.key}),f=gVe({},f,{prevSibling:d.key}));var p=[new OVe(d),new OVe(f)],h=yVe.createFromArray(p),m=_Ve.replaceWithFragment(c,u,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return SVe.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=EVe(o,t,s,r)}else{var u=_Ve.removeRange(o,n,"backward"),c=u.getSelectionAfter(),l=u.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=EVe(u,t,l,"before");else if(c.getEndOffset()===l.getLength())i=EVe(u,t,l,"after");else{var d=_Ve.splitBlock(u,c),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());i=EVe(d,t,p,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return SVe.push(e,h,"move-block")}};var AVe=HFe.exports.List,PVe=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(r,i){var o=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var i=t;i<n;i++)e[i]=r}(n,e,t,i+"."+o),o++)}),t)})),AVe(n)},t.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},t.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();var MVe=PVe;function jVe(e){return e.replace(/\//g,"-")}var RVe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(jVe).join(" "):Array.prototype.map.call(arguments,jVe).join(" ")},LVe=o,FVe=RVe,zVe=(0,HFe.exports.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:LVe.createElement("ul",{className:FVe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:LVe.createElement("ol",{className:FVe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:LVe.createElement("pre",{className:FVe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),BVe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},UVe={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",u="model",c="name",l="type",d="vendor",f="version",p="architecture",h="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",w="Amazon",x="Apple",_="ASUS",S="BlackBerry",k="Firefox",C="Google",E="Huawei",I="LG",O="Microsoft",T="Motorola",N="Opera",D="Samsung",A="Sony",P="Xiaomi",M="Zebra",j="Facebook",R=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},L=function(e,t){return typeof e===s&&-1!==F(t).indexOf(F(e))},F=function(e){return e.toLowerCase()},z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},B=function(e,t){for(var n,o,s,u,c,l,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=o=0;n<f.length&&!c;)if(c=f[n++].exec(e))for(s=0;s<p.length;s++)l=c[++o],typeof(u=p[s])===a&&u.length>0?2===u.length?typeof u[1]==i?this[u[0]]=u[1].call(this,l):this[u[0]]=u[1]:3===u.length?typeof u[1]!==i||u[1].exec&&u[1].test?this[u[0]]=l?l.replace(u[1],u[2]):r:this[u[0]]=l?u[1].call(this,l,u[2]):r:4===u.length&&(this[u[0]]=l?u[3].call(this,l.replace(u[1],u[2])):r):this[u]=l||r;d+=2}},U=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(L(t[n][i],e))return"?"===n?r:n}else if(L(t[n],e))return"?"===n?r:n;return e},q={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"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,f],[/opios[\/ ]+([\w\.]+)/i],[f,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[c,N]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,j],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[f,U,{"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],[c,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[c,"Firefox 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],[c,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,F]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",F]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,F]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[d,D],[l,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[d,D],[l,m]],[/\((ip(?:hone|od)[\w ]*);/i],[u,[d,x],[l,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[d,x],[l,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[d,E],[l,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[u,[d,E],[l,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[d,P],[l,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[d,P],[l,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[d,"OPPO"],[l,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[d,"Vivo"],[l,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[d,"Realme"],[l,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],[u,[d,T],[l,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[d,T],[l,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[d,I],[l,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[d,I],[l,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[d,"Lenovo"],[l,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[d,"Nokia"],[l,m]],[/(pixel c)\b/i],[u,[d,C],[l,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[d,C],[l,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[d,A],[l,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[d,A],[l,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[d,"OnePlus"],[l,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[d,w],[l,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[d,w],[l,m]],[/(playbook);[-\w\),; ]+(rim)/i],[u,d,[l,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[d,S],[l,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[d,_],[l,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[d,_],[l,m]],[/(nexus 9)/i],[u,[d,"HTC"],[l,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[u,/_/g," "],[l,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[d,"Acer"],[l,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[d,"Meizu"],[l,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[d,"Sharp"],[l,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,u,[l,m]],[/(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,u,[l,g]],[/(surface duo)/i],[u,[d,O],[l,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[d,"Fairphone"],[l,m]],[/(u304aa)/i],[u,[d,"AT&T"],[l,m]],[/\bsie-(\w*)/i],[u,[d,"Siemens"],[l,m]],[/\b(rct\w+) b/i],[u,[d,"RCA"],[l,g]],[/\b(venue[\d ]{2,7}) b/i],[u,[d,"Dell"],[l,g]],[/\b(q(?:mv|ta)\w+) b/i],[u,[d,"Verizon"],[l,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[d,"Barnes & Noble"],[l,g]],[/\b(tm\d{3}\w+) b/i],[u,[d,"NuVision"],[l,g]],[/\b(k88) b/i],[u,[d,"ZTE"],[l,g]],[/\b(nx\d{3}j) b/i],[u,[d,"ZTE"],[l,m]],[/\b(gen\d{3}) b.+49h/i],[u,[d,"Swiss"],[l,m]],[/\b(zur\d{3}) b/i],[u,[d,"Swiss"],[l,g]],[/\b((zeki)?tb.*\b) b/i],[u,[d,"Zeki"],[l,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],u,[l,g]],[/\b(ns-?\w{0,9}) b/i],[u,[d,"Insignia"],[l,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[d,"NextBook"],[l,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],u,[l,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],u,[l,m]],[/\b(ph-1) /i],[u,[d,"Essential"],[l,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[d,"Envizen"],[l,g]],[/\b(trio[-\w\. ]+) b/i],[u,[d,"MachSpeed"],[l,g]],[/\btu_(1491) b/i],[u,[d,"Rotor"],[l,g]],[/(shield[\w ]+) b/i],[u,[d,"Nvidia"],[l,g]],[/(sprint) (\w+)/i],[d,u,[l,m]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[d,O],[l,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[d,M],[l,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[d,M],[l,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,u,[l,h]],[/droid.+; (shield) bui/i],[u,[d,"Nvidia"],[l,h]],[/(playstation [345portablevi]+)/i],[u,[d,A],[l,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[d,O],[l,h]],[/smart-tv.+(samsung)/i],[d,[l,v]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[d,D],[l,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,I],[l,v]],[/(apple) ?tv/i],[d,[u,"Apple TV"],[l,v]],[/crkey/i],[[u,"Chromecast"],[d,C],[l,v]],[/droid.+aft(\w)( bui|\))/i],[u,[d,w],[l,v]],[/\(dtv[\);].+(aquos)/i],[u,[d,"Sharp"],[l,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[u,z],[l,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,v]],[/((pebble))app/i],[d,u,[l,y]],[/droid.+; (glass) \d/i],[u,[d,C],[l,y]],[/droid.+; (wt63?0{2,3})\)/i],[u,[d,M],[l,y]],[/(quest( 2)?)/i],[u,[d,j],[l,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[l,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[l,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[l,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[l,m]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[c,"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],[c,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[f,U,q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[f,U,q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,f],[/\(bb(10);/i],[f,[c,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],f],[/(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],[c,f],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,f]]},K=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof K))return new K(e,t).getResult();var i=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),u=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(V,t):V;return this.getBrowser=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r}(e.version),e},this.getCPU=function(){var e={};return e.architecture=r,B.call(e,i,u.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,B.call(e,i,u.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.os),e},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 i},this.setUA=function(e){return i=typeof e===s&&e.length>255?z(e,255):e,this},this.setUA(i),this};K.VERSION="0.7.31",K.BROWSER=R([c,f,"major"]),K.CPU=R([p]),K.DEVICE=R([u,d,l,h,m,v,g,y,b]),K.ENGINE=K.OS=R([c,f]),e.exports&&(t=e.exports=K),t.UAParser=K;var H=typeof n!==o&&(n.jQuery||n.Zepto);if(H&&!H.ua){var W=new K;H.ua=W.getResult(),H.ua.get=function(){return W.getUA()},H.ua.set=function(e){W.setUA(e);var t=W.getResult();for(var n in t)H.ua[n]=t[n]}}}("object"==typeof window?window:Fe)}(UVe,UVe.exports);var qVe="Unknown",VVe={"Mac OS":"Mac OS X"};var KVe=(new(0,UVe.exports)).getResult(),HVe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(KVe.browser.version),WVe={browserArchitecture:KVe.cpu.architecture||qVe,browserFullVersion:KVe.browser.version||qVe,browserMinorVersion:HVe.minor||qVe,browserName:KVe.browser.name||qVe,browserVersion:KVe.browser.major||qVe,deviceName:KVe.device.model||qVe,engineName:KVe.engine.name||qVe,engineVersion:KVe.engine.version||qVe,platformArchitecture:KVe.cpu.architecture||qVe,platformName:function(e){return VVe[e]||e}(KVe.os.name)||qVe,platformVersion:KVe.os.version||qVe,platformFullVersion:KVe.os.version||qVe},GVe=WVe,YVe=Hze,QVe=/\./,$Ve=/\|\|/,JVe=/\s+\-\s+/,ZVe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,XVe=/^(\d*)(.*)/;function eKe(e,t){var n=e.split($Ve);return n.length>1?n.some((function(e){return dKe.contains(e,t)})):function(e,t){var n=e.split(JVe);if(n.length>0&&n.length<=2||("production"!==Cs.env.NODE_ENV?YVe(!1,'the "-" operator expects exactly 2 operands'):YVe(!1)),1===n.length)return tKe(n[0],t);var r=n[0],i=n[1];return aKe(r)&&aKe(i)||("production"!==Cs.env.NODE_ENV?YVe(!1,'operands to the "-" operator must be simple (no modifiers)'):YVe(!1)),tKe(">="+r,t)&&tKe("<="+i,t)}(e=n[0].trim(),t)}function tKe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(QVe),r=iKe(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return nKe(n,o);case"<=":return function(e,t){var n=lKe(e,t);return-1===n||0===n}(n,o);case">=":return rKe(n,o);case">":return function(e,t){return 1===lKe(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var i=r.length-1,o=parseInt(r[i],10);oKe(o)&&(r[i]=o+1+"");return rKe(e,n)&&nKe(e,r)}(n,o);default:return function(e,t){return 0===lKe(e,t)}(n,o)}}function nKe(e,t){return-1===lKe(e,t)}function rKe(e,t){var n=lKe(e,t);return 1===n||0===n}function iKe(e){var t=e.split(QVe),n=t[0].match(ZVe);return n||("production"!==Cs.env.NODE_ENV?YVe(!1,"expected regex to match but it did not"):YVe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function oKe(e){return!isNaN(e)&&isFinite(e)}function aKe(e){return!iKe(e).modifier}function sKe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function uKe(e,t){var n=e.match(XVe)[1],r=t.match(XVe)[1],i=parseInt(n,10),o=parseInt(r,10);return oKe(i)&&oKe(o)&&i!==o?cKe(i,o):cKe(e,t)}function cKe(e,t){return typeof e!=typeof t&&("production"!==Cs.env.NODE_ENV?YVe(!1,'"a" and "b" must be of the same type'):YVe(!1)),e>t?1:e<t?-1:0}function lKe(e,t){for(var n=function(e,t){sKe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var i=n;i<e.length;i++)e[i]="0"}return sKe(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=uKe(r[o],i[o]);if(a)return a}return 0}var dKe={contains:function(e,t){return eKe(e.trim(),t.trim())}},fKe=dKe,pKe=Object.prototype.hasOwnProperty;var hKe=function(e,t,n){if(!e)return null;var r={};for(var i in e)pKe.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var mKe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},gKe=GVe,vKe=fKe;function yKe(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,vKe.contains(i,t))}function bKe(e){return"Windows"===gKe.platformName?e.replace(/^\s*NT/,""):e}var wKe=hKe({isBrowser:function(e){return yKe(gKe.browserName,gKe.browserFullVersion,e)},isBrowserArchitecture:function(e){return yKe(gKe.browserArchitecture,null,e)},isDevice:function(e){return yKe(gKe.deviceName,null,e)},isEngine:function(e){return yKe(gKe.engineName,gKe.engineVersion,e)},isPlatform:function(e){return yKe(gKe.platformName,gKe.platformFullVersion,e,bKe)},isPlatformArchitecture:function(e){return yKe(gKe.platformArchitecture,null,e)}},mKe);var xKe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var _Ke=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},SKe=_Ke;var kKe=function e(t){if(SKe(t)){var n=t,r=n.getAttribute("data-offset-key");if(r)return r;for(var i=0;i<n.childNodes.length;i++){var o=e(n.childNodes[i]);if(o)return o}}return null},CKe=xKe,EKe=kKe;var IKe=function(e){for(var t=e;t&&t!==CKe(e).documentElement;){var n=EKe(t);if(null!=n)return n;t=t.parentNode}return null};var OKe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function TKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NKe=wKe,DKe=IKe,AKe=OKe,PKe=Hze,MKe=Rqe,jKe=HFe.exports.Map,RKe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},LKe=NKe.isBrowser("IE <= 11"),FKe=function(){function e(e){var t=this;TKe(this,"observer",void 0),TKe(this,"container",void 0),TKe(this,"mutations",void 0),TKe(this,"onCharData",void 0),this.container=e,this.mutations=jKe();var n=AKe(e);n.MutationObserver&&!LKe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Cs.env.NODE_ENV?PKe(!1,"Expected target to be an instance of Node"):PKe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,RKe):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=jKe(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return LKe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=MKe(DKe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),zKe={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}},BKe={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},UKe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var qKe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},VKe=Hze,KKe=qKe;var HKe=function(e){var t=e.editorContainer;return t||("production"!==Cs.env.NODE_ENV?VKe(!1,"Missing editorNode"):VKe(!1)),KKe(t.firstChild)||("production"!==Cs.env.NODE_ENV?VKe(!1,"editorNode.firstChild is not an HTMLElement"):VKe(!1)),t.firstChild},WKe=zKe,GKe=Rqe;var YKe=function(e,t,n,r,i){var o=GKe(e.getSelection());if(!t||!r)return"production"!==Cs.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=WKe.decode(t),s=a.blockKey,u=e.getBlockTree(s),c=u&&u.getIn([a.decoratorKey,"leaves",a.leafKey]),l=WKe.decode(r),d=l.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([l.decoratorKey,"leaves",l.leafKey]);if(!c||!p)return"production"!==Cs.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=p.get("start"),g=c?h+n:null,v=p?m+i:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var w=c.get("end"),x=p.get("end");b=m===h&&x===w?i<n:m<h}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=_===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},QKe=IKe,$Ke=kKe,JKe=YKe,ZKe=Hze,XKe=_Ke,eHe=Rqe;function tHe(e,t,n){var r=t,i=QKe(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Cs.env.NODE_ENV?ZKe(!1,"Unknown node in selection range."):ZKe(!1)),e===r)&&(r=r.firstChild,XKe(r)||("production"!==Cs.env.NODE_ENV?ZKe(!1,"Invalid DraftEditorContents node."):ZKe(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Cs.env.NODE_ENV?ZKe(!1,"Invalid DraftEditorContents structure."):ZKe(!1)),n>0&&(n=r.childNodes.length));if(0===n){var o=null;if(null!=i)o=i;else{var a=function(e){for(;e.firstChild&&(XKe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||$Ke(e.firstChild));)e=e.firstChild;return e}(r);o=eHe($Ke(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],u=null,c=null;if($Ke(s)){var l=function(e){for(;e.lastChild&&(XKe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||$Ke(e.lastChild));)e=e.lastChild;return e}(s);u=eHe($Ke(l)),c=nHe(l)}else u=eHe(i),c=nHe(s);return{key:u,offset:c}}function nHe(e){var t=e.textContent;return"\n"===t?0:t.length}var rHe=function(e,t,n,r,i,o){var a=n.nodeType===Node.TEXT_NODE,s=i.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:JKe(e,eHe(QKe(n)),r,eHe(QKe(i)),o),needsRecovery:!1};var u=null,c=null,l=!0;return a?(u={key:eHe(QKe(n)),offset:r},c=tHe(t,i,o)):s?(c={key:eHe(QKe(i)),offset:o},u=tHe(t,n,r)):(u=tHe(t,n,r),c=tHe(t,i,o),n===i&&r===o&&(l=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:JKe(e,u.key,u.offset,c.key,c.offset),needsRecovery:l}},iHe=rHe;var oHe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==r||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:iHe(e,t,r,i,o,a)},aHe=UKe,sHe=aVe,uHe=HKe,cHe=oHe;var lHe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();aHe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=cHe(n,uHe(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?sHe.forceSelection(n,i):sHe.acceptSelection(n,i),e.update(n))}};var dHe={notEmptyKey:function(e){return null!=e&&""!=e}},fHe=dHe.notEmptyKey;function pHe(e,t){return fHe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var hHe=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:pHe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),pHe(e.getEntityMap(),n)},mHe=FKe,gHe=fUe,vHe=zKe,yHe=aVe,bHe=BKe,wHe=HKe,xHe=oHe,_He=hHe,SHe=Rqe,kHe=!1,CHe=!1,EHe=null;var IHe={onCompositionStart:function(e){CHe=!0,function(e){EHe||(EHe=new mHe(wHe(e))).start()}(e)},onCompositionEnd:function(e){kHe=!1,CHe=!1,setTimeout((function(){kHe||IHe.resolveComposition(e)}),20)},onSelect:lHe,onKeyDown:function(e,t){if(!CHe)return IHe.resolveComposition(e),void e._onKeyDown(t);t.which!==bHe.RIGHT&&t.which!==bHe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===bHe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!CHe){var t=SHe(EHe).stopAndFlushMutations();EHe=null,kHe=!0;var n=yHe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=vHe.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,u=n.getBlockTree(o).getIn([a,"leaves",s]),c=u.start,l=u.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:l,isBackward:!1}),f=_He(r,d),p=r.getBlockForKey(o).getInlineStyleAt(c);r=gHe.replaceText(r,d,e,p,f),n=yHe.set(n,{currentContent:r})}));var i=xHe(n,wHe(e)).selectionState;e.restoreEditorDOM();var o=yHe.acceptSelection(n,i);e.update(yHe.push(o,r,"insert-characters"))}else e.update(n)}}},OHe=IHe,THe=UH;function NHe(){return NHe=THe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NHe.apply(this,arguments)}var DHe=zKe,AHe=o,PHe=Tqe,MHe=yqe,jHe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,i=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,u=e.text,c=t.getKey(),l=s.get("leaves"),d=i.getComponentForKey(o),f=i.getPropsForKey(o),p=DHe.encode(c,parseInt(o,10),0),h=u.slice(l.first().get("start"),l.last().get("end")),m=MHe.getHTMLDirIfDifferent(PHe.getDirection(h),a);return AHe.createElement(d,NHe({},f,{contentState:r,decoratedText:h,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},r}(AHe.Component),RHe=jHe;function LHe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zHe=o,BHe=Hze,UHe=_Ke,qHe=wKe.isBrowser("IE <= 11");var VHe=function(e){var t,n;function r(t){var n;return FHe(LHe(n=e.call(this,t)||this),"_forceFlag",void 0),FHe(LHe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;UHe(t)||("production"!==Cs.env.NODE_ENV?BHe(!1,"node is not an Element"):BHe(!1));var r=t;return n?!function(e){return qHe?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},qHe?zHe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):zHe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return qHe?zHe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):zHe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):zHe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}(zHe.Component),KHe=VHe,HHe=_Ke;var WHe=function(e){return!(!e||!e.ownerDocument)&&(HHe(e)&&"BR"===e.nodeName)};var GHe=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))};var YHe=function(e){return GHe(e)&&3==e.nodeType};var QHe=function e(t,n){return!(!t||!n)&&(t===n||!YHe(t)&&(YHe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var $He=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}},JHe=UKe,ZHe=QHe,XHe=$He,eWe=xKe,tWe=Hze,nWe=_Ke,rWe=wKe.isBrowser("IE");function iWe(e,t){if(!e)return"[empty]";var n=oWe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(nWe(n)||("production"!==Cs.env.NODE_ENV?tWe(!1,"Node must be an Element if it is not a text node."):tWe(!1)),n.outerHTML)}function oWe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return eWe(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)i.appendChild(oWe(o[a],t));return i}function aWe(e,t){for(var n=e,r=n;n;){if(nWe(n)&&r.hasAttribute("contenteditable"))return iWe(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function sWe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function uWe(e,t,n,r){var i=XHe();if(e.extend&&null!=t&&ZHe(i,t)){n>sWe(t)&&JHe.logSelectionStateFailure({anonymizedDom:aWe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw JHe.logSelectionStateFailure({anonymizedDom:aWe(t,(function(t){var n=[];return t===i&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function cWe(e,t,n,r){var i=eWe(t).createRange();if(n>sWe(t)&&JHe.logSelectionStateFailure({anonymizedDom:aWe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),rWe)try{e.addRange(i)}catch(e){"production"!==Cs.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var lWe=function(e,t,n,r,i){var o=eWe(t);if(ZHe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),u=e.getAnchorOffset(),c=e.getFocusKey(),l=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var f=s,p=u;s=c,u=l,c=f,l=p,d=!1}var h=s===n&&r<=u&&i>=u,m=c===n&&r<=l&&i>=l;if(h&&m)return a.removeAllRanges(),cWe(a,t,u-r,e),void uWe(a,t,l-r,e);if(d){if(m&&(a.removeAllRanges(),cWe(a,t,l-r,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),cWe(a,t,u-r,e),uWe(a,g,v,e)}}else h&&(a.removeAllRanges(),cWe(a,t,u-r,e)),m&&uWe(a,t,l-r,e)}},dWe=UH;function fWe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hWe=KHe,mWe=o,gWe=Hze,vWe=WHe,yWe=lWe,bWe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return pWe(fWe(t=e.call.apply(e,[this].concat(r))||this),"leaf",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,i=t.text,o=n.getKey(),a=r+i.length;if(e.hasEdgeWithin(o,r,a)){var s=this.leaf;s||("production"!==Cs.env.NODE_ENV?gWe(!1,"Missing node"):gWe(!1));var u,c=s.firstChild;c||("production"!==Cs.env.NODE_ENV?gWe(!1,"Missing child"):gWe(!1)),c.nodeType===Node.TEXT_NODE?u=c:vWe(c)?u=s:(u=c.firstChild)||("production"!==Cs.env.NODE_ENV?gWe(!1,"Missing targetNode"):gWe(!1)),yWe(e,u,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Cs.env.NODE_ENV?gWe(!1,"Missing leafNode"):gWe(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var r=this.props,i=r.customStyleMap,o=r.customStyleFn,a=r.offsetKey,s=r.styleSet,u=s.reduce((function(e,t){var n={},r=i[t];return void 0!==r&&e.textDecoration!==r.textDecoration&&(n.textDecoration=[e.textDecoration,r.textDecoration].join(" ").trim()),dWe(e,r,n)}),{});if(o){var c=o(s,t);u=dWe(u,c)}return mWe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:u},mWe.createElement(hWe,null,n))},r}(mWe.Component),wWe=bWe;var xWe=RHe,_We=wWe,SWe=zKe,kWe=o,CWe=RVe;HFe.exports.List;var EWe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,r=e.customStyleFn,i=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,u=e.hasSelection,c=e.selection,l=e.tree,d=t.getKey(),f=t.getText(),p=l.size-1,h=this.props.children||l.map((function(e,l){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=SWe.encode(d,l,n),a=e.get("start"),m=e.get("end");return kWe.createElement(_We,{key:o,offsetKey:o,block:t,start:a,selection:u?c:null,forceSelection:s,text:f.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===p&&n===g})})).toArray();return h&&o?kWe.createElement(xWe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:l}):v})).toArray();return kWe.createElement("div",{"data-offset-key":SWe.encode(d,0,0),className:CWe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(kWe.Component),IWe=EWe;function OWe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var TWe={getTop:function(e){var t=e.ownerDocument;return OWe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;OWe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return OWe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;OWe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},NWe=TWe,DWe=/-(.)/g;var AWe=/([A-Z])/g;var PWe=function(e){return e.replace(DWe,(function(e,t){return t.toUpperCase()}))},MWe=function(e){return e.replace(AWe,"-$1").toLowerCase()};function jWe(e){return null==e?e:String(e)}var RWe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return jWe(n.getPropertyValue(MWe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return jWe(n.getPropertyValue(MWe(t)));if("display"===t)return"none"}return e.currentStyle?jWe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[PWe(t)]):jWe(e.style&&e.style[PWe(t)])};function LWe(e,t){var n=FWe.get(e,t);return"auto"===n||"scroll"===n}var FWe={get:RWe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(LWe(e,"overflow")||LWe(e,"overflowY")||LWe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},zWe=FWe,BWe=QHe;var UWe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!BWe(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}};var qWe=function(e){var t=UWe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},VWe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var KWe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:VWe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var HWe=KWe,WWe=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}};var GWe=function(e){var t=HWe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=WWe(e),r=e===t?e.ownerDocument.documentElement:e,i=e.scrollWidth-r.clientWidth,o=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,i)),n.y=Math.max(0,Math.min(n.y,o)),n};function YWe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function QWe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function $We(){return{width:window.innerWidth||YWe(),height:window.innerHeight||QWe()}}$We.withoutScrollbars=function(){return{width:YWe(),height:QWe()}};var JWe=$We,ZWe=UH;function XWe(){return XWe=ZWe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XWe.apply(this,arguments)}function eGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){nGe(e,t,n[t])}))}return e}function nGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rGe=IWe,iGe=zKe,oGe=o,aGe=NWe,sGe=zWe,uGe=qWe,cGe=GWe,lGe=JWe,dGe=Hze,fGe=qKe;HFe.exports.List;var pGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},hGe=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},mGe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},gGe=function(e,t,n,r,i,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=r(e);return s&&(a.className=s),void 0!==i.customEditable&&(a=tGe({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},vGe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return nGe(eGe(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",oGe.createRef()),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,i=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||i!==e.tree||r!==e.direction||pGe(e.selection,e.block.getKey())&&e.forceSelection;return o||a},i.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,i=sGe.getScrollParent(n),o=cGe(i);if(i===window){var a=uGe(n);(r=a.y+a.height-lGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{fGe(n)||("production"!==Cs.env.NODE_ENV?dGe(!1,"blockNode is not an HTMLElement"):dGe(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&aGe.setTop(i,aGe.getTop(i)+r+10)}}}},i.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,u=t.decorator,c=t.editorKey,l=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var u=iGe.encode(n,0,0),d=s.getBlockForKey(n),f=mGe(d,o),p=f.CustomComponent||r,h=hGe(d,i),m=h.Element,g=h.wrapperTemplate,v=gGe(d,c,u,a,f,null),y=tGe({},e.props,{tree:l.getBlockTree(n),blockProps:f.customProps,offsetKey:u,block:d});return t.push(oGe.createElement(m,v,oGe.createElement(p,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,u=n.reverse()[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var c=s.value;if(c.type!==t)break;r.push(c)}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var l=r.reverse(),d=l[0].key;n.push(oGe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":iGe.encode(d,0,0)},l))}(g,m,t),t}),[]));var y=n.getKey(),b=iGe.encode(y,0,0),w=mGe(n,o),x=w.CustomComponent,_=null!=x?oGe.createElement(x,XWe({},this.props,{tree:l.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):oGe.createElement(rGe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:u,direction:p,forceSelection:h,hasSelection:pGe(m,y),selection:m,tree:g});if(n.getParentKey())return _;var S=hGe(n,i).Element,k=gGe(n,c,b,a,w,this.wrapperRef);return oGe.createElement(S,k,_)},r}(oGe.Component),yGe=UH;function bGe(){return bGe=yGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bGe.apply(this,arguments)}var wGe=vGe,xGe=zKe,_Ge=o,SGe=Rqe,kGe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||u!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,u=e.textDirectionality,c=a.getCurrentContent(),l=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=SGe(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:c,customStyleFn:o,customStyleMap:i,decorator:f,editorKey:s,editorState:a,forceSelection:d,selection:l,block:m,direction:u||p.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:_Ge.createElement(wGe,bGe({key:g},v)),wrapperTemplate:y,key:g,offsetKey:xGe.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?c.getBlockForKey(b):null}for(var w=[],x=0;x<h.length;){var _=h[x];if(_.wrapperTemplate){var S=[];do{S.push(h[x].block),x++}while(x<h.length&&h[x].wrapperTemplate===_.wrapperTemplate);var k=_Ge.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},S);w.push(k)}else w.push(_.block),x++}return _Ge.createElement("div",{"data-contents":"true"},w)},r}(_Ge.Component),CGe=kGe,EGe=UH;function IGe(){return IGe=EGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IGe.apply(this,arguments)}function OGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NGe=wWe,DGe=zKe,AGe=o,PGe=NWe,MGe=zWe,jGe=Tqe,RGe=yqe,LGe=RVe,FGe=qWe,zGe=GWe,BGe=JWe,UGe=Hze,qGe=qKe,VGe=Rqe,KGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},HGe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return TGe(OGe(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||KGe(e.selection,e.block.getKey())&&e.forceSelection},i.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var r,i=MGe.getScrollParent(n),o=zGe(i);if(i===window){var a=FGe(n);(r=a.y+a.height-BGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{qGe(n)||("production"!==Cs.env.NODE_ENV?UGe(!1,"blockNode is not an HTMLElement"):UGe(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&PGe.setTop(i,PGe.getTop(i)+r+10)}}}}},i._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),i=this.props.tree.size-1,o=KGe(this.props.selection,n);return this.props.tree.map((function(a,s){var u=a.get("leaves");if(0===u.size)return null;var c=u.size-1,l=u.map((function(a,u){var l=DGe.encode(n,s,u),d=a.get("start"),f=a.get("end");return AGe.createElement(NGe,{key:l,offsetKey:l,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===i&&u===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return l;if(!e.props.decorator)return l;var f=VGe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return l;var h=f.getPropsForKey(d),m=DGe.encode(n,s,0),g=u.first().get("start"),v=u.last().get("end"),y=r.slice(g,v),b=t.getEntityAt(a.get("start")),w=RGe.getHTMLDirIfDifferent(jGe.getDirection(y),e.props.direction),x={contentState:e.props.contentState,decoratedText:y,dir:w,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return AGe.createElement(p,IGe({},h,x,{key:m}),l)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=LGe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return AGe.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(AGe.Component),WGe=HGe;var GGe=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var i=arguments[r];i&&(t=(t?t+" ":"")+i)}return t},YGe=UH;function QGe(){return QGe=YGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QGe.apply(this,arguments)}function $Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){JGe(e,t,n[t])}))}return e}function JGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ZGe=WGe,XGe=zKe,eYe=o,tYe=RVe,nYe=GGe,rYe=Rqe,iYe=function(e,t,n,r){return tYe({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},oYe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||u!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,u=e.preventScroll,c=e.textDirectionality,l=a.getCurrentContent(),d=a.getSelection(),f=a.mustForceSelection(),p=a.getDecorator(),h=rYe(a.getDirectionMap()),m=l.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var w=m[b],x=w.getKey(),_=w.getType(),S=n(w),k=void 0,C=void 0,E=void 0;S&&(k=S.component,C=S.props,E=S.editable);var I=c||h.get(x),O=XGe.encode(x,0,0),T={contentState:l,block:w,blockProps:C,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:p,direction:I,forceSelection:f,offsetKey:O,preventScroll:u,selection:d,tree:a.getBlockTree(x)},N=t.get(_)||t.get("unstyled"),D=N.wrapper,A=N.element||t.get("unstyled").element,P=w.getDepth(),M="";if(r&&(M=r(w)),"li"===A)M=nYe(M,iYe(_,P,y!==D||null===v||P>v,I));var j=k||ZGe,R={className:M,"data-block":!0,"data-editor":s,"data-offset-key":O,key:x};void 0!==E&&(R=$Ge({},R,{contentEditable:E,suppressContentEditableWarning:!0}));var L=eYe.createElement(A,R,eYe.createElement(j,QGe({},T,{key:x})));g.push({block:L,wrapperTemplate:D,key:x,offsetKey:O}),v=D?w.getDepth():null,y=D}for(var F=[],z=0;z<g.length;){var B=g[z];if(B.wrapperTemplate){var U=[];do{U.push(g[z].block),z++}while(z<g.length&&g[z].wrapperTemplate===B.wrapperTemplate);var q=eYe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},U);F.push(q)}else F.push(B.block),z++}return eYe.createElement("div",{"data-contents":"true"},F)},r}(eYe.Component),aYe=oYe,sYe=qUe("draft_tree_data_support")?CGe:aYe,uYe={isImage:function(e){return"image"===cYe(e)[0]},isJpeg:function(e){var t=cYe(e);return uYe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function cYe(e){return e.split("/")}var lYe=uYe,dYe=Hze;var fYe=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&("production"!==Cs.env.NODE_ENV?dYe(!1,"toArray: Array-like object expected"):dYe(!1)),"number"!=typeof t&&("production"!==Cs.env.NODE_ENV?dYe(!1,"toArray: Object needs a length property"):dYe(!1)),0===t||t-1 in e||("production"!==Cs.env.NODE_ENV?dYe(!1,"toArray: Object should have keys for indices"):dYe(!1)),"function"==typeof e.callee&&("production"!==Cs.env.NODE_ENV?dYe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):dYe(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}(e):[e]};function pYe(e){return function(){return e}}var hYe=function(){};hYe.thatReturns=pYe,hYe.thatReturnsFalse=pYe(!1),hYe.thatReturnsTrue=pYe(!0),hYe.thatReturnsNull=pYe(null),hYe.thatReturnsThis=function(){return this},hYe.thatReturnsArgument=function(e){return e};var mYe=hYe,gYe=lYe,vYe=fYe,yYe=mYe,bYe=new RegExp("\r\n","g"),wYe={"text/rtf":1,"text/html":1};function xYe(e){if("file"==e.kind)return e.getAsFile()}var _Ye=function(){function e(e){this.data=e,this.types=e.types?vYe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return wYe[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(bYe,"\n"):null},t.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")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.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},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var r=t[n].type;if(!gYe.isImage(r))return!1}return!0},t.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},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(xYe).filter(yYe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),SYe=_Ye,kYe=Hze,CYe=/\.textClipping$/,EYe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var IYe=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!Fe.FileReader||e.type&&!(e.type in EYe))return void t("");if(""===e.type){var n="";return CYe.test(e.name)&&(n=e.name.replace(CYe,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Cs.env.NODE_ENV?kYe(!1,'We should be calling "FileReader.readAsText" which returns a string'):kYe(!1)),t(e)},r.onerror=function(){t("")},r.readAsText(e)}(i,(function(i){n++,i&&r.push(i.slice(0,5e3)),n==e.length&&t(r.join("\r"))}))}))};var OYe=function(e){return"handled"===e||!0===e},TYe=SYe,NYe=fUe,DYe=aVe,AYe=IKe,PYe=xKe,MYe=IYe,jYe=YKe,RYe=OKe,LYe=OYe,FYe=Rqe;var zYe={onDragEnd:function(e){e.exitCurrentMode(),BYe(e)},onDrop:function(e,t){var n=new TYe(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=PYe(e.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=FYe(n),r=FYe(r);var a=FYe(AYe(n));return jYe(t,a,r,a,r)}(t.nativeEvent,r);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=i){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&LYe(e.props.handleDroppedFiles(i,o)))return;MYe(o,(function(t){t&&e.update(UYe(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&LYe(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=NYe.moveText(e.getCurrentContent(),e.getSelection(),t);return DYe.push(e,n,"insert-fragment")}(r,i)):e.update(UYe(r,i,n.getText()))),BYe(e)}}}};function BYe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:RYe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function UYe(e,t,n){var r=NYe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return DYe.push(e,r,"insert-fragment")}var qYe=zYe;var VYe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),i=t.getStartOffset(),o=!1;return r.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,r,i,o=1,a={},s=!1,u=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Cs.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&d(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var e=u.documentElement;n=function(t){var n=u.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return a[o]=i,n(o),o++},c.clearImmediate=l}function l(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{l(e),s=!1}}}}}("undefined"==typeof self?Fe:self);var KYe=Fe.setImmediate,HYe=fUe,WYe=aVe,GYe=hHe,YYe=OYe,QYe=VYe,$Ye=Rqe,JYe=KYe,ZYe=wKe.isBrowser("Firefox");function XYe(e,t,n,r,i){var o=HYe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return WYe.push(e,o,"insert-characters",i)}var eQe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&YYe(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var i=n.getSelection(),o=i.getStartOffset(),a=i.getAnchorKey();if(!i.isCollapsed())return t.preventDefault(),void e.update(XYe(n,r,n.getCurrentInlineStyle(),GYe(n.getCurrentContent(),n.getSelection()),!0));var s,u=XYe(n,r,n.getCurrentInlineStyle(),GYe(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=QYe(e._latestCommittedEditorState)),!c){var l=n.getBlockTree(a),d=u.getBlockTree(a);c=l.size!==d.size||l.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),u=s+(s>=o?r.length:0),c=n.get("start"),l=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||u!==l||null!=d&&l-c!=s-i}))}if(c||(s=r,c=ZYe&&("'"==s||"/"==s)),c||(c=$Ye(u.getDirectionMap()).get(a)!==$Ye(n.getDirectionMap()).get(a)),c)return t.preventDefault(),u=WYe.set(u,{forceSelection:!0}),void e.update(u);u=WYe.set(u,{nativelyRenderedContent:u.getCurrentContent()}),e._pendingStateFromBeforeInput=u,JYe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},tQe=aVe,nQe=QHe,rQe=$He;var iQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&rQe(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&nQe(i,r.anchorNode)&&nQe(i,r.focusNode)&&r.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(tQe.acceptSelection(o,s))}},oQe=aVe;var aQe=function(e,t){e.setMode("composite"),e.update(oQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},sQe=pBe;var uQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:sQe(e.getCurrentContent(),t)},cQe=uQe;var lQe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(cQe(e._latestEditorState))};var dQe=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1},fQe=fUe,pQe=aVe,hQe=zWe,mQe=uQe,gQe=GWe,vQe=dQe;var yQe=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(vQe(o)){var a=o;n=gQe(hQe.getScrollParent(a))}var s=mQe(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=fQe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return pQe.push(e,t,"remove-range")}(r))}),0)}};var bQe=function(e,t){e.setMode("drag"),t.preventDefault()};var wQe=function(e){e._internalDrag=!0,e.setMode("drag")},xQe=aVe,_Qe=wKe;var SQe=function(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var i=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),_Qe.isBrowser("Chrome < 60.0.3081.0")?e.update(xQe.forceSelection(n,i)):e.update(xQe.acceptSelection(n,i))}},kQe=Hze,CQe=/[\uD800-\uDFFF]/;function EQe(e){return 55296<=e&&e<=57343}function IQe(e){return CQe.test(e)}function OQe(e,t){return 1+EQe(e.charCodeAt(t))}function TQe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!IQe(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var i=0;if(t>0){for(;t>0&&i<r;t--)i+=OQe(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=OQe(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=OQe(e,o);return e.substring(i,o)}var NQe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=OQe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:OQe,hasSurrogateUnit:IQe,isCodeUnitInSurrogateRange:EQe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Cs.env.NODE_ENV?kQe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):kQe(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=r&&r<=57343},strlen:function(e){if(!IQe(e))return e.length;for(var t=0,n=0;n<e.length;n+=OQe(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-t);return TQe(e,t=t<n?t:n,r)},substr:TQe},DQe=NQe,AQe=mYe;function PQe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var MQe="production"!==Cs.env.NODE_ENV?function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];PQe.apply(void 0,[t].concat(r))}}:AQe,jQe=MQe,RQe=jQe;var LQe=function(e,t){var n=e.getSelection();"production"!==Cs.env.NODE_ENV&&RQe(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var r=e.getCurrentContent(),i=n.getStartKey(),o=n.getStartOffset(),a=i,s=0;if(t>o){var u=r.getKeyBefore(i);if(null==u)a=i;else a=u,s=r.getBlockForKey(u).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},FQe=fUe,zQe=qUe("draft_tree_data_support");var BQe=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),u=i.getBlockForKey(a);if(zQe&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if(zQe)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var c=i.getBlockForKey(u.nextSibling);if(!c||0===c.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return FQe.removeRange(i,o,n)},UQe=aVe,qQe=DQe,VQe=LQe,KQe=BQe;var HQe=function(e){var t=KQe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return VQe(e,o?qQe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return UQe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},WQe=fUe,GQe=zKe,YQe=aVe,QQe=dHe.notEmptyKey,$Qe=IKe,JQe=HQe,ZQe=Rqe,XQe=wKe.isEngine("Gecko");var e$e=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.isCollapsed,o=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!o){if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var a=r.parentNode;if(null==a)return;r.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==r&&a.removeChild(s)}var u=r.textContent,c=e._latestEditorState,l=ZQe($Qe(r)),d=GQe.decode(l),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(f).getIn([p,"leaves",h]),g=m.start,v=m.end,y=c.getCurrentContent(),b=y.getBlockForKey(f),w=b.getText().slice(g,v);if(u.endsWith("\n\n")&&(u=u.slice(0,-1)),u!==w){var x,_,S,k,C=c.getSelection(),E=C.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),I=b.getEntityAt(g),O=QQe(I)?y.getEntity(I):null,T="MUTABLE"===(null!=O?O.getMutability():null),N=T?"spellcheck-change":"apply-entity",D=WQe.replaceText(y,E,u,b.getInlineStyleAt(g),T?b.getEntityAt(g):null);if(XQe)x=n.anchorOffset,_=n.focusOffset,k=(S=g+Math.min(x,_))+Math.abs(x-_),x=S,_=k;else{var A=u.length-w.length;S=C.getStartOffset(),k=C.getEndOffset(),x=i?k+A:S,_=k+A}var P=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:C.merge({anchorOffset:x,focusOffset:_})});e.update(YQe.push(c,P,N))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?JQe(t):t}(M,c);if(j!==c)return e.restoreEditorDOM(),void e.update(j)}}}},t$e=BKe;var n$e=function(e){return e.which===t$e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},r$e=n$e,i$e=wKe.isPlatform("Mac OS X"),o$e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return i$e&&e.altKey},usesMacOSHeuristics:function(){return i$e},hasCommandModifier:function(e){return i$e?!!e.metaKey&&!e.altKey:o$e.isCtrlKeyCommand(e)},isSoftNewlineEvent:r$e},a$e=o$e,s$e=fUe,u$e=aVe,c$e=pBe,l$e=Rqe,d$e=null,f$e={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),r=null;if(n.isCollapsed()){var i=n.getAnchorKey(),o=t.getBlockForKey(i).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(i);if(null==a)return e;r=n.set("focusKey",a).set("focusOffset",0)}else r=n.set("focusOffset",o)}else r=n;r=l$e(r),d$e=c$e(t,r);var s=s$e.removeRange(t,r,"forward");return s===t?e:u$e.push(e,s,"remove-range")},paste:function(e){if(!d$e)return e;var t=s$e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),d$e);return u$e.push(e,t,"insert-fragment")}},p$e=Hze;var h$e=wKe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),i)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(r)}"production"!==Cs.env.NODE_ENV?p$e(!1,"Found an unexpected detached subtree when getting range client rects."):p$e(!1)}:function(e){return Array.from(e.getClientRects())},m$e=DQe,g$e=xKe,v$e=h$e,y$e=Hze;function b$e(e,t){for(var n=1/0,r=1/0,i=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=r&&i-n<t&&o-r<t}function w$e(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}var x$e=aVe,_$e=function(e){e.collapsed||("production"!==Cs.env.NODE_ENV?y$e(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):y$e(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=g$e(e),r=n.createElement("div");r.style.fontFamily=t.fontFamily,r.style.fontSize=t.fontSize,r.style.fontStyle=t.fontStyle,r.style.fontWeight=t.fontWeight,r.style.lineHeight=t.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||("production"!==Cs.env.NODE_ENV?y$e(!1,"Missing document.body"):y$e(!1)),i.appendChild(r);var o=r.getBoundingClientRect();return i.removeChild(r),o.height}(t),r=e.endContainer,i=e.endOffset;for(e.setStart(e.startContainer,0);b$e(v$e(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Cs.env.NODE_ENV?y$e(!1,"Found unexpected detached subtree when traversing."):y$e(!1)),e.setStartBefore(r),1!==r.nodeType||"inline"===getComputedStyle(r).display););for(var o=r,a=i-1;;){for(var s=o.nodeValue,u=a;u>=0;u--)if(!(null!=s&&u>0&&m$e.isSurrogatePair(s,u-1))){if(e.setStart(o,u),!b$e(v$e(e),n))break;r=o,i=u}if(-1===u||0===o.childNodes.length)break;a=w$e(o=o.childNodes[u])}return e.setStart(r,i),e},S$e=rHe,k$e=LQe,C$e=BQe;var E$e=function(e,t){var n=C$e(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return k$e(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=_$e(r),S$e(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:x$e.push(e,n,"remove-range")},I$e="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),O$e=new RegExp("^(?:"+I$e+")*(?:['‘’]|(?!"+I$e+").)*(?:(?!"+I$e+").)"),T$e=new RegExp("(?:(?!"+I$e+").)(?:['‘’]|(?!"+I$e+").)*(?:"+I$e+")*$");function N$e(e,t){var n=t?T$e.exec(e):O$e.exec(e);return n?n[0]:e}var D$e={getBackward:function(e){return N$e(e,!0)},getForward:function(e){return N$e(e,!1)}},A$e=D$e,P$e=aVe,M$e=LQe,j$e=BQe;var R$e=jQe;var L$e=function(e,t){var n=e.getSelection();"production"!==Cs.env.NODE_ENV&&R$e(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var r,i=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=i;return t>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+t,n.merge({focusKey:s,focusOffset:r})},F$e=D$e,z$e=aVe,B$e=L$e,U$e=BQe;var q$e=fUe,V$e=aVe;var K$e=aVe;var H$e=aVe;var W$e=aVe,G$e=DQe,Y$e=L$e,Q$e=BQe;var $$e=fUe,J$e=aVe,Z$e=pBe;var X$e=aVe;var eJe=function(e,t,n){var r=X$e.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(X$e.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(X$e.set(r,{nativelyRenderedContent:i}))}},tJe=fUe,nJe=aVe,rJe=BKe,iJe=f$e,oJe=wKe,aJe=OYe,sJe=E$e,uJe=function(e){var t=j$e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return M$e(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=A$e.getBackward(i);return M$e(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:P$e.push(e,t,"remove-range")},cJe=function(e){var t=U$e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=F$e.getForward(i);return B$e(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:z$e.push(e,t,"remove-range")},lJe=function(e){var t=q$e.splitBlock(e.getCurrentContent(),e.getSelection());return V$e.push(e,t,"split-block")},dJe=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return K$e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},fJe=function(e){var t=e.getSelection(),n=t.getStartKey();return H$e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},pJe=HQe,hJe=function(e){var t=Q$e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return Y$e(e,o?G$e.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return W$e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},mJe=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r,i,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(r=t.set("anchorOffset",n-1),i=t):i=(r=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var u=Z$e(a,r),c=$$e.removeRange(a,r,"backward"),l=c.getSelectionAfter(),d=l.getAnchorOffset()-1,f=l.merge({anchorOffset:d,focusOffset:d}),p=$$e.replaceWithFragment(c,f,u),h=J$e.push(e,p,"insert-fragment");return J$e.acceptSelection(h,i)},gJe=eJe,vJe=a$e.isOptionKeyCommand,yJe=oJe.isBrowser("Chrome");var bJe=function(e,t){var n=t.which,r=e._latestEditorState;function i(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case rJe.RETURN:if(t.preventDefault(),e.props.handleReturn&&aJe(e.props.handleReturn(t,r)))return;break;case rJe.ESC:if(t.preventDefault(),i("onEscape"))return;break;case rJe.TAB:if(i("onTab"))return;break;case rJe.UP:if(i("onUpArrow"))return;break;case rJe.RIGHT:if(i("onRightArrow"))return;break;case rJe.DOWN:if(i("onDownArrow"))return;break;case rJe.LEFT:if(i("onLeftArrow"))return;break;case rJe.SPACE:yJe&&vJe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!aJe(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return nJe.redo(t);case"delete":return hJe(t);case"delete-word":return cJe(t);case"backspace":return pJe(t);case"backspace-word":return uJe(t);case"backspace-to-start-of-line":return sJe(t,n);case"split-block":return lJe(t);case"transpose-characters":return mJe(t);case"move-selection-to-start-of-block":return fJe(t);case"move-selection-to-end-of-block":return dJe(t);case"secondary-cut":return iJe.cut(t);case"secondary-paste":return iJe.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else gJe(t,r,e.update);else if(n===rJe.SPACE&&yJe&&vJe(t)){var s=tJe.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(nJe.push(r,s,"insert-characters"))}};var wJe=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_uri",void 0),this._uri=e}return e.prototype.toString=function(){return this._uri},e}(),xJe=wJe,_Je=Hze,SJe=wKe.isBrowser("IE <= 9");var kJe=function(e){var t,n=null;return!SJe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Cs.env.NODE_ENV?_Je(!1,"Missing doc.documentElement"):_Je(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},CJe=_Ke;var EJe=function(e){return!(!e||!e.ownerDocument)&&(CJe(e)&&"A"===e.nodeName)},IJe=_Ke;var OJe,TJe=function(e){return!(!e||!e.ownerDocument)&&(IJe(e)&&"IMG"===e.nodeName)};function NJe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){DJe(e,t,n[t])}))}return e}function DJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var AJe=ize,PJe=bze,MJe=Mze,jJe=zVe,RJe=zUe,LJe=xJe,FJe=RVe,zJe=tBe,BJe=kJe,UJe=qUe,qJe=HFe.exports,VJe=qJe.List,KJe=qJe.Map,HJe=qJe.OrderedSet,WJe=EJe,GJe=WHe,YJe=qKe,QJe=TJe,$Je=UJe("draft_tree_data_support"),JJe=new RegExp("\r","g"),ZJe=new RegExp("\n","g"),XJe=new RegExp("^\n","g"),eZe=new RegExp("&nbsp;","g"),tZe=new RegExp("&#13;?","g"),nZe=new RegExp("&#8203;?","g"),rZe=["bold","bolder","500","600","700","800","900"],iZe=["light","lighter","normal","100","200","300","400"],oZe=["className","href","rel","target","title"],aZe=["alt","className","height","src","width"],sZe=(DJe(OJe={},FJe("public/DraftStyleDefault/depth0"),0),DJe(OJe,FJe("public/DraftStyleDefault/depth1"),1),DJe(OJe,FJe("public/DraftStyleDefault/depth2"),2),DJe(OJe,FJe("public/DraftStyleDefault/depth3"),3),DJe(OJe,FJe("public/DraftStyleDefault/depth4"),4),OJe),uZe=KJe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),cZe=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),KJe(t)},lZe=function(e){if(YJe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},dZe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(sZe).some((function(n){e.classList.contains(n)&&(t=sZe[n])})),t},fZe=function(e){if(!WJe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},pZe=function(e){if(!QJe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},hZe=function(e,t){if(!YJe(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){rZe.indexOf(r)>=0?e.add("BOLD"):iZe.indexOf(r)>=0&&e.remove("BOLD"),"italic"===i?e.add("ITALIC"):"normal"===i&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},mZe=function(e){return"ul"===e||"ol"===e},gZe=function(){function e(e,t){DJe(this,"characterList",VJe()),DJe(this,"currentBlockType","unstyled"),DJe(this,"currentDepth",0),DJe(this,"currentEntity",null),DJe(this,"currentText",""),DJe(this,"wrapper",null),DJe(this,"blockConfigs",[]),DJe(this,"contentBlocks",[]),DJe(this,"entityMap",RJe),DJe(this,"blockTypeMap",void 0),DJe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=VJe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=RJe,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],HJe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&($Je?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||zJe(),n=NJe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:VJe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=VJe(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=i.nodeName.toLowerCase();if("body"===o||mZe(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;mZe(o)&&(this.wrapper=o,mZe(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var u=this.blockTypeMap.get(o);if(void 0===u)if("#text"!==o)if("br"!==o)if(pZe(i))this._addImgNode(i,t);else if(fZe(i))this._addAnchorNode(i,n,t);else{var c=t;uZe.has(o)&&(c=c.add(uZe.get(o))),c=hZe(i,c);var l=lZe(i);null!=l&&(c=c.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(o,this.wrapper)||u[0]||"unstyled"),!$Je&&YJe(i)&&("unordered-list-item"===u||"ordered-list-item"===u)){var p=i;this.currentDepth=dZe(p,this.currentDepth)}var h=zJe(),m=this._toBlockConfigs(Array.from(i.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:m,type:u})),this.currentDepth=d,this.wrapper=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=AJe.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(r))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=VJe()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(XJe,"")).replace(ZJe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){GJe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(QJe(e)){var n=e,r={};aZe.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),UJe("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(WJe(e)){var r=e,i={};oZe.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new LJe(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,r=0;r<=n;r++){var i=e[r];i.parent=t,i.prevSibling=r>0?e[r-1].key:null,i.nextSibling=r<n?e[r+1].key:null,i.children=VJe(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new MJe(NJe({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return VJe(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),r=n.text,i=n.characterList;t.contentBlocks.push(new PJe(NJe({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=VJe(),i=0;i<=t;i++){var o=e[i];n+=o.text,r=r.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}(),vZe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BJe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:jJe,r=t(e=e.trim().replace(JJe,"").replace(eZe," ").replace(tZe,"").replace(nZe,""));if(!r)return null;var i=cZe(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new gZe(i,o).addDOMNode(r).getContentBlocks()};function yZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bZe=bze,wZe=Mze,xZe=vZe,_Ze=tBe,SZe=kJe,kZe=qUe,CZe=HFe.exports,EZe=KUe,IZe=CZe.List,OZe=CZe.Repeat,TZe=kZe("draft_tree_data_support"),NZe=TZe?wZe:bZe,DZe={processHTML:function(e,t){return xZe(e,SZe,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=EZe(r);var o=_Ze(),a={key:o,type:n,text:r,characterList:IZe(OZe(t,r.length))};if(TZe&&0!==i){var s=i-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){yZe(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new NZe(a)),e}),[])}};var AZe=function(e,t,n,r){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},PZe=fUe,MZe=aVe,jZe=AZe,RZe=Rqe,LZe={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return LZe.toggleInlineStyle(e,"BOLD");case"italic":return LZe.toggleInlineStyle(e,"ITALIC");case"underline":return LZe.toggleInlineStyle(e,"UNDERLINE");case"code":return LZe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return LZe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return LZe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=PZe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=MZe.push(e,t,"insert-characters");return MZe.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var o=n.getBlockMap().delete(i.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return MZe.push(e,a,"remove-range")}var s=LZe.tryToRemoveBlockStyle(e);return s?MZe.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockForKey(r).getLength();if(t.getStartOffset()<i)return null;var o=n.getBlockAfter(r);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=PZe.removeRange(n,a,"forward");return s!==n?MZe.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),i=r.getAnchorKey();if(i!==r.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(i),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var u=a.getDepth();if(!e.shiftKey&&u===n)return t;var c=jZe(o,r,e.shiftKey?-1:1,n);return MZe.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),i=n.getEndKey(),o=e.getCurrentContent(),a=n;if(r!==i&&0===n.getEndOffset()){var s=RZe(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()})))return e;var u=o.getBlockForKey(r).getType()===t?"unstyled":t;return MZe.push(e,PZe.setBlockType(o,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?LZe.toggleBlockType(e,"code-block"):LZe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return MZe.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?PZe.removeInlineStyle(o,n,t):PZe.applyInlineStyle(o,n,t),MZe.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=PZe.applyEntity(e.getCurrentContent(),t,n);return MZe.push(e,r,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var r=t.getAnchorKey(),i=e.getCurrentContent(),o=i.getBlockForKey(r).getType(),a=i.getBlockBefore(r);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return PZe.setBlockType(i,t,"unstyled")}return null}},FZe=LZe,zZe=/\r\n?|\n/g;var BZe=YFe,UZe=ize,qZe=SYe,VZe=fUe,KZe=DZe,HZe=aVe,WZe=FZe,GZe=hHe,YZe=IYe,QZe=OYe,$Ze=function(e){return e.split(zZe)};function JZe(e,t,n){var r=VZe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return HZe.push(e,r.set("entityMap",n),"insert-fragment")}var ZZe=function(e,t){t.preventDefault();var n=new qZe(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&QZe(e.props.handlePastedFiles(r)))return;return void YZe(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=$Ze(t),o=UZe.create({style:n.getCurrentInlineStyle(),entity:GZe(n.getCurrentContent(),n.getSelection())}),a=WZe.getCurrentBlockType(n),s=KZe.processText(r,o,a),u=BZe.createFromArray(s),c=VZe.replaceWithFragment(n.getCurrentContent(),n.getSelection(),u);e.update(HZe.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),u=e._latestEditorState;if(!e.props.handlePastedText||!QZe(e.props.handlePastedText(a,s,u))){if(a&&(o=$Ze(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(JZe(e._latestEditorState,c))}else if(c&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,c))return void e.update(JZe(e._latestEditorState,c));if(s){var l=KZe.processHTML(s,e.props.blockRenderMap);if(l){var d=l.contentBlocks,f=l.entityMap;if(d){var p=BZe.createFromArray(d);return void e.update(JZe(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=UZe.create({style:u.getCurrentInlineStyle(),entity:GZe(u.getCurrentContent(),u.getSelection())}),m=WZe.getCurrentBlockType(u),g=KZe.processText(o,h,m),v=BZe.createFromArray(g);e.update(JZe(e._latestEditorState,v))}}},XZe=wKe,eXe=eQe,tXe=iQe,nXe=aQe,rXe=lQe,iXe=yQe,oXe=bQe,aXe=wQe,sXe=SQe,uXe=e$e,cXe=bJe,lXe=ZZe,dXe=lHe,fXe=XZe.isBrowser("Chrome"),pXe=XZe.isBrowser("Firefox"),hXe=fXe||pXe?dXe:function(e){},mXe={onBeforeInput:eXe,onBlur:tXe,onCompositionStart:nXe,onCopy:rXe,onCut:iXe,onDragOver:oXe,onDragStart:aXe,onFocus:sXe,onInput:uXe,onKeyDown:cXe,onPaste:lXe,onSelect:dXe,onMouseUp:hXe,onKeyUp:hXe},gXe=Me.unstable_flushControlled;var vXe=o,yXe=RVe,bXe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},i.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=yXe({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return vXe.createElement("div",{className:t},vXe.createElement("div",{className:yXe("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(vXe.Component),wXe=bXe,xXe=a$e,_Xe=BKe,SXe=wKe,kXe=SXe.isPlatform("Mac OS X"),CXe=kXe&&SXe.isBrowser("Firefox < 29"),EXe=xXe.hasCommandModifier,IXe=xXe.isCtrlKeyCommand;function OXe(e){return kXe&&e.altKey||IXe(e)}var TXe=function(e){switch(e.keyCode){case 66:return EXe(e)?"bold":null;case 68:return IXe(e)?"delete":null;case 72:return IXe(e)?"backspace":null;case 73:return EXe(e)?"italic":null;case 74:return EXe(e)?"code":null;case 75:return kXe&&IXe(e)?"secondary-cut":null;case 77:case 79:return IXe(e)?"split-block":null;case 84:return kXe&&IXe(e)?"transpose-characters":null;case 85:return EXe(e)?"underline":null;case 87:return kXe&&IXe(e)?"backspace-word":null;case 89:return IXe(e)?kXe?"secondary-paste":"redo":null;case 90:return function(e){return EXe(e)?e.shiftKey?"redo":"undo":null}(e)||null;case _Xe.RETURN:return"split-block";case _Xe.DELETE:return function(e){return!kXe&&e.shiftKey?null:OXe(e)?"delete-word":"delete"}(e);case _Xe.BACKSPACE:return function(e){return EXe(e)&&kXe?"backspace-to-start-of-line":OXe(e)?"backspace-word":"backspace"}(e);case _Xe.LEFT:return CXe&&EXe(e)?"move-selection-to-start-of-block":null;case _Xe.RIGHT:return CXe&&EXe(e)?"move-selection-to-end-of-block":null;default:return null}},NXe=UH;function DXe(){return DXe=NXe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DXe.apply(this,arguments)}function AXe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){MXe(e,t,n[t])}))}return e}function PXe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jXe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var RXe=zVe,LXe=BVe,FXe=OHe,zXe=sYe,BXe=qYe,UXe=mXe,qXe=gXe,VXe=wXe,KXe=aVe,HXe=o,WXe=NWe,GXe=zWe,YXe=RVe,QXe=tBe,$Xe=TXe,JXe=GWe,ZXe=qUe,XXe=Hze,e0e=qKe,t0e=Rqe,n0e=wKe.isBrowser("IE"),r0e=!n0e,i0e={edit:UXe,composite:FXe,drag:BXe,cut:null,render:null},o0e=!1,a0e=function(e){function t(){return e.apply(this,arguments)||this}jXe(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(HXe.Component),s0e=function(e){function t(t){var n;return MXe(PXe(n=e.call(this,t)||this),"_blockSelectEvents",void 0),MXe(PXe(n),"_clipboard",void 0),MXe(PXe(n),"_handler",void 0),MXe(PXe(n),"_dragCount",void 0),MXe(PXe(n),"_internalDrag",void 0),MXe(PXe(n),"_editorKey",void 0),MXe(PXe(n),"_placeholderAccessibilityID",void 0),MXe(PXe(n),"_latestEditorState",void 0),MXe(PXe(n),"_latestCommittedEditorState",void 0),MXe(PXe(n),"_pendingStateFromBeforeInput",void 0),MXe(PXe(n),"_onBeforeInput",void 0),MXe(PXe(n),"_onBlur",void 0),MXe(PXe(n),"_onCharacterData",void 0),MXe(PXe(n),"_onCompositionEnd",void 0),MXe(PXe(n),"_onCompositionStart",void 0),MXe(PXe(n),"_onCopy",void 0),MXe(PXe(n),"_onCut",void 0),MXe(PXe(n),"_onDragEnd",void 0),MXe(PXe(n),"_onDragOver",void 0),MXe(PXe(n),"_onDragStart",void 0),MXe(PXe(n),"_onDrop",void 0),MXe(PXe(n),"_onInput",void 0),MXe(PXe(n),"_onFocus",void 0),MXe(PXe(n),"_onKeyDown",void 0),MXe(PXe(n),"_onKeyPress",void 0),MXe(PXe(n),"_onKeyUp",void 0),MXe(PXe(n),"_onMouseDown",void 0),MXe(PXe(n),"_onMouseUp",void 0),MXe(PXe(n),"_onPaste",void 0),MXe(PXe(n),"_onSelect",void 0),MXe(PXe(n),"editor",void 0),MXe(PXe(n),"editorContainer",void 0),MXe(PXe(n),"focus",void 0),MXe(PXe(n),"blur",void 0),MXe(PXe(n),"setMode",void 0),MXe(PXe(n),"exitCurrentMode",void 0),MXe(PXe(n),"restoreEditorDOM",void 0),MXe(PXe(n),"setClipboard",void 0),MXe(PXe(n),"getClipboard",void 0),MXe(PXe(n),"getEditorKey",void 0),MXe(PXe(n),"update",void 0),MXe(PXe(n),"onDragEnter",void 0),MXe(PXe(n),"onDragLeave",void 0),MXe(PXe(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),MXe(PXe(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=GXe.getScrollParent(i),a=e||JXe(o),s=a.x,u=a.y;e0e(i)||("production"!==Cs.env.NODE_ENV?XXe(!1,"editorNode is not an HTMLElement"):XXe(!1)),i.focus(),o===window?window.scrollTo(s,u):WXe.setTop(o,u),r||n.update(KXe.forceSelection(t,t.getSelection()))}})),MXe(PXe(n),"blur",(function(){var e=n.editor;e&&(e0e(e)||("production"!==Cs.env.NODE_ENV?XXe(!1,"editorNode is not an HTMLElement"):XXe(!1)),e.blur())})),MXe(PXe(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=AXe({},i0e.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=AXe({},i0e,{edit:a});n._handler=s[e]})),MXe(PXe(n),"exitCurrentMode",(function(){n.setMode("edit")})),MXe(PXe(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),MXe(PXe(n),"setClipboard",(function(e){n._clipboard=e})),MXe(PXe(n),"getClipboard",(function(){return n._clipboard})),MXe(PXe(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),MXe(PXe(n),"onDragEnter",(function(){n._dragCount++})),MXe(PXe(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=t.editorKey||QXe(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},"production"!==Cs.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),n.state={contentsKey:0},n}jXe(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(qXe?qXe((function(){return r(t,n)})):r(t,n))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:t0e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return HXe.createElement(VXe,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,u=e.readOnly,c=e.textAlignment,l=e.textDirectionality,d=YXe({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:AXe({},LXe,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:l};return HXe.createElement("div",{className:d},this._renderPlaceholder(),HXe.createElement("div",{className:YXe("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},HXe.createElement("div",{"aria-activedescendant":u?null:this.props.ariaActiveDescendantID,"aria-autocomplete":u?null:this.props.ariaAutoComplete,"aria-controls":u?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":u?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":u?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:YXe({notranslate:!u,"public/DraftEditor/content":!0}),contentEditable:!u,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:u?null:f,spellCheck:r0e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},HXe.createElement(a0e,{editor:this,editorState:a}),HXe.createElement(zXe,DXe({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!o0e&&ZXe("draft_ods_enabled")&&(o0e=!0),this.setMode("edit"),n0e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Fe.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(HXe.Component);MXe(s0e,"defaultProps",{blockRenderMap:RXe,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:$Xe,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var u0e=s0e,c0e=Be(Object.freeze({__proto__:null})),l0e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},d0e=l0e,f0e=DQe.strlen;var p0e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(r,i){var o=e.getText(),a=e.getEntityAt(r);n.push({offset:f0e(o.slice(0,r)),length:f0e(o.slice(r,i)),key:Number(t[d0e.stringify(a)])})})),n},h0e=DQe,m0e=oze,g0e=function(e,t){return e===t},v0e=function(e){return!!e},y0e=[];var b0e=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var r=[],i=t.map((function(e){return e.has(n)})).toList();return m0e(i,g0e,v0e,(function(t,i){var o=e.getText();r.push({offset:h0e.strlen(o.slice(0,t)),length:h0e.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(y0e,n.toJS())};function w0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x0e=bze,_0e=Mze,S0e=l0e,k0e=p0e,C0e=b0e,E0e=Hze,I0e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:C0e(e),entityRanges:k0e(e,t),data:e.getData().toObject()}},O0e=function(e,t,n,r){if(e instanceof x0e)n.push(I0e(e,t));else{e instanceof _0e||("production"!==Cs.env.NODE_ENV?E0e(!1,"block is not a BlockNode"):E0e(!1));var i=e.getParentKey(),o=r[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){w0e(e,t,n[t])}))}return e}({},I0e(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},T0e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],i={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),i=S0e.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),O0e(e,n,r,i)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,i={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(S0e.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function N0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){D0e(e,t,n[t])}))}return e}function D0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A0e=tBe,P0e=Hze,M0e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},j0e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Cs.env.NODE_ENV?P0e(!1,"Invalid raw state"):P0e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var i=r.children;Array.isArray(i)||("production"!==Cs.env.NODE_ENV?P0e(!1,"Invalid tree raw block"):P0e(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=N0e({},e);M0e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?N0e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,N0e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=M0e(e),i=e.depth||0,o=N0e({},e,{children:[]});if(r){var a=n[0];if(null==a&&0===i)t.push(o);else if(null==a||a.depth<i-1){var s={key:A0e(),text:"",depth:i-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===i?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===i-1)a.children.push(o);else{for(;null!=a&&a.depth>=i;)n.shift(),a=n[0];i>0?a.children.push(o):t.push(o)}}else t.push(o)})),N0e({},e,{blocks:t})}},R0e=j0e,L0e=jQe,F0e={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is missing parent -> child pointer on %s",n),!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==n)return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==i&&i===o?("production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Cs.env.NODE_ENV&&L0e(!0,"Leaf node %s has children",n),!1)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return"production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),i=[];null!=r;){var o=e.get(r),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var u=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==Cs.env.NODE_ENV&&L0e(!0,"%s has no first child",r),!1;r=u.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Cs.env.NODE_ENV&&L0e(!0,"Tree is not connected. %s nodes were seen instead of %s",n,e.size),!1)},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}},z0e=F0e,B0e=ize,U0e=HFe.exports.List;var q0e=function(e,t){var n=e.map((function(e,n){var r=t[n];return B0e.create({style:e,entity:r})}));return U0e(n)},V0e=DQe.substr;var K0e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=V0e(e,0,t.offset).length,i=r+V0e(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},H0e=DQe,W0e=HFe.exports.OrderedSet,G0e=H0e.substr,Y0e=W0e();var Q0e=function(e,t){var n=Array(e.length).fill(Y0e);return t&&t.forEach((function(t){for(var r=G0e(e,0,t.offset).length,i=r+G0e(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function $0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){J0e(e,t,n[t])}))}return e}function J0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z0e=bze,X0e=Mze,e1e=fqe,t1e=zUe,n1e=R0e,r1e=z0e,i1e=UUe,o1e=q0e,a1e=K0e,s1e=Q0e,u1e=tBe,c1e=HFe.exports,l1e=Hze,d1e=qUe("draft_tree_data_support"),f1e=c1e.List,p1e=c1e.Map,h1e=c1e.OrderedMap,m1e=function(e,t){var n=e.key,r=e.type,i=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||u1e(),data:p1e(i),characterList:g1e(e,t)}},g1e=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return o1e(s1e(n,i||[]),a1e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return $0e({},e,{key:t[e.key]})}))))},v1e=function(e){return $0e({},e,{key:e.key||u1e()})},y1e=function(e,t,n){var r=t.map((function(e){return $0e({},e,{parentRef:n})}));return e.concat(r.reverse())},b1e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=d1e&&!n?n1e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!d1e)return function(e,t){return h1e(e.map((function(e){var n=new Z0e(m1e(e,t));return[n.getKey(),n]})))}(n?n1e.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(v1e).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Cs.env.NODE_ENV?l1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):l1e(!1));var o=r.children.map(v1e),a=new X0e($0e({},m1e(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:f1e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=y1e([],o,a);s.length>0;){var u=s.pop(),c=u.parentRef,l=c.getChildKeys(),d=l.indexOf(u.key),f=Array.isArray(u.children);if(!f){f||("production"!==Cs.env.NODE_ENV?l1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):l1e(!1));break}var p=u.children.map(v1e),h=new X0e($0e({},m1e(u,t),{parent:c.getKey(),children:f1e(p.map((function(e){return e.key}))),prevSibling:0===d?null:l.get(d-1),nextSibling:d===l.size-1?null:l.get(d+1)}));n=n.set(h.getKey(),h),s=y1e(s,p,h)}return n}),h1e())}(r,t);return"production"!==Cs.env.NODE_ENV&&(r1e.isValidTree(i)||("production"!==Cs.env.NODE_ENV?l1e(!1,"Should be a valid tree"):l1e(!1))),i},w1e=function(e){Array.isArray(e.blocks)||("production"!==Cs.env.NODE_ENV?l1e(!1,"invalid RawDraftContentState"):l1e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],i=r.type,o=r.mutability,a=r.data;n[e]=t1e.__create(i,o,a||{})})),n}(e),n=b1e(e,t),r=n.isEmpty()?new i1e:i1e.createEmpty(n.first().getKey());return new e1e({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},x1e=h$e;var _1e=function(e){var t=x1e(e),n=0,r=0,i=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,i=a.bottom,o=a.left}else{var s=t[0];n=s.top,r=s.right,i=s.bottom,o=s.left}for(var u=1;u<t.length;u++){var c=t[u];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}};var S1e={Editor:u0e,EditorBlock:WGe,EditorState:aVe,CompositeDecorator:MVe,Entity:zUe,EntityInstance:TUe,BlockMapBuilder:YFe,CharacterMetadata:ize,ContentBlock:bze,ContentState:fqe,RawDraftContentState:c0e,SelectionState:UUe,AtomicBlockUtils:DVe,KeyBindingUtil:a$e,Modifier:fUe,RichUtils:FZe,DefaultDraftBlockRenderMap:zVe,DefaultDraftInlineStyle:BVe,convertFromHTML:vZe,convertFromRaw:w1e,convertToRaw:T0e,genKey:tBe,getDefaultKeyBinding:TXe,getVisibleSelectionRect:function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=_1e(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r}},k1e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset};o.createElement("p",null),o.createElement("p",null),o.createElement("h1",null),o.createElement("h2",null),o.createElement("h3",null),o.createElement("h4",null),o.createElement("h5",null),o.createElement("h6",null),o.createElement("blockquote",null),o.createElement("li",null),o.createElement("ul",null),o.createElement("li",null),o.createElement("figure",null),o.createElement("figure",null);var C1e={exports:{}};C1e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:G(e)}function r(e){return s(e)?e:Y(e)}function i(e){return u(e)?e:Q(e)}function o(e){return a(e)&&!c(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function S(e){e&&(e.value=!0)}function k(){}function C(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function E(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function I(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function O(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function N(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var P=0,M=1,j=2,R="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",F=R||L;function z(e){this.next=e}function B(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function U(){return{value:void 0,done:!0}}function q(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function K(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(R&&e[R]||e[L]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function G(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=P,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[F]=function(){return this},t(G,n),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(e,t){return de(this,e,t,!0)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,G),Y.prototype.toKeyedSeq=function(){return this},t(Q,G),Q.of=function(){return Q(arguments)},Q.prototype.toIndexedSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq [","]")},Q.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Q.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t($,G),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},G.isSeq=oe,G.Keyed=Y,G.Set=$,G.Indexed=Q;var J,Z,X,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return J||(J=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new ie(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return W(e)?new te(e):V(e)?new ie(e):q(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new z((function(){var e=i[n?o-a:a];return a++>o?U():B(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Q(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Q(e).map(me).toList():ge(e)?Y(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(X)return X;X=this}}function _e(){throw TypeError("Abstract")}function Se(){}function ke(){}function Ce(){}G.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[I(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new z((function(){return i>r?U():B(e,i,n[t?r-i++:i++])}))},t(ne,Y),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new z((function(){var a=r[t?i-o:o];return o++>i?U():B(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(V(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!V(n))return new z(U);var r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value)}))},t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new z((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return B(e,i,r[i++])}))},t(be,Q),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:new be(this._value,D(t,n)-N(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,r=0;return new z((function(){return r<n.size?B(e,r++,n._value):U()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,Q),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+I(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=N(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new z((function(){var a=i;return i+=t?-r:r,o>n?U():B(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Se,_e),t(ke,_e),t(Ce,_e),_e.Keyed=Se,_e.Indexed=ke,_e.Set=Ce;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ie(e){return e>>>1&1073741824|3221225471&e}function Oe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ie(n)}if("string"===t)return e.length>ze?Te(e):Ne(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Ne(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=qe[e];return void 0===t&&(t=Ne(e),Ue===Be&&(Ue=0,qe={}),Ue++,qe[e]=t),t}function Ne(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ie(t)}function De(e){var t;if(Re&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Pe){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),Re)je.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pe)Object.defineProperty(e,Fe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Ae=Object.isExtensible,Pe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Me(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var je,Re="function"==typeof WeakMap;Re&&(je=new WeakMap);var Le=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var ze=16,Be=255,Ue=0,qe={};function Ve(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?it():He(e)&&!l(e)?e:it().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ge])}t(Ke,Se),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return ot(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return ot(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},Ke.prototype.merge=function(){return ft(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return ft(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return qt(dn(this,e))},Ke.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ke.isMap=He;var We,Ge="@@__IMMUTABLE_MAP__@@",Ye=Ke.prototype;function Qe(e,t){this.ownerID=e,this.entries=t}function $e(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Je(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Xe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return B(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var i=Object.create(Ye);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return We||(We=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===b?e:(S(s),S(a),new Xe(t,r,[i,o]))}function st(e){return e.constructor===Xe||e.constructor===Ze}function ut(e,t,n,r,i){if(e.keyHash===r)return new Ze(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new $e(t,1<<a|1<<s,a===s?[ut(e,t,n+g,r,i)]:(o=new Xe(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Xe(e,Oe(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function lt(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new $e(e,i,a)}function dt(e,t,n,r,i){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Je(e,o+1,a)}function ft(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],u=r(s);a(s)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return ve(t,i)?t:i}}function mt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var u=o.value,c=i?b:e.get(u,b),l=gt(c,t,n,r);return l===c?e:l===b?e.remove(u):(i?it():e).set(u,l)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var i=r?e:C(e);return i[t]=n,i}function bt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ye[Ge]=!0,Ye[m]=Ye.remove,Ye.removeIn=Ye.deleteIn,Qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Qe.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),!s||1!==u.length){if(!d&&!s&&u.length>=xt)return ct(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Qe(e,p)}},$e.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},$e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===b)return this;var d=vt(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=_t)return dt(e,f,c,s,h);if(l&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=l?h?c:c^u:c|u,w=l?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new $e(e,v,w)},Je.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Je.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=i===b,c=this.nodes,l=c[s];if(u&&!l)return this;var d=at(l,e,t+g,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<St)return lt(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Je(e,f,h)},Ze.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=i===b;if(n!==this.keyHash)return s?this:(S(a),S(o),ut(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),s&&2===l)return new Xe(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Ze(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Xe.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,u=ve(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(S(a),s?void S(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Xe(e,this.keyHash,[r,i]):(S(o),ut(this,e,t,Oe(r),[r,i])))},Qe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},$e.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Xe.prototype.iterate=function(e,t){return e(this.entry)},t(et,z),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return U()};var xt=v/4,_t=v/2,St=v/4;function kt(e){var t=Mt();if(null==e)return t;if(Ct(e))return e;var n=i(e),r=n.size;return 0===r?t:(Ve(r),r>0&&r<v?Pt(0,r,g,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ct(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=I(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return jt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return zt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){zt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return zt(this,1)},kt.prototype.merge=function(){return Bt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},kt.prototype.setSize=function(e){return zt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:zt(this,N(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=At(this,t);return new z((function(){var t=r();return t===Dt?U():B(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=At(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=Ct;var Et="@@__IMMUTABLE_LIST__@@",It=kt.prototype;function Ot(e,t){this.array=e,this.ownerID=t}It[Et]=!0,It[m]=It.remove,It.setIn=Ye.setIn,It.deleteIn=It.removeIn=Ye.removeIn,It.update=Ye.update,It.updateIn=Ye.updateIn,It.mergeIn=Ye.mergeIn,It.mergeDeepIn=Ye.mergeDeepIn,It.withMutations=Ye.withMutations,It.asMutable=Ye.asMutable,It.asImmutable=Ye.asImmutable,It.wasAltered=Ye.wasAltered,Ot.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new Ot([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ot.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Nt,Dt={};function At(e,t){var n=e._origin,r=e._capacity,i=Ut(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(u===c)return Dt;var e=t?--c:u++;return s&&s[e]}}function u(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>v&&(l=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===l)return Dt;var n=t?--l:c++;s=a(u&&u[n],i-g,o+(n<<i))}}}}function Pt(e,t,n,r,i,o,a){var s=Object.create(It);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Tt||(Tt=Pt(0,0,g))}function jt(e,t,n){if((t=I(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=_(x);return t>=Ut(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,o):i=Rt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Pt(e._origin,e._capacity,e._level,i,r):e}function Rt(e,t,n,r,i,o){var a,s=r>>>n&y,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=Rt(c,t,n-g,r,i,o);return l===c?e:((a=Lt(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(S(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new Ot(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=g);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=Ut(o),f=Ut(s);f>=1<<u+g;)c=new Ot(c&&c.array.length?[c]:[],r),u+=g;var p=e._tail,h=f<d?Ft(e,s-1):f>d?new Ot([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=u;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var w=a>>>u&y;if(w!==f>>>u&y)break;w&&(l+=(1<<u)*w),u-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Pt(a,s,u,c,h)}function Bt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var u=n[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Ut(e){return e<v?0:e-1>>>g<<g}function qt(e){return null==e?Ht():Vt(e)?e:Ht().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Vt(e){return He(e)&&l(e)}function Kt(e,t,n,r){var i=Object.create(qt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ht(){return Nt||(Nt=Kt(it(),Mt()))}function Wt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===b){if(!u)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Kt(r,i)}function Gt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function $t(e){this._iter=e,this.size=e.size}function Jt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var r=e.__iterator(t,n);return new z((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?P:M,n)},t}function Zt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(j,i);return new z((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return B(r,s,t.call(n,a[1],s,e),i)}))},r}function Xt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Jt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(j,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(t.call(n,l,c,e))return B(i,r?c:s++,l,o)}}))},i}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(l(e)?qt():Ke()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=yn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),T(t,n,i))return e;var o=N(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=I(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new z((function(){for(;a++<o;)i.next();if(++u>s)return U();var e=i.next();return r||t===M?e:B(t,u-1,t===P?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(j,i),s=!0;return new z((function(){if(!s)return U();var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?r===j?e:B(r,u,c,e):(s=!1,U())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(j,o),u=!0,c=0;return new z((function(){var e,o,l;do{if((e=s.next()).done)return r||i===M?e:B(i,c++,i===P?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return i===j?e:B(i,o,l,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||u(e)&&u(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?u(e,c+1):!1===r(e,n?i:o++,l)&&(s=!0),!s}),i)}return u(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],u=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===j&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:B(r,u++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return U()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(M,r),a=0;return new z((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?B(n,a++,t):B(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Y(o):u(e)?Q(o):$(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=bn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),K(i?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?U():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ve(e.size),E(e)}function yn(e){return s(e)?r:u(e)?i:o}function bn(e){return Object.create((s(e)?Y:u(e)?Q:$).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function Sn(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);In(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Ke(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(qt,Ke),qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ht()},qt.prototype.set=function(e,t){return Wt(this,e,t)},qt.prototype.remove=function(e){return Wt(this,e,b)},qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Vt,qt.prototype[h]=!0,qt.prototype[m]=qt.prototype.remove,t(Gt,Y),Gt.prototype.get=function(e,t){return this._iter.get(e,t)},Gt.prototype.has=function(e){return this._iter.has(e)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Gt.prototype.map=function(e,t){var n=this,r=Zt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Gt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Gt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),r=t?vn(this):0;return new z((function(){var i=n.next();return i.done?i:B(e,t?--r:r++,i.value,i)}))},Gt.prototype[h]=!0,t(Yt,Q),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value,t)}))},t(Qt,$),Qt.prototype.has=function(e){return this._iter.includes(e)},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){var t=n.next();return t.done?t:B(e,t.value,t.value,t)}))},t($t,Y),$t.prototype.entrySeq=function(){return this._iter.toSeq()},$t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},$t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return B(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Yt.prototype.cacheResult=Gt.prototype.cacheResult=Qt.prototype.cacheResult=$t.prototype.cacheResult=wn,t(Sn,Se),Sn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},Sn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Sn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Cn(this,it()))},Sn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Cn(this,n)},Sn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Cn(this,t)},Sn.prototype.wasAltered=function(){return this._map.wasAltered()},Sn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Sn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Sn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Cn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=Sn.prototype;function Cn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function En(e){return e._name||e.constructor.name||"Record"}function In(e,t){try{t.forEach(On.bind(void 0,e))}catch(e){}}function On(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?Rn():Nn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ye.removeIn,kn.merge=Ye.merge,kn.mergeWith=Ye.mergeWith,kn.mergeIn=Ye.mergeIn,kn.mergeDeep=Ye.mergeDeep,kn.mergeDeepWith=Ye.mergeDeepWith,kn.mergeDeepIn=Ye.mergeDeepIn,kn.setIn=Ye.setIn,kn.update=Ye.update,kn.updateIn=Ye.updateIn,kn.withMutations=Ye.withMutations,kn.asMutable=Ye.asMutable,kn.asImmutable=Ye.asImmutable,t(Tn,Ce),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Mn(this,this._map.clear())},Tn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Tn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Tn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Tn.isSet=Nn;var Dn,An="@@__IMMUTABLE_SET__@@",Pn=Tn.prototype;function Mn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function jn(e,t){var n=Object.create(Pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Dn||(Dn=jn(it()))}function Ln(e){return null==e?qn():Fn(e)?e:qn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Nn(e)&&l(e)}Pn[An]=!0,Pn[m]=Pn.remove,Pn.mergeDeep=Pn.merge,Pn.mergeDeepWith=Pn.mergeWith,Pn.withMutations=Ye.withMutations,Pn.asMutable=Ye.asMutable,Pn.asImmutable=Ye.asImmutable,Pn.__empty=Rn,Pn.__make=jn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=Fn;var zn,Bn=Ln.prototype;function Un(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qn(){return zn||(zn=Un(Ht()))}function Vn(e){return null==e?Qn():Kn(e)?e:Qn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Un,t(Vn,ke),Vn.of=function(){return this(arguments)},Vn.prototype.toString=function(){return this.__toString("Stack [","]")},Vn.prototype.get=function(e,t){var n=this._head;for(e=I(this,e);n&&e--;)n=n.next;return n?n.value:t},Vn.prototype.peek=function(){return this._head&&this._head.value},Vn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yn(e,t)},Vn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Ve(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yn(t,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.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):Qn()},Vn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=N(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yn(r,i)},Vn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new z((function(){if(r){var t=r.value;return r=r.next,B(e,n++,t)}return U()}))},Vn.isStack=Kn;var Hn,Wn="@@__IMMUTABLE_STACK__@@",Gn=Vn.prototype;function Yn(e,t,n,r){var i=Object.create(Gn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qn(){return Hn||(Hn=Yn(0))}function $n(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Gn[Wn]=!0,Gn.withMutations=Ye.withMutations,Gn.asMutable=Ye.asMutable,Gn.asImmutable=Ye.asImmutable,Gn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){Ve(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Gt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(P)},map:function(e,t){return mn(this,Zt(this,e,t))},reduce:function(e,t,n){var r,i;return Ve(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Xt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(O)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(this,e,!0))},fromEntrySeq:function(){return new $t(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Xn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(this,t?nr(t):or,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Jn=n.prototype;Jn[d]=!0,Jn[F]=Jn.values,Jn.__toJS=Jn.toArray,Jn.__toStringMapper=rr,Jn.inspect=Jn.toSource=function(){return this.toString()},Jn.chain=Jn.flatMap,Jn.contains=Jn.includes,function(){try{Object.defineProperty(Jn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.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. "+e),this.size}}})}catch(e){}}(),$n(r,{flip:function(){return mn(this,Jt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Zn=r.prototype;function Xn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return C(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(Oe(e),Oe(t))|0}:function(e,t){r=r+ur(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}function sr(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ie((t=Ee(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Zn[f]=!0,Zn[F]=Jn.entries,Zn.__toJS=Jn.toObject,Zn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},$n(i,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Xt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=N(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=I(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=I(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,ln(this,e))},interleave:function(){var e=[this].concat(C(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(C(arguments))))},zipWith:function(e){var t=C(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!0,$n(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Jn.includes,$n(Y,r.prototype),$n(Q,i.prototype),$n($,o.prototype),$n(Se,r.prototype),$n(ke,i.prototype),$n(Ce,o.prototype),{Iterable:n,Seq:G,Collection:_e,Map:Ke,OrderedMap:qt,List:kt,Stack:Vn,Set:Tn,OrderedSet:Ln,Record:Sn,Range:xe,Repeat:be,is:ve,fromJS:pe}}();var E1e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function I1e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=E1e(e)):t=E1e(e);return t.body}var O1e=new RegExp("\r","g"),T1e=new RegExp("\n","g"),N1e=new RegExp("&nbsp;","g"),D1e=new RegExp("\r","g"),A1e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],P1e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},M1e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},j1e=function(e,t,n){},R1e=function(e,t,n){return n},L1e=function(e,t){},F1e=function(e){return[]},z1e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function B1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:C1e.exports.Map();return!0===n?{text:"\r",inlines:[C1e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[C1e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function U1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C1e.exports.Map();return{text:"\r",inlines:[C1e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function q1e(e,t){switch(e){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===t?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function V1e(e,t,n){return q1e(e,n)}function K1e(e,t,n){var r=P1e[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var i=t;n=n.withMutations((function(e){"bold"===i.style.fontWeight&&e.add("BOLD"),"italic"===i.style.fontStyle&&e.add("ITALIC"),"underline"===i.style.textDecoration&&e.add("UNDERLINE"),"line-through"===i.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function H1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C1e.exports.OrderedSet();return K1e(e,t,n)}function W1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.text.slice(0,1),i=e.text.slice(-1),o="\r"===i&&"\r"===r,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(" "===t.text||"\n"===t.text)return e;" "!==r&&"\n"!==r||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var u=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:u}}function G1e(e,t,n,r,i,o,a,s,u,c,l,d,f,p,h,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==r)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:" ",inlines:[C1e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(b=b.replace(T1e," "));var w=Array(b.length).fill(m),x=0;return u(b,l,d,f,p).sort(k1e).forEach((function(e){var t=e.entity,n=e.offset,r=e.length,i=e.result,o=n+x;null==i&&(i=b.substr(o,r));var a=b.split("");a.splice.bind(a,o,r).apply(a,i.split("")),b=a.join(""),w.splice.bind(w,o,r).apply(w,Array(i.length).fill(t)),x+=i.length-r})),{text:b,inlines:Array(b.length).fill(t),entities:w,blocks:[]}}if("br"===g){var _=r;return null===_?B1e("unstyled",o,!0):B1e(_||"unstyled",o,h.flat)}var S={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=K1e(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,r=null);var k,C,E=c(g,e,n,r);if(!1===E)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(E=E||{})?(k=E,C=C1e.exports.Map()):(k="string"==typeof E?E:E.type,C=E.data?C1e.exports.Map(E.data):C1e.exports.Map()),r||-1===i.indexOf(g)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==g)r&&"atomic"!==r&&"atomic"===k&&(r=k,v=!0,S=B1e(k,o,!0,C));else{var I=q1e(g,n);S=U1e(I,o),r=I,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else S=U1e(k||q1e(g,n),o,C),r=k||q1e(g,n),v=!0;var O=e.firstChild;null!=O||!m||"atomic"!==k&&"atomic"!==r||(O=document.createTextNode("a")),null!=O&&(g=O.nodeName.toLowerCase());for(var T=null;O;){T=s(g,O,l,d,f,p),S=W1e(S,G1e(O,t,n,r,i,o,a,s,u,c,l,d,f,p,h,T||m),h.flat);var N=O.nextSibling;if(N&&i.indexOf(g)>=0&&r){var D=c(g,O,n,r),A=void 0,P=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,P=C1e.exports.Map()):(A=D.type||q1e(g,n),P=D.data?C1e.exports.Map(D.data):C1e.exports.Map()),S=W1e(S,B1e(A,o,h.flat,P),h.flat))}N&&(g=N.nodeName.toLowerCase()),O=N}return v&&(S=W1e(S,U1e(y,o,C1e.exports.Map()),h.flat)),S}function Y1e(e,t,n,r,i,o,a,s,u,c,l){var d=l(e=e.trim().replace(O1e,"").replace(N1e," "));if(!d)return null;var f=function(e){return A1e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?A1e.concat(["div"]):["div"],p=G1e(d,C1e.exports.OrderedSet(),"ul",null,f,-1,t,n,r,i,o,a,s,u,c);return 0===p.text.indexOf("\r")&&(p={text:p.text.slice(1),inlines:p.inlines.slice(1),entities:p.entities.slice(1),blocks:p.blocks}),"\r"===p.text.slice(-1)&&(p.text=p.text.slice(0,-1),p.inlines=p.inlines.slice(0,-1),p.entities=p.entities.slice(0,-1),p.blocks.pop()),0===p.blocks.length&&p.blocks.push({type:"unstyled",data:C1e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:C1e.exports.Map(),depth:0}),p}function Q1e(e,t,n,r,i,o,a,s,u,c,l,d){var f=Y1e(e,t,n,r,i,o,a,s,u,c,l);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(D1e,"");var n=p+e.length,r=z1e(f).inlines.slice(p,n),i=z1e(f).entities.slice(p,n),o=C1e.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),S1e.CharacterMetadata.create(n)})));return p=n+1,new S1e.ContentBlock({key:d(),type:z1e(f).blocks[t].type,data:z1e(f).blocks[t].data,depth:z1e(f).blocks[t].depth,text:e,characterList:o})}))}var $1e=function(e){var t=e.htmlToStyle,n=void 0===t?R1e:t,r=e.htmlToEntity,i=void 0===r?L1e:r,o=e.textToEntity,a=void 0===o?F1e:o,s=e.htmlToBlock,u=void 0===s?j1e:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I1e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:S1e.genKey,s=S1e.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():S1e.Entity.create.apply(S1e.Entity,arguments)},l=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):S1e.Entity.get.apply(S1e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):S1e.Entity.mergeData.apply(S1e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):S1e.Entity.replaceData.apply(S1e.Entity,arguments)},p=Q1e(e,M1e(n,H1e),M1e(i,L1e),M1e(a,F1e),M1e(u,V1e),c,l,d,f,t,r,o),h=S1e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:h,selectionBefore:S1e.SelectionState.createEmpty(m),selectionAfter:S1e.SelectionState.createEmpty(m)})}};nG('/**\n * Draft v0.11.6\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}');var J1e={};function Z1e(e){e&&(e.value=!0)}function X1e(){}function e2e(e){return void 0===e.size&&(e.size=e.__iterate(n2e)),e.size}function t2e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?e2e(e)+t:t}function n2e(){return!0}function r2e(e,t,n){return(0===e&&!s2e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function i2e(e,t){return a2e(e,t,0)}function o2e(e,t){return a2e(e,t,t)}function a2e(e,t,n){return void 0===e?n:s2e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function s2e(e){return e<0||0===e&&1/e==-1/0}function u2e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function c2e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function l2e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function d2e(e){return c2e(e)||l2e(e)}var f2e=function(e){return u2e(e)?e:A2e(e)},p2e=function(e){function t(e){return c2e(e)?e:P2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(f2e),h2e=function(e){function t(e){return l2e(e)?e:M2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(f2e),m2e=function(e){function t(e){return u2e(e)&&!d2e(e)?e:j2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(f2e);f2e.Keyed=p2e,f2e.Indexed=h2e,f2e.Set=m2e;function g2e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function v2e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function y2e(e){return u2e(e)||v2e(e)}var b2e="@@__IMMUTABLE_ORDERED__@@";function w2e(e){return Boolean(e&&e[b2e])}var x2e="function"==typeof Symbol&&Symbol.iterator,_2e=x2e||"@@iterator",S2e=function(e){this.next=e};function k2e(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function C2e(){return{value:void 0,done:!0}}function E2e(e){return!!T2e(e)}function I2e(e){return e&&"function"==typeof e.next}function O2e(e){var t=T2e(e);return t&&t.call(e)}function T2e(e){var t=e&&(x2e&&e[x2e]||e["@@iterator"]);if("function"==typeof t)return t}S2e.prototype.toString=function(){return"[Iterator]"},S2e.KEYS=0,S2e.VALUES=1,S2e.ENTRIES=2,S2e.prototype.inspect=S2e.prototype.toSource=function(){return this.toString()},S2e.prototype[_2e]=function(){return this};var N2e=Object.prototype.hasOwnProperty;function D2e(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var A2e=function(e){function t(e){return null==e?B2e():y2e(e)?e.toSeq():function(e){var t=V2e(e);if(t)return t;if("object"==typeof e)return new L2e(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var r=n.length,i=0;i!==r;){var o=n[t?r-++i:i++];if(!1===e(o[1],o[0],this))break}return i}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,i=0;return new S2e((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return k2e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(f2e),P2e=function(e){function t(e){return null==e?B2e().toKeyedSeq():u2e(e)?c2e(e)?e.toSeq():e.fromEntrySeq():v2e(e)?e.toSeq():U2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(A2e),M2e=function(e){function t(e){return null==e?B2e():u2e(e)?c2e(e)?e.entrySeq():e.toIndexedSeq():v2e(e)?e.toSeq().entrySeq():q2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(A2e),j2e=function(e){function t(e){return(u2e(e)&&!d2e(e)?e:M2e(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(A2e);A2e.isSeq=g2e,A2e.Keyed=P2e,A2e.Set=j2e,A2e.Indexed=M2e,A2e.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var R2e=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[t2e(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,i=0;i!==r;){var o=t?r-++i:i++;if(!1===e(n[o],o,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,i=0;return new S2e((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return k2e(e,o,n[o])}))},t}(M2e),L2e=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return N2e.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length,o=0;o!==i;){var a=r[t?i-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length,o=0;return new S2e((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return k2e(e,a,n[a])}))},t}(P2e);L2e.prototype[b2e]=!0;var F2e,z2e=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=O2e(this._collection),r=0;if(I2e(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=O2e(this._collection);if(!I2e(n))return new S2e(C2e);var r=0;return new S2e((function(){var t=n.next();return t.done?t:k2e(e,r++,t.value)}))},t}(M2e);function B2e(){return F2e||(F2e=new R2e([]))}function U2e(e){var t=Array.isArray(e)?new R2e(e):E2e(e)?new z2e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new L2e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function q2e(e){var t=V2e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function V2e(e){return D2e(e)?new R2e(e):E2e(e)?new z2e(e):void 0}function K2e(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function H2e(e){return K2e(e)&&w2e(e)}function W2e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function G2e(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(W2e(e)&&W2e(t)&&e.equals(t))}var Y2e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Q2e(e){return e>>>1&1073741824|3221225471&e}var $2e=Object.prototype.valueOf;function J2e(e){switch(typeof e){case"boolean":return e?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return Q2e(t)}(e);case"string":return e.length>o4e?function(e){var t=u4e[e];void 0===t&&(t=Z2e(e),s4e===a4e&&(s4e=0,u4e={}),s4e++,u4e[e]=t);return t}(e):Z2e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?Q2e(e.hashCode(e)):(e.valueOf!==$2e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(n4e&&void 0!==(t=t4e.get(e)))return t;if(void 0!==(t=e[i4e]))return t;if(!e4e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[i4e]))return t;if(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e),void 0!==t)return t}t=++r4e,1073741824&r4e&&(r4e=0);if(n4e)t4e.set(e,t);else{if(void 0!==X2e&&!1===X2e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(e4e)Object.defineProperty(e,i4e,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[i4e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[i4e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Z2e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Z2e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Q2e(t)}var X2e=Object.isExtensible,e4e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var t4e,n4e="function"==typeof WeakMap;n4e&&(t4e=new WeakMap);var r4e=0,i4e="__immutablehash__";"function"==typeof Symbol&&(i4e=Symbol(i4e));var o4e=16,a4e=255,s4e=0,u4e={},c4e=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=m4e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=h4e(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(P2e);c4e.prototype[b2e]=!0;var l4e=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,r=0;return t&&e2e(this),this._iter.__iterate((function(i){return e(i,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(1,t),i=0;return t&&e2e(this),new S2e((function(){var o=r.next();return o.done?o:k2e(e,t?n.size-++i:i++,o.value,o)}))},t}(M2e),d4e=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new S2e((function(){var t=n.next();return t.done?t:k2e(e,t.value,t.value,t)}))},t}(j2e),f4e=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){E4e(t);var r=u2e(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new S2e((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){E4e(r);var i=u2e(r);return k2e(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(P2e);function p4e(e){var t=O4e(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=T4e,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new S2e((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function h4e(e,t,n){var r=O4e(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,J1e);return o===J1e?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(2,i);return new S2e((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return k2e(r,s,t.call(n,a[1],s,e),i)}))},r}function m4e(e,t){var n=this,r=O4e(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=p4e(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=T4e,r.__iterate=function(n,r){var i=this,o=0;return r&&e2e(e),e.__iterate((function(e,a){return n(e,t?a:r?i.size-++o:o++,i)}),!r)},r.__iterator=function(r,i){var o=0;i&&e2e(e);var a=e.__iterator(2,!i);return new S2e((function(){var e=a.next();if(e.done)return e;var s=e.value;return k2e(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function g4e(e,t,n,r){var i=O4e(e);return r&&(i.has=function(r){var i=e.get(r,J1e);return i!==J1e&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,J1e);return o!==J1e&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(2,o),s=0;return new S2e((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return k2e(i,r?c:s++,l,o)}}))},i}function v4e(e,t,n,r){var i=e.size;if(r2e(t,n,i))return e;var o=i2e(t,i),a=o2e(n,i);if(o!=o||a!=a)return v4e(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=O4e(e);return c.size=0===s?s:e.size&&s||void 0,!r&&g2e(e)&&s>=0&&(c.get=function(t,n){return(t=t2e(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new S2e(C2e);var i=e.__iterator(t,n),a=0,u=0;return new S2e((function(){for(;a++<o;)i.next();if(++u>s)return{value:void 0,done:!0};var e=i.next();return r||1===t||e.done?e:k2e(t,u-1,0===t?void 0:e.value[1],e)}))},c}function y4e(e,t,n,r){var i=O4e(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),u=!0,c=0;return new S2e((function(){var e,o,l;do{if((e=s.next()).done)return r||1===i?e:k2e(i,c++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return 2===i?e:k2e(i,o,l,e)}))},i}function b4e(e,t){var n=c2e(e),r=[e].concat(t).map((function(e){return u2e(e)?n&&(e=p2e(e)):e=n?U2e(e):q2e(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var i=r[0];if(i===e||n&&c2e(i)||l2e(e)&&l2e(i))return i}var o=new R2e(r);return n?o=o.toKeyedSeq():l2e(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function w4e(e,t,n){var r=O4e(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(u,c){u.__iterate((function(o,u){return(!t||c<t)&&u2e(o)?e(o,c+1):(a++,!1===i(o,n?u:a-1,r)&&(s=!0)),!s}),o)}(e,0),a},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e.__iterator(r,i),a=[],s=0;return new S2e((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(2===r&&(u=u[1]),t&&!(a.length<t)||!u2e(u))return n?e:k2e(r,s++,u,e);a.push(o),o=u.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function x4e(e,t,n){t||(t=N4e);var r=c2e(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?P2e(o):l2e(e)?M2e(o):j2e(o)}function _4e(e,t,n){if(t||(t=N4e),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return S4e(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return S4e(t,e,n)?n:e}))}function S4e(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function k4e(e,t,n,r){var i=O4e(e),o=new R2e(n).map((function(e){return e.size}));return i.size=r?o.max():o.min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=n.map((function(e){return e=f2e(e),O2e(i?e.reverse():e)})),a=0,s=!1;return new S2e((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:k2e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function C4e(e,t){return e===t?e:g2e(e)?t:e.constructor(t)}function E4e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function I4e(e){return c2e(e)?p2e:l2e(e)?h2e:m2e}function O4e(e){return Object.create((c2e(e)?P2e:l2e(e)?M2e:j2e).prototype)}function T4e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):A2e.prototype.cacheResult.call(this)}function N4e(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function D4e(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function A4e(e,t){if(!e)throw new Error(t)}function P4e(e){A4e(e!==1/0,"Cannot perform this action with an infinite size.")}function M4e(e){if(D2e(e)&&"string"!=typeof e)return e;if(w2e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function j4e(e){return"object"==typeof e&&(y2e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function R4e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function L4e(e,t,n){return y2e(e)?e.get(t,n):function(e,t){return y2e(e)?e.has(t):j4e(e)&&N2e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function F4e(e){if(Array.isArray(e))return D4e(e);var t={};for(var n in e)N2e.call(e,n)&&(t[n]=e[n]);return t}function z4e(e,t,n,r){r||(r=n,n=void 0);var i=B4e(y2e(e),e,M4e(t),0,n,r);return i===J1e?n:i}function B4e(e,t,n,r,i,o){var a=t===J1e;if(r===n.length){var s=a?i:t,u=o(s);return u===s?t:u}if(!a&&!j4e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(R4e)+"]: "+t);var c=n[r],l=a?J1e:L4e(t,c,J1e),d=B4e(l===J1e?e:y2e(l),l,n,r+1,i,o);return d===l?t:d===J1e?function(e,t){if(!j4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(y2e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!N2e.call(e,t))return e;var n=F4e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!j4e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(y2e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(N2e.call(e,t)&&n===e[t])return e;var r=F4e(e);return r[t]=n,r}(a?e?p3e():{}:t,c,d)}function U4e(e,t){return function(e,t,n){return z4e(e,t,J1e,(function(){return n}))}(this,e,t)}function q4e(e){return function(e,t){return z4e(e,t,(function(){return J1e}))}(this,e)}function V4e(e,t,n,r){return z4e(e,[t],n,r)}function K4e(e,t,n){return 1===arguments.length?e(this):V4e(this,e,t,n)}function H4e(e,t,n){return z4e(this,e,t,n)}function W4e(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=p2e(t[i]);0!==o.size&&r.push(o)}return 0===r.length?e:0!==e.toSeq().size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var t=n?function(t,r){V4e(e,r,J1e,(function(e){return e===J1e?t:n(e,t,r)}))}:function(t,n){e.set(n,t)},i=0;i<r.length;i++)r[i].forEach(t)})):e.constructor(r[0])}function G4e(e,t,n){return Y4e(e,t,function(e){function t(n,r,i){return j4e(n)&&j4e(r)?Y4e(n,[r],t):e?e(n,r,i):r}return t}(n))}function Y4e(e,t,n){if(!j4e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(y2e(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var r=Array.isArray(e),i=e,o=r?h2e:p2e,a=r?function(t){i===e&&(i=F4e(i)),i.push(t)}:function(t,r){var o=N2e.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=F4e(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function Q4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return z4e(this,e,p3e(),(function(e){return Y4e(e,t)}))}function $4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return z4e(this,e,p3e(),(function(e){return G4e(e,t)}))}function J4e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Z4e(){return this.__ownerID?this:this.__ensureOwner(new X1e)}function X4e(){return this.__ensureOwner()}function e3e(){return this.__altered}l4e.prototype.cacheResult=c4e.prototype.cacheResult=d4e.prototype.cacheResult=f4e.prototype.cacheResult=T4e;var t3e=function(e){function t(t){return null==t?p3e():K2e(t)&&!w2e(t)?t:p3e().withMutations((function(n){var r=e(t);P4e(r.size),r.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return p3e().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return h3e(this,e,t)},t.prototype.remove=function(e){return h3e(this,e,J1e)},t.prototype.deleteAll=function(e){var t=f2e(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):p3e()},t.prototype.sort=function(e){return F3e(x4e(this,e))},t.prototype.sortBy=function(e,t){return F3e(x4e(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(r,i){n.set(i,e.call(t,r,i,n))}))}))},t.prototype.__iterator=function(e,t){return new c3e(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?f3e(this.size,this._root,e,this.__hash):0===this.size?p3e():(this.__ownerID=e,this.__altered=!1,this)},t}(p2e);t3e.isMap=K2e;var n3e=t3e.prototype;n3e["@@__IMMUTABLE_MAP__@@"]=!0,n3e.delete=n3e.remove,n3e.removeAll=n3e.deleteAll,n3e.setIn=U4e,n3e.removeIn=n3e.deleteIn=q4e,n3e.update=K4e,n3e.updateIn=H4e,n3e.merge=n3e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return W4e(this,e)},n3e.mergeWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return W4e(this,t,e)},n3e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return G4e(this,e)},n3e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return G4e(this,t,e)},n3e.mergeIn=Q4e,n3e.mergeDeepIn=$4e,n3e.withMutations=J4e,n3e.wasAltered=e3e,n3e.asImmutable=X4e,n3e["@@transducer/init"]=n3e.asMutable=Z4e,n3e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},n3e["@@transducer/result"]=function(e){return e.asImmutable()};var r3e=function(e,t){this.ownerID=e,this.entries=t};r3e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(G2e(n,i[o][0]))return i[o][1];return r},r3e.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===J1e,u=this.entries,c=0,l=u.length;c<l&&!G2e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(Z1e(a),(s||!d)&&Z1e(o),!s||1!==u.length){if(!d&&!s&&u.length>=w3e)return function(e,t,n,r){e||(e=new X1e);for(var i=new s3e(e,J2e(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:D4e(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new r3e(e,p)}};var i3e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};i3e.prototype.get=function(e,t,n,r){void 0===t&&(t=J2e(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[y3e(o&i-1)].get(e+5,t,n,r)},i3e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=J2e(r));var s=31&(0===t?n:n>>>t),u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===J1e)return this;var d=y3e(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=m3e(p,e,t+5,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=x3e)return function(e,t,n,r,i){for(var o=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new o3e(e,o+1,a)}(e,f,c,s,h);if(l&&!h&&2===f.length&&g3e(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&g3e(h))return h;var m=e&&e===this.ownerID,g=l?h?c:c^u:c|u,v=l?h?b3e(f,d,h,m):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}(f,d,m):function(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(f,d,h,m);return m?(this.bitmap=g,this.nodes=v,this):new i3e(e,g,v)};var o3e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};o3e.prototype.get=function(e,t,n,r){void 0===t&&(t=J2e(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},o3e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=J2e(r));var s=31&(0===t?n:n>>>t),u=i===J1e,c=this.nodes,l=c[s];if(u&&!l)return this;var d=m3e(l,e,t+5,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<_3e)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new i3e(e,i,a)}(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=b3e(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new o3e(e,f,h)};var a3e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};a3e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(G2e(n,i[o][0]))return i[o][1];return r},a3e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=J2e(r));var s=i===J1e;if(n!==this.keyHash)return s?this:(Z1e(a),Z1e(o),v3e(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!G2e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(Z1e(a),(s||!d)&&Z1e(o),s&&2===l)return new s3e(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:D4e(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new a3e(e,this.keyHash,p)};var s3e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};s3e.prototype.get=function(e,t,n,r){return G2e(n,this.entry[0])?this.entry[1]:r},s3e.prototype.update=function(e,t,n,r,i,o,a){var s=i===J1e,u=G2e(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(Z1e(a),s?void Z1e(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new s3e(e,this.keyHash,[r,i]):(Z1e(o),v3e(this,e,t,J2e(r),[r,i])))},r3e.prototype.iterate=a3e.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},i3e.prototype.iterate=o3e.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},s3e.prototype.iterate=function(e,t){return e(this.entry)};var u3e,c3e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&d3e(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,r=t.index++,i=void 0;if(n.entry){if(0===r)return l3e(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return l3e(e,n.entries[this._reverse?i-r:r])}else if(r<=(i=n.nodes.length-1)){var o=n.nodes[this._reverse?i-r:r];if(o){if(o.entry)return l3e(e,o.entry);t=this._stack=d3e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(S2e);function l3e(e,t){return k2e(e,t[0],t[1])}function d3e(e,t){return{node:e,index:0,__prev:t}}function f3e(e,t,n,r){var i=Object.create(n3e);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function p3e(){return u3e||(u3e=f3e(0))}function h3e(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=m3e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===J1e?-1:1:0)}else{if(n===J1e)return e;i=1,r=new r3e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?f3e(i,r):p3e()}function m3e(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===J1e?e:(Z1e(s),Z1e(a),new s3e(t,r,[i,o]))}function g3e(e){return e.constructor===s3e||e.constructor===a3e}function v3e(e,t,n,r,i){if(e.keyHash===r)return new a3e(t,r,[e.entry,i]);var o,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n),u=a===s?[v3e(e,t,n+5,r,i)]:(o=new s3e(t,r,i),a<s?[e,o]:[o,e]);return new i3e(t,1<<a|1<<s,u)}function y3e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function b3e(e,t,n,r){var i=r?e:D4e(e);return i[t]=n,i}var w3e=8,x3e=16,_3e=8;function S3e(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var k3e=function(e){function t(t){var n=D3e();if(null==t)return n;if(S3e(t))return t;var r=e(t),i=r.size;return 0===i?n:(P4e(i),i>0&&i<32?N3e(0,i,5,null,new E3e(r.toArray())):n.withMutations((function(e){e.setSize(i),r.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=t2e(this,e))>=0&&e<this.size){var n=M3e(this,e+=this._origin);return n&&n.array[31&e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=t2e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?j3e(e,t).set(0,n):j3e(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=R3e(e._capacity)?r=A3e(r,e.__ownerID,0,t,n,o):i=A3e(i,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return N3e(e._origin,e._capacity,e._level,i,r)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.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):D3e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){j3e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return j3e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){j3e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return j3e(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var i=t[r],o=e("string"!=typeof i&&E2e(i)?i:[i]);0!==o.size&&n.push(o)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return j3e(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var i=0;i<n.size;i++)r.set(i,e.call(t,r.get(i),i,r))}))},t.prototype.slice=function(e,t){var n=this.size;return r2e(e,t,n)?this:j3e(this,i2e(e,n),o2e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=T3e(this,t);return new S2e((function(){var i=r();return i===O3e?{value:void 0,done:!0}:k2e(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=T3e(this,t);(n=i())!==O3e&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?N3e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?D3e():(this.__ownerID=e,this.__altered=!1,this)},t}(h2e);k3e.isList=S3e;var C3e=k3e.prototype;C3e["@@__IMMUTABLE_LIST__@@"]=!0,C3e.delete=C3e.remove,C3e.merge=C3e.concat,C3e.setIn=U4e,C3e.deleteIn=C3e.removeIn=q4e,C3e.update=K4e,C3e.updateIn=H4e,C3e.mergeIn=Q4e,C3e.mergeDeepIn=$4e,C3e.withMutations=J4e,C3e.wasAltered=e3e,C3e.asImmutable=X4e,C3e["@@transducer/init"]=C3e.asMutable=Z4e,C3e["@@transducer/step"]=function(e,t){return e.push(t)},C3e["@@transducer/result"]=function(e){return e.asImmutable()};var E3e=function(e,t){this.array=e,this.ownerID=t};E3e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&31;if(r>=this.array.length)return new E3e([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!i)return this;var s=P3e(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},E3e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&31;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-5,n))===o&&i===this.array.length-1)return this}var a=P3e(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var I3e,O3e={};function T3e(e,t){var n=e._origin,r=e._capacity,i=R3e(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,u){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;c>32&&(c=32);return function(){if(u===c)return O3e;var e=t?--c:u++;return s&&s[e]}}(e,u):function(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);l>32&&(l=32);return function(){for(;;){if(s){var e=s();if(e!==O3e)return e;s=null}if(c===l)return O3e;var n=t?--l:c++;s=a(u&&u[n],i-5,o+(n<<i))}}}(e,s,u)}}function N3e(e,t,n,r,i,o,a){var s=Object.create(C3e);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function D3e(){return I3e||(I3e=N3e(0,0,5))}function A3e(e,t,n,r,i,o){var a,s=r>>>n&31,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=A3e(c,t,n-5,r,i,o);return l===c?e:((a=P3e(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(o&&Z1e(o),a=P3e(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function P3e(e,t){return t&&e&&t===e.ownerID?e:new E3e(e?e.array.slice():[],t)}function M3e(e,t){if(t>=R3e(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&31],r-=5;return n}}function j3e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new X1e,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new E3e(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=5);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=R3e(o),f=R3e(s);f>=1<<u+5;)c=new E3e(c&&c.array.length?[c]:[],r),u+=5;var p=e._tail,h=f<d?M3e(e,s-1):f>d?new E3e([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=P3e(c,r),g=u;g>5;g-=5){var v=d>>>g&31;m=m.array[v]=P3e(m.array[v],r)}m.array[d>>>5&31]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var y=a>>>u&31;if(y!==f>>>u&31)break;y&&(l+=(1<<u)*y),u-=5,c=c.array[y]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):N3e(a,s,u,c,h)}function R3e(e){return e<32?0:e-1>>>5<<5}var L3e,F3e=function(e){function t(e){return null==e?B3e():H2e(e)?e:B3e().withMutations((function(t){var n=p2e(e);P4e(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):B3e()},t.prototype.set=function(e,t){return U3e(this,e,t)},t.prototype.remove=function(e){return U3e(this,e,J1e)},t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?z3e(t,n,e,this.__hash):0===this.size?B3e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(t3e);function z3e(e,t,n,r){var i=Object.create(F3e.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function B3e(){return L3e||(L3e=z3e(p3e(),D3e()))}function U3e(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===J1e){if(!u)return e;a.size>=32&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):z3e(r,i)}F3e.isOrderedMap=H2e,F3e.prototype[b2e]=!0,F3e.prototype.delete=F3e.prototype.remove;function q3e(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var V3e=function(e){function t(e){return null==e?G3e():q3e(e)?e:G3e().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=t2e(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):W3e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&q3e(t))return t;P4e(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):W3e(n,r)},t.prototype.pop=function(){return this.slice(1)},t.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):G3e()},t.prototype.slice=function(t,n){if(r2e(t,n,this.size))return this;var r=i2e(t,this.size);if(o2e(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var i=this.size-r,o=this._head;r--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):W3e(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?W3e(this.size,this._head,e,this.__hash):0===this.size?G3e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new R2e(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,i=this._head;i&&!1!==e(i.value,r++,this);)i=i.next;return r},t.prototype.__iterator=function(e,t){if(t)return new R2e(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new S2e((function(){if(r){var t=r.value;return r=r.next,k2e(e,n++,t)}return{value:void 0,done:!0}}))},t}(h2e);V3e.isStack=q3e;var K3e,H3e=V3e.prototype;function W3e(e,t,n,r){var i=Object.create(H3e);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function G3e(){return K3e||(K3e=W3e(0))}H3e["@@__IMMUTABLE_STACK__@@"]=!0,H3e.shift=H3e.pop,H3e.unshift=H3e.push,H3e.unshiftAll=H3e.pushAll,H3e.withMutations=J4e,H3e.wasAltered=e3e,H3e.asImmutable=X4e,H3e["@@transducer/init"]=H3e.asMutable=Z4e,H3e["@@transducer/step"]=function(e,t){return e.unshift(t)},H3e["@@transducer/result"]=function(e){return e.asImmutable()};function Y3e(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function Q3e(e){return Y3e(e)&&w2e(e)}function $3e(e,t){if(e===t)return!0;if(!u2e(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||c2e(e)!==c2e(t)||l2e(e)!==l2e(t)||w2e(e)!==w2e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!d2e(e);if(w2e(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&G2e(i[1],e)&&(n||G2e(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,r){if(n?!e.has(t):i?!G2e(t,e.get(r,J1e)):!G2e(e.get(r,J1e),t))return a=!1,!1}));return a&&e.size===s}function J3e(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function Z3e(e){if(!e||"object"!=typeof e)return e;if(!u2e(e)){if(!j4e(e))return e;e=A2e(e)}if(c2e(e)){var t={};return e.__iterate((function(e,n){t[n]=Z3e(e)})),t}var n=[];return e.__iterate((function(e){n.push(Z3e(e))})),n}var X3e=function(e){function t(t){return null==t?i5e():Y3e(t)&&!w2e(t)?t:i5e().withMutations((function(n){var r=e(t);P4e(r.size),r.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(p2e(e).keySeq())},t.intersect=function(e){return(e=f2e(e).toArray()).length?t5e.intersect.apply(t(e.pop()),e):i5e()},t.union=function(e){return(e=f2e(e).toArray()).length?t5e.union.apply(t(e.pop()),e):i5e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return n5e(this,this._map.set(e,e))},t.prototype.remove=function(e){return n5e(this,this._map.remove(e))},t.prototype.clear=function(){return n5e(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=[],i=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(r.push(o),i.push(a))})),this.withMutations((function(e){r.forEach((function(t){return e.remove(t)})),i.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var r=0;r<t.length;r++)e(t[r]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return w5e(x4e(this,e))},t.prototype.sortBy=function(e,t){return w5e(x4e(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(m2e);X3e.isSet=Y3e;var e5e,t5e=X3e.prototype;function n5e(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function r5e(e,t){var n=Object.create(t5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function i5e(){return e5e||(e5e=r5e(p3e()))}t5e["@@__IMMUTABLE_SET__@@"]=!0,t5e.delete=t5e.remove,t5e.merge=t5e.concat=t5e.union,t5e.withMutations=J4e,t5e.asImmutable=X4e,t5e["@@transducer/init"]=t5e.asMutable=Z4e,t5e["@@transducer/step"]=function(e,t){return e.add(t)},t5e["@@transducer/result"]=function(e){return e.asImmutable()},t5e.__empty=i5e,t5e.__make=r5e;var o5e,a5e=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(A4e(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(o5e)return o5e;o5e=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+t2e(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return r2e(e,n,this.size)?this:(e=i2e(e,this.size),(n=o2e(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;o!==n&&!1!==e(i,t?n-++o:o++,this);)i+=t?-r:r;return o},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;return new S2e((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,k2e(e,t?n-++o:o++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:$3e(this,e)},t}(M2e);function s5e(e,t,n){for(var r=M4e(t),i=0;i!==r.length;)if((e=L4e(e,r[i++],J1e))===J1e)return n;return e}function u5e(){P4e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}f2e.isIterable=u2e,f2e.isKeyed=c2e,f2e.isIndexed=l2e,f2e.isAssociative=d2e,f2e.isOrdered=w2e,f2e.Iterator=S2e,J3e(f2e,{toArray:function(){P4e(this.size);var e=new Array(this.size||0),t=c2e(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new l4e(this)},toJS:function(){return Z3e(this)},toKeyedSeq:function(){return new c4e(this,!0)},toMap:function(){return t3e(this.toKeyedSeq())},toObject:u5e,toOrderedMap:function(){return F3e(this.toKeyedSeq())},toOrderedSet:function(){return w5e(c2e(this)?this.valueSeq():this)},toSet:function(){return X3e(c2e(this)?this.valueSeq():this)},toSetSeq:function(){return new d4e(this)},toSeq:function(){return l2e(this)?this.toIndexedSeq():c2e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return V3e(c2e(this)?this.valueSeq():this)},toList:function(){return k3e(c2e(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return C4e(this,b4e(this,e))},includes:function(e){return this.some((function(t){return G2e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){P4e(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return C4e(this,g4e(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return P4e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){P4e(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return C4e(this,h4e(this,e,t))},reduce:function(e,t,n){return f5e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return f5e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return C4e(this,m4e(this,!0))},slice:function(e,t){return C4e(this,v4e(this,e,t,!0))},some:function(e,t){return!this.every(m5e(e),t)},sort:function(e){return C4e(this,x4e(this,e))},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(e,t){return e2e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=t3e().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return $3e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new R2e(e._cache);var t=e.toSeq().map(h5e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(m5e(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(n2e,null,e)},flatMap:function(e,t){return C4e(this,function(e,t,n){var r=I4e(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return C4e(this,w4e(this,e,!0))},fromEntrySeq:function(){return new f4e(this)},get:function(e,t){return this.find((function(t,n){return G2e(n,e)}),void 0,t)},getIn:function(e,t){return s5e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=c2e(e),i=(w2e(e)?F3e():t3e()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=I4e(e);return i.map((function(t){return C4e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,J1e)!==J1e},hasIn:function(e){return function(e,t){return s5e(e,t,J1e)!==J1e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:f2e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:f2e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return G2e(t,e)}))},keySeq:function(){return this.toSeq().map(p5e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return _4e(this,e)},maxBy:function(e,t){return _4e(this,t,e)},min:function(e){return _4e(this,e?g5e(e):y5e)},minBy:function(e,t){return _4e(this,t?g5e(t):y5e,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return C4e(this,y4e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(m5e(e),t)},sortBy:function(e,t){return C4e(this,x4e(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return C4e(this,function(e,t,n){var r=O4e(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(2,i),s=!0;return new S2e((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?2===r?e:k2e(r,u,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(m5e(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=w2e(e),n=c2e(e),r=t?1:0;return function(e,t){return t=Y2e(t,3432918353),t=Y2e(t<<15|t>>>-15,461845907),t=Y2e(t<<13|t>>>-13,5),t=Y2e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Q2e((t=Y2e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+b5e(J2e(e),J2e(t))|0}:function(e,t){r=r+b5e(J2e(e),J2e(t))|0}:t?function(e){r=31*r+J2e(e)|0}:function(e){r=r+J2e(e)|0}),r)}(this))}});var c5e=f2e.prototype;c5e["@@__IMMUTABLE_ITERABLE__@@"]=!0,c5e[_2e]=c5e.values,c5e.toJSON=c5e.toArray,c5e.__toStringMapper=R4e,c5e.inspect=c5e.toSource=function(){return this.toString()},c5e.chain=c5e.flatMap,c5e.contains=c5e.includes,J3e(p2e,{flip:function(){return C4e(this,p4e(this))},mapEntries:function(e,t){var n=this,r=0;return C4e(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return C4e(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var l5e=p2e.prototype;l5e["@@__IMMUTABLE_KEYED__@@"]=!0,l5e[_2e]=c5e.entries,l5e.toJSON=u5e,l5e.__toStringMapper=function(e,t){return R4e(t)+": "+R4e(e)},J3e(h2e,{toKeyedSeq:function(){return new c4e(this,!1)},filter:function(e,t){return C4e(this,g4e(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return C4e(this,m4e(this,!1))},slice:function(e,t){return C4e(this,v4e(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=i2e(e,e<0?this.count():this.size);var r=this.slice(0,e);return C4e(this,1===n?r:r.concat(D4e(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return C4e(this,w4e(this,e,!1))},get:function(e,t){return(e=t2e(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=t2e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return C4e(this,function(e,t){var n=O4e(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(1,r),a=0;return new S2e((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?k2e(n,a++,t):k2e(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(D4e(arguments)),t=k4e(this.toSeq(),M2e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),C4e(this,n)},keySeq:function(){return a5e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return C4e(this,y4e(this,e,t,!1))},zip:function(){var e=[this].concat(D4e(arguments));return C4e(this,k4e(this,v5e,e))},zipAll:function(){var e=[this].concat(D4e(arguments));return C4e(this,k4e(this,v5e,e,!0))},zipWith:function(e){var t=D4e(arguments);return t[0]=this,C4e(this,k4e(this,e,t))}});var d5e=h2e.prototype;function f5e(e,t,n,r,i,o){return P4e(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function p5e(e,t){return t}function h5e(e,t){return[t,e]}function m5e(e){return function(){return!e.apply(this,arguments)}}function g5e(e){return function(){return-e.apply(this,arguments)}}function v5e(){return D4e(arguments)}function y5e(e,t){return e<t?1:e>t?-1:0}function b5e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}d5e["@@__IMMUTABLE_INDEXED__@@"]=!0,d5e[b2e]=!0,J3e(m2e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),m2e.prototype.has=c5e.includes,m2e.prototype.contains=m2e.prototype.includes,J3e(P2e,p2e.prototype),J3e(M2e,h2e.prototype),J3e(j2e,m2e.prototype);var w5e=function(e){function t(e){return null==e?k5e():Q3e(e)?e:k5e().withMutations((function(t){var n=m2e(e);P4e(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(p2e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(X3e);w5e.isOrderedSet=Q3e;var x5e,_5e=w5e.prototype;function S5e(e,t){var n=Object.create(_5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function k5e(){return x5e||(x5e=S5e(B3e()))}_5e[b2e]=!0,_5e.zip=d5e.zip,_5e.zipWith=d5e.zipWith,_5e.__empty=k5e,_5e.__make=S5e;var C5e={exports:{}};
146
146
  /*!
147
147
  Copyright (c) 2015 Jed Watson.
148
148
  Based on code that is Copyright 2013-2015, Facebook, Inc.